Bug#953643: gdk-pixbuf FTBFS on powerpc due to "ModuleNotFoundError: No module named 'giscanner._giscanner'"
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Mar 11 05:20:56 GMT 2020
Package: src:gdk-pixbuf
Version: 2.40.0+dfsg-3
Control: affects -1 gobject-introspection
https://buildd.debian.org/status/fetch.php?pkg=gdk-pixbuf&arch=powerpc&ver=2.40.0%2Bdfsg-3&stamp=1583764391&raw=0
shows the following error:
[25/153] /usr/bin/g-ir-scanner -pthread -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc-linux-gnu/glib-2.0/include --no-libtool --namespace=GdkPixbuf --nsversion=2.0 --warn-all --output gdk-pixbuf/GdkPixbuf-2.0.gir --c-include=gdk-pixbuf/gdk-pixbuf.h --quiet -DGDK_PIXBUF_COMPILATION -I/<<PKGBUILDDIR>>/gdk-pixbuf -I/<<PKGBUILDDIR>>/obj-powerpc-linux-gnu/gdk-pixbuf -I./. -I../. -I./gdk-pixbuf/pixops -I../gdk-pixbuf/pixops --filelist=/<<PKGBUILDDIR>>/obj-powerpc-linux-gnu/gdk-pixbuf/f4c7bd6@@gdk_pixbuf-2.0 at sha/GdkPixbuf_2.0_gir_filelist --include=GModule-2.0 --include=Gio-2.0 --symbol-prefix=gdk --identifier-prefix=Gdk --pkg-export=gdk-pixbuf-2.0 --cflags-begin -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DHAVE_CONFIG_H=1 -I./. -I../. -I./gdk-pixbuf/pixops -I../gdk-pixbuf/pixops -I/usr/include/glib-2.0 -I/usr/lib/powerpc-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -D_FORTIFY_SOURCE=2 --cflags-end --library gdk_pixbuf-2.0 -L/<<PKGBUILDDIR>>/obj-powerpc-linux-gnu/gdk-pixbuf -lm -lglib-2.0 -lgobject-2.0 -lgmodule-2.0 -lgio-2.0
FAILED: gdk-pixbuf/GdkPixbuf-2.0.gir
/usr/bin/g-ir-scanner -pthread -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc-linux-gnu/glib-2.0/include --no-libtool --namespace=GdkPixbuf --nsversion=2.0 --warn-all --output gdk-pixbuf/GdkPixbuf-2.0.gir --c-include=gdk-pixbuf/gdk-pixbuf.h --quiet -DGDK_PIXBUF_COMPILATION -I/<<PKGBUILDDIR>>/gdk-pixbuf -I/<<PKGBUILDDIR>>/obj-powerpc-linux-gnu/gdk-pixbuf -I./. -I../. -I./gdk-pixbuf/pixops -I../gdk-pixbuf/pixops --filelist=/<<PKGBUILDDIR>>/obj-powerpc-linux-gnu/gdk-pixbuf/f4c7bd6@@gdk_pixbuf-2.0 at sha/GdkPixbuf_2.0_gir_filelist --include=GModule-2.0 --include=Gio-2.0 --symbol-prefix=gdk --identifier-prefix=Gdk --pkg-export=gdk-pixbuf-2.0 --cflags-begin -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DHAVE_CONFIG_H=1 -I./. -I../. -I./gdk-pixbuf/pixops -I../gdk-pixbuf/pixops -I/usr/include/glib-2.0 -I/usr/lib/powerpc-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -D_FORTIFY_SOURCE=2 --cflags-end --library gdk_pixbuf-2.0 -L/<<PKGBUILDDIR>>/obj-powerpc-linux-gnu/gdk-pixbuf -lm -lglib-2.0 -lgobject-2.0 -lgmodule-2.0 -lgio-2.0
Traceback (most recent call last):
File "/usr/bin/g-ir-scanner", line 99, in <module>
from giscanner.scannermain import scanner_main
File "/usr/lib/powerpc-linux-gnu/gobject-introspection/giscanner/scannermain.py", line 35, in <module>
from giscanner.ast import Include, Namespace
File "/usr/lib/powerpc-linux-gnu/gobject-introspection/giscanner/ast.py", line 29, in <module>
from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
File "/usr/lib/powerpc-linux-gnu/gobject-introspection/giscanner/sourcescanner.py", line 33, in <module>
from giscanner._giscanner import SourceScanner as CSourceScanner
ModuleNotFoundError: No module named 'giscanner._giscanner'
[26/153] /usr/bin/meson --internal symbolextractor gdk-pixbuf/libgdk_pixbuf-2.0.so.0.4000.0 'gdk-pixbuf/f4c7bd6@@gdk_pixbuf-2.0 at sha/libgdk_pixbuf-2.0.so.0.4000.0.symbols'
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-powerpc-linux-gnu && LC_ALL=C.UTF-8 ninja -j16 -v returned exit code 1
It's not clear to me why this is happening on this platform, but it
suggests that there is some bad assumption in the code.
I've marked this report as Affects: gobject-introspection, since that is
what provdes g-ir-scanner. If you've got more knowledge about where the
bug lies than i do (wouldn't be hard; i'm just reporting what i see on
the build daemons), feel free to reassign the bug with an explanation.
Thanks for maintaining gdk-pixbuf in debian!
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20200311/9230d01d/attachment.sig>
More information about the pkg-gnome-maintainers
mailing list