Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944066 - =dev-lang/R-4.4.2 fails with c23/gcc-15.0.0_pre20241117-r2: sys-std.c:1189:1: error: expected identifier or ‘(’ before ‘void’
Summary: =dev-lang/R-4.4.2 fails with c23/gcc-15.0.0_pre20241117-r2: sys-std.c:1189:1:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-20 02:00 UTC by tdr
Modified: 2024-12-24 07:20 UTC (History)
1 user (show)

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


Attachments
build failure logs (tdr-emerge--info.txt,6.30 KB, text/plain)
2024-11-20 02:00 UTC, tdr
Details
build fail log (R-4.4.2:20241120-015023.build.log,77.37 KB, text/plain)
2024-11-20 02:02 UTC, tdr
Details
emerge --info (tdr-emerge--info.txt,6.30 KB, text/plain)
2024-11-20 02:03 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-11-20 02:00:08 UTC
c23 is more strict than previous standards

Reproducible: Always

Steps to Reproduce:
emerge -v1 =gcc-15.0.0_pre20241117-r2
USE="X cairo icu jpeg libdeflate lto nls openmp perl png profile readline tiff -doc -java -minimal" emerge -v1 =dev-lang/R-4.4.2::gentoo
Actual Results:  
sys-std.c:1189:1: warning: ‘noreturn’ attribute ignored [-Wattributes]
 1189 | void Rstd_CleanUp(SA_TYPE saveact, int status, int runLast)
      | ^~~~
sys-std.c:1189:1: error: expected identifier or ‘(’ before ‘void’
make[3]: *** [../../Makeconf:129: sys-std.o] Error 1


builds successfully with c17 std
Comment 1 tdr 2024-11-20 02:00:58 UTC
Created attachment 910421 [details]
build failure logs
Comment 2 tdr 2024-11-20 02:02:39 UTC
Created attachment 910422 [details]
build fail log
Comment 3 tdr 2024-11-20 02:03:25 UTC
Created attachment 910423 [details]
emerge --info
Comment 5 Larry the Git Cow gentoo-dev 2024-12-24 07:06:59 UTC
The bug has been closed via the following commit(s):

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

commit fa8d718c34a56b6122d73e21dd92b3956b3ff5f6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-24 07:06:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-24 07:06:24 +0000

    dev-lang/R: build w/ -std=gnu17
    
    The next release of R should be OK.
    
    Closes: https://bugs.gentoo.org/944066
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/R/R-4.4.2.ebuild | 3 +++
 1 file changed, 3 insertions(+)