Control: forwarded -1 https://github.com/openSUSE/libeconf/issues/167
On Tue, Jul 19, 2022 at 04:54:46PM +0000, Matthias Klose wrote: > Package: src:libeconf > Version: 0.4.4+dfsg1-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 full build log can be found at: > http://qa-logs.debian.net/2022/06/09/dpkglto/libeconf_0.4.4+dfsg1-1_unstable_dpkglto.log [...] Apparently LTO seems to enable -Wformat-truncation somehow which (together with -Werror) causes the actual build failure. The problem was already reported in https://bugs.debian.org/1014604 but only suggested the cause to be "newer toolchain" used by ubuntu (but I was unable to reproduce on Debian unstable or experimental until you mentioned LTO). I've opened an upstream bug report about this and will in the meantime patch out `-Werror` from meson.build (as it's also discuraged by meson itself which trows a warning about it). Since libeconf has no reverse dependencies, if this becomes a blocker feel free to just remove libeconf from testing. Regards, Andreas Henriksson

