[Pkg-kde-extras] Bug#1015399: exiv2: ftbfs with LTO (link time optimization) enabled

Matthias Klose doko at debian.org
Tue Jul 19 17:51:54 BST 2022


Package: src:exiv2
Version: 0.27.5-3
Severity: minor
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-lto

This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/exiv2_0.27.5-3_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
+#MISSING: 0.27.5-3# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N5Exiv29XmpNsInfoEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE4findERS7_ at Base 0.25
+#MISSING: 0.27.5-3# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE11equal_rangeERS7_ at Base 0.27.2
+#MISSING: 0.27.5-3# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE24_M_get_insert_unique_posERS7_ at Base 0.25
+#MISSING: 0.27.5-3# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS7_ at Base 0.25
+#MISSING: 0.27.5-3# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE4findERS7_ at Base 0.25
+#MISSING: 0.27.5-3# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E at Base 0.25
+#MISSING: 0.27.5-3# (optional=templinst)_ZNSt8_Rb_treeIPKhSt4pairIKS1_N5Exiv28Internal5IfdIdEESt10_Select1stIS7_ESt4lessIS1_ESaIS7_EE24_M_get_insert_unique_posERS3_ at Base 0.25
+#MISSING: 0.27.5-3# (optional=templinst|arch=amd64 arm64 hppa ia64 kfreebsd-amd64 m68k mips64 mips64el ppc64el riscv64 sh4 sparc64 x32)_ZNSt8_Rb_treeIPKhSt4pairIKS1_N5Exiv28Internal5IfdIdEESt10_Select1stIS7_ESt4lessIS1_ESaIS7_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS7_ERS3_ at Base 0.25
+#MISSING: 0.27.5-3# (optional=templinst)_ZNSt8_Rb_treeIiSt4pairIKiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessIiESaIS8_EE24_M_get_insert_unique_posERS1_ at Base 0.25
+#MISSING: 0.27.5-3# (optional=templinst|arch=amd64 arm64 hppa ia64 kfreebsd-amd64 m68k mips64 mips64el ppc64el riscv64 sh4 sparc64 x32)_ZNSt8_Rb_treeIiSt4pairIKiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessIiESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_ at Base 0.25
+#MISSING: 0.27.5-3# (optional=templinst)_ZNSt8_Rb_treeItSt4pairIKtiESt10_Select1stIS2_ESt4lessItESaIS2_EE24_M_get_insert_unique_posERS1_ at Base 0.25
+#MISSING: 0.27.5-3# (optional=templinst|arch=amd64 arm64 hppa ia64 kfreebsd-amd64 m68k mips64 mips64el ppc64el riscv64 sh4 sparc64 x32)_ZNSt8_Rb_treeItSt4pairIKtiESt10_Select1stIS2_ESt4lessItESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_ at Base 0.25
+#MISSING: 0.27.5-3# (optional=templinst|arch=amd64 arm64 hppa ia64 kfreebsd-amd64 m68k mips64 mips64el ppc64el riscv64 sh4 sparc64 x32|subst)_ZNSt8_Rb_treeI{size_t}St4pairIK{size_t}S0_IPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_EESt10_Select1stISA_ESt4lessI{size_t}ESaISA_EE28_M_get_insert_hint_equal_posESt23_Rb_tree_const_iteratorISA_ERS1_ at Base 0.25
  (optional=templinst|arch=alpha armel armhf hurd-i386 i386 kfreebsd-i386 m68k mipsel powerpc ppc64 s390x|subst)_ZNSt8_Rb_treeI{uint64_t}{uint64_t}St9_IdentityI{uint64_t}ESt4lessI{uint64_t}ESaI{uint64_t}EE16_M_insert_uniqueI{uint64_t}EESt4pairISt17_Rb_tree_iteratorI{uint64_t}EbEOT_ at Base 0.27.5
- (optional=templinst)_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_ at Base 0.25
- (optional=templinst|arch=!mipsel)_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_ at Base 0.25
+ _ZSt19piecewise_construct at Base 0.27.5-3
+#MISSING: 0.27.5-3# (optional=templinst)_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_ at Base 0.25
+#MISSING: 0.27.5-3# (optional=templinst|arch=!mipsel)_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_ at Base 0.25
  _ZTIN5Exiv210AsciiValueE at Base 0.25
  _ZTIN5Exiv210BasicErrorIcEE at Base 0.25
  _ZTIN5Exiv210XmpSidecarE at Base 0.25
@@ -1353,7 +1354,7 @@
  _ZTIN5Exiv25ValueE at Base 0.25
  _ZTIN5Exiv26FileIoE at Base 0.25
  _ZTIN5Exiv26HttpIo8HttpImplE at Base 0.25
- _ZTIN5Exiv26HttpIoE at Base 0.25
+#MISSING: 0.27.5-3# _ZTIN5Exiv26HttpIoE at Base 0.25
  _ZTIN5Exiv26XmpKeyE at Base 0.25
  _ZTIN5Exiv27BasicIoE at Base 0.25
  _ZTIN5Exiv27ExifKeyE at Base 0.25
@@ -1367,7 +1368,7 @@
  _ZTIN5Exiv28EpsImageE at Base 0.25
  _ZTIN5Exiv28ExvImageE at Base 0.25
  _ZTIN5Exiv28GifImageE at Base 0.25
- _ZTIN5Exiv28IoCloserE at Base 0.25
+#MISSING: 0.27.5-3# _ZTIN5Exiv28IoCloserE at Base 0.25
  _ZTIN5Exiv28Jp2ImageE at Base 0.25
  _ZTIN5Exiv28JpegBaseE at Base 0.25
  _ZTIN5Exiv28MrwImageE at Base 0.25
@@ -1451,7 +1452,7 @@
  _ZTSN5Exiv29TimeValueE at Base 0.25
  _ZTSN5Exiv29WebPImageE at Base 0.27.2
  _ZTVN5Exiv210AsciiValueE at Base 0.25
- _ZTVN5Exiv210BasicErrorIcEE at Base 0.25
+#MISSING: 0.27.5-3# _ZTVN5Exiv210BasicErrorIcEE at Base 0.25
  _ZTVN5Exiv210XmpSidecarE at Base 0.25
  _ZTVN5Exiv211StringValueE at Base 0.25
  _ZTVN5Exiv212CommentValueE at Base 0.25
@@ -1467,7 +1468,7 @@
  _ZTVN5Exiv25ValueE at Base 0.25
  _ZTVN5Exiv26FileIoE at Base 0.25
  _ZTVN5Exiv26HttpIo8HttpImplE at Base 0.25
- _ZTVN5Exiv26HttpIoE at Base 0.25
+#MISSING: 0.27.5-3# _ZTVN5Exiv26HttpIoE at Base 0.25
  _ZTVN5Exiv26XmpKeyE at Base 0.25
  _ZTVN5Exiv27BasicIoE at Base 0.25
  _ZTVN5Exiv27ExifKeyE at Base 0.25
@@ -1481,7 +1482,7 @@
  _ZTVN5Exiv28EpsImageE at Base 0.25
  _ZTVN5Exiv28ExvImageE at Base 0.25
  _ZTVN5Exiv28GifImageE at Base 0.25
- _ZTVN5Exiv28IoCloserE at Base 0.25
+#MISSING: 0.27.5-3# _ZTVN5Exiv28IoCloserE at Base 0.25
  _ZTVN5Exiv28Jp2ImageE at Base 0.25
  _ZTVN5Exiv28JpegBaseE at Base 0.25
  _ZTVN5Exiv28MrwImageE at Base 0.25
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the pkg-kde-extras mailing list