[med-svn] [Git][med-team/bambamc][master] 7 commits: gcc-15.patch: new: fix build failure with gcc-15.
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Thu Sep 25 19:02:58 BST 2025
Étienne Mollier pushed to branch master at Debian Med / bambamc
Commits:
629c4157 by Étienne Mollier at 2025-09-25T19:55:30+02:00
gcc-15.patch: new: fix build failure with gcc-15.
Closes: #1096356
- - - - -
172147c5 by Étienne Mollier at 2025-09-25T19:57:07+02:00
d/control: build depends on pkgconf.
- - - - -
e35676e7 by Étienne Mollier at 2025-09-25T19:57:27+02:00
d/control: libbambamc-dev depends on pkgconf.
- - - - -
0ed4f247 by Étienne Mollier at 2025-09-25T19:59:29+02:00
d/watch: convert to watch file version 5.
- - - - -
eb0d0f55 by Étienne Mollier at 2025-09-25T19:59:54+02:00
d/control: remove redundant Rules-Requires-Root.
- - - - -
584c0dce by Étienne Mollier at 2025-09-25T20:02:05+02:00
d/control: declare compliance to standards version 4.7.2.
- - - - -
55cab2c2 by Étienne Mollier at 2025-09-25T20:02:38+02:00
d/changelog: ready for upload to unstable.
- - - - -
5 changed files:
- debian/changelog
- debian/control
- + debian/patches/gcc-15.patch
- + debian/patches/series
- debian/watch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+bambamc (0.0.50-7) unstable; urgency=medium
+
+ * Team upload.
+ * gcc-15.patch: new: fix build failure with gcc-15. (Closes: #1096356)
+ * d/control: build depends on pkgconf.
+ * d/control: libbambamc-dev depends on pkgconf.
+ * d/watch: convert to watch file version 5.
+ * d/control: remove redundant Rules-Requires-Root.
+ * d/control: declare compliance to standards version 4.7.2.
+
+ -- Étienne Mollier <emollier at debian.org> Thu, 25 Sep 2025 20:02:21 +0200
+
bambamc (0.0.50-6) unstable; urgency=medium
* Really fix watch file
=====================================
debian/control
=====================================
@@ -7,13 +7,12 @@ Section: science
Priority: optional
Build-Depends: debhelper-compat (= 13),
d-shlibs,
- pkg-config,
+ pkgconf,
zlib1g-dev
-Standards-Version: 4.6.0
+Standards-Version: 4.7.2
Vcs-Browser: https://salsa.debian.org/med-team/bambamc
Vcs-Git: https://salsa.debian.org/med-team/bambamc.git
Homepage: https://github.com/gt1/bambamc
-Rules-Requires-Root: no
Package: libbambamc0
Architecture: any
@@ -32,7 +31,7 @@ Section: libdevel
Depends: ${shlibs:Depends},
${misc:Depends},
libbambamc0 (= ${binary:Version}),
- pkg-config,
+ pkgconf,
zlib1g-dev
Multi-Arch: same
Description: Development files for reading and writing BAM (genome alignment) files
=====================================
debian/patches/gcc-15.patch
=====================================
@@ -0,0 +1,32 @@
+Description: remove BamBam_GetFastqPlusLineLength argument.
+ This change fixes the following build failure with gcc-15:
+ .
+ bambamc/BamBam_FormatAlignment.c: In function 'BamBam_GetFastqEntryLength':
+ bambamc/BamBam_FormatAlignment.c:47:17: error: too many arguments to function 'BamBam_GetFastqPlusLineLength'; expected 0, have 1
+ 47 | BamBam_GetFastqPlusLineLength(qnamelen) +
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
+ bambamc/BamBam_FormatAlignment.c:33:17: note: declared here
+ 33 | static uint64_t BamBam_GetFastqPlusLineLength()
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ .
+ This is one of the rare cases where the right approach is to remove the
+ variable from the call, because the function is defined has being
+ hardwired to return 2 (1 + 1) and does not make use of any variable any
+ ways.
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096356
+Forwarded: no
+Last-Update: 2025-09-25
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- bambamc.orig/src/bambamc/BamBam_FormatAlignment.c
++++ bambamc/src/bambamc/BamBam_FormatAlignment.c
+@@ -44,7 +44,7 @@
+ return
+ BamBam_GetFastqNameLineLength(qnamelen,flags) +
+ BamBam_GetFastqSeqLineLength(seqlen) +
+- BamBam_GetFastqPlusLineLength(qnamelen) +
++ BamBam_GetFastqPlusLineLength() +
+ BamBam_GetFastqQualLineLength(seqlen);
+ }
+ /**
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+gcc-15.patch
=====================================
debian/watch
=====================================
@@ -1,3 +1,5 @@
-version=4
-opts=uversionmangle=s/_/./g \
- https://github.com/gt1/bambamc/tags .*/bambamc_(\d[\d._]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
+Version: 5
+
+Source: https://github.com/gt1/bambamc/tags
+Matching-Pattern: .*/bambamc_(\d[\d._]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
+Uversionmangle: s/_/./g
View it on GitLab: https://salsa.debian.org/med-team/bambamc/-/compare/64651cf64fff8099bee643f7bf5c280e73f8f918...55cab2c2eb2bc434bfa7dfe3f6eccc3cf78c67df
--
View it on GitLab: https://salsa.debian.org/med-team/bambamc/-/compare/64651cf64fff8099bee643f7bf5c280e73f8f918...55cab2c2eb2bc434bfa7dfe3f6eccc3cf78c67df
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20250925/3526da81/attachment-0001.htm>
More information about the debian-med-commit
mailing list