c23 is stricter than previous standards Reproducible: Always Steps to Reproduce: emerge -1 =gcc-15.0.0_pre20241117-r2: USE="cue exif ffmpeg gif gstreamer iso jpeg networkmanager pdf playlist raw (seccomp) tiff upower xml xmp xps -gsf -iptc (-rss) -test" emerge -1 app-misc/tracker-miners-3.6.2:3::gentoo Actual Results: FAILED: src/libtracker-miners-common/libtracker-miners-common.a.p/tracker-debug.c.o x86_64-pc-linux-gnu-gcc -Isrc/libtracker-miners-common/libtracker-miners-common.a.p -Isrc/libtracker-miners-common -I../tracker-miners-3.6.2/src/libtracker-miners-common -I. -I../tracker-miners-3.6.2 -Isrc -I../tracker-miners-3.6.2/src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/tracker-3.0 -I/usr/include/tracker-3.0/libtracker-sparql -I/usr/include/json-glib-1.0 -I/usr/include/libxml2 -I/usr/include/libupower-glib -flto=56 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wformat -Wformat-security -Wno-pointer-sign -DTRACKER_COMPILATION '-DG_LOG_DOMAIN="Tracker"' -DG_LOG_STRUCTURED=1 -DG_ENABLE_DEBUG -march=native -O3 -mprefer-vector-width=512 -fno-vect-cost-model -pipe -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS -fPIC -pthread -D_GNU_SOURCE -D_LARGEFILE64_SOURCE '-DTRACKERSHAREDIR="tracker3-miners"' '-DONTOLOGIESDIR="/usr/share/tracker3/ontologies"' -MD -MQ src/libtracker-miners-common/libtracker-miners-common.a.p/tracker-debug.c.o -MF src/libtracker-miners-common/libtracker-miners-common.a.p/tracker-debug.c.o.d -o src/libtracker-miners-common/libtracker-miners-common.a.p/tracker-debug.c.o -c ../tracker-miners-3.6.2/src/libtracker-miners-common/tracker-debug.c In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34, from /usr/include/glib-2.0/glib.h:34, from ../tracker-miners-3.6.2/src/libtracker-miners-common/tracker-debug.h:27, from ../tracker-miners-3.6.2/src/libtracker-miners-common/tracker-debug.c:22: ../tracker-miners-3.6.2/src/libtracker-miners-common/tracker-debug.c: In function ‘tracker_miners_get_debug_flags’: /usr/include/glib-2.0/glib/gthread.h:252:25: error: passing argument 2 of ‘g_once_impl’ from incompatible pointer type [-Wincompatible-pointer-types] 252 | g_once_impl ((once), (func), (arg))) | ^~~~~~ | | | void * (*)(void) ../tracker-miners-3.6.2/src/libtracker-miners-common/tracker-debug.c:59:9: note: in expansion of macro ‘g_once’ 59 | g_once (&once, parse_debug_flags, NULL); | ^~~~~~ /usr/include/glib-2.0/glib/gthread.h:231:66: note: expected ‘GThreadFunc’ {aka ‘void * (*)(void *)’} but argument is of type ‘void * (*)(void)’ 231 | GThreadFunc func, | ~~~~~~~~~~~~~~~~^~~~ builds successfully with CFLAGS="${CFLAGS} -std=gnu17"
Created attachment 910913 [details] build fail log
Created attachment 910914 [details] emerge --info