This package fails to compile with this message as warnings are configured as fatal, relevant snippet: FAILED: CjsPrivate-1.0.gir env PKG_CONFIG_PATH=/tmp/portage/gnome-extra/cjs-6.2.0/temp/python3.12/pkgconfig:/usr/share/pkgconfig:/tmp/portage/gnome-extra/cjs-6.2.0/work/cjs-6.2.0-build/meson-uninstalled PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig PKG_CONFIG=/usr/bin/x86_64-pc-linux-gnu-pkg-config CC=clang /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=CjsPrivate --nsversion=1.0 --warn-all --output CjsPrivate-1.0.gir --warn-error -I/tmp/portage/gnome-extra/cjs-6.2.0/work/cjs-6.2.0/ -I/tmp/portage/gnome-extra/cjs-6.2.0/work/cjs-6.2.0-build/ --filelist=/tmp/portage/gnome-extra/cjs-6.2.0/work/cjs-6.2.0-build/libcjs.so.0.0.0.p/CjsPrivate_1.0_gir_filelist --include=GObject-2.0 --include=Gio-2.0 --symbol-prefix=gjs_ --identifier-prefix=Gjs --cflags-begin -DGJS_COMPILATION '-DGJS_JS_DIR="/usr/share/cjs-1.0"' '-DPKGLIBDIR="/usr/lib/cjs"' '-DG_LOG_DOMAIN="Gjs"' -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gobject-introspection-1.0 -I/usr/include/nspr -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/pixman-1 -DG_DISABLE_CAST_CHECKS --cflags-end --add-include-path=/usr/share/gir-1.0 -L/tmp/portage/gnome-extra/cjs-6.2.0/work/cjs-6.2.0-build/ --library cjs --extra-library=glib-2.0 --extra-library=gobject-2.0 --extra-library=gthread-2.0 --extra-library=gio-2.0 --extra-library=girepository-1.0 --extra-library=ffi --extra-library=mozjs-115 --extra-library=readline --extra-library=cairo --extra-library=cairo-gobject --extra-library=X11 --extra-library=Xext --sources-top-dirs /tmp/portage/gnome-extra/cjs-6.2.0/work/cjs-6.2.0/ --sources-top-dirs /tmp/portage/gnome-extra/cjs-6.2.0/work/cjs-6.2.0-build/ ../cjs-6.2.0/libgjs-private/gjs-util.c:238: Warning: CjsPrivate: invalid "closure" annotation: only valid on callback parameters ../cjs-6.2.0/libgjs-private/gjs-util.c:261: Warning: CjsPrivate: invalid "closure" annotation: only valid on callback parameters ../cjs-6.2.0/libgjs-private/gjs-util.c:273: Warning: CjsPrivate: invalid "closure" annotation: only valid on callback parameters ../cjs-6.2.0/libgjs-private/gjs-util.c:308: Warning: CjsPrivate: invalid "closure" annotation: only valid on callback parameters ../cjs-6.2.0/libgjs-private/gjs-util.c:426: Warning: CjsPrivate: invalid "closure" annotation: only valid on callback parameters ../cjs-6.2.0/libgjs-private/gjs-util.h:128: Warning: CjsPrivate: invalid "closure" annotation: only valid on callback parameters ../cjs-6.2.0/libgjs-private/gjs-util.h:131: Warning: CjsPrivate: invalid "closure" annotation: only valid on callback parameters ../cjs-6.2.0/libgjs-private/gjs-util.h:153: Warning: CjsPrivate: invalid "closure" annotation: only valid on callback parameters ../cjs-6.2.0/libgjs-private/gjs-util.h:156: Warning: CjsPrivate: invalid "closure" annotation: only valid on callback parameters <unknown>:: Fatal: CjsPrivate: warnings configured as fatal <unknown>:: Fatal: CjsPrivate: warnings configured as fatal
Created attachment 913520 [details] Full build log
Created attachment 913521 [details] emerge --info
Happens with LLVM19 compiling with clang19 but I can reproduce it also with gcc
https://github.com/linuxmint/cjs/commit/a4d0b0241582fdc5357a6bfc2b0ef2e05fea4893
*** Bug 946089 has been marked as a duplicate of this bug. ***