[Debian-med-packaging] Bug#984206: libquazip: ftbfs with GCC-11
Sebastiaan Couwenberg
sebastic at xs4all.nl
Mon Oct 11 16:36:55 BST 2021
Control: tags -1 patch
The attached patch fixes the issue by updating the symbols file and
overriding dh_makeshlibs to use the upstream version and not failing on
changes to fix this permanently.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
-------------- next part --------------
diff -Nru libquazip-0.9.1/debian/changelog libquazip-0.9.1/debian/changelog
--- libquazip-0.9.1/debian/changelog 2020-07-23 15:48:10.000000000 +0200
+++ libquazip-0.9.1/debian/changelog 2021-10-11 17:11:23.000000000 +0200
@@ -1,3 +1,12 @@
+libquazip (0.9.1-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Update symbols for gcc-11.
+ (closes: #984206)
+ * Override dh_makeshlibs to use upstream version and not fail on changes.
+
+ -- Bas Couwenberg <sebastic at debian.org> Mon, 11 Oct 2021 17:11:23 +0200
+
libquazip (0.9.1-1) unstable; urgency=medium
* New upstream version
diff -Nru libquazip-0.9.1/debian/libquazip5-1.symbols.amd64 libquazip-0.9.1/debian/libquazip5-1.symbols.amd64
--- libquazip-0.9.1/debian/libquazip5-1.symbols.amd64 2020-07-23 15:48:10.000000000 +0200
+++ libquazip-0.9.1/debian/libquazip5-1.symbols.amd64 2021-10-11 17:11:23.000000000 +0200
@@ -164,8 +164,6 @@
_ZN5QHashI7QString16unz64_file_pos_sE11deleteNode2EPN9QHashData4NodeE at Base 0.7.3
_ZN5QHashI7QString16unz64_file_pos_sE13duplicateNodeEPN9QHashData4NodeEPv at Base 0.7.3
_ZN5QHashI7QString16unz64_file_pos_sE6insertERKS0_RKS1_ at Base 0.9.1
- _ZN5QHashI7QString16unz64_file_pos_sED1Ev at Base 0.9.1
- _ZN5QHashI7QString16unz64_file_pos_sED2Ev at Base 0.9.1
_ZN5QHashIt5QListI10QByteArrayEE11deleteNode2EPN9QHashData4NodeE at Base 0.9
_ZN5QHashIt5QListI10QByteArrayEE13duplicateNodeEPN9QHashData4NodeEPv at Base 0.9
_ZN5QHashIt5QListI10QByteArrayEED1Ev at Base 0.9
@@ -334,9 +332,8 @@
_ZSt13__heap_selectIN5QListI16QuaZipFileInfo64E8iteratorEN9__gnu_cxx5__ops15_Iter_comp_iterI19QuaZipDirComparatorEEEvT_S9_S9_T0_ at Base 0.9
_ZSt16__insertion_sortIN5QListI16QuaZipFileInfo64E8iteratorEN9__gnu_cxx5__ops15_Iter_comp_iterI19QuaZipDirComparatorEEEvT_S9_T0_ at Base 0.9
_ZSt16__introsort_loopIN5QListI16QuaZipFileInfo64E8iteratorEiN9__gnu_cxx5__ops15_Iter_comp_iterI19QuaZipDirComparatorEEEvT_S9_T0_T1_ at Base 0.9
- _ZSt21__unguarded_partitionIN5QListI16QuaZipFileInfo64E8iteratorEN9__gnu_cxx5__ops15_Iter_comp_iterI19QuaZipDirComparatorEEET_S9_S9_S9_T0_ at Base 0.9.1
- _ZSt22__move_median_to_firstIN5QListI16QuaZipFileInfo64E8iteratorEN9__gnu_cxx5__ops15_Iter_comp_iterI19QuaZipDirComparatorEEEvT_S9_S9_S9_T0_ at Base 0.9.1
_ZSt25__unguarded_linear_insertIN5QListI16QuaZipFileInfo64E8iteratorEN9__gnu_cxx5__ops14_Val_comp_iterI19QuaZipDirComparatorEEEvT_T0_ at Base 0.9
+ _ZSt4swapI16QuaZipFileInfo64ENSt9enable_ifIXsrSt6__and_IJSt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SF_ at Base 0.9.1
_ZTI10QuaAdler32 at Base 0.7.3
_ZTI10QuaZipFile at Base 0.7.3
_ZTI11QuaGzipFile at Base 0.7.3
diff -Nru libquazip-0.9.1/debian/rules libquazip-0.9.1/debian/rules
--- libquazip-0.9.1/debian/rules 2020-07-23 15:48:10.000000000 +0200
+++ libquazip-0.9.1/debian/rules 2021-10-11 17:11:23.000000000 +0200
@@ -11,6 +11,10 @@
QT_SELECT=qt5
+include /usr/share/dpkg/pkg-info.mk
+
+UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
+
# Enable multiarch builds & prepare qmake vars
include /usr/share/dpkg/architecture.mk
@@ -55,3 +59,6 @@
override_dh_missing:
dh_missing --fail-missing
+
+override_dh_makeshlibs:
+ dh_makeshlibs -- -c0 -v$(UPSTREAM_VERSION)
More information about the Debian-med-packaging
mailing list