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

2020-04-22 Thread Ole Holm Nielsen
Hi Michael, Thanks for your insightful explanation of the Slurm RPM build process! This clarified the topic a lot for me. I have updated my Slurm installation Wiki page based upon your information: https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#build-slurm-rpms /Ole On 21-04-2020 22

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

2020-04-21 Thread Michael Jennings
They do something even better: They allow the user/customer to make the choice in the spec file! :-) And to be clear, they don't expect users to be experts in building packages; that's why their Quick-Start Guide (https://slurm.schedmd.com/quickstart_admin.html) is as thorough as it is; it even h

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

2020-04-20 Thread Christian Anthon
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.

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

2020-04-20 Thread Ole Holm Nielsen
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 RP

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

2020-04-17 Thread Ole Holm Nielsen
On 17-04-2020 11:47, Ole Holm Nielsen wrote: On 17-04-2020 10:38, Christian Anthon wrote: It would be neat to have these build requirements / install requirements built into the spec file. I agree with you, and it seems that the SchedMD pages no longer list the build prerequisites (I think th

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

2020-04-17 Thread Ole Holm Nielsen
On 17-04-2020 10:38, Christian Anthon wrote: It would be neat to have these build requirements / install requirements built into the spec file. I agree with you, and it seems that the SchedMD pages no longer list the build prerequisites (I think there was some information in the past). Try go

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

2020-04-17 Thread Felix Farcas
Hello I did install  mariadb-server and mariadb-devel and all worked fine Thank you Felix On 4/17/2020 11:38 AM, Christian Anthon wrote: It would be neat to have these build requirements / install requirements built into the spec file. Cheers, Christian. On 17/04/2020 10.08, Ole Holm Niels

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

2020-04-17 Thread Christian Anthon
It would be neat to have these build requirements / install requirements built into the spec file. Cheers, Christian. On 17/04/2020 10.08, Ole Holm Nielsen wrote: Hi Felix, Please make sure to install all prerequisite packages on the Slurm build host.  I have summarized this information in m

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

2020-04-17 Thread Ole Holm Nielsen
Hi Felix, Please make sure to install all prerequisite packages on the Slurm build host. I have summarized this information in my Slurm Wiki page: https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#build-slurm-rpms /Ole On 17-04-2020 09:11, Felix Farcas wrote: I am trying to build a rpm

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

2020-04-17 Thread Christian Anthon
As such it is a mistake in the rpm spec file. But you just need mariadb-devel, or possibly mysql-devel installed. Cheers, Christian. On 17/04/2020 09.11, Felix Farcas wrote: Hello I am trying to build a rpm for a new server and I get the following error: Requires(interp): /bin/sh /bin/sh /