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

Bug 875749

Summary: net-print/npadmin-0.8.7-r1 - configure: error: installation or configuration problem: C compiler cannot create executables.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/35963
https://github.com/gentoo/gentoo/pull/35964
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
net-print:npadmin-0.8.7-r1:20221006-103020.log
temp.tar.bz2

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(+)