Control: retitle -1 Build regression in multiarch g-ir-scanner 
Control: reassign -1 src:gobject-introspection
Control: severity -1 grave
Control: affects -1 src:libkkc
Control: affects -1 src:ibus-anthy
X-Debbugs-CC: s...@debian.org jbi...@debian.org

Hi,

This looks like a regression introduced in gobject-introspection
1.78.1-17. For the problematic line below:

* When manually invoking using /usr/bin/g-ir-scanner, the build is fine.

* When invoking using /usr/bin/x86_64-linux-gnu-g-ir-scanner, the build
error (libm not found) will happen, as shown in the build log attached.

Comparing the invocation of g-ir-scanner with native compilation, the
only extra flag is the addition of "--use-ldd-
wrapper=/usr/libexec/gobject-introspection-bin/deb-elf-get-needed". I
guess this wrapper is doing something bad.

This bug is affecting multiple packages, including src:libkkc and
src:ibus-anthy (via https://bugs.debian.org/1060953 ). Please consider
looking into them. Please let me know if more debug info is needed.
Thanks!

Regards,
Boyuan Yang



On Tue, 16 Jan 2024 20:44:13 +0100 Lucas Nussbaum <lu...@debian.org>
wrote:
> Source: libkkc
> Version: 0.3.5-8
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20240115 ftbfs-trixie
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> 
> CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" CFLAGS="-g -O2 -ffile-
prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-
protection -Wformat -Werror=format-security -fcf-protection -Wall -
pedantic" LDFLAGS="-Wl,-z,relro -Wl,--as-needed" CC="gcc"
PKG_CONFIG="/usr/bin/pkg-config" GI_HOST_OS="" DLLTOOL="false" 
/usr/bin/x86_64-linux-gnu-g-ir-scanner  --add-include-path=. --
namespace=Marisa.gir --nsversion=Marisa --libtool="/bin/bash ../libtool"
--include=GLib-2.0 --include=GObject-2.0 --include=Gio-2.0    --
library=libmarisa-glib.la --pkg-export=marisa-glib --pkg=marisa --
namespace=Marisa -lstdc++ -lm -lgcc_s -lc -lgcc_s --cflags-begin -
I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -
pthread -I/usr/include/libmount -I/usr/include/blkid   -I.. --cflags-end
marisa-key.cc marisa-keyset.cc marisa-agent.cc marisa-trie.cc marisa-
key.h marisa-keyset.h marisa-agent.h marisa-trie.h libmarisa-glib.la --
output Marisa.gir
> g-ir-scanner: link: /bin/bash ../libtool --mode=link --tag=CC gcc -o
/<<PKGBUILDDIR>>/marisa-glib/tmp-introspectfgvk9o6l/Marisa-Marisa -
export-dynamic -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-
map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection
-Wformat -Werror=format-security -fcf-protection -Wall -pedantic
/<<PKGBUILDDIR>>/marisa-glib/tmp-introspectfgvk9o6l/Marisa-Marisa.o -L.
libmarisa-glib.la -lstdc++ -lm -lgcc_s -lc -lgcc_s -lgio-2.0 -lgobject-
2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -
lmarisa -Wl,-z,relro -Wl,--as-needed
> libtool: link: gcc -o /<<PKGBUILDDIR>>/marisa-glib/tmp-
introspectfgvk9o6l/Marisa-Marisa -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -
ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-
clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -
pedantic /<<PKGBUILDDIR>>/marisa-glib/tmp-introspectfgvk9o6l/Marisa-
Marisa.o -Wl,--export-dynamic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--
export-dynamic  -L. ./.libs/libmarisa-glib.a -lstdc++ -lm -lc -lgcc_s -
lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lmarisa -pthread
> ERROR: can't resolve libraries to shared libraries: m
> make[3]: *** [/usr/share/gobject-introspection-
1.0/Makefile.introspection:156: Marisa.gir] Error 1
> The full build log is available from:
http://qa-logs.debian.net/2024/01/15/libkkc_0.3.5-8_unstable.log

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to