Bug#1015608: qhull: ftbfs with LTO (link time optimization) enabled
Matthias Klose
doko at debian.org
Tue Jul 19 17:58:59 BST 2022
Package: src:qhull
Version: 2020.2-4
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/qhull_2020.2-4_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_link -O--buildsystem=cmake
dh_strip_nondeterminism -O--buildsystem=cmake
debian/rules override_dh_compress
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_compress -X.c -X.h -X.txt
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_fixperms -O--buildsystem=cmake
dh_missing -O--buildsystem=cmake
dh_dwz -a -O--buildsystem=cmake
dh_strip -a -O--buildsystem=cmake
dh_makeshlibs -a -O--buildsystem=cmake
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libqhullcpp8.0/DEBIAN/symbols doesn't match completely debian/libqhullcpp8.0.symbols
--- debian/libqhullcpp8.0.symbols (libqhullcpp8.0_2020.2-4_amd64)
+++ dpkg-gensymbols9AJM3z 2022-06-10 09:05:50.510593242 +0000
@@ -1,9 +1,9 @@
libqhullcpp.so.8.0 libqhullcpp8.0 #MINVER#
* Build-Depends-Package: libqhull-dev
- (optional=libstdc++|regex)"^_Z(Z|GTt|GV|TI|TS|TT|TV|Thn?\d+_|Tvn?\d+_n?\d+_)?N?r?V?K?[RO]?S[abdiost]" 0~unused
- _ZN8orgQhull10QhullErrorD0Ev at Base 2020.1
- _ZN8orgQhull10QhullErrorD1Ev at Base 2020.1
- _ZN8orgQhull10QhullErrorD2Ev at Base 2020.1
+#MISSING: 2020.2-4# (optional=libstdc++|regex)"^_Z(Z|GTt|GV|TI|TS|TT|TV|Thn?\d+_|Tvn?\d+_n?\d+_)?N?r?V?K?[RO]?S[abdiost]" 0~unused
+#MISSING: 2020.2-4# _ZN8orgQhull10QhullErrorD0Ev at Base 2020.1
+#MISSING: 2020.2-4# _ZN8orgQhull10QhullErrorD1Ev at Base 2020.1
+#MISSING: 2020.2-4# _ZN8orgQhull10QhullErrorD2Ev at Base 2020.1
_ZN8orgQhull10QhullFacet13s_empty_facetE at Base 2020.1
_ZN8orgQhull10QhullFacet13voronoiVertexEv at Base 2020.1
_ZN8orgQhull10QhullFacet9facetAreaEv at Base 2020.1
@@ -12,12 +12,12 @@
_ZN8orgQhull10QhullFacetC1ERKNS_5QhullEP6facetT at Base 2020.1
_ZN8orgQhull10QhullFacetC2ERKNS_5QhullE at Base 2020.1
_ZN8orgQhull10QhullFacetC2ERKNS_5QhullEP6facetT at Base 2020.1
- (optional=inline-ctor)_ZN8orgQhull10QhullPointC1EPNS_7QhullQhEPd at Base 2020.2
+#MISSING: 2020.2-4# (optional=inline-ctor)_ZN8orgQhull10QhullPointC1EPNS_7QhullQhEPd at Base 2020.2
_ZN8orgQhull10QhullPointC1ERKNS_5QhullE at Base 2020.1
_ZN8orgQhull10QhullPointC1ERKNS_5QhullEPd at Base 2020.1
_ZN8orgQhull10QhullPointC1ERKNS_5QhullERNS_11CoordinatesE at Base 2020.1
_ZN8orgQhull10QhullPointC1ERKNS_5QhullEiPd at Base 2020.1
- (optional=inline-ctor)_ZN8orgQhull10QhullPointC2EPNS_7QhullQhEPd at Base 2020.2
+#MISSING: 2020.2-4# (optional=inline-ctor)_ZN8orgQhull10QhullPointC2EPNS_7QhullQhEPd at Base 2020.2
_ZN8orgQhull10QhullPointC2ERKNS_5QhullE at Base 2020.1
_ZN8orgQhull10QhullPointC2ERKNS_5QhullEPd at Base 2020.1
_ZN8orgQhull10QhullPointC2ERKNS_5QhullERNS_11CoordinatesE at Base 2020.1
@@ -185,9 +185,9 @@
_ZN8orgQhull9RoadErrorC2EiPKciifx at Base 2020.1
_ZN8orgQhull9RoadErrorC2EiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 2020.1
_ZN8orgQhull9RoadErrorC2Ev at Base 2020.1
- _ZN8orgQhull9RoadErrorD0Ev at Base 2020.1
- _ZN8orgQhull9RoadErrorD1Ev at Base 2020.1
- _ZN8orgQhull9RoadErrorD2Ev at Base 2020.1
+#MISSING: 2020.2-4# _ZN8orgQhull9RoadErrorD0Ev at Base 2020.1
+#MISSING: 2020.2-4# _ZN8orgQhull9RoadErrorD1Ev at Base 2020.1
+#MISSING: 2020.2-4# _ZN8orgQhull9RoadErrorD2Ev at Base 2020.1
_ZN8orgQhull9RoadErroraSERKS0_ at Base 2020.1
_ZNK8orgQhull10QhullFacet10innerplaneEv at Base 2020.1
_ZNK8orgQhull10QhullFacet10outerplaneEv at Base 2020.1
@@ -260,7 +260,7 @@
_ZTIN8orgQhull9RoadErrorE at Base 2020.1
_ZTSN8orgQhull10QhullErrorE at Base 2020.1
_ZTSN8orgQhull9RoadErrorE at Base 2020.1
- _ZTVN8orgQhull10QhullErrorE at Base 2020.1
+#MISSING: 2020.2-4# _ZTVN8orgQhull10QhullErrorE at Base 2020.1
_ZTVN8orgQhull9RoadErrorE at Base 2020.1
_ZlsRSoRKN8orgQhull10QhullFacet10PrintFacetE at Base 2020.1
_ZlsRSoRKN8orgQhull10QhullFacet10PrintFlagsE at Base 2020.1
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list