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

Bug 874318

Summary: sys-apps/dchroot-0.12.1 - configure: error: installation or configuration problem: C compiler cannot create executables.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
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.portage.tar.bz2
logs.tar.bz2
sys-apps:dchroot-0.12.1:20221002-201341.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-02 20:14:52 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 -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_systemd-j4-20221001-190003

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

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]   ruby30 *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	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-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 537f0728d71c0125d7658e76ec3f8f4d9d32a627
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 19:16:53 2022 +0000

    2022-10-02 19:16:53 UTC

emerge -qpvO sys-apps/dchroot
[ebuild  N    ] sys-apps/dchroot-0.12.1
Comment 1 Toralf Förster gentoo-dev 2022-10-02 20:14:54 UTC
Created attachment 816028 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-02 20:14:55 UTC
Created attachment 816031 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-02 20:14:56 UTC
Created attachment 816034 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-02 20:14:57 UTC
Created attachment 816037 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-02 20:14:58 UTC
Created attachment 816040 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-02 20:14:59 UTC
Created attachment 816043 [details]
sys-apps:dchroot-0.12.1:20221002-201341.log
Comment 7 Toralf Förster gentoo-dev 2022-10-02 20:15:00 UTC
Created attachment 816046 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-10-15 20:07:13 UTC
The bug has been closed via the following commit(s):

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

commit 0e6e22c8bad9b2757363f0855b5e1b8f7f3a8ae7
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-15 16:18:21 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-15 20:06:45 +0000

    sys-apps/dchroot: EAPI6->8, run eautoreconf for clang16
    
    Also:
    * remake patch, was done on top of the sed (now removed) and
      they changed the same line making this kind of messy.
    * respect CPPFLAGS
    * GPL-2 -> GPL-2+
    * remove dead urls, debian doesn't seem to have this anymore?
     (probably not very useful to keep here either)
    
    Closes: https://bugs.gentoo.org/874318
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 sys-apps/dchroot/dchroot-0.12.1.ebuild             | 25 +++++++---------------
 sys-apps/dchroot/files/dchroot-0.12.1-make.patch   | 16 ++++++++++++++
 .../dchroot/files/dchroot-0.12.1-no-werror.patch   | 13 -----------
 3 files changed, 24 insertions(+), 30 deletions(-)