Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552142 - dev-libs/apr-1.5.2 fails tests with /bin/sh -> dash
Summary: dev-libs/apr-1.5.2 fails tests with /bin/sh -> dash
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: nonbash
  Show dependency tree
 
Reported: 2015-06-14 21:49 UTC by Nikoli
Modified: 2017-12-02 21:03 UTC (History)
2 users (show)

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


Attachments
build.log (apr-1.5.2_build.log,129.43 KB, text/plain)
2015-06-14 21:49 UTC, Nikoli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2015-06-14 21:49:50 UTC
Created attachment 405158 [details]
build.log

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 ../libapr-1.la   -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.