Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944215 - =dev-libs/efl-1.27.0-r1 fails with c23/gcc-15.0.0_pre20241117: rg_etc1.h:6:23: error: two or more data types in declaration specifiers
Summary: =dev-libs/efl-1.27.0-r1 fails with c23/gcc-15.0.0_pre20241117: rg_etc1.h:6:23...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords:
: 955657 (view as bug list)
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-21 05:03 UTC by tdr
Modified: 2025-05-11 06:52 UTC (History)
3 users (show)

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


Attachments
emerge --info (tdr-emerge--info.txt,6.30 KB, text/plain)
2024-11-21 05:04 UTC, tdr
Details
build fail log (efl-1.27.0-r1.build.log,382.38 KB, text/plain)
2024-11-21 05:05 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-11-21 05:03:53 UTC
c23 is stricter than earlier standards

Reproducible: Always

Steps to Reproduce:
emerge -1 =gcc-15.0.0_pre20241117

USE="X avif bmp connman drm eet elogind fontconfig fribidi gif glib gstreamer harfbuzz heif hyphen ibus ico jpeg2k jpegxl json nls opengl pdf pmaps postscript psd pulseaudio raw scim sdl sound svg system-lz4 tga tgv tiff tslib v4l vnc wayland webp xcf xim xpm xpresent zeroconf -dds -debug -doc (-efl-one) -examples -fbcon (-mono) -physics -systemd -unwind" LUA_SINGLE_TARGET="lua5-1 -luajit" emerge -1 =dev-libs/efl-1.27.0-r1
Actual Results:  
./efl-1.27.0/src/static_libs/rg_etc/rg_etc1.h:6:23: error: two or more data types in declaration specifiers
    6 | typedef unsigned char bool;
      |                       ^~~~
../efl-1.27.0/src/static_libs/rg_etc/rg_etc1.h:6:1: warning: useless type name in empty declaration
    6 | typedef unsigned char bool;
      | ^~~~~~~


builds successfully with CFLAGS="${CFLAGS} -std=gnu17"
Comment 1 tdr 2024-11-21 05:04:33 UTC
Created attachment 910909 [details]
emerge --info
Comment 2 tdr 2024-11-21 05:05:06 UTC
Created attachment 910910 [details]
build fail log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-09 08:30:09 UTC
*** Bug 955657 has been marked as a duplicate of this bug. ***
Comment 4 Larry the Git Cow gentoo-dev 2025-05-11 06:52:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a92b5fda113c39a1a7480cc88ffcaebf7bb90d08

commit a92b5fda113c39a1a7480cc88ffcaebf7bb90d08
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2025-05-11 06:50:02 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2025-05-11 06:52:17 +0000

    dev-libs/efl: build 1.28.1 with -std=gnu17 for now
    
     - while upstream is aware and working on gcc-15 fixes, we need a working
       solution right now as gcc-15 is in ~testing.
    
    Closes: https://bugs.gentoo.org/944215
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/efl/efl-1.28.1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)