Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623548 - sys-libs/glibc-2.26-r1 : fails with FEATURES=test
Summary: sys-libs/glibc-2.26-r1 : fails with FEATURES=test
Status: RESOLVED DUPLICATE of bug 589370
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-02 15:25 UTC by Toralf Förster
Modified: 2017-09-10 13:39 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.12 KB, text/plain)
2017-07-02 15:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,4.30 KB, text/plain)
2017-07-02 15:25 UTC, Toralf Förster
Details
environment (environment,154.51 KB, text/plain)
2017-07-02 15:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.56 KB, application/x-bzip)
2017-07-02 15:25 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.87 KB, application/x-bzip)
2017-07-02 15:25 UTC, Toralf Förster
Details
sys-libs:glibc-2.25-r2:20170702-114559.log.bz2 (sys-libs:glibc-2.25-r2:20170702-114559.log.bz2,611.65 KB, application/x-bzip)
2017-07-02 15:25 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,652.93 KB, application/x-bzip)
2017-07-02 15:25 UTC, Toralf Förster
Details
build log with tests (glibc-2.26-r1.log.xz,604.70 KB, application/x-xz)
2017-09-10 10:01 UTC, Andreas K. Hüttel
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-07-02 15:25:17 UTC
  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma_20170701-124433

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Comment 1 Toralf Förster gentoo-dev 2017-07-02 15:25:20 UTC
Created attachment 479944 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-02 15:25:23 UTC
Created attachment 479946 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-07-02 15:25:26 UTC
Created attachment 479948 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-07-02 15:25:29 UTC
Created attachment 479950 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-07-02 15:25:32 UTC
Created attachment 479952 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-02 15:25:35 UTC
Created attachment 479954 [details]
sys-libs:glibc-2.25-r2:20170702-114559.log.bz2
Comment 7 Toralf Förster gentoo-dev 2017-07-02 15:25:39 UTC
Created attachment 479956 [details]
temp.tbz2
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2017-09-09 20:03:25 UTC
This is the first error I can find. The problem seems to be related to multilib building.

x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -nostdlib -nostartfiles -o /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math/test-math-isinff  -Wl,-O1 -Wl,--as-needed  -Wl,-z,combreloc -Wl,-z,relro  /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crt1.o /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crti.o `x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed  --print-file-name=crtbegin.o` /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math/test-math-isinff.o /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/support/libsupport_nonshared.a /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math/libm.so.6  -Wl,-dynamic-linker=/lib32/ld-linux.so.2 -Wl,-rpath-link=/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/mathvec:/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/support:/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6 /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_nonshared.a -Wl,--as-needed /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so -Wl,--no-as-needed -lgcc -Wl,--as-needed -lgcc_s  -Wl,--no-as-needed `x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed  --print-file-name=crtend.o` /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crtn.o
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math/test-math-isinff.o' is incompatible with i386 output
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math/test-math-isinff.o: file class ELFCLASS64 incompatible with ELFCLASS32
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [../Rules:200: /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math/test-math-isinff] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.25-r2/work/glibc-2.25/math'
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2017-09-09 20:10:11 UTC
g++ test-math-isinff.cc -c -I/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/ -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6 -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/x86_64-pc-linux-gnu -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/backward -O2 -Wall -Wundef -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -frounding-math -fstack-protector-all -march=native -pipe -mpreferred-stack-boundary=4  -Wa,-mtune=i686 -std=gnu++11   -U_FORTIFY_SOURCE  -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -I../include -I/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math  -I/var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl  -I../sysdeps/unix/sysv/linux/i386/i686  -I../sysdeps/i386/i686/nptl  -I../sysdeps/unix/sysv/linux/i386  -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/i386/nptl  -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix/i386  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/i386/i686/fpu/multiarch  -I../sysdeps/i386/i686/fpu  -I../sysdeps/i386/i686/multiarch  -I../sysdeps/i386/i686  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include-fixed -isystem /usr/include  -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=nonlib -include ../include/libc-symbols.h       -o /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math/test-math-isinff.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math/test-math-isinff.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.25-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math/test-math-isinff.o

^ note the missing flags and the generic compiler name? :)
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2017-09-10 09:59:34 UTC
Also still applies to 2.26-r1, where some stuff is fixed.
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2017-09-10 10:01:17 UTC
Created attachment 493702 [details]
build log with tests
Comment 12 Andreas K. Hüttel archtester gentoo-dev 2017-09-10 10:02:44 UTC
Here's the newest error:

make  subdir=libidn -C libidn ..=../ tests
make[2]: Entering directory '/var/tmp/portage/sys-libs/glibc-2.26-r1/work/glibc-2.26/libidn'
make[2]: *** No rule to make target '/var/tmp/portage/sys-libs/glibc-2.26-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/libidn/check-abi-libci
dn.out', needed by 'tests'.  Stop.
make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.26-r1/work/glibc-2.26/libidn'
make[1]: *** [Makefile:216: libidn/tests] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.26-r1/work/glibc-2.26'
make: *** [Makefile:9: check] Error 2
 * ERROR: sys-libs/glibc-2.26-r1::gentoo failed (test phase):
 *   emake failed
Comment 13 Andreas K. Hüttel archtester gentoo-dev 2017-09-10 13:39:08 UTC
(In reply to Andreas K. Hüttel from comment #12)
> Here's the newest error:
> 
> make  subdir=libidn -C libidn ..=../ tests
> make[2]: Entering directory
> '/var/tmp/portage/sys-libs/glibc-2.26-r1/work/glibc-2.26/libidn'
> make[2]: *** No rule to make target
> '/var/tmp/portage/sys-libs/glibc-2.26-r1/work/build-x86-x86_64-pc-linux-gnu-
> nptl/libidn/check-abi-libci
> dn.out', needed by 'tests'.  Stop.
> make[2]: Leaving directory
> '/var/tmp/portage/sys-libs/glibc-2.26-r1/work/glibc-2.26/libidn'
> make[1]: *** [Makefile:216: libidn/tests] Error 2
> make[1]: Leaving directory
> '/var/tmp/portage/sys-libs/glibc-2.26-r1/work/glibc-2.26'
> make: *** [Makefile:9: check] Error 2
>  * ERROR: sys-libs/glibc-2.26-r1::gentoo failed (test phase):
>  *   emake failed

And this is actually something we have for quite some time...

*** This bug has been marked as a duplicate of bug 589370 ***