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

Christian Anthon anthon at rth.dk
Mon Apr 20 20:21:11 UTC 2020


That makes sense. Though I would prefer that they made a choice for the 
db in the spec file. Just makes it easier for people who aren't experts 
in building packages. And slurmdbd will work with both mysql and mariadb 
regardless of what it was built against.

Thanks for the update,

Christian.

On 20/04/2020 17.57, Ole Holm Nielsen wrote:
> 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 
> mysql-devel/mariadb-devel.
>
> /Ole
>
> [1] 
> https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#build-slurm-packages
>



More information about the slurm-users mailing list