Ticket 13383 - slurm-contribs package has non-specified dependency on slurm-perlapi
Summary: slurm-contribs package has non-specified dependency on slurm-perlapi
Status: OPEN
Alias: None
Product: Slurm
Classification: Unclassified
Component: Build System and Packaging (show other tickets)
Version: 21.08.5
Hardware: Linux Linux
: C - Contributions
Assignee: Tim Wickberg
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2022-02-08 21:50 MST by Kevin Buckley
Modified: 2022-02-09 09:34 MST (History)
1 user (show)

See Also:
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 (860 bytes, patch)
2022-02-08 22:20 MST, Kevin Buckley
Details | Diff

Note You need to log in before you can comment on or make changes to this ticket.
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?!