[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1015373: coinor-vol: ftbfs with LTO (link time optimization) enabled



Package: src:coinor-vol
Version: 1.5.4-4
Severity: minor
Tags: sid bookworm
User: debian-gcc@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/coinor-vol_1.5.4-4_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
echo -L/usr/lib -lVol  > /<<PKGBUILDDIR>>/debian/tmp/usr/share/coin/doc/Vol/vol_addlibs.txt
make[5]: Leaving directory '/<<PKGBUILDDIR>>/Vol'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/Vol'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Vol'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/Vol'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install
   dh_installdocs
dh_installdocs: warning: Cannot auto-detect main package for coinor-libvol-doc.  If the default is wrong, please use --doc-main-package
   dh_installchangelogs
   debian/rules override_dh_installexamples
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installexamples -X.in
dh_installexamples: warning: Cannot auto-detect main package for coinor-libvol-doc.  If the default is wrong, please use --doc-main-package
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_lintian
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
dh_missing: warning: usr/share/coin/doc/Vol/AUTHORS exists in debian/tmp but is not installed to anywhere 
dh_missing: warning: usr/share/coin/doc/Vol/LICENSE exists in debian/tmp but is not installed to anywhere 
dh_missing: warning: usr/share/coin/doc/Vol/README exists in debian/tmp but is not installed to anywhere 
dh_missing: warning: usr/share/coin/doc/Vol/vol_addlibs.txt exists in debian/tmp but is not installed to anywhere 
	The following debhelper tools have reported what they installed (with files per package)
	 * dh_install: coinor-libvol-dev (5), coinor-libvol-doc (0), coinor-libvol1 (2)
	 * dh_installdocs: coinor-libvol-dev (0), coinor-libvol-doc (3), coinor-libvol1 (0)
	 * dh_installexamples: coinor-libvol-dev (0), coinor-libvol-doc (3), coinor-libvol1 (0)
	If the missing files are installed by another tool, please file a bug against it.
	When filing the report, if the tool is not part of debhelper itself, please reference the
	"Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).
	  (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)
	Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built
	If the omission is intentional or no other helper can take care of this consider adding the
	paths to debian/not-installed.
   dh_dwz
   dh_strip
   dh_makeshlibs
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/coinor-libvol1/DEBIAN/symbols doesn't match completely debian/coinor-libvol1.symbols
--- debian/coinor-libvol1.symbols (coinor-libvol1_1.5.4-4_amd64)
+++ dpkg-gensymbolsyUQ61a	2022-06-10 09:06:44.875063057 +0000
@@ -1,8 +1,8 @@
 libVol.so.1 coinor-libvol1 #MINVER#
 * Build-Depends-Package: coinor-libvol-dev
  _ZN10VOL_primal13find_max_violERK11VOL_dvectorS2_@Base 1.5.4
- _ZN10VOL_primalD1Ev@Base 1.5.4
- _ZN10VOL_primalD2Ev@Base 1.5.4
+#MISSING: 1.5.4-4# _ZN10VOL_primalD1Ev@Base 1.5.4
+#MISSING: 1.5.4-4# _ZN10VOL_primalD2Ev@Base 1.5.4
  _ZN11VOL_dvectoraSERKS_@Base 1.5.4
  _ZN11VOL_dvectoraSEd@Base 1.5.4
  _ZN11VOL_ivectoraSERKS_@Base 1.5.4
@@ -27,4 +27,4 @@
  _ZNK11VOL_problem10power_heurERK10VOL_primalS2_RK8VOL_dual@Base 1.5.4
  _ZNK11VOL_problem15readjust_targetEdd@Base 1.5.4
  _ZNK8VOL_dual6ascentERK11VOL_dvectorS2_@Base 1.5.4
- (optional)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag@Base 1.5.4
+#MISSING: 1.5.4-4# (optional)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag@Base 1.5.4
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: