Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870751 - app-misc/cw-1.0.16-r4 - configure: error: installation or configuration problem: C compiler cannot create executables.
Summary: app-misc/cw-1.0.16-r4 - configure: error: installation or configuration probl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 14:19 UTC by Toralf Förster
Modified: 2022-10-20 03:50 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.08 KB, text/plain)
2022-09-17 14:19 UTC, Toralf Förster
Details
app-misc:cw-1.0.16-r4:20220917-123130.log (app-misc:cw-1.0.16-r4:20220917-123130.log,2.64 KB, text/plain)
2022-09-17 14:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,150.56 KB, text/plain)
2022-09-17 14:19 UTC, Toralf Förster
Details
environment (environment,78.04 KB, text/plain)
2022-09-17 14:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.31 KB, application/x-bzip)
2022-09-17 14:19 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,680 bytes, application/x-bzip)
2022-09-17 14:19 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,20.18 KB, application/x-bzip)
2022-09-17 14:19 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-09-17 14:19:42 UTC
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
creating cache ./config.cache
checking for gcc... clang
checking whether the C compiler (clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -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-j4-20220915-203738

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 2be4f11d1103e9d0fe6cdcf770492a7d6c7ab1e5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 11:01:50 2022 +0000

    2022-09-17 11:01:49 UTC

emerge -qpvO app-misc/cw
[ebuild  N    ] app-misc/cw-1.0.16-r4
Comment 1 Toralf Förster gentoo-dev 2022-09-17 14:19:43 UTC
Created attachment 807562 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 14:19:44 UTC
Created attachment 807565 [details]
app-misc:cw-1.0.16-r4:20220917-123130.log
Comment 3 Toralf Förster gentoo-dev 2022-09-17 14:19:45 UTC
Created attachment 807568 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-17 14:19:47 UTC
Created attachment 807571 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-17 14:19:48 UTC
Created attachment 807574 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 14:19:49 UTC
Created attachment 807577 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 14:19:50 UTC
Created attachment 807580 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-10-20 03:50:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=168b50a0f6e705286b28213f7c77f5421ec8b915

commit 168b50a0f6e705286b28213f7c77f5421ec8b915
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-10-19 19:56:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-20 03:50:05 +0000

    app-misc/cw: 1.0.16 revbump, fix build for clang16
    
    Fixes: af397b3d6dec93a39eb752d80dd10695d654958a
    Closes: https://bugs.gentoo.org/870751
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/27857
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/cw/{cw-1.0.16-r4.ebuild => cw-1.0.16-r5.ebuild}       |  9 ++++++++-
 .../cw/files/cw-1.0.16-fix-configure-for-newer-autotools.patch | 10 ++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c83c91ab52747439175091db2509e34c2a89122

commit 9c83c91ab52747439175091db2509e34c2a89122
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-20 03:49:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-20 03:50:11 +0000

    app-misc/cw: respect CPPFLAGS
    
    Bug: https://bugs.gentoo.org/870751
    Fixes: af397b3d6dec93a39eb752d80dd10695d654958a
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/cw/cw-1.0.16-r5.ebuild                    |  8 +++-----
 app-misc/cw/files/cw-1.0.16-Respect-CPPFLAGS.patch | 21 +++++++++++++++++++++
 2 files changed, 24 insertions(+), 5 deletions(-)