[slurm-users] Building Debian packages - problem

21 views
Skip to first unread message

John Hearns via slurm-users

unread,
Jul 22, 2025, 11:20:29 AMJul 22
to Slurm User Community List
I am trying to build Slurm version 24.11.6 on an Ubuntu 22.04 system.
I download and unpack the source
mk-build-deps -i debian/control   (not run as root)
debuild -b -uc -us

I get this error repeated many times:
dpkg-shlibdeps: warning: can't extract name and version from library name 'libslurmfull.so'

Has anyone seen similar issues?
For information, there is an existing SLurm installation on this syste, with version 21 dpkgs from the Ubuntu repository.

Steffen Grunewald via slurm-users

unread,
Jul 23, 2025, 3:03:09 AMJul 23
to John Hearns, Slurm User Community List
Hi John,
Although this seems to be discouraged (I don't fully get why) it might
help to fetch the source package - both of the version you're currently
running, and the highest one you can find (perhaps for 25.04), and "steal"
(and adapt) the debian/* tree.
(When doing so, make sure you mark the build as a backport so you'll
get the regular one once you full-upgrade.)

You're aware of the requirement not to skip too many versions in between,
to keep the slurmdbd database alive?

Best,
S

--
Steffen Grunewald, Cluster Administrator
Max Planck Institute for Gravitational Physics (Albert Einstein Institute)
Am Mühlenberg 1 * D-14476 Potsdam-Golm * Germany
~~~
Fon: +49-331-567 7274
Mail: steffen.grunewald(at)aei.mpg.de
~~~

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

John Hearns via slurm-users

unread,
Jul 23, 2025, 3:33:16 AMJul 23
to Steffen Grunewald, Slurm User Community List
Steffen, thankyou for your reply.  This is a new installation, which is a small POC setup.
There is no need to keep the slurmdbd database alive.

Paul Musset via slurm-users

unread,
Jul 23, 2025, 3:58:48 AMJul 23
to slurm...@lists.schedmd.com
Hi,

Thats what I use in the gitlab ci and don't see these error anywhere
with slurm 24.11.6, on ubuntu 24.04 and 22.04

apt update && apt upgrade --yes
apt-get install --yes build-essential fakeroot devscripts munge equivs
curl --remote-name
"https://download.schedmd.com/slurm/slurm-${SLURM_VERSION}".tar.bz2
tar --extract --auto-compress --file="slurm-${SLURM_VERSION}.tar.bz2"
cd "slurm-${SLURM_VERSION}"
apt install --yes libmariadb-dev systemd
mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes
--no-install-recommends --yes' debian/control
debuild -b -uc -us


Best
Paul


apt update && apt upgrade --yes
apt-get install --yes build-essential fakeroot devscripts munge equivs
curl --remote-name
"https://download.schedmd.com/slurm/slurm-${SLURM_VERSION}".tar.bz2
tar --extract --auto-compress --file="slurm-${SLURM_VERSION}.tar.bz2"
cd "slurm-${SLURM_VERSION}"
apt install --yes libmariadb-dev systemd
mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes
--no-install-recommends --yes' debian/control
debuild -b -uc -us

Stefan Staeglich via slurm-users

unread,
Aug 5, 2025, 7:11:56 AMAug 5
to Slurm User Community List
I offer a PPA with packages based on the Debian source package:

https://launchpad.net/~staeglis/+archive/ubuntu/slurm-backports-24.11

Best,
Stefan

Am Dienstag, 22. Juli 2025, 17:17:27 Mitteleuropäische Sommerzeit schrieb John
Hearns via slurm-users:
--
Albert-Ludwigs-Universität Freiburg
Institut für Informatik
Professur für Maschinelles Lernen

Stefan Stäglich
System-Administrator

T +49 761 203-8223

stae...@informatik.uni-freiburg.de
https://ml.informatik.uni-freiburg.de

Georges-Köhler-Allee 52
D-79110 Freiburg
Reply all
Reply to author
Forward
0 new messages