[med-svn] [Git][med-team/uncalled][master] debian_hdf5: link against the hdf5 library name reported by pkg-config instead...

Andreas Tille (@tille) gitlab at salsa.debian.org
Thu Sep 24 08:00:53 BST 2026



Andreas Tille pushed to branch master at Debian Med / uncalled


Commits:
16216340 by Andreas Tille at 2026-09-24T08:41:53+02:00
debian_hdf5: link against the hdf5 library name reported by pkg-config instead of hardcoding -lhdf5, which fails to link against current libhdf5-dev. (Closes: #1144002)

- - - - -


2 changed files:

- debian/changelog
- debian/patches/debian_hdf5


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-uncalled (2.3+ds-5) UNRELEASED; urgency=medium
+uncalled (2.3+ds-4) UNRELEASED; urgency=medium
 
   * Team upload.
   * d/watch: version=5
@@ -7,12 +7,10 @@ uncalled (2.3+ds-5) UNRELEASED; urgency=medium
   * Remove Priority field (cme)
   * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
   * Drop 'Rules-Requires-Root: no' from d/control (routine-update)
-
- -- Andreas Tille <tille at debian.org>  Thu, 13 Aug 2026 11:23:55 +0200
-
-uncalled (2.3+ds-4) UNRELEASED; urgency=medium
-
   * Replace pkg-config with pkgconf in Build-Depends
+  * debian_hdf5: link against the hdf5 library name reported by
+    pkg-config instead of hardcoding -lhdf5, which fails to link
+    against current libhdf5-dev. (Closes: #1144002)
 
  -- Andreas Tille <tille at debian.org>  Tue, 10 Mar 2026 09:46:23 +0100
 


=====================================
debian/patches/debian_hdf5
=====================================
@@ -49,7 +49,7 @@ Forwarded: not-needed
      ],                                
  
 -    libraries = ["bwa", "z", "dl", "m"],
-+    libraries = ["bwa", "hdf5", "z", "dl", "m"],
++    libraries = ["bwa"] + [x[2:] for x in subprocess.check_output("pkg-config --libs-only-l hdf5-serial", shell=True, encoding='UTF-8').strip().split()] + ["z", "dl", "m"],
  
      extra_compile_args = ["-std=c++11", "-O3"],
  



View it on GitLab: https://salsa.debian.org/med-team/uncalled/-/commit/16216340fb5cb5da075a47e86cc091e064008188

-- 
View it on GitLab: https://salsa.debian.org/med-team/uncalled/-/commit/16216340fb5cb5da075a47e86cc091e064008188
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260924/333b3feb/attachment-0001.htm>


More information about the debian-med-commit mailing list