[med-svn] [Git][med-team/bbhash][master] 8 commits: Mark printPt() as inline to fix multiple definition errors in libraries that...

Andreas Tille (@tille) gitlab at salsa.debian.org
Tue Oct 27 08:13:51 GMT 2026



Andreas Tille pushed to branch master at Debian Med / bbhash


Commits:
4ece0c5f by Andreas Tille at 2026-10-27T09:06:18+01:00
Mark printPt() as inline to fix multiple definition errors in libraries that include BooPHF.h from several translation units.

- - - - -
5031791f by Andreas Tille at 2026-10-27T09:06:44+01:00
d/watch: version=5

- - - - -
8cb9a4da by Andreas Tille at 2026-10-27T09:09:21+01:00
Explicitly Build-Depends architecture-is-64-bit to avoid builds are starting at 32bit architectures Closes: #1049876

- - - - -
35beeb2a by Andreas Tille at 2026-10-27T09:09:50+01:00
Standards-Version: 4.7.4 (routine-update)

- - - - -
4d36e218 by Andreas Tille at 2026-10-27T09:11:39+01:00
Changes made by cme

- - - - -
ee663fd6 by Andreas Tille at 2026-10-27T09:11:44+01:00
Drop 'Rules-Requires-Root: no' from d/control (routine-update)

- - - - -
78ec651f by Andreas Tille at 2026-10-27T09:11:48+01:00
Reformat the Last-Update date as ISO YYYY-MM-DD.

Changes-By: lintian-brush
Fixes: lintian: source: invalid-dep3-format-patch-wrong-last-update [debian/patches/fix_makefile.patch]
See-also: https://lintian.debian.org/tags/invalid-dep3-format-patch-wrong-last-update.html

- - - - -
dbf3b19d by Andreas Tille at 2026-10-27T09:13:02+01:00
routine-update: Ready to upload to unstable

- - - - -


6 changed files:

- debian/changelog
- debian/control
- debian/patches/fix_makefile.patch
- + debian/patches/odr-printPt-inline.patch
- debian/patches/series
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,19 @@
+bbhash (1.0.0-8) unstable; urgency=medium
+
+  * Mark printPt() as inline to fix multiple definition errors in
+    libraries that include BooPHF.h from several translation units.
+  * d/watch: version=5
+  * Explicitly Build-Depends architecture-is-64-bit to avoid builds
+    are starting at 32bit architectures
+    Closes: #1049876
+  * Standards-Version: 4.7.4 (routine-update)
+  * Reflow Uploaders field (cme)
+  * Remove Priority field (cme)
+  * Drop 'Rules-Requires-Root: no' from d/control (routine-update)
+  * Reformat the Last-Update date as ISO YYYY-MM-DD.
+
+ -- Andreas Tille <tille at debian.org>  Tue, 27 Oct 2026 09:11:52 +0100
+
 bbhash (1.0.0-7) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -1,21 +1,23 @@
 Source: bbhash
+Standards-Version: 4.7.4
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Andreas Tille <tille at debian.org>
+Uploaders:
+ Andreas Tille <tille at debian.org>,
 Section: science
-Priority: optional
-Build-Depends: debhelper-compat (= 13)
-Standards-Version: 4.7.2
+Build-Depends:
+ debhelper-compat (= 14),
+ architecture-is-64-bit,
 Vcs-Browser: https://salsa.debian.org/med-team/bbhash
 Vcs-Git: https://salsa.debian.org/med-team/bbhash.git
 Homepage: https://github.com/rizkg/BBHash
-Rules-Requires-Root: no
 
 Package: libbbhash-dev
 Architecture: any
-Section: libdevel
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
 Multi-Arch: same
+Section: libdevel
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
 Description: bloom-filter based minimal perfect hash function library
  BBHash is a simple library for building minimal perfect hash
  function. It is designed to handle large scale datasets. The function


=====================================
debian/patches/fix_makefile.patch
=====================================
@@ -1,5 +1,5 @@
 Author: Andreas Tille <tille at debian.org>
-Last-Update: Wed, 03 Jun 2020 11:53:42 +0200
+Last-Update: 2020-06-03
 Description: Fix clean target in Makefile
 
 --- a/makefile


=====================================
debian/patches/odr-printPt-inline.patch
=====================================
@@ -0,0 +1,20 @@
+Description: Mark printPt() as inline to avoid multiple definition errors
+ BooPHF.h defines printPt() without the inline specifier. Every shared
+ library built from more than one translation unit that includes BooPHF.h
+ therefore fails to link with "multiple definition of
+ boomphf::printPt(unsigned long)".
+Author: Rob Patro <rob-p at users.noreply.github.com>
+Last-Update: 2026-10-26
+Origin: upstream, https://github.com/rizkg/BBHash/commit/13f49ccac9acdfdaf9b1f8668c11c793ad1577fd
+
+--- a/BooPHF.h
++++ b/BooPHF.h
+@@ -24,7 +24,7 @@
+ namespace boomphf {
+ 
+ 	
+-	u_int64_t printPt( pthread_t pt) {
++	inline u_int64_t printPt( pthread_t pt) {
+ 	  unsigned char *ptc = (unsigned char*)(void*)(&pt);
+ 		u_int64_t res =0;
+ 	  for (size_t i=0; i<sizeof(pt); i++) {


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 fix_makefile.patch
 gcc-15.patch
+odr-printPt-inline.patch


=====================================
debian/watch
=====================================
@@ -1,4 +1,4 @@
-version=4
+Version: 5
 
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%" \
-  https://github.com/rizkg/BBHash/tags .*/v?@ANY_VERSION@\.tar\.gz
+Template: Github
+Dist: https://github.com/rizkg/BBHash



View it on GitLab: https://salsa.debian.org/med-team/bbhash/-/compare/751b882bc0f6182c3dbc3de821827396fe70d5e5...dbf3b19d8121415cd7f2b09b2d8269329abe07c1

-- 
View it on GitLab: https://salsa.debian.org/med-team/bbhash/-/compare/751b882bc0f6182c3dbc3de821827396fe70d5e5...dbf3b19d8121415cd7f2b09b2d8269329abe07c1
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/20261027/90cbade5/attachment-0001.htm>


More information about the debian-med-commit mailing list