[slurm-users] Please help - Building Slurm-24.11.1 Failed

61 views
Skip to first unread message

Zhang, Yuan via slurm-users

unread,
Feb 23, 2025, 12:07:30 AM2/23/25
to slurm...@lists.schedmd.com

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

 

Ole Holm Nielsen via slurm-users

unread,
Feb 23, 2025, 5:23:10 AM2/23/25
to slurm...@lists.schedmd.com
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

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

Zhang, Yuan via slurm-users

unread,
Feb 23, 2025, 11:39:55 AM2/23/25
to Ole Holm Nielsen, slurm...@lists.schedmd.com

Hi Ole,

 

Thanks for your reply.

 

I went through the prerequisite list on both the slurm installation guide and your page.  

 

I have two packages missing, but I think there are replacement packages for them:

--

libibmad – I have infiniband-diags and rdma-core-devel

libnvidia-ml – I have nvidia-driver-NVML

 

I have two packages not at the required versions. But I’m not building with REST API.

--

libyaml-0.1.7 

json-c-0.13.1

 

Other than the above four packages, I have every prerequisite package.

 

Thanks,

Yuan

 

 

 

 

 

From: Ole Holm Nielsen via slurm-users <slurm...@lists.schedmd.com>
Date: Sunday, February 23, 2025 at 5:22
AM
To: slurm...@lists.schedmd.com <slurm...@lists.schedmd.com>
Subject: [slurm-users] Re: Please help - Building Slurm-24.11.1 Failed

Hi Yuan, Did you have all the prerequisite packages installed? See instructions in this Wiki page: https://urldefense.com/v3/__https://wiki.fysik.dtu.dk/Niflheim_system/Slurm_installation/*build-slurm-rpms__;Iw!!NiUAmZJ8c1GNWg!XzdZNptMyjIo8Q2IQlT4hQfhkcK6-TZseP2x9LzOfFnKHEeZA7RagR16-esnOb61YMLQJ8gg3IB86345i3AKc1AgV8lu26gWag3Myx0$

ZjQcmQRYFpfptBannerStart

This Message Is From an External Sender

This message came from outside your organization.

Search “email warning banner” on ANCHOR for more information

 

ZjQcmQRYFpfptBannerEnd

Hi Yuan,
 
Did you have all the prerequisite packages installed?  See instructions 
in this Wiki page:

Chris Samuel via slurm-users

unread,
Feb 23, 2025, 12:09:19 PM2/23/25
to slurm...@lists.schedmd.com
On 22/2/25 9:04 pm, Zhang, Yuan via slurm-users wrote:

> 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?

If my memory serves ne right I would see those same errors when building
Slurn for Cray XC in a chroot into an OS image that it was needed for.

The weird thing was it would only happen the very first time it was
built in that chroot, every time after that (in the same OS image) it
would work. Never did get to the bottom of what the cause was and those
systems are gone now.

Why Perl specifically I have no idea, it's not like it changes all the time!

--
Chris Samuel : http://www.csamuel.org/ : Berkeley, CA, USA

Zhang, Yuan via slurm-users

unread,
Feb 23, 2025, 12:51:57 PM2/23/25
to Chris Samuel, slurm...@lists.schedmd.com

Hello Chris,

 

Thanks for your reply. It makes me look into the file system where I was building the slurm rpm packages.

 

It looks like the error in my case has something to do with our file system. I was building those rpm packages on a test file system, which is not completely functional and the group membership for all files are nobody. Once I switched to our production file system, the building process went smoothly.

 

Thanks for your input. The error I see may not be the same as what you had on the Cray system, but it shed some lights on the troubleshooting direction.

 

Have a great day,

Yuan

 

 

From: Chris Samuel via slurm-users <slurm...@lists.schedmd.com>
Date: Sunday, February 23, 2025 at 12:09
PM
To: slurm...@lists.schedmd.com <slurm...@lists.schedmd.com>
Subject: [slurm-users] Re: Please help - Building Slurm-24.11.1 Failed

On 22/2/25 9:04 pm, Zhang, Yuan via slurm-users wrote: > 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? If my memory serves ne right I would see

ZjQcmQRYFpfptBannerStart

This Message Is From an External Sender

This message came from outside your organization.

Search “email warning banner” on ANCHOR for more information

 

ZjQcmQRYFpfptBannerEnd

On 22/2/25 9:04 pm, Zhang, Yuan via slurm-users wrote:
 
> 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?
 
If my memory serves ne right I would see those same errors when building 
Slurn for Cray XC in a chroot into an OS image that it was needed for.
 
The weird thing was it would only happen the very first time it was 
built in that chroot, every time after that (in the same OS image) it 
would work. Never did get to the bottom of what the cause was and those 
systems are gone now.
 
Why Perl specifically I have no idea, it's not like it changes all the time!
 
-- 

Chris Samuel via slurm-users

unread,
Feb 23, 2025, 1:49:14 PM2/23/25
to slurm...@lists.schedmd.com
On 23/2/25 9:49 am, Zhang, Yuan via slurm-users wrote:

> Thanks for your input. The error I see may not be the same as what you
> had on the Cray system, but it shed some lights on the troubleshooting
> direction.

My pleasure, I'm so glad that helped point the way!

Best of luck on your endeavours.

--
Chris Samuel : http://www.csamuel.org/ : Berkeley, CA, USA
Reply all
Reply to author
Forward
0 new messages