Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875749 - net-print/npadmin-0.8.7-r1 - configure: error: installation or configuration problem: C compiler cannot create executables.
Summary: net-print/npadmin-0.8.7-r1 - configure: error: installation or configuration ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-06 20:16 UTC by Toralf Förster
Modified: 2024-04-26 19:13 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.15 KB, text/plain)
2022-10-06 20:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,169.01 KB, text/plain)
2022-10-06 20:16 UTC, Toralf Förster
Details
environment (environment,23.43 KB, text/plain)
2022-10-06 20:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.00 KB, application/x-bzip)
2022-10-06 20:16 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,771 bytes, application/x-bzip)
2022-10-06 20:16 UTC, Toralf Förster
Details
net-print:npadmin-0.8.7-r1:20221006-103020.log (net-print:npadmin-0.8.7-r1:20221006-103020.log,3.16 KB, text/plain)
2022-10-06 20:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,8.82 KB, application/x-bzip)
2022-10-06 20:16 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-06 20:16:17 UTC
checking for working makeinfo... found
checking for a BSD compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c
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-20221005-090901

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
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.2
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 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):
GNU Make 4.3

  HEAD of ::gentoo
commit 94e51ac1892576bd086746ae319cd4edb3a1f289
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 6 09:48:00 2022 +0000

    2022-10-06 09:48:00 UTC

emerge -qpvO net-print/npadmin
[ebuild  N    ] net-print/npadmin-0.8.7-r1
Comment 1 Toralf Förster gentoo-dev 2022-10-06 20:16:17 UTC
Created attachment 822496 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-06 20:16:19 UTC
Created attachment 822499 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-06 20:16:20 UTC
Created attachment 822502 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-06 20:16:21 UTC
Created attachment 822505 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-06 20:16:22 UTC
Created attachment 822508 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-06 20:16:23 UTC
Created attachment 822511 [details]
net-print:npadmin-0.8.7-r1:20221006-103020.log
Comment 7 Toralf Förster gentoo-dev 2022-10-06 20:16:24 UTC
Created attachment 822514 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2024-04-26 19:13:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a62c61bc94f482d303b5c7e5fa3cd27cc09d6bb

commit 5a62c61bc94f482d303b5c7e5fa3cd27cc09d6bb
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2024-03-31 19:42:04 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-04-26 19:08:26 +0000

    net-print/npadmin: fix configure error on Clang/GCC-14
    
    Bundled configure used bad compiler check script. Running autoreconf
    fixed that problem.
    Makefile.in contained old name of configure.in, fixed that in patch
    EAPI bump and revbump included as now npadmin may pull new compile
    flags
    
    Closes: https://bugs.gentoo.org/875749
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/35964
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 .../npadmin/files/npadmin-0.8.7-makefile.patch     | 43 ++++++++++++++++++++++
 net-print/npadmin/npadmin-0.8.7-r2.ebuild          | 34 +++++++++++++++++
 2 files changed, 77 insertions(+)