Hi Yuan,

Did you have all the prerequisite packages installed? See instructions in this Wiki page:
https://wiki.fysik.dtu.dk/Niflheim_system/Slurm_installation/#build-slurm-rpms

IHTH,
Ole

On 23-02-2025 06:04, Zhang, Yuan via slurm-users wrote:
Hello,

I got errors about missing perl modules when building slurm24.11.1 rpm packages.  Has anyone seen this error before? And how to fix it?

Here are the error messages:

--

Processing files: slurm-perlapi-24.11.1-1.el8.x86_64

error: File not found: /home/gdhpcgroup/yxz006/rpmbuild/BUILDROOT/ slurm-24.11.1-1.el8.x86_64/usr/lib64/perl5/Slurm/Bitstr.pm

error: File not found: /home/gdhpcgroup/yxz006/rpmbuild/BUILDROOT/ slurm-24.11.1-1.el8.x86_64/usr/lib64/perl5/Slurm/Constant.pm

error: File not found: /home/gdhpcgroup/yxz006/rpmbuild/BUILDROOT/ slurm-24.11.1-1.el8.x86_64/usr/lib64/perl5/Slurm/Hostlist.pm

error: File not found: /home/gdhpcgroup/yxz006/rpmbuild/BUILDROOT/ slurm-24.11.1-1.el8.x86_64/usr/lib64/perl5/auto/Slurm/Slurm.so

error: File not found: /home/gdhpcgroup/yxz006/rpmbuild/BUILDROOT/ slurm-24.11.1-1.el8.x86_64/usr/lib64/perl5/auto/Slurmdb/Slurmdb.so

error: File not found: /home/gdhpcgroup/yxz006/rpmbuild/BUILDROOT/ slurm-24.11.1-1.el8.x86_64/usr/lib64/perl5/auto/Slurmdb/autosplit.ix

RPM build errors:

    Macro expanded in comment on line 31: %_prefix path                                install path for commands, libraries, etc.

    Macro expanded in comment on line 240: %define _unpackaged_files_terminate_build      0

    File listed twice: /usr/lib/.build- id/49/9394dac8b96530e1a29d0e35608ef9acedec70

    File listed twice: /usr/lib/.build- id/88/4e3a854911920ae0c77c4b32d5af70dad538a9

    File listed twice: /usr/lib/.build-id/ c1/72dbf51fe1c17868a4e0dbf0aa55a7923f6d02

    File listed twice: /usr/lib/.build-id/ dc/67c93438d36986971444d218350d27b413c2cb

    File listed twice: /usr/lib/.build-id/ee/ e79f70a62bf62e74705a75daa87d26857452ef

     Deprecated external dependency generator is used!

    File not found: /home/gdhpcgroup/yxz006/rpmbuild/BUILDROOT/ slurm-24.11.1-1.el8.x86_64/usr/lib64/perl5/Slurm/Bitstr.pm

    File not found: /home/gdhpcgroup/yxz006/rpmbuild/BUILDROOT/ slurm-24.11.1-1.el8.x86_64/usr/lib64/perl5/Slurm/Constant.pm

    File not found: /home/gdhpcgroup/yxz006/rpmbuild/BUILDROOT/ slurm-24.11.1-1.el8.x86_64/usr/lib64/perl5/Slurm/Hostlist.pm

    File not found: /home/gdhpcgroup/yxz006/rpmbuild/BUILDROOT/ slurm-24.11.1-1.el8.x86_64/usr/lib64/perl5/auto/Slurm/Slurm.so

    File not found: /home/gdhpcgroup/yxz006/rpmbuild/BUILDROOT/ slurm-24.11.1-1.el8.x86_64/usr/lib64/perl5/auto/Slurmdb/Slurmdb.so

    File not found: /home/gdhpcgroup/yxz006/rpmbuild/BUILDROOT/ slurm-24.11.1-1.el8.x86_64/usr/lib64/perl5/auto/Slurmdb/autosplit.ix

--

Thanks!

Yuan

--

Yuan Zhang

Senior HPC System Programmer

Nationwide Children’s Hospital Research Institute

Columbus, Ohio   43215

--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

Reply via email to