Bug#1015652: robot-testing-framework: ftbfs with LTO (link time optimization) enabled

Matthias Klose doko at debian.org
Tue Jul 19 18:00:34 BST 2022


Package: src:robot-testing-framework
Version: 2.0.1+ds1-2
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/robot-testing-framework_2.0.1+ds1-2_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
  _ZN7shlibpp20SharedLibraryFactory4openEPKcS2_ at Base 2.0.0
  _ZN7shlibpp20SharedLibraryFactory6addRefEv at Base 2.0.0
@@ -56,12 +56,12 @@
  _ZN7shlibpp20SharedLibraryFactoryD0Ev at Base 2.0.0
  _ZN7shlibpp20SharedLibraryFactoryD1Ev at Base 2.0.0
  _ZN7shlibpp20SharedLibraryFactoryD2Ev at Base 2.0.0
- _ZN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework14FixtureManagerEED0Ev at Base 2.0.0
- _ZN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework14FixtureManagerEED1Ev at Base 2.0.0
- _ZN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework14FixtureManagerEED2Ev at Base 2.0.0
- _ZN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework8TestCaseEED0Ev at Base 2.0.0
- _ZN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework8TestCaseEED1Ev at Base 2.0.0
- _ZN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework8TestCaseEED2Ev at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework14FixtureManagerEED0Ev at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework14FixtureManagerEED1Ev at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework14FixtureManagerEED2Ev at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework8TestCaseEED0Ev at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework8TestCaseEED1Ev at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework8TestCaseEED2Ev at Base 2.0.0
  _ZNK7shlibpp13SharedLibrary7isValidEv at Base 2.0.0
  _ZNK7shlibpp20SharedLibraryFactory12getClassNameB5cxx11Ev at Base 2.0.0
  _ZNK7shlibpp20SharedLibraryFactory16getBaseClassNameB5cxx11Ev at Base 2.0.0
@@ -71,18 +71,18 @@
  _ZNK7shlibpp20SharedLibraryFactory7isValidEv at Base 2.0.0
  _ZNK7shlibpp20SharedLibraryFactory8getErrorB5cxx11Ev at Base 2.0.0
  _ZNK7shlibpp20SharedLibraryFactory9getStatusEv at Base 2.0.0
- _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_ at Base 2.0.0
- _ZTI19DllPluginLoaderImplIN21robottestingframework14FixtureManagerEE at Base 2.0.0
- _ZTI19DllPluginLoaderImplIN21robottestingframework8TestCaseEE at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_ at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZTI19DllPluginLoaderImplIN21robottestingframework14FixtureManagerEE at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZTI19DllPluginLoaderImplIN21robottestingframework8TestCaseEE at Base 2.0.0
  _ZTIN21robottestingframework6plugin12PluginLoaderE at Base 2.0.0
  _ZTIN21robottestingframework6plugin15DllPluginLoaderE at Base 2.0.0
  _ZTIN21robottestingframework6plugin22DllFixturePluginLoaderE at Base 2.0.0
  _ZTIN7shlibpp13SharedLibraryE at Base 2.0.0
- _ZTIN7shlibpp18SharedLibraryClassIN21robottestingframework14FixtureManagerEEE at Base 2.0.0
- _ZTIN7shlibpp18SharedLibraryClassIN21robottestingframework8TestCaseEEE at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZTIN7shlibpp18SharedLibraryClassIN21robottestingframework14FixtureManagerEEE at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZTIN7shlibpp18SharedLibraryClassIN21robottestingframework8TestCaseEEE at Base 2.0.0
  _ZTIN7shlibpp20SharedLibraryFactoryE at Base 2.0.0
- _ZTIN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework14FixtureManagerEEE at Base 2.0.0
- _ZTIN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework8TestCaseEEE at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZTIN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework14FixtureManagerEEE at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZTIN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework8TestCaseEEE at Base 2.0.0
  _ZTS19DllPluginLoaderImplIN21robottestingframework14FixtureManagerEE at Base 2.0.0
  _ZTS19DllPluginLoaderImplIN21robottestingframework8TestCaseEE at Base 2.0.0
  _ZTSN21robottestingframework6plugin12PluginLoaderE at Base 2.0.0
@@ -94,13 +94,13 @@
  _ZTSN7shlibpp20SharedLibraryFactoryE at Base 2.0.0
  _ZTSN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework14FixtureManagerEEE at Base 2.0.0
  _ZTSN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework8TestCaseEEE at Base 2.0.0
- _ZTV19DllPluginLoaderImplIN21robottestingframework14FixtureManagerEE at Base 2.0.0
- _ZTV19DllPluginLoaderImplIN21robottestingframework8TestCaseEE at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZTV19DllPluginLoaderImplIN21robottestingframework14FixtureManagerEE at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZTV19DllPluginLoaderImplIN21robottestingframework8TestCaseEE at Base 2.0.0
  _ZTVN21robottestingframework6plugin15DllPluginLoaderE at Base 2.0.0
  _ZTVN21robottestingframework6plugin22DllFixturePluginLoaderE at Base 2.0.0
  _ZTVN7shlibpp13SharedLibraryE at Base 2.0.0
- _ZTVN7shlibpp18SharedLibraryClassIN21robottestingframework14FixtureManagerEEE at Base 2.0.0
- _ZTVN7shlibpp18SharedLibraryClassIN21robottestingframework8TestCaseEEE at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZTVN7shlibpp18SharedLibraryClassIN21robottestingframework14FixtureManagerEEE at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZTVN7shlibpp18SharedLibraryClassIN21robottestingframework8TestCaseEEE at Base 2.0.0
  _ZTVN7shlibpp20SharedLibraryFactoryE at Base 2.0.0
- _ZTVN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework14FixtureManagerEEE at Base 2.0.0
- _ZTVN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework8TestCaseEEE at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZTVN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework14FixtureManagerEEE at Base 2.0.0
+#MISSING: 2.0.1+ds1-2# _ZTVN7shlibpp25SharedLibraryClassFactoryIN21robottestingframework8TestCaseEEE at Base 2.0.0
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