Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874366 - app-editors/xemacs-21.4.24-r7 - The configure script failed to run properly
Summary: app-editors/xemacs-21.4.24-r7 - The configure script failed to run properly
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: XEmacs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 07:49 UTC by Toralf Förster
Modified: 2023-09-19 16:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.40 KB, text/plain)
2022-10-03 07:49 UTC, Toralf Förster
Details
app-editors:xemacs-21.4.24-r7:20221002-203859.log (app-editors:xemacs-21.4.24-r7:20221002-203859.log,5.35 KB, text/plain)
2022-10-03 07:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,42.94 KB, text/plain)
2022-10-03 07:49 UTC, Toralf Förster
Details
environment (environment,113.15 KB, text/plain)
2022-10-03 07:49 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.11 KB, application/x-bzip)
2022-10-03 07:49 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.13 KB, application/x-bzip)
2022-10-03 07:49 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.01 KB, application/x-bzip)
2022-10-03 07:49 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-03 07:49:10 UTC
*** 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"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 07:49:12 UTC
Created attachment 816154 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 07:49:13 UTC
Created attachment 816157 [details]
app-editors:xemacs-21.4.24-r7:20221002-203859.log
Comment 3 Toralf Förster gentoo-dev 2022-10-03 07:49:14 UTC
Created attachment 816160 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-03 07:49:16 UTC
Created attachment 816163 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-03 07:49:17 UTC
Created attachment 816166 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 07:49:18 UTC
Created attachment 816169 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 07:49:19 UTC
Created attachment 816172 [details]
temp.tar.bz2
Comment 8 Mats Lidell gentoo-dev 2022-10-04 22:19:33 UTC
I installed clang tool chain and can recreate the problem.
Comment 9 Larry the Git Cow gentoo-dev 2022-11-03 01:24:12 UTC
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(+)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-03 01:26:40 UTC
There's a patch we need for XEmacs too which I've sent to matsl.
Comment 11 Larry the Git Cow gentoo-dev 2022-11-03 01:52:07 UTC
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(-)
Comment 12 Larry the Git Cow gentoo-dev 2022-11-03 22:57:05 UTC
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(-)
Comment 13 Larry the Git Cow gentoo-dev 2022-11-09 08:30:13 UTC
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(-)
Comment 14 Mats Lidell gentoo-dev 2023-09-19 16:13:15 UTC
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.