Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638514 - dev-lisp/clisp-2.49-r9 : * ./configure failed error: cannot run C compiled programs
Summary: dev-lisp/clisp-2.49-r9 : * ./configure failed error: cannot run C compiled p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
: 648800 (view as bug list)
Depends on: 687220
Blocks: default-pie
  Show dependency tree
 
Reported: 2017-11-22 20:35 UTC by Toralf Förster
Modified: 2019-06-16 18:21 UTC (History)
17 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.01 KB, text/plain)
2017-11-22 20:35 UTC, Toralf Förster
Details
dev-lisp:clisp-2.49-r101:20171122-202425.log (dev-lisp:clisp-2.49-r101:20171122-202425.log,3.90 KB, text/plain)
2017-11-22 20:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,116.60 KB, text/plain)
2017-11-22 20:35 UTC, Toralf Förster
Details
environment (environment,90.01 KB, text/plain)
2017-11-22 20:35 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.02 KB, application/x-bzip)
2017-11-22 20:35 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.66 KB, application/x-bzip)
2017-11-22 20:35 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.94 KB, application/x-bzip)
2017-11-22 20:35 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 2017-11-22 20:35:05 UTC
See `config.log' for more details.
 * ERROR: dev-lisp/clisp-2.49-r101::gentoo failed (configure phase):
 *   ./configure failed
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_configure

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_20171119-230025

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-lisp/clisp
[ebuild  N    ] dev-lisp/clisp-2.49-r101  USE="X berkdb dbus gdbm gtk pcre readline unicode zlib -fastcgi -hyperspec -pari -postgres (-svm) -threads"
Comment 1 Toralf Förster gentoo-dev 2017-11-22 20:35:08 UTC
Created attachment 505838 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-22 20:35:11 UTC
Created attachment 505840 [details]
dev-lisp:clisp-2.49-r101:20171122-202425.log
Comment 3 Toralf Förster gentoo-dev 2017-11-22 20:35:14 UTC
Created attachment 505842 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-22 20:35:17 UTC
Created attachment 505844 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-22 20:35:20 UTC
Created attachment 505846 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-22 20:35:23 UTC
Created attachment 505848 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-11-22 20:35:26 UTC
Created attachment 505850 [details]
temp.tbz2
Comment 8 Javier 2017-12-03 03:11:46 UTC
I see the same problem with gcc-6.4.0 and the stable clisp-2.49-r9.
Comment 9 Denis Sokolovsky 2017-12-11 13:00:42 UTC
(In reply to Javier from comment #8)
> I see the same problem with gcc-6.4.0 and the stable clisp-2.49-r9.

This bug happen because of transition to 17.0 profile. I believe that compiler version doesn't matter.
Comment 10 Volker Wegert 2017-12-11 17:49:05 UTC
I'm seeing the a similar issue re-merging dev-lisp/clisp-2.49-r9, also during a complete re-merge after the profile transition. The configure log file contains the following messages:

configure:4062: checking whether we are cross compiling
configure:4070: gcc -o conftest -march=amdfam10 -O2 -pipe -fno-pie -Wa,--noexecstack  -I/usr/include/db4.8 -Wl,-O1 -Wl,--as-needed c
onftest.c  >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-lisp/clisp-2.49-r9/temp/cchsL83R
.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
configure:4074: $? = 1
configure:4081: ./conftest
configure: line 4083: ./conftest: No such file or directory
configure:4085: $? = 127
configure:4092: error: in `/var/tmp/portage/dev-lisp/clisp-2.49-r9/work/clisp-2.49/builddir':
configure:4096: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
Comment 11 Denis Sokolovsky 2017-12-12 12:58:02 UTC
Just compiled clisp-2.49.60 without any problems.
Comment 12 Oliver Freyermuth 2017-12-17 02:24:13 UTC
@Denis Sokolovsky: Are you using a 17.0 profile, and have recompiled everything after? 

The problem appears to be caused by clisp insisting on "-fno-pie" in the conftest, while 17.0 has moved to PIE.
Comment 13 Oliver Freyermuth 2017-12-17 02:37:26 UTC
Sorry, misread the comment. 
Yes, I can confirm the issue exists with current stable 2.49-r9 on a 17.0 profile, but is fixed with clisp-2.49.60.
Comment 14 Aaron W. Swenson gentoo-dev 2018-01-02 01:42:42 UTC
I can confirmed fixed with 2.49.60 as well.
Comment 15 Andrey Grozin gentoo-dev 2018-01-02 06:00:10 UTC
(In reply to Aaron W. Swenson from comment #14)
> I can confirmed fixed with 2.49.60 as well.
Yes, but 2.49.60 does not build on x86 (bug #638942).
Comment 16 Chema Alonso Josa (RETIRED) gentoo-dev 2018-03-06 19:44:40 UTC
=dev-lisp/clisp-2.49-r101 removed from the tree, current clisp version is =dev-lisp/clisp-2.49.90
Comment 17 Christoph Löhr 2018-03-08 15:20:45 UTC
dev-lisp/clisp-2.49-r9 stil breaks sys-libs/readline-7.0_p3
Comment 18 Chema Alonso Josa (RETIRED) gentoo-dev 2018-03-08 20:08:41 UTC
By reopening you mean you can reproduce it in =dev-lisp/clisp-2.49.90?

Last version builds fine here on amd64 with gcc-7.3.0 and glibc-2.26-r6.
Comment 19 Volker Wegert 2018-03-10 16:47:38 UTC
dev-lisp/clisp-2.49-r9 does not compile on my amd64 machine with 6.4.0-r1 and 2.25-r10 (same error message as above)
Comment 20 Ben Kohler gentoo-dev 2018-03-14 16:19:58 UTC
*** Bug 648800 has been marked as a duplicate of this bug. ***
Comment 21 Christoph Löhr 2018-04-25 15:54:12 UTC
Still not building with dev-lisp/clisp-2.49.90 does not compile on my amd64 machine with 6.4.0-r1 and 2.25-r11
Comment 22 Sergei Trofimovich (RETIRED) gentoo-dev 2018-12-12 22:20:58 UTC
(In reply to Christoph Löhr from comment #21)
> Still not building with dev-lisp/clisp-2.49.90 does not compile on my amd64
> machine with 6.4.0-r1 and 2.25-r11

Please provide a build.log and emerge --info if it still happens to you.
Comment 23 Florian Schmaus gentoo-dev 2019-01-05 22:38:10 UTC
I run into this on a new amd64 installation with 2.49-r9 (stable version at that time), but was able to compile 2.49.90 after unmasking it.
Comment 24 Pacho Ramos gentoo-dev 2019-03-15 15:31:46 UTC
(In reply to Florian Schmaus from comment #23)
> I run into this on a new amd64 installation with 2.49-r9 (stable version at
> that time), but was able to compile 2.49.90 after unmasking it.

we need to stabilize a newer version then, in my case 2.49.92 works ok
Comment 25 Andreas Sturmlechner gentoo-dev 2019-05-03 16:56:22 UTC
Doesn't use cmake.
Comment 26 Sergei Trofimovich (RETIRED) gentoo-dev 2019-06-02 17:54:23 UTC
Filed bug #687220 for stabilization of newer version.
Comment 27 Cyprien Nicolas (fulax) 2019-06-16 18:21:09 UTC
=dev-lisp/clisp-2.49.92 has been stabilized. Closing.