Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476634 - dev-libs/quazip-0.5.1-r1 MAKEOPTS=-j1 - qztest/qztest links against /usr/lib/libquazip.so instead of newly built library
Summary: dev-libs/quazip-0.5.1-r1 MAKEOPTS=-j1 - qztest/qztest links against /usr/lib/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 476556
  Show dependency tree
 
Reported: 2013-07-12 11:37 UTC by Jeroen Roovers (RETIRED)
Modified: 2013-07-12 15:38 UTC (History)
0 users

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


Attachments
dev-libs:quazip-0.5.1-r1:20130712-112157.log [MAKEOPTS=-j1] (20130712-112157.log,30.10 KB, text/x-log)
2013-07-12 11:37 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2013-07-12 11:37:19 UTC
Created attachment 353150 [details]
dev-libs:quazip-0.5.1-r1:20130712-112157.log [MAKEOPTS=-j1]

No wait. This is an upgrade. Apparently it *is* linking against the installed /usr/lib/libquazip.so ...

[ebuild     U ] dev-libs/quazip-0.5.1-r1 [0.4.4] USE="{test%*}"

Notably:
./qztest: symbol lookup error: ./qztest: undefined symbol: _ZN9QuaZipDirC1EP6QuaZipRK7QString

for file in /usr/lib/libquazip.so /var/tmp/portage/dev-libs/quazip-0.5.1-r1/work/quazip-0.5.1/quazip/libquazip.so; do scanelf -s'*' $file | grep -q ZN9QuaZipDirC1EP6QuaZipRK7QString && echo $file; done
/var/tmp/portage/dev-libs/quazip-0.5.1-r1/work/quazip-0.5.1/quazip/libquazip.so

So the installed version does not have that symbol yet qztest is linked against it, but apparently not since libquazip is not ready at the time (bug #476630) - this is using MAKEOPTS=-j1.

When trying to reproduce this on a system with no quazip installed, I get:

$ qztest/qztest
qztest/qztest: error while loading shared libraries: libquazip.so.1: cannot open shared object file: No such file or directory
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-07-12 15:38:17 UTC
+  12 Jul 2013; Justin Lecher <jlec@gentoo.org> quazip-0.5.1-r1.ebuild,
+  +files/quazip-0.5.1-prll.patch:
+  Fix parallel build, #476630; prepend LD_LIBRARY_PATH during testing to test
+  new lib, #476634
+