c23 is more strict than previous standard Reproducible: Always Steps to Reproduce: emerge -1 =gcc-15.0.0_pre20241117-r2 USE="gnome-online-accounts gtk introspection sound vala weather -berkdb -gtk-doc -kerberos -ldap -oauth-gtk3 -oauth-gtk4 -test" emerge -1 gnome-extra/evolution-data-server-3.52.4-r2:0/64-11-21-4-3-27-2-27-4-0::gentoo Actual Results: FAILED: src/camel/CMakeFiles/camel.dir/camel-sexp.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DCAMEL_COMPILATION -DCAMEL_LIBEXECDIR=\"/usr/libexec\" -DCAMEL_PROVIDERDIR=\"/usr/lib64/evolution-data-server/camel-providers\" -DE_DATA_SERVER_PREFIX=\"/usr\" -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_68 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_68 -DG_LOG_DOMAIN=\"camel\" -DLOCALEDIR=\"/usr/share/locale\" -DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_3_2 -DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_3_2 -D_LARGEFILE64_SOURCE=1 -Dcamel_EXPORTS -I/var/tmp/portage/gnome-extra/evolution-data-server-3.52.4-r2/work/evolution-data-server-3.52.4_build -I/var/tmp/portage/gnome-extra/evolution-data-server-3.52.4-r2/work/evolution-data-server-3.52.4_build/src -I/var/tmp/portage/gnome-extra/evolution-data-server-3.52.4-r2/work/evolution-data-server-3.52.4_build/src/camel -I/var/tmp/portage/gnome-extra/evolution-data-server-3.52.4-r2/work/evolution-data-server-3.52.4/src -I/var/tmp/portage/gnome-extra/evolution-data-server-3.52.4-r2/work/evolution-data-server-3.52.4/src/camel -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/nss -I/usr/include/nspr -Wnested-externs -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wno-missing-include-dirs -Wno-deprecated-declarations -fno-strict-aliasing -Wno-cast-function-type -Wwrite-strings -Wundef -Wshadow -Wredundant-decls -Wpointer-arith -Wmissing-noreturn -Wmissing-declarations -Winit-self -Wformat-security -Wformat -march=native -O3 -flto=56 -mprefer-vector-width=512 -fno-vect-cost-model -pipe -Wno-incompatible-pointer-types -fPIC -I/usr/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/nss -I/usr/include/nspr -MD -MT src/camel/CMakeFiles/camel.dir/camel-sexp.c.o -MF src/camel/CMakeFiles/camel.dir/camel-sexp.c.o.d -o src/camel/CMakeFiles/camel.dir/camel-sexp.c.o -c /var/tmp/portage/gnome-extra/evolution-data-server-3.52.4-r2/work/evolution-data-server-3.52.4/src/camel/camel-sexp.c /var/tmp/portage/gnome-extra/evolution-data-server-3.52.4-r2/work/evolution-data-server-3.52.4/src/camel/camel-sexp.c: In function ‘term_eval_and’: /var/tmp/portage/gnome-extra/evolution-data-server-3.52.4-r2/work/evolution-data-server-3.52.4/src/camel/camel-sexp.c:333:14: error: two or more data types in declaration specifiers 333 | gint bool = TRUE; | ^~~~ /var/tmp/portage/gnome-extra/evolution-data-server-3.52.4-r2/work/evolution-data-server-3.52.4/src/camel/camel-sexp.c:333:19: error: expected identifier or ‘(’ before ‘=’ token 333 | gint bool = TRUE; | ^ /var/tmp/portage/gnome-extra/evolution-data-server-3.52.4-r2/work/evolution-data-server-3.52.4/src/camel/camel-sexp.c:344:21: error: expected expression before ‘bool’ 344 | for (i = 0; bool && i < argc; i++) { | ^~~~ /var/tmp/portage/gnome-extra/evolution-data-server-3.52.4-r2/work/evolution-data-server-3.52.4/src/camel/camel-sexp.c:367:30: error: expected identifier or ‘(’ before ‘=’ token 367 | bool = bool && r1->value.boolean; | ^ /var/tmp/portage/gnome-extra/evolution-data-server-3.52.4-r2/work/evolution-data-server-3.52.4/src/camel/camel-sexp.c:380:41: error: expected expression before ‘bool’ 380 | result->value.boolean = bool; | ^~~~ builds successfully with CFLAGS="${CFLAGS} -std=gnu17"
Created attachment 910436 [details] build failure log
Created attachment 910437 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b31581eb67506a035b4b7c2bdc17308e13f1c99 commit 7b31581eb67506a035b4b7c2bdc17308e13f1c99 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-24 22:22:38 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-24 22:22:38 +0000 gnome-extra/evolution-data-server: build w/ -std=gnu17 Not going to worry about this more until we have latest version in tree. Closes: https://bugs.gentoo.org/944075 Signed-off-by: Sam James <sam@gentoo.org> .../evolution-data-server/evolution-data-server-3.50.2-r2.ebuild | 3 +++ .../evolution-data-server/evolution-data-server-3.50.4-r1.ebuild | 3 +++ .../evolution-data-server/evolution-data-server-3.52.4-r2.ebuild | 3 +++ 3 files changed, 9 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a34fe7899c89932acc072838a22570dd8dc0d95 commit 8a34fe7899c89932acc072838a22570dd8dc0d95 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-01-28 17:03:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-01-28 17:04:02 +0000 gnome-extra/evolution-data-server: backport C23 fix Closes: https://bugs.gentoo.org/948952 Bug: https://bugs.gentoo.org/944075 Signed-off-by: Sam James <sam@gentoo.org> .../evolution-data-server-3.54.3.ebuild | 1 + .../evolution-data-server/files/3.54.3-c23.patch | 169 +++++++++++++++++++++ 2 files changed, 170 insertions(+)