Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948952 - =gnome-extra/evolution-data-server-3.54.3 fails compile with =gcc-15.0.1_pre20250126 : camel-sexp.c:333:14: error: two or more data types in declaration specifiers
Summary: =gnome-extra/evolution-data-server-3.54.3 fails compile with =gcc-15.0.1_pre2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2025-01-28 13:59 UTC by tdr
Modified: 2025-01-28 17:04 UTC (History)
1 user (show)

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


Attachments
failed build log (evolution-data-server-3.54.3_20250128-030437.log,426.46 KB, text/plain)
2025-01-28 14:01 UTC, tdr
Details
emerge --info (tdr-emerge--info.txt,6.35 KB, text/plain)
2025-01-28 14:02 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2025-01-28 13:59:54 UTC
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.54.3/work/evolution-data-server-3.54.3_build -I/var/tmp/portage/gnome-extra/evolution-data-server-3.54.3/work/evolution-data-server-3.54.3_build/src -I/var/tmp/portage/gnome-extra/evolution-data-server-3.54.3/work/evolution-data-server-3.54.3_build/src/camel -I/var/tmp/portage/gnome-extra/evolution-data-server-3.54.3/work/evolution-data-server-3.54.3/src -I/var/tmp/portage/gnome-extra/evolution-data-server-3.54.3/work/evolution-data-server-3.54.3/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.54.3/work/evolution-data-server-3.54.3/src/camel/camel-sexp.c
/var/tmp/portage/gnome-extra/evolution-data-server-3.54.3/work/evolution-data-server-3.54.3/src/camel/camel-sexp.c: In function ‘term_eval_and’:
/var/tmp/portage/gnome-extra/evolution-data-server-3.54.3/work/evolution-data-server-3.54.3/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.54.3/work/evolution-data-server-3.54.3/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.54.3/work/evolution-data-server-3.54.3/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.54.3/work/evolution-data-server-3.54.3/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.54.3/work/evolution-data-server-3.54.3/src/camel/camel-sexp.c:380:41: error: expected expression before ‘bool’
  380 |                 result->value.boolean = bool;
      |                                         ^~~~
/var/tmp/portage/gnome-extra/evolution-data-server-3.54.3/work/evolution-data-server-3.54.3/src/camel/camel-sexp.c: In function ‘term_eval_or’:
/var/tmp/portage/gnome-extra/evolution-data-server-3.54.3/work/evolution-data-server-3.54.3/src/camel/camel-sexp.c:399:14: error: two or more data types in declaration specifiers
  399 |         gint bool = FALSE;
      |              ^~~~
/var/tmp/portage/gnome-extra/evolution-data-server-3.54.3/work/evolution-data-server-3.54.3/src/camel/camel-sexp.c:399:19: error: expected identifier or ‘(’ before ‘=’ token
  399 |         gint bool = FALSE;
      |                   ^
/var/tmp/portage/gnome-extra/evolution-data-server-3.54.3/work/evolution-data-server-3.54.3/src/camel/camel-sexp.c:410:22: error: expected expression before ‘bool’
  410 |         for (i = 0; !bool && i < argc; i++) {
      |                      ^~~~
/var/tmp/portage/gnome-extra/evolution-data-server-3.54.3/work/evolution-data-server-3.54.3/src/camel/camel-sexp.c:429:30: error: expected identifier or ‘(’ before ‘|=’ token
  429 |                         bool |= r1->value.boolean;
      |                              ^~
/var/tmp/portage/gnome-extra/evolution-data-server-3.54.3/work/evolution-data-server-3.54.3/src/camel/camel-sexp.c:442:41: error: expected expression before ‘bool’
  442 |                 result->value.boolean = bool;
      |                                         ^~~~

Reproducible: Always
Comment 1 tdr 2025-01-28 14:01:23 UTC
Created attachment 917714 [details]
failed build log
Comment 2 tdr 2025-01-28 14:02:37 UTC
Created attachment 917715 [details]
emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-28 17:01:40 UTC
This commit..

commit a2445ef5731b83964d7d8f742beff5d9f3be21bf
Author: Guillermo Joandet <gjoandet@gmail.com>
Date:   Mon Aug 5 18:27:14 2024 -0300

    gnome-extra/evolution-data-server: Bump to 3.54.3

    Signed-off-by: Guillermo Joandet <gjoandet@gmail.com>
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

... lost the -std=gnu17 workaround from 7b31581eb67506a035b4b7c2bdc17308e13f1c99 (bug 944075).
Comment 5 Larry the Git Cow gentoo-dev 2025-01-28 17:04:44 UTC
The bug has been closed via 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(+)