Package: src:mpeg2dec Version: 0.5.1-9 Severity: minor Tags: sid bookworm User: [email protected] 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/mpeg2dec_0.5.1-9_unstable_dpkglto.log The last lines of the build log are at the end of this report. [...] Making check in test make[2]: Entering directory '/<<PKGBUILDDIR>>/test' make check-TESTS make[3]: Entering directory '/<<PKGBUILDDIR>>/test' make[4]: Entering directory '/<<PKGBUILDDIR>>/test' SKIP: compile SKIP: regression FAIL: globals ========================================= libmpeg2 0.5.1: test/test-suite.log ========================================= # TOTAL: 3 # PASS: 0 # SKIP: 2 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 SKIP: regression ================ SKIP regression (exit status: 77) SKIP: compile ============= SKIP compile (exit status: 77) FAIL: globals ============= BAD GLOBAL SYMBOLS in /<<PKGBUILDDIR>>/test/../libmpeg2/.libs/libmpeg2.so: idct_alpha.c.0f630beb idct_altivec.c.86e8576d motion_comp_alpha.c.86adf087 motion_comp_altivec.c.8092a501 motion_comp_arm.c.9d6ac4b9 motion_comp_vis.c.f5289281 BAD GLOBAL SYMBOLS in /<<PKGBUILDDIR>>/test/../libmpeg2/convert/.libs/libmpeg2convert.so: rgb_vis.c.42fa1640 FAIL globals (exit status: 1) ============================================================================ Testsuite summary for libmpeg2 0.5.1 ============================================================================ # TOTAL: 3 # PASS: 0 # SKIP: 2 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See test/test-suite.log ============================================================================ make[4]: *** [Makefile:535: test-suite.log] Error 1 make[4]: Leaving directory '/<<PKGBUILDDIR>>/test' make[3]: *** [Makefile:643: check-TESTS] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/test' make[2]: *** [Makefile:729: check-am] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/test' make[1]: *** [Makefile:408: check-recursive] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 returned exit code 2 make: *** [debian/rules:32: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

