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

Bug 883279

Summary: sys-apps/setserial-2.17-r5 - configure: error: installation or configuration problem: C compiler cannot create executables.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
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
logs.tar.bz2
sys-apps:setserial-2.17-r5:20221127-100730.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-27 10:39:39 UTC
Generating configuration file for setserial version 2.17
Release date is January, 2000
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_systemd-j4-20221126-170006

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

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:
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit 154b147ae5e9db5ecded489c717c17b8e7c89962
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 27 09:16:52 2022 +0000

    2022-11-27 09:16:52 UTC

emerge -qpvO sys-apps/setserial
[ebuild  N    ] sys-apps/setserial-2.17-r5
Comment 1 Toralf Förster gentoo-dev 2022-11-27 10:39:40 UTC
Created attachment 837571 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-27 10:39:41 UTC
Created attachment 837573 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-27 10:39:43 UTC
Created attachment 837575 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-27 10:39:43 UTC
Created attachment 837577 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-27 10:39:45 UTC
Created attachment 837579 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-27 10:39:46 UTC
Created attachment 837581 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-27 10:39:47 UTC
Created attachment 837583 [details]
sys-apps:setserial-2.17-r5:20221127-100730.log
Comment 8 Toralf Förster gentoo-dev 2022-11-27 10:39:48 UTC
Created attachment 837585 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-12-25 21:24:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4247ccbbd16d77585fecfe51ab0b507695f31cbc

commit 4247ccbbd16d77585fecfe51ab0b507695f31cbc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-25 21:15:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-25 21:24:11 +0000

    sys-apps/setserial: EAPI 8, fix build w/ Clang 16
    
    Closes: https://bugs.gentoo.org/883279
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/setserial/files/setserial-2.17-darwin.patch    |  2 --
 .../files/setserial-2.17-implicit-int-clang16.patch     | 11 +++++++++++
 ...etserial-2.17-r5.ebuild => setserial-2.17-r6.ebuild} | 17 ++++++++++++++---
 3 files changed, 25 insertions(+), 5 deletions(-)