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

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Fri Apr 17 09:47:39 UTC 2020


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 googling for "slurm build prerequisites" and see which pages this 
gives you :-)

The Slurm build system searches for installed software and omits Slurm 
components where it didn't find the prerequisites installed on the system.

To submit a bug report against the slurm.spec file, you would need to 
have a support contract with SchedMD.  We get a lot of benefit from 
having such a support contract ;-)

Best regards,
Ole

> 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 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 for a new server and I get the following 
>>> error:
>>>
>>> Requires(interp): /bin/sh /bin/sh /bin/sh
>>> Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 
>>> rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) 
>>> <= 3.0.4-1
>>> Requires(post): /bin/sh
>>> Requires(preun): /bin/sh
>>> Requires(postun): /bin/sh
>>> Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) 
>>> libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) 
>>> libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.3)(64bit) 
>>> libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) 
>>> libdl.so.2()(64bit) libpam_misc.so.0()(64bit) 
>>> libpam_misc.so.0(LIBPAM_MISC_1.0)(64bit) libpam.so.0()(64bit) 
>>> libpam.so.0(LIBPAM_1.0)(64bit) libpthread.so.0()(64bit) 
>>> libpthread.so.0(GLIBC_2.2.5)(64bit) 
>>> libpthread.so.0(GLIBC_2.3.2)(64bit) libresolv.so.2()(64bit) 
>>> libslurmfull.so()(64bit) libutil.so.1()(64bit) 
>>> libutil.so.1(GLIBC_2.2.5)(64bit)
>>> Processing files: slurm-slurmdbd-20.02.1-1.el7.x86_64
>>> error: File not found: 
>>> /root/rpmbuild/BUILDROOT/slurm-20.02.1-1.el7.x86_64/usr/lib64/slurm/accounting_storage_mysql.so 
>>>
>>>
>>> RPM build errors:
>>>      File not found: 
>>> /root/rpmbuild/BUILDROOT/slurm-20.02.1-1.el7.x86_64/usr/lib64/slurm/accounting_storage_mysql.so 
>>>
>>>      File not found: 
>>> /root/rpmbuild/BUILDROOT/slurm-20.02.1-1.el7.x86_64/usr/lib64/slurm/accounting_storage_mysql.so 
>>>
>>>
>>> How may I find this file.
>>
>



More information about the slurm-users mailing list