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

Bug 552142

Summary: dev-libs/apr-1.5.2 fails tests with /bin/sh -> dash
Product: Gentoo Linux Reporter: Nikoli <nikoli>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) <polynomial-c>
Status: CONFIRMED ---    
Severity: normal CC: etienne.buira, srcshelton
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 526268    
Attachments: build.log

Description Nikoli 2015-06-14 21:49:50 UTC
Created attachment 405158 [details]

With /bin/sh -> bash all tests work fine, but with /bin/sh -> dash src_test fails:
/bin/bash /var/tmp/portage/dev-libs/apr-1.5.2/work/apr-1.5.2/libtool --silent --mode=link x86_64-pc-linux-gnu-gcc -pthread  -march=corei7-avx -O2 -pipe -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I../include -I./../include   -no-install   -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -o testshmproducer testshmproducer.lo ../   -luuid -lrt -lcrypt  -lpthread -ldl
libtool:   error: 'sendfile.lo' is not a valid libtool object
Makefile:104: recipe for target 'sendfile' failed
make[2]: *** [sendfile] Error 1
Comment 1 √Čtienne Buira 2015-08-10 10:23:14 UTC
I'm not sure it is related to sh, because with /bin/sh -> bash, i just had the same issue
Comment 2 √Čtienne Buira 2015-08-10 10:49:28 UTC
And as all tests built fine (and passed) with MAKEOPTS="-j1", it really looks like a race.