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
Created attachment 910421 [details] build failure logs
Created attachment 910422 [details] build fail log
Created attachment 910423 [details] emerge --info
https://github.com/wch/r-source/commit/7ad5b639add09bb1388eb9bc89e290aeb9ed5c17 https://github.com/wch/r-source/commit/72522d5d0c660318d6c9764bea804e4db89f1a7d https://github.com/wch/r-source/commit/c3b7f31868881e15be248b87b1168ac07dbb936e https://github.com/wch/r-source/commit/2346d23fc066be5d859bbbb41fd86f6d34414dbd https://github.com/wch/r-source/commit/0a55f06ce3b46c4fd8d3c85b50c4ccb94d7653ef so I suspect the next release will work. But for now, let's add gnu17.
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(+)