Bug#1067661: condor: unable to install condor on armhf in Ubuntu
Package: condor
Severity: wishlist
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu noble ubuntu-patch
Dear Maintainer,
The package d/control file hardcodes dependencies to libssl, libscitokens0 and
libvomsapi1v5 that were renamed to t64 suffix due to the time_t transition. I
have applied a proposed fix[1] to generate the library name in
override_dh_gencontrol and validated that the package builds and installs in
sid chroot.
In Ubuntu, the attached patch was applied to achieve the following:
* Don't hard-code dependency on a shared library (LP: #2058880).
Thanks for considering the patch.
[1] https://lists.ubuntu.com/archives/ubuntu-devel/2024-March/042948.html
-- System Information:
Debian Release: trixie/sid
APT prefers mantic-updates
APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500, 'mantic'), (100, 'mantic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-25-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru condor-23.4.0+dfsg/debian/control condor-23.4.0+dfsg/debian/control
--- condor-23.4.0+dfsg/debian/control 2024-03-23 09:07:04.000000000 +1300
+++ condor-23.4.0+dfsg/debian/control 2024-03-25 15:56:46.000000000 +1300
@@ -25,6 +24,7 @@
libpcre2-dev,
libpq-dev,
libscitokens-dev,
+ libssl-dev,
libsqlite3-dev,
libsystemd-dev,
libvirt-dev,
@@ -59,12 +59,10 @@
libkrb5-3,
libkrb5support0,
libmunge2,
- libssl3t64,
- libscitokens0,
- libvomsapi1v5,
net-tools,
libjs-bootstrap,
libjs-jquery,
+ ${lib:Depends},
${misc:Depends},
${perl:Depends},
${python3:Depends},
diff -Nru condor-23.4.0+dfsg/debian/rules condor-23.4.0+dfsg/debian/rules
--- condor-23.4.0+dfsg/debian/rules 2024-03-23 09:07:04.000000000 +1300
+++ condor-23.4.0+dfsg/debian/rules 2024-03-25 15:56:46.000000000 +1300
@@ -132,3 +132,10 @@
override_dh_auto_test:
+override_dh_gencontrol:
+ dh_gencontrol -- \
+ -Vlib:Depends="$(foreach package, libscitokens libssl, \
+ $(shell dpkg-query -W -f '$${Depends}' $(package)-dev \
+ | sed -E 's/.*($(package)[[:alnum:].-]+).*/\1,/' )) \
+ $(shell dpkg-query -W -f '$${Depends}' voms-dev \
+ | sed -E 's/.*(libvomsapi[[:alnum:].-]+).*/\1,/' )"
Reply to: