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

Bug 750230

Summary: app-admin/conserver-8.2.5 : configure: error: C compiler cannot create executables
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Daniel M. Weeks <dan>
Status: RESOLVED FIXED    
Severity: normal CC: gyakovlev, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/bstansell/conserver/pull/58
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732648    
Attachments: emerge-info.txt
app-admin:conserver-8.2.5:20201019-181735.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-10-19 18:42:16 UTC
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/app-admin/conserver-8.2.5/work/conserver-8.2.5':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20201012-031827

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.47.0
  [2]   rust-1.47.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.265_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Oct 19 05:35:25 PM UTC 2020
/var/db/repos/libressl	Sun Oct 18 04:35:14 PM UTC 2020

emerge -qpvO app-admin/conserver
[ebuild  N    ] app-admin/conserver-8.2.5  USE="ipv6 libressl pam ssl tcpd -debug -freeipmi -kerberos -test"
Comment 1 Toralf Förster gentoo-dev 2020-10-19 18:42:17 UTC
Created attachment 667157 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-10-19 18:42:18 UTC
Created attachment 667160 [details]
app-admin:conserver-8.2.5:20201019-181735.log
Comment 3 Toralf Förster gentoo-dev 2020-10-19 18:42:20 UTC
Created attachment 667163 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-10-19 18:42:22 UTC
Created attachment 667166 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-10-19 18:42:23 UTC
Created attachment 667169 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-10-19 18:42:24 UTC
Created attachment 667172 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-10-19 18:42:26 UTC
Created attachment 667175 [details]
temp.tbz2
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-10 03:13:41 UTC
The problem is this line in configure.ac:

  AC_DEFINE_UNQUOTED(CONFIGINVOCATION, "$0 $@")

According to config.log, CONFIGINVOCATION gets defined with newlines after each element which causes the breakage.
Comment 9 Larry the Git Cow gentoo-dev 2021-01-12 17:32:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b49ce0b8b7b4004f920eb26d0acf71abb665d90

commit 6b49ce0b8b7b4004f920eb26d0acf71abb665d90
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-01-12 17:32:21 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-01-12 17:32:21 +0000

    app-admin/conserver: Fixed build with sys-devel/autoconf:2.70
    
    Bug: https://bugs.gentoo.org/750230
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 app-admin/conserver/conserver-8.2.6.ebuild         |  6 +++-
 .../files/conserver-8.2.6-autoconf-2.70.patch      | 32 ++++++++++++++++++++++
 2 files changed, 37 insertions(+), 1 deletion(-)
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-12 23:31:56 UTC
Upstream has merged the fix.