| Summary: | Building for Centos 8 Stream | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Torkil Svensgaard <torkil> |
| Component: | Build System and Packaging | Assignee: | Tim McMullan <mcmullan> |
| Status: | RESOLVED INFOGIVEN | QA Contact: | |
| Severity: | 4 - Minor Issue | ||
| Priority: | --- | CC: | rkv |
| Version: | 20.11.3 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | DRCMR | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | --- |
| Machine Name: | CLE Version: | ||
| Version Fixed: | Target Release: | --- | |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
Hi Torkil, The "--with-mysql" flag just makes sure that the slurm package depends on the appropriate sql package for the system, and doesn't actually control if the build with mysql or not. The configure script looks for it by default and if it finds it builds it. As written, the slurmdbd package generated by the spec file is basically useless without mysql support (since its the only supported storage type right now), so the spec file assumes its there. I would suggest pulling down the development files for mariadb so that it can build mysql support in for now which should let the build continue. Let me know if this helps! Thanks! --Tim Hi Tim Thanks for the explanation, worked just fine with -devel packages installed. Mvh. Torkil |
Hi We are looking at migrating to from Centos 8 to Centos 8 Stream due to the former going EOL later this year. I'm not able to install the packages built on CentOS 8 on CentOS 8 Stream so trying to do a fresh build and gettign this error: " rpmbuild -ta slurm-20.11.3.tar.bz2 [SNIP] RPM build errors: Macro expanded in comment on line 22: %_prefix path install path for commands, libraries, etc. Macro expanded in comment on line 170: %define _unpackaged_files_terminate_build 0 Empty %files file /root/rpmbuild/BUILD/slurm-20.11.3/slurm.files File not found: /root/rpmbuild/BUILDROOT/slurm-20.11.3-1.el8.x86_64/usr/lib64/slurm/accounting_storage_mysql.so File listed twice: /usr/lib/.build-id/04/dbfc8d7fbbd78b98fabcb28cf932c4b3b9c88d File listed twice: /usr/lib/.build-id/49/15d85277fa1c7046268203829f324e5bd08044 File listed twice: /usr/lib/.build-id/4c/7d1c15432e4ce7426c954ecd18b608cae298e1 File listed twice: /usr/lib/.build-id/69/fc00cf404c3111af55744eae573d0d9631bb69 Deprecated external dependency generator is used! Deprecated external dependency generator is used! Deprecated external dependency generator is used! Empty %files file /root/rpmbuild/BUILD/slurm-20.11.3/example.configs Deprecated external dependency generator is used! Deprecated external dependency generator is used! Deprecated external dependency generator is used! File not found: /root/rpmbuild/BUILDROOT/slurm-20.11.3-1.el8.x86_64/usr/lib64/slurm/accounting_storage_mysql.so " I'm not trying to build --with-mysql so why this error? Mvh. Torkil