| Summary: | Missing mariadb deps when packaging | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Benoit Leveugle <benoit.leveugle> |
| Component: | Build System and Packaging | Assignee: | Tim Wickberg <tim> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | C - Contributions | ||
| Priority: | --- | ||
| Version: | 20.11.7 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | -Other- | Slinky Site: | --- |
| Alineos Sites: | --- | Atos/Eviden Sites: | --- |
| Confidential Site: | --- | Coreweave sites: | --- |
| Cray Sites: | --- | DS9 clusters: | --- |
| Google sites: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | NoveTech Sites: | --- |
| Nvidia HWinf-CS Sites: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Tzag Elita Sites: | --- |
| Linux Distro: | CentOS | Machine Name: | |
| CLE Version: | Version Fixed: | 20.11.6 | |
| Target Release: | --- | DevPrio: | --- |
| Emory-Cloud Sites: | --- | ||
Due to the mix of systems Slurm needs to support, and the inconsistencies in upstream packaging, we intentionally omit any dependency on MariaDB and/or MySQL at this time. If we do address this, bug 6488 will have further details. *** This ticket has been marked as a duplicate of ticket 6488 *** I understand your POW and the needs to cover multiple distributions. Then you can close this ticket :-) Thanks a lot for the answer. Have a nice week With my best regards Benoît |
Hi, It has been a while I build slurm, and I always face the same issue, which is minor, but in case of. Operating system: RedHat 8 By default, if you rpmbuild the sources, it requires on a basic system: dnf install -y pam-devel readline-devel perl-ExtUtils-MakeMaker But, in fact, it cannot build without mariadb: Processing files: slurm-slurmdbd-20.11.7-1.el8.x86_64 error: File not found: /root/rpmbuild/BUILDROOT/slurm-20.11.7-1.el8.x86_64/usr/lib64/slurm/accounting_storage_mysql.so 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.7/slurm.files File not found: /root/rpmbuild/BUILDROOT/slurm-20.11.7-1.el8.x86_64/usr/lib64/slurm/accounting_storage_mysql.so File listed twice: /usr/lib/.build-id/16/bd7d3687c4d04477527cf03d3132964766c76e File listed twice: /usr/lib/.build-id/23/aa730b73b518bc386488f3abec715b5426e04d File listed twice: /usr/lib/.build-id/ac/af8da33778f7e9b3e66dac20a687b413b7a84e File listed twice: /usr/lib/.build-id/f4/bfc3c3bf62d057a58f179f6425a4bc619b97c2 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.7/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.7-1.el8.x86_64/usr/lib64/slurm/accounting_storage_mysql.so Which is solved by: dnf install mariadb mariadb-devel So maybe a missing dependency in the spec file ? With my best regards Benoît