Package: src:libsigsegv Version: 2.14-1 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/libsigsegv_2.14-1_unstable_dpkglto.log The last lines of the build log are at the end of this report. [...] In file included from fault-linux-x86_64-old.h:17, from fault.h:36, from handler-unix.c:77, from handler.c:19: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:98:8: error: redefinition of ‘struct _xmmreg’ 98 | struct _xmmreg { | ^~~~~~~ In file included from /usr/include/signal.h:288, from sigsegv.h:31, from handler-unix.c:25, from handler.c:19: /usr/include/x86_64-linux-gnu/bits/sigcontext.h:53:8: note: originally defined here 53 | struct _xmmreg | ^~~~~~~ In file included from fault-linux-x86_64-old.h:17, from fault.h:36, from handler-unix.c:77, from handler.c:19: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:180:8: error: redefinition of ‘struct _ymmh_state’ 180 | struct _ymmh_state { | ^~~~~~~~~~~ In file included from /usr/include/signal.h:288, from sigsegv.h:31, from handler-unix.c:25, from handler.c:19: /usr/include/x86_64-linux-gnu/bits/sigcontext.h:184:8: note: originally defined here 184 | struct _ymmh_state | ^~~~~~~~~~~ In file included from fault-linux-x86_64-old.h:17, from fault.h:36, from handler-unix.c:77, from handler.c:19: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:192:8: error: redefinition of ‘struct _xstate’ 192 | struct _xstate { | ^~~~~~~ In file included from /usr/include/signal.h:288, from sigsegv.h:31, from handler-unix.c:25, from handler.c:19: /usr/include/x86_64-linux-gnu/bits/sigcontext.h:189:8: note: originally defined here 189 | struct _xstate | ^~~~~~~ In file included from fault-linux-x86_64-old.h:17, from fault.h:36, from handler-unix.c:77, from handler.c:19: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:317:8: error: redefinition of ‘struct sigcontext’ 317 | struct sigcontext { | ^~~~~~~~~~ In file included from /usr/include/signal.h:288, from sigsegv.h:31, from handler-unix.c:25, from handler.c:19: /usr/include/x86_64-linux-gnu/bits/sigcontext.h:139:8: note: originally defined here 139 | struct sigcontext | ^~~~~~~~~~ In file included from handler.c:19: handler-unix.c: In function ‘sigsegv_handler’: handler-unix.c:359:57: warning: initialization of ‘stackoverflow_context_t’ {aka ‘struct sigcontext *’} from incompatible pointer type ‘struct sigcontext *’ [-Wincompatible-pointer-types] 359 | stackoverflow_context_t context = (SIGSEGV_FAULT_CONTEXT); | ^ make[3]: *** [Makefile:496: handler.lo] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: *** [Makefile:434: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:366: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:9: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
