System: Darwin_Mac-1734249498988.local_23.6.0_Darwin_Kernel_Version_23.6.0__Thu_Sep_12_23_34_00_PDT_2024;_root_xnu-10063.141.1.701.1~1_RELEASE_ARM64_VMAPPLE_arm64 STABLE prefix Darwin Mac-1734249498988.local 23.6.0 Darwin Kernel Version 23.6.0: Thu Sep 12 23:34:00 PDT 2024; root:xnu-10063.141.1.701.1~1/RELEASE_ARM64_VMAPPLE arm64 MD5SUM bootstrap-prefix.sh: MD5 (bootstrap-prefix.sh) = 4b4f21bb3153e6ff749248adc7b201f0 Steps to reproduce the bug: Run the bootstrap-prefix.sh in mode STABLE (default STABLE) for stage3 (lower ones before) Error message: somewhere failed :( Details might be found in the build log: /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/var/tmp/portage/sys-devel/gcc-14.2.0/temp/build.log I have no clue, really. Please find friendly folks in #gentoo-prefix on irc.gentoo.org, gentoo-alt@lists.gentoo.org mailing list, or file a bug at bugs.gentoo.org under Gentoo/Alt, Prefix Support. This is most inconvenient, and it crushed my ego. Sorry, I give up. Should you want to give it a try, there is /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/stage3.log CHOST: arm64-apple-darwin23 IDENT: arm64-apple-darwin23 Extra info: https://github.com/APN-Pucky/gentoo-prefix-tester/actions/runs/12336513244
Created attachment 914076 [details] build_stage3_STABLE_Darwin_Mac-1734249498988.local_23.6.0_Darwin_Kernel_Version_23.6.0__Thu_Sep_12_23_34_00_PDT_2024;_root_xnu-10063.141.1.701.1~1_RELEASE_ARM64_VMAPPLE_arm64_20241215082534.log.xz
make[3]: Entering directory '/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/var/tmp/portage/sys-devel/gcc-14.2.0/work/build/libcpp' arm64-apple-darwin23-g++ -std=c++11 -I/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/var/tmp/portage/sys-devel/gcc-14.2.0/work/gcc-14.2.0/libcpp -I. -I/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/var/tmp/portage/sys-devel/gcc-14.2.0/work/gcc-14.2.0/libcpp/../include -I/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/var/tmp/portage/sys-devel/gcc-14.2.0/work/gcc-14.2.0/libcpp/include -I/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/usr/include -pipe -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/var/tmp/portage/sys-devel/gcc-14.2.0/work/gcc-14.2.0/libcpp -I. -I/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/var/tmp/portage/sys-devel/gcc-14.2.0/work/gcc-14.2.0/libcpp/../include -I/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/var/tmp/portage/sys-devel/gcc-14.2.0/work/gcc-14.2.0/libcpp/include -I/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/usr/include -fPIE -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/var/tmp/portage/sys-devel/gcc-14.2.0/work/gcc-14.2.0/libcpp/charset.cc In file included from /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/var/tmp/portage/sys-devel/gcc-14.2.0/work/gcc-14.2.0/libcpp/charset.cc:21: /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/usr/include/libintl.h:1098:14: error: expected unqualified-id before 'const' 1098 | extern char *setlocale (int, const char *) | ^~~~~~~~~ /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/usr/include/libintl.h:1098:14: error: expected ')' before 'const' /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/var/tmp/portage/sys-devel/gcc-14.2.0/work/gcc-14.2.0/libcpp/system.h:275:38: note: to match this '(' 275 | # define setlocale(category, locale) (locale) | ^ make[3]: *** [Makefile:227: charset.o] Error 1 make[3]: Leaving directory '/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/var/tmp/portage/sys-devel/gcc-14.2.0/work/build/libcpp' make[2]: *** [Makefile:8539: all-stage1-libcpp] Error 2 make[2]: *** Waiting for unfinished jobs....
I have the same exact same error on x64-macos on mac os 13 (ventura).
stage3 failure, confirmed
same happens elsewhere, with dev-libs/libintl-0.23 sys-devel/gettext-0.23
libcpp uses HAVE_SETLOCALE, but its configure doesn't check it ... or so it seems
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a0ff1230984dd1d740c823eead6a091777d3d0fa commit a0ff1230984dd1d740c823eead6a091777d3d0fa Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2024-12-29 13:32:15 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2024-12-29 13:32:15 +0000 sys-devel/gcc-14.2.1_p20241221: fix compilation with libintl-0.23 Closes: https://bugs.gentoo.org/946500 Signed-off-by: Fabian Groffen <grobian@gentoo.org> .../gcc/files/gcc-14.2.0-libintl-setlocale.patch | 25 ++++++++++++++++++++++ sys-devel/gcc/gcc-14.2.1_p20241221.ebuild | 3 +++ 2 files changed, 28 insertions(+)