Control: tags -1 + patch

On Sun, 07 Sep 2025 20:52:49 +0200 =?utf-8?q?S=C3=A9bastien_Villemot?=
<[email protected]> wrote:
> Source: libsbml
> Version: 5.20.4+dfsg-0.1
> Severity: important
> Tags: ftbfs sid forky
> User: [email protected]
> Usertags: octave-10
> 
> libsbml FTBFS against octave 10 (which currently stands in
experimental).

Please find attached a patch that fixes this issue.

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  https://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  https://www.debian.org
diff -Nru libsbml-5.20.4+dfsg/debian/changelog libsbml-5.20.4+dfsg/debian/changelog
--- libsbml-5.20.4+dfsg/debian/changelog	2025-01-09 21:01:32.000000000 +0100
+++ libsbml-5.20.4+dfsg/debian/changelog	2025-09-23 11:15:18.000000000 +0200
@@ -1,3 +1,12 @@
+libsbml (5.20.4+dfsg-0.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * d/rules: pass Octave private libraries path to dh_shlibdeps.
+    Necessary for finding liboctmex against which MEX files are linked.
+    (Closes: #1114640)
+
+ -- Sébastien Villemot <[email protected]>  Tue, 23 Sep 2025 11:15:18 +0200
+
 libsbml (5.20.4+dfsg-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libsbml-5.20.4+dfsg/debian/rules libsbml-5.20.4+dfsg/debian/rules
--- libsbml-5.20.4+dfsg/debian/rules	2025-01-09 21:01:32.000000000 +0100
+++ libsbml-5.20.4+dfsg/debian/rules	2025-09-23 11:15:18.000000000 +0200
@@ -97,7 +97,7 @@
 	find $(debtmp)/usr -type f -exec chmod 644 {} +
 	find $(debtmp)/usr/lib -name "*.mex*" -exec strip --strip-unneeded {} + || true
 	find $(debtmp)/usr/lib -name "*.mex*" -exec strip --remove-section=.comment {} + || true
-	dpkg-shlibdeps $(debtmp)/usr/lib/*/octave/site/oct/*/*.mex -Tdebian/libsbml5-octave.substvars
+	dpkg-shlibdeps $(debtmp)/usr/lib/*/octave/site/oct/*/*.mex -Tdebian/libsbml5-octave.substvars -l$(shell octave-config -p OCTLIBDIR)
 	dh_octave_substvar --package=libsbml5-octave
 	# for some reason the perl library ends up in
 	#  debian/tmp/usr/lib/$(DEB_HOST_ARCH)/$(DEB_HOST_ARCH)/perl5
@@ -131,6 +131,9 @@
 override_dh_dwz:
 	echo "Skip dwz: Too few files for multifile optimization"
 
+override_dh_shlibdeps:
+	dh_shlibdeps -l$(shell octave-config -p OCTLIBDIR)
+
 execute_after_jh_installjavadoc:
 	rdfind -makesymlinks true -followsymlinks true \
 		$$(dpkg -L $$(apt-cache show default-jdk-doc | grep Depends \

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to