Ticket 13383

Summary: slurm-contribs package has non-specified dependency on slurm-perlapi
Product: Slurm Reporter: Kevin Buckley <kevin.buckley>
Component: Build System and PackagingAssignee: Tim Wickberg <tim>
Status: OPEN --- QA Contact:
Severity: C - Contributions    
Priority: --- CC: ashley.chew
Version: 21.08.5   
Hardware: Linux   
OS: Linux   
Site: Pawsey Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- NoveTech Sites: ---
Nvidia HWinf-CS Sites: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Tzag Elita Sites: ---
Linux Distro: Other Machine Name:
CLE Version: Version Fixed:
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---
Attachments: RPM packaging fix-up patch for Bug 13383

Description Kevin Buckley 2022-02-08 21:50:34 MST
A colleage of mine here has been jumping through the hoops to get
Slurm 20.11.5 set up, as our user-facing team would like to see it,
on our new Cray Shasta system.

He's said that when, ahead of looking to automate the deployemnt,
he had done a by-hand Zypper install of the slurm-contribs RPM, he
had found that he needed slurm-perlapi as well, because the seff
program, which is what our user-facing team actually want, is a
Perl script.

However, when you interrogate the RPM database, you don't see any
such requirement, just the need for Perl.

nid001028:~ # rpm -qR slurm-contribs
/bin/bash
/usr/bin/perl
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
slurm(x86-64) = 20.11.5-1
nid001028:~ #
nid001028:~ # rpm -q --whatrequires slurm-perlapi
no package requires slurm-perlapi
nid001028:~ #

and so, if you just install slurm-contribs, you only find out
about the dependency when you come to run seff.

I have verified the same lack of requirement info on a
Slurm 21.08.5 Cray system.

I think it would be "nice" if the requirement info was made
explict in the RPM Specfile.

I note that it is an explict Specfile Requirement for these two sub-packages

Summary: Torque/PBS wrappers for transition from Torque/PBS to Slurm
Group: Development/System
Requires: slurm-perlapi
%description torque
Torque wrapper scripts used for helping migrate from Torque/PBS to Slurm

%package openlava
Summary: openlava/LSF wrappers for transition from OpenLava/LSF to Slurm
Group: Development/System
Requires: slurm-perlapi
%description openlava
OpenLava wrapper scripts used for helping migrate from OpenLava/LSF to Slurm
Comment 1 Kevin Buckley 2022-02-08 22:20:50 MST
Created attachment 23374 [details]
RPM packaging fix-up patch for Bug 13383

It's only a liner but, here you go.

Having said that, this line

Summary: Perl tool to print Slurm job state information

doesn't really tell the full story anymore, given that 
there are three contribs in the sub-package now?!