Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 883287

Summary: games-arcade/abe-1.1-r1 - configure: error: installation or configuration problem: C compiler cannot create executables.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
games-arcade:abe-1.1-r1:20221127-111408.log
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-27 11:19:01 UTC
checking for working makeinfo... found
checking host system type... x86_64-pc-linux-gnu
checking for gcc... clang
checking whether the C compiler (clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! Please attach the following file when seeking support:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20221127-030005

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.5
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 5bb84ea604543bd6ff7ef67eef636cc0849771a5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 27 10:16:53 2022 +0000

    2022-11-27 10:16:52 UTC

emerge -qpvO games-arcade/abe
[ebuild  N    ] games-arcade/abe-1.1-r1
Comment 1 Toralf Förster gentoo-dev 2022-11-27 11:19:02 UTC
Created attachment 837619 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-27 11:19:03 UTC
Created attachment 837621 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-27 11:19:05 UTC
Created attachment 837623 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-27 11:19:06 UTC
Created attachment 837625 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-27 11:19:07 UTC
Created attachment 837627 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-27 11:19:08 UTC
Created attachment 837629 [details]
games-arcade:abe-1.1-r1:20221127-111408.log
Comment 7 Toralf Förster gentoo-dev 2022-11-27 11:19:09 UTC
Created attachment 837631 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-27 11:19:10 UTC
Created attachment 837633 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-12-12 14:07:58 UTC
The bug has been closed via the following commit(s):

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

commit 0c523bee351da584ede413328675090afbb7a337
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2023-12-10 07:50:29 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2023-12-12 14:07:27 +0000

    games-arcade/abe: update configuration phase
    
    Original configure script contains problematic detections which fail
    with modern compilers. Moreover, the X detection is removed because the
    game uses only libsdl and there is no need to link with any X library.
    
    Closes: https://bugs.gentoo.org/883287
    Closes: https://bugs.gentoo.org/898794
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 .../abe/{abe-1.1-r1.ebuild => abe-1.1-r2.ebuild}   | 11 +++++---
 games-arcade/abe/files/abe-1.1-no-x-check.patch    | 29 ++++++++++++++++++++++
 2 files changed, 37 insertions(+), 3 deletions(-)