Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500574 - dev-libs/redland-1.0.16 - src_install(): libtool: ld: cannot find -lrdf (parallel make)
Summary: dev-libs/redland-1.0.16 - src_install(): libtool: ld: cannot find -lrdf (para...
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: Gentoo Sound Team
URL:
Whiteboard:
Keywords: NeedPatch
: 524894 (view as bug list)
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2014-02-06 23:29 UTC by Andrei Slavoiu
Modified: 2020-11-15 00:31 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,84.50 KB, text/plain)
2014-02-06 23:36 UTC, Andrei Slavoiu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2014-02-06 23:29:17 UTC
THis was suposed to be fixed by #485454 but was not. -j1 is needed in the install phase, not the compile phase.

Reproducible: Always
Comment 1 Andrei Slavoiu 2014-02-06 23:36:17 UTC
Created attachment 369736 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-07 13:48:33 UTC
That does look like a parallel make problem.
Comment 3 Sorin Panca 2014-07-12 14:53:16 UTC
I can confirm that this can be reproduced only when the following two conditions are met:
1. The redland libraries aren't already installed at all (emerge -C redland, rm -f /usr/lib64/librdf.so.0 /usr/lib64/librdf.so.0.0.0);
2. Parallel builds are enabled.
Comment 4 Frank Krömmelbein 2014-09-16 14:06:03 UTC
Just run into the same problem...
Why is there an error like this for half a year, this would be so easy to fix?

diff -ruN /redland-1.0.16.ebuild redland-1.0.16.ebuild 
--- /redland-1.0.16.ebuild      2014-08-04 23:01:06.000000000 +0200
+++ redland-1.0.16.ebuild       2014-09-16 16:00:36.000000000 +0200
@@ -65,10 +65,6 @@
                "${myconf[@]}"
 }
 
-src_compile() {
-       emake -j1
-}
-
 src_test() {
        if ! use berkdb; then
                export REDLAND_TEST_CLONING_STORAGE_TYPE=hashes
@@ -80,6 +76,7 @@
 
 src_install() {
        default
+       emake -j1
        dohtml {FAQS,NEWS,README,RELEASE,TODO}.html
        find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-10 07:40:13 UTC
*** Bug 524894 has been marked as a duplicate of this bug. ***
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2014-10-21 05:02:57 UTC
I added -j1 to 1.0.17's ebuild which I version bumped in Portage today. However, the bug stays open up until proper patch is created.