[slurm-users] Problems building RPMs
Phill Harvey-Smith
p.harvey-smith at warwick.ac.uk
Fri Jul 22 09:14:30 UTC 2022
On 21/07/2022 18:42, Brian Andrus wrote:
> Hmm. That would imply you could still use the tar file with something like:
>
> rpmbuild -v -ta --define "_lto_cflags %{nil}" slurm-22.05.2.tar.bz2
>
> Note, I have not tried this (no immediate access to RHEL9 derivative),
> so YMMV.
Right tried that, and I stopped getting the gnu.debug messages but now
getting the following :
Processing files: slurm-slurmdbd-22.05.2-1.el9.x86_64
error: File not found:
/root/rpmbuild/BUILDROOT/slurm-22.05.2-1.el9.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 175: %define
_unpackaged_files_terminate_build 0
Empty %files file /root/rpmbuild/BUILD/slurm-22.05.2/slurm.files
File not found:
/root/rpmbuild/BUILDROOT/slurm-22.05.2-1.el9.x86_64/usr/lib64/slurm/accounting_storage_mysql.so
File listed twice:
/usr/lib/.build-id/c9/d5b2eb50d6991ab4dcf52aaca303163f9715a1
File listed twice:
/usr/lib/.build-id/db/0b52d4d53c540b46811ccafd7abefa66f2f046
File listed twice:
/usr/lib/.build-id/e3/dea01b466732daa2fdd121511ab7d4bc970615
File listed twice:
/usr/lib/.build-id/fa/8d5f4b9a315f95f564f96ec27b8cf33086aedb
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-22.05.2/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-22.05.2-1.el9.x86_64/usr/lib64/slurm/accounting_storage_mysql.so
My build command line is :
rpmbuild -v -ta --define "_lto_cflags %{nil}" slurm-22.05.2.tar.bz2
I also tried --without mysql but that didn't change the error --with
mysql threw an error that mysql-devel was not installed, but doesn't
seem available in yum.
Cheers.
Phill.
More information about the slurm-users
mailing list