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
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Apache Team - Bugzilla Reports
Depends on:
Blocks: nonbash
  Show dependency tree
Reported: 2015-06-14 21:49 UTC by Nikoli
Modified: 2022-07-03 09:54 UTC (History)
2 users (show)

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

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

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]

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.