Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729606 - net-libs/libhtp-0.5.33 : checking whether we are cross compiling... configure: error: in /.../libhtp-0.5.33-abi_x86_32.x86:
Summary: net-libs/libhtp-0.5.33 : checking whether we are cross compiling... configure...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-25 12:07 UTC by Toralf Förster
Modified: 2020-06-25 19:38 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.74 KB, text/plain)
2020-06-25 12:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,255.97 KB, text/plain)
2020-06-25 12:08 UTC, Toralf Förster
Details
environment (environment,79.14 KB, text/plain)
2020-06-25 12:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,48.52 KB, application/x-bzip)
2020-06-25 12:08 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.65 KB, application/x-bzip)
2020-06-25 12:08 UTC, Toralf Förster
Details
net-libs:libhtp-0.5.33:20200625-115542.log (net-libs:libhtp-0.5.33:20200625-115542.log,4.45 KB, text/plain)
2020-06-25 12:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.08 KB, application/x-bzip)
2020-06-25 12:08 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 2020-06-25 12:07:54 UTC
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... configure: error: in /var/tmp/portage/net-libs/libhtp-0.5.33/work/libhtp-0.5.33-abi_x86_32.x86:
configure: error: cannot run C compiled programs.
If you meant to cross compile, use --host.
See config.log for more details

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-abi32+64-20200617-221319

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.44.1
  [2]   rust-1.44.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu 25 Jun 2020 11:05:32 AM UTC

emerge -qpvO net-libs/libhtp
[ebuild  N    ] net-libs/libhtp-0.5.33  USE="-debug -static-libs" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2020-06-25 12:07:57 UTC
Created attachment 646310 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-06-25 12:08:00 UTC
Created attachment 646312 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-06-25 12:08:03 UTC
Created attachment 646314 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-06-25 12:08:07 UTC
Created attachment 646316 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-06-25 12:08:10 UTC
Created attachment 646318 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-06-25 12:08:14 UTC
Created attachment 646320 [details]
net-libs:libhtp-0.5.33:20200625-115542.log
Comment 7 Toralf Förster gentoo-dev 2020-06-25 12:08:18 UTC
Created attachment 646322 [details]
temp.tbz2
Comment 8 Marek Szuba archtester gentoo-dev 2020-06-25 15:33:31 UTC
From the build log:

configure:3548: checking whether we are cross compiling
configure:3556: x86_64-pc-linux-gnu-gcc -m32 -o conftest -O2 -pipe -march=native -fno-diagnostics-color  -falign-functions=32:25:16 -O2  -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 conftest.c  >&5
configure:3560: $? = 0
configure:3567: ./conftest
/var/tmp/portage/net-libs/libhtp-0.5.33/work/libhtp-0.5.33/configure: line 3569: ./conftest: cannot execute binary file: Exec format error

Can your build system actually execute 32-bit binaries?
Comment 9 Toralf Förster gentoo-dev 2020-06-25 15:43:23 UTC
my fault - misconfigured kernel - sry
Comment 10 Toralf Förster gentoo-dev 2020-06-25 15:48:39 UTC
(In reply to Toralf Förster from comment #9)
> my fault - misconfigured kernel - sry

hhm, but maybe not ?
Comment 11 Toralf Förster gentoo-dev 2020-06-25 15:59:41 UTC
hhm, is -m32 the x32 ? - because this image ahs ABI_X86="32 64" (and that worked before since years - I might just check if the current kernel has an issue)
Comment 12 Marek Szuba archtester gentoo-dev 2020-06-25 16:06:02 UTC
(In reply to Toralf Förster from comment #11)

> hhm, is -m32 the x32 ?

No, that's "normal" x86. I've just double-checked this in gcc(1) just to be absolutely certain.
Comment 13 Toralf Förster gentoo-dev 2020-06-25 19:38:23 UTC
ok, I'll replace this tinderox image in favour to assume that the image is somehow broken