[med-svn] [Git][med-team/libvbz-hdf-plugin][master] 4 commits: gcc-13.patch: new: fix build failures with gcc 13.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sun Jul 23 10:12:15 BST 2023



Étienne Mollier pushed to branch master at Debian Med / libvbz-hdf-plugin


Commits:
bbb47088 by Étienne Mollier at 2023-07-23T10:48:54+02:00
gcc-13.patch: new: fix build failures with gcc 13.

Closes: #1037746

- - - - -
372c2536 by Étienne Mollier at 2023-07-23T10:52:26+02:00
d/rules: build with -Wno-error=dangling-reference.

This works around a, possibly, false positive warning while building
the file vbz/vbz.cpp with gcc 13 onwards.

- - - - -
64757c2a by Étienne Mollier at 2023-07-23T11:11:04+02:00
gcc-13.patch: opened bug upstream.

Gbp-Dch: ignore

- - - - -
92e2d45e by Étienne Mollier at 2023-07-23T11:11:26+02:00
ready to upload to unstable

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/gcc-13.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+libvbz-hdf-plugin (1.0.2-3) unstable; urgency=medium
+
+  * gcc-13.patch: new: fix build failures with gcc 13. (Closes: #1037746)
+  * d/rules: build with -Wno-error=dangling-reference.
+    This works around a, possibly, false positive warning while building
+    the file vbz/vbz.cpp with gcc 13 onwards.
+
+ -- Étienne Mollier <emollier at debian.org>  Sun, 23 Jul 2023 10:52:45 +0200
+
 libvbz-hdf-plugin (1.0.2-2) unstable; urgency=medium
 
   * Remove symbols file according to


=====================================
debian/patches/gcc-13.patch
=====================================
@@ -0,0 +1,27 @@
+Description: build failure with gcc 13
+Author: Étienne Mollier <emollier at debian.org>
+Bug: https://github.com/nanoporetech/vbz_compression/issues/25
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037746
+Last-Update: 2023-07-23
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- libvbz-hdf-plugin.orig/vbz/v0/vbz_streamvbyte.h
++++ libvbz-hdf-plugin/vbz/v0/vbz_streamvbyte.h
+@@ -4,6 +4,7 @@
+ #include "vbz.h"
+ 
+ #include <cstddef>
++#include <cstdint>
+ 
+ // Version 1 of streamvbyte
+ //
+--- libvbz-hdf-plugin.orig/vbz/v1/vbz_streamvbyte.h
++++ libvbz-hdf-plugin/vbz/v1/vbz_streamvbyte.h
+@@ -4,6 +4,7 @@
+ #include "vbz.h"
+ 
+ #include <cstddef>
++#include <cstdint>
+ 
+ // Version 1 of streamvbyte
+ //


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 use-packaged-streamvbyte.patch
 fix-install-location.patch
 soversion.patch
+gcc-13.patch


=====================================
debian/rules
=====================================
@@ -4,6 +4,10 @@
 export LC_ALL=C.UTF-8
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+# Work around against the following warning that cropped up with gcc 13.1.0:
+#       vbz/vbz.cpp:314:17: error: possibly dangling reference to a temporary
+export DEB_CXXFLAGS_MAINT_APPEND = -Wno-error=dangling-reference
+
 include /usr/share/dpkg/default.mk
 
 %:



View it on GitLab: https://salsa.debian.org/med-team/libvbz-hdf-plugin/-/compare/c188c7b8616d83f8e05be2dbadb0e2b61cee0659...92e2d45e790b30889ed6dae3fd3295b871d490a2

-- 
View it on GitLab: https://salsa.debian.org/med-team/libvbz-hdf-plugin/-/compare/c188c7b8616d83f8e05be2dbadb0e2b61cee0659...92e2d45e790b30889ed6dae3fd3295b871d490a2
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/20230723/606d127c/attachment-0001.htm>


More information about the debian-med-commit mailing list