Skip to content

Commit 37df61c

Browse files
committed
fix: ignore missing shlibdeps for libs2n.so built from source
dpkg-shlibdeps fails when libs2n.so is installed from source because there's no package dependency information. Set DEB_DH_SHLIBDEPS_ARGS_ALL to ignore-missing-info so the Debian packaging step completes successfully.
1 parent 34b47ac commit 37df61c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

schedmd/slurm/25.11/ubuntu24.04/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ set -xeuo pipefail
9292
mk-build-deps -ir --tool='apt-get -y -o Debug::pkgProblemResolver=yes --no-install-recommends' ${SLURM_DIR}/debian/control
9393
# Set library path so configure's AC_RUN_IFELSE test can find libs2n.so
9494
export LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH:-}"
95+
# Tell dh_shlibdeps to ignore missing dependency info for libs2n.so (installed from source, not a package)
96+
export DEB_DH_SHLIBDEPS_ARGS_ALL="--dpkg-shlibdeps-params=--ignore-missing-info"
9597
( cd ${SLURM_DIR} && debuild -b -uc -us )
9698
EOR
9799

0 commit comments

Comments
 (0)