On Mon 02 Oct 2023 at 16:19:19 +0200, Benny Siegert wrote: > Is this repeatable? That is, if you just re-do "make", does it fail at > the same place? > > I have seen segfaults from gcc before, typically on flaky hardware. > They do not reappear when rerunning the same command. Yes, it's repeatable. But it's not gcc that fails, but some other command: [823/1781] Generating gtk/Gdk-4.0.gir ... command (wrapped by meson to set env) FAILED: gtk/Gdk-4.0.gir env PKG_CONFIG_PATH=/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/meson-uninstalled CC=gcc /usr/pkg/bin/g-ir-scanner --quiet --no-libtool --namespace=Gdk --nsversion=4.0 --warn-all --output gtk/Gdk-4.0.gir --c-include=gdk/gdk.h -DGTK_COMPILATION --quiet -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/gtk -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/gtk -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/. -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/. -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/gdk/. -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/gdk/. -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/gsk -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/gsk -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/gtk -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/gtk -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/gdk/x11 -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/gdk/x11 -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/gdk/. -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/gdk/. --filelist=/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/gtk/libgtk-4.so.1.1200.1.p/Gdk_4.0_gir_filelist --include=cairo-1.0 --include=Gio-2.0 --include=GdkPixbuf-2.0 --include=Pango-1.0 --include=PangoCairo-1.0 --symbol-prefix=gdk --identifier-prefix=Gdk --pkg-export=gtk4 --cflags-begin -DG_LOG_USE_STRUCTURED=1 -DGLIB_DISABLE_DEPRECATION_WARNINGS '-DGTK_VERSION="4.12.1"' -D_GNU_SOURCE -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/. -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/. -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/gdk/. -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/gdk/. -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/gsk -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/gsk -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/gtk -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/gtk -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/gdk/x11 -I/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/gdk/x11 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/include/pango-1.0 -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -D_REENTRANT -I/usr/pkg/include/libpng16 -I/usr/pkg/include/fribidi -I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/graphene-1.0 -I/usr/pkg/lib/graphene-1.0/include -I/usr/pkg/include/gobject-introspection-1.0 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libdrm -I/usr/pkg/include/gstreamer-1.0 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/python3.10 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libdrm -I/usr/pkg/include/gstreamer-1.0 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/python3.10 --cflags-end --add-include-path=/usr/pkg/share/gir-1.0 -L/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/gtk --library gtk-4 -L/usr/pkg/gcc12/lib/gcc/x86_64--netbsd/12.3.0 -L/usr/pkg/lib -L/usr/X11R7/lib -L/usr/lib -L/usr/pkg/lib/ffmpeg5 -L/usr/pkg/lib --extra-library=gmodule-2.0 --extra-library=glib-2.0 --extra-library=intl --extra-library=gobject-2.0 --extra-library=gio-2.0 --extra-library=pangocairo-1.0 --extra-library=pango-1.0 --extra-library=harfbuzz --extra-library=cairo --extra-library=fribidi --extra-library=cairo-gobject --extra-library=fontconfig --extra-library=freetype --extra-library=gdk_pixbuf-2.0 -L/usr/X11R7/lib --extra-library=epoxy --extra-library=m --extra-library=graphene-1.0 --extra-library=Xi --extra-library=X11 --extra-library=pangoft2-1.0 --extra-library=png16 --extra-library=tiff --extra-library=jpeg --extra-library=Xrender --extra-library=Xext --extra-library=Xcursor --extra-library=Xdamage --extra-library=Xfixes --extra-library=Xrandr --extra-library=Xinerama --extra-library=cairo-script-interpreter --extra-library=girepository-1.0 --sources-top-dirs /tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/ --sources-top-dirs /tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/ Command '['/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/tmp-introspectblf6_8ym/Gdk-4.0', '--introspect-dump=/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/tmp-introspectblf6_8ym/functions.txt,/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/tmp-introspectblf6_8ym/dump.xml']' died with <Signals.SIGSEGV: 11>. [828/1781] Compiling C object demos/gtk-demo/gtk4-demo.p/dialog.c.o ninja: build stopped: subcommand failed. *** Error code 1 i.e. the following, plus environment: /tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/tmp-introspectblf6_8ym/Gdk-4.0 --introspect-dump=/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/tmp-introspectblf6_8ym/functions.txt,/tmp/pkgsrc/x11/gtk4/default/gtk-4.12.1/output/tmp-introspectblf6_8ym/dump.xml I tried repeating the command by hand, but the directory of the command is so temporary that it seems to be gone by then. It sounds like it has something to do with "object introspection" and I remember that there were problems with that before. Deinstalling gobject-introspection-1.76.1nb1 however deinstalls quite a lot, and re-running make installs it right back. > Benny -Olaf. -- ___ Olaf 'Rhialto' Seibert <rhialto/at/falu.nl> \X/ There is no AI. There is just someone else's work. --I. Rose
Attachment:
signature.asc
Description: PGP signature