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

Bug 944071

Summary: =app-i18n/ibus-1.5.30 fails with c23/gcc-15.0.0_pre20241117-r2: ibusenginesimple.c:511:41: error: too many arguments to function 'load_emoji_dict'
Product: Gentoo Linux Reporter: tdr <ted.d.rodgers>
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: normal CC: ted.d.rodgers, zyx
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: build failure log
emerge --info

Description tdr 2024-11-20 03:43:46 UTC
c23 is stricter than previous standards

Reproducible: Always

Steps to Reproduce:
emerge -v1 =gcc-15.0.0_pre20241117-r2

USE="X emoji gtk3 gtk4 gui introspection libnotify nls python unicode wayland -appindicator -gtk2 -systemd -test -vala" PYTHON_TARGETS="python3_12 -python3_10 -python3_11" emerge -v1 =app-i18n/ibus-1.5.30::gentoo


Actual Results:  
ibusenginesimple.c:511:41: error: too many arguments to function 'load_emoji_dict'
  511 |         emoji_dict = priv->emoji_dict = load_emoji_dict (simple);
      |                                         ^~~~~~~~~~~~~~~
ibusenginesimple.c:468:1: note: declared here
  468 | load_emoji_dict ()


builds successfully with CFLAGS="${CFLAGS} -std=gnu17"
also builds with gcc:15.0.0_pre20241110
Comment 1 tdr 2024-11-20 03:44:29 UTC
Created attachment 910432 [details]
build failure log
Comment 2 tdr 2024-11-20 03:44:49 UTC
Created attachment 910433 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2024-11-24 23:21:38 UTC
The bug has been closed via the following commit(s):

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

commit a15c372550c945420cc4036572a870e0b26328b5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-24 23:21:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-24 23:21:09 +0000

    app-i18n/ibus: build w/ -std=gnu17
    
    Closes: https://bugs.gentoo.org/944071
    Signed-off-by: Sam James <sam@gentoo.org>

 app-i18n/ibus/ibus-1.5.31.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-07 06:04:03 UTC
*** Bug 950712 has been marked as a duplicate of this bug. ***