Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 944215

Summary: =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
Product: Gentoo Linux Reporter: tdr <ted.d.rodgers>
Component: Current packagesAssignee: Joonas Niilola <juippis>
Status: UNCONFIRMED ---    
Severity: normal CC: ted.d.rodgers
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: emerge --info
build fail log

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