#1015495 libkf5kexiv2: ftbfs with LTO (link time optimization) enabled

#1015495#5
Date:
2022-07-19 16:55:06 UTC
From:
To:
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/libkf5kexiv2_21.12.3-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
- (optional=templinst)_ZN5Exiv29ValueTypeIjEC1ERKS1_@Base 20.04.3
- (optional=templinst)_ZN5Exiv29ValueTypeIjEC2ERKS1_@Base 20.04.3
- (optional=templinst)_ZN5Exiv29ValueTypeIjED0Ev@Base 4.5.90
- (optional=templinst)_ZN5Exiv29ValueTypeIjED1Ev@Base 4.5.90
- (optional=templinst)_ZN5Exiv29ValueTypeIjED2Ev@Base 4.6.1
+#MISSING: 21.12.3-1# (arch=alpha amd64 arm64 kfreebsd-amd64 mips64el ppc64 ppc64el s390x sparc64)_ZN5Exiv213toBasicStringIcA59_cEENSt7__cxx1112basic_stringIT_St11char_traitsIS4_ESaIS4_EEERKT0_@Base 15.12.0
+#MISSING: 21.12.3-1# (optional=templinst|arch=alpha amd64 arm64 kfreebsd-amd64 mips64el ppc64 ppc64el s390x sparc64)_ZN5Exiv28toStringIjEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_@Base 15.04.2
+#MISSING: 21.12.3-1# (optional=templinst)_ZN5Exiv29ValueTypeIjE11setDataAreaEPKhl@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZN5Exiv29ValueTypeIjE4readEPKhlNS_9ByteOrderE@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZN5Exiv29ValueTypeIjE4readERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 15.04.2
+#MISSING: 21.12.3-1# (optional=templinst)_ZN5Exiv29ValueTypeIjEC1ERKS1_@Base 20.04.3
+#MISSING: 21.12.3-1# (optional=templinst)_ZN5Exiv29ValueTypeIjEC2ERKS1_@Base 20.04.3
+#MISSING: 21.12.3-1# (optional=templinst)_ZN5Exiv29ValueTypeIjED0Ev@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZN5Exiv29ValueTypeIjED1Ev@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZN5Exiv29ValueTypeIjED2Ev@Base 4.6.1
  _ZNK11KExiv2Iface14KExiv2Previews12originalSizeEv@Base 4.5.90
  _ZNK11KExiv2Iface14KExiv2Previews16originalMimeTypeEv@Base 4.5.90
  _ZNK11KExiv2Iface14RotationMatrix13isNoTransformEv@Base 4.5.90
@@ -222,29 +222,29 @@
  _ZNK11KExiv2Iface6KExiv28clearXmpEv@Base 4.5.90
  _ZNK11KExiv2Iface6KExiv29clearExifEv@Base 4.5.90
  _ZNK11KExiv2Iface6KExiv29clearIptcEv@Base 4.5.90
- (optional=templinst)_ZNK5Exiv29ValueTypeIjE10toRationalEl@Base 4.5.90
- (optional=templinst)_ZNK5Exiv29ValueTypeIjE12sizeDataAreaEv@Base 4.5.90
- (optional=templinst)_ZNK5Exiv29ValueTypeIjE4copyEPhNS_9ByteOrderE@Base 4.5.90
- (optional=templinst)_ZNK5Exiv29ValueTypeIjE4sizeEv@Base 4.5.90
- (optional=templinst)_ZNK5Exiv29ValueTypeIjE5countEv@Base 4.5.90
- (optional=templinst)_ZNK5Exiv29ValueTypeIjE5writeERSo@Base 4.5.90
- (optional=templinst)_ZNK5Exiv29ValueTypeIjE6clone_Ev@Base 4.5.90
- (optional=templinst)_ZNK5Exiv29ValueTypeIjE6toLongEl@Base 4.5.90
- (optional=templinst)_ZNK5Exiv29ValueTypeIjE7toFloatEl@Base 4.5.90
- (optional=templinst)_ZNK5Exiv29ValueTypeIjE8dataAreaEv@Base 4.5.90
- (optional=templinst)_ZNK5Exiv29ValueTypeIjE8toStringB5cxx11El@Base 17.08.1
- (optional=templinst)_ZNSt6vectorIN5Exiv29IptcdatumESaIS1_EEaSERKS3_@Base 4.5.90
- (optional=templinst)_ZNSt6vectorIjSaIjEE17_M_realloc_insertIJRKjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_@Base 20.04.3
- (optional=templinst)_ZNSt6vectorIjSaIjEE17_M_realloc_insertIJjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_@Base 20.04.3
- (optional=templinst)_ZNSt7__cxx1110_List_baseIN5Exiv29ExifdatumESaIS2_EE8_M_clearEv@Base 15.04.2
+#MISSING: 21.12.3-1# (optional=templinst)_ZNK5Exiv29ValueTypeIjE10toRationalEl@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZNK5Exiv29ValueTypeIjE12sizeDataAreaEv@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZNK5Exiv29ValueTypeIjE4copyEPhNS_9ByteOrderE@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZNK5Exiv29ValueTypeIjE4sizeEv@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZNK5Exiv29ValueTypeIjE5countEv@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZNK5Exiv29ValueTypeIjE5writeERSo@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZNK5Exiv29ValueTypeIjE6clone_Ev@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZNK5Exiv29ValueTypeIjE6toLongEl@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZNK5Exiv29ValueTypeIjE7toFloatEl@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZNK5Exiv29ValueTypeIjE8dataAreaEv@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZNK5Exiv29ValueTypeIjE8toStringB5cxx11El@Base 17.08.1
+#MISSING: 21.12.3-1# (optional=templinst)_ZNSt6vectorIN5Exiv29IptcdatumESaIS1_EEaSERKS3_@Base 4.5.90
+#MISSING: 21.12.3-1# (optional=templinst)_ZNSt6vectorIjSaIjEE17_M_realloc_insertIJRKjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_@Base 20.04.3
+#MISSING: 21.12.3-1# (optional=templinst)_ZNSt6vectorIjSaIjEE17_M_realloc_insertIJjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_@Base 20.04.3
+#MISSING: 21.12.3-1# (optional=templinst)_ZNSt7__cxx1110_List_baseIN5Exiv29ExifdatumESaIS2_EE8_M_clearEv@Base 15.04.2
  (optional=templinst|arch=hppa sparc64 x32)_ZNSt7__cxx114listIN5Exiv29ExifdatumESaIS2_EE18_M_assign_dispatchISt20_List_const_iteratorIS2_EEEvT_S8_St12__false_type@Base 15.12.0
- (optional=templinst)_ZNSt7__cxx114listIN5Exiv29ExifdatumESaIS2_EE6insertISt20_List_const_iteratorIS2_EvEESt14_List_iteratorIS2_ES7_T_SA_@Base 20.04.3
+#MISSING: 21.12.3-1# (optional=templinst)_ZNSt7__cxx114listIN5Exiv29ExifdatumESaIS2_EE6insertISt20_List_const_iteratorIS2_EvEESt14_List_iteratorIS2_ES7_T_SA_@Base 20.04.3
  _ZTIN11KExiv2Iface6KExiv2E@Base 4.5.90
  _ZTIN5Exiv210BasicErrorIcEE@Base 4.5.90
- _ZTIN5Exiv29ValueTypeIjEE@Base 4.5.90
+#MISSING: 21.12.3-1# _ZTIN5Exiv29ValueTypeIjEE@Base 4.5.90
  _ZTSN11KExiv2Iface6KExiv2E@Base 4.5.90
  _ZTSN5Exiv210BasicErrorIcEE@Base 4.5.90
  _ZTSN5Exiv29ValueTypeIjEE@Base 4.5.90
  _ZTVN11KExiv2Iface6KExiv2E@Base 4.5.90
- _ZTVN5Exiv210BasicErrorIcEE@Base 4.5.90
- _ZTVN5Exiv29ValueTypeIjEE@Base 4.5.90
+#MISSING: 21.12.3-1# _ZTVN5Exiv210BasicErrorIcEE@Base 4.5.90
+#MISSING: 21.12.3-1# _ZTVN5Exiv29ValueTypeIjEE@Base 4.5.90
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1015495#16
Date:
2026-05-04 07:29:18 UTC
From:
To:
Dear submitter,

as the package libkf5kexiv2 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1135212

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)