Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946055 - gnome-extra/cjs: invalid "closure" annotation
Summary: gnome-extra/cjs: invalid "closure" annotation
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Turnbull
URL:
Whiteboard:
Keywords: PATCH
: 946089 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-12-07 16:33 UTC by David Carlos Manuelda
Modified: 2024-12-08 21:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Full build log (build.log,46.48 KB, text/x-log)
2024-12-07 16:34 UTC, David Carlos Manuelda
Details
emerge --info (emergeinfo.txt,21.87 KB, text/plain)
2024-12-07 16:34 UTC, David Carlos Manuelda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2024-12-07 16:33:39 UTC
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
Comment 1 David Carlos Manuelda 2024-12-07 16:34:21 UTC
Created attachment 913520 [details]
Full build log
Comment 2 David Carlos Manuelda 2024-12-07 16:34:44 UTC
Created attachment 913521 [details]
emerge --info
Comment 3 David Carlos Manuelda 2024-12-07 16:35:40 UTC
Happens with LLVM19 compiling with clang19 but I can reproduce it also with gcc
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-08 21:52:34 UTC
*** Bug 946089 has been marked as a duplicate of this bug. ***