Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485454 - dev-libs/redland-1.0.16 - parallel make broken: libtool: install: error: relink `librdf_storage_sqlite.la' with the above command before installing it
Summary: dev-libs/redland-1.0.16 - parallel make broken: libtool: install: error: reli...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-19 23:37 UTC by Austin English (RETIRED)
Modified: 2014-01-02 15:16 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Austin English (RETIRED) gentoo-dev 2013-09-19 23:37:10 UTC
Build fails for me using parallel make. The exact error is:
libtool: install: (cd /var/tmp/portage/dev-libs/redland-1.0.16/image//usr/lib64 && { ln -s -f librdf.so.0.0.0 librdf.so.0 || { rm -f librdf.so.0 && ln -s librdf.so.0.0.0 librdf.so.0; }; })
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../libtool: install: (cd /var/tmp/portage/dev-libs/redland-1.0.16/image//usr/lib64 && { ln -s -f librdf.so.0.0.0 librdf.so || { rm -f librdf.so && ln -s librdf.so.0.0.0 librdf.so; }; })
../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lrdf
collect2: error: ld returned 1 exit status
libtool: install: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c .libs/librdf.lai /var/tmp/portage/dev-libs/redland-1.0.16/image//usr/lib64/librdf.la
libtool: install: error: relink `librdf_storage_sqlite.la' with the above command before installing it
make[3]: *** [install-pluginLTLIBRARIES] Error 1

using MAKEOPTS=-j1 works around the issue.

Reproducible: Always
Comment 1 Stefan Reimer 2013-09-23 00:09:21 UTC
Same here.

MAKEOPTS="-j1" solved the issue.

Portage 2.2.1 (hardened/linux/amd64, gcc-4.6.3, glibc-2.15-r3, 3.10.1-hardened-r1 x86_64)
=================================================================
System uname: Linux-3.10.1-hardened-r1-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2014-01-02 15:16:25 UTC
I've added -j1 for now with the permission of Chainsaw (sound herd).  On my box it goes from 44s build time to 47s build time so personally this is good enough for me.  If anyone wants to fix this better please feel free, and please remember to submit the patch upstream.

thanks for the report.