*** PANIC *** Configure tests are not working - compiler is broken. *** PANIC *** Please examine config.log for compilation errors. * ERROR: app-editors/xemacs-21.4.24-r7::gentoo failed (configure phase): * The configure script failed to run properly * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-j4-20221002-132844 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.1 Python 3.10.7 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.64.0 * The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php8.1 * GNU Make 4.3 HEAD of ::gentoo commit 251805af9bedf41e6e2de5acf8ba34f95e57012f Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Oct 2 20:02:01 2022 +0000 2022-10-02 20:02:01 UTC emerge -qpvO app-editors/xemacs [ebuild N ] app-editors/xemacs-21.4.24-r7 USE="athena gdbm mule pop -X -Xaw3d -berkdb -dnd -eolconv -freewnn -gif -gpm -jpeg -ldap -motif -nas -neXt -png -postgres -tiff -xface -xim"
Created attachment 816154 [details] emerge-info.txt
Created attachment 816157 [details] app-editors:xemacs-21.4.24-r7:20221002-203859.log
Created attachment 816160 [details] emerge-history.txt
Created attachment 816163 [details] environment
Created attachment 816166 [details] etc.portage.tar.bz2
Created attachment 816169 [details] logs.tar.bz2
Created attachment 816172 [details] temp.tar.bz2
I installed clang tool chain and can recreate the problem.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c305a45884a8f01838d6e032f469d7f9423154e1 commit c305a45884a8f01838d6e032f469d7f9423154e1 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-03 01:21:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-03 01:23:35 +0000 sys-devel/autoconf: further Clang 16 patches for autoconf 2.13 Reported by matsl when building XEmacs 21.4 (21.5 - which is WIP - works with newer autoconf). A bunch of the built-in/provided tests from autoconf 2.13 suffered from -Wimplicit-int or -Wimplicit-function-declaration. We also disable the {get,set}pgrp tests (see the patch for details, but the gist is they're unfixable without some substantial effort on POSIX systems nowadays and there's no need anyway -- they're gone in newer autoconf and we never expect them to fail.) Bug: https://bugs.gentoo.org/874366 Reported-by: Mats Lidell <matsl@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> ...conf-2.13-r3.ebuild => autoconf-2.13-r4.ebuild} | 1 + ...onf-2.13-Clang-16-fixes-for-various-tests.patch | 243 +++++++++++++++++++++ 2 files changed, 244 insertions(+)
There's a patch we need for XEmacs too which I've sent to matsl.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d172fe309bd90487b1f61a106efd2a8b68f10367 commit d172fe309bd90487b1f61a106efd2a8b68f10367 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-03 01:51:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-03 01:51:54 +0000 sys-devel/autoconf: more Clang 16 fixes for autoconf 2.13 Bug: https://bugs.gentoo.org/874366 See: c305a45884a8f01838d6e032f469d7f9423154e1 Signed-off-by: Sam James <sam@gentoo.org> ...conf-2.13-r4.ebuild => autoconf-2.13-r5.ebuild} | 0 ...onf-2.13-Clang-16-fixes-for-various-tests.patch | 88 +++++++++++++++++----- 2 files changed, 71 insertions(+), 17 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b446ad51f453add53fee8b8c0534d06f8b24d5fe commit b446ad51f453add53fee8b8c0534d06f8b24d5fe Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-03 22:56:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-03 22:56:36 +0000 sys-devel/autoconf: one more Clang 16 fix for autoconf 2.13 Thanks to matsl again :) Bug: https://bugs.gentoo.org/874366 See: d172fe309bd90487b1f61a106efd2a8b68f10367 See: c305a45884a8f01838d6e032f469d7f9423154e1 Signed-off-by: Sam James <sam@gentoo.org> .../autoconf/{autoconf-2.13-r5.ebuild => autoconf-2.13-r6.ebuild} | 0 .../files/autoconf-2.13-Clang-16-fixes-for-various-tests.patch | 8 +++++--- 2 files changed, 5 insertions(+), 3 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076ee2e058cc932dee7e4d9cf61547287b3c3630 commit 076ee2e058cc932dee7e4d9cf61547287b3c3630 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-09 08:29:22 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-09 08:29:55 +0000 sys-devel/autoconf: one more Clang 16 fix for autoconf 2.13 Thanks to matsl again again! Bug: https://bugs.gentoo.org/874366 See: b446ad51f453add53fee8b8c0534d06f8b24d5fe See: d172fe309bd90487b1f61a106efd2a8b68f10367 See: c305a45884a8f01838d6e032f469d7f9423154e1 Signed-off-by: Sam James <sam@gentoo.org> ...conf-2.13-r6.ebuild => autoconf-2.13-r7.ebuild} | 0 ...onf-2.13-Clang-16-fixes-for-various-tests.patch | 38 ++++++++++++++++++++-- 2 files changed, 35 insertions(+), 3 deletions(-)
Upstream has declared that no maintenance will be performed on the 21.4 branch and that making 21.4 to conform with modern C will be a too daunting task. So even if all issues with configure is possible to fix getting the rest of the build work will not be easy (and not worth the effort.) To mitigate the need to support modern C upstream has kindly made a release of the latest master for the 21.5 branch which we have stabilized. So closing this as a no-fix for 21.4.