[slurm-users] slurm-20.02.1-1 failed rpmbuild with error File not found

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Mon Apr 20 15:57:18 UTC 2020

For the record: The Slurm developers has found it tricky to write a 
slurm.spec file which requires the mysql-devel package and still works 
in all environments, see https://bugs.schedmd.com/show_bug.cgi?id=6488

My recommendation[1] is therefore to explicitly require mysql when 
building Slurm RPMs:

export VER=20.02.1-1
rpmbuild -ta slurm-$VER.tar.bz2 --with mysql

This will catch the case where you forgot to install 



More information about the slurm-users mailing list