Bug 214339 - app-office/gnucash-2.2.3 parallel install fails
|
Bug#:
214339
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: tove@gentoo.org
|
Reported By: travis.hunter@gmail.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: app-office/gnucash-2.2.3 parallel install fails
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-03-23 04:22 0000
|
When emerging gnucash with MAKEOPTS="-j5", compile sometimes fails with libtool
errors about relinking libgnc-file-backend.la several times from different
jobs. Emerging with MAKEOPTS="-j1" seems to fix this.
Reproducible: Sometimes
Steps to Reproduce:
1. MAKEOPTS="-j5" emerge gnucash
2.
3.
Actual Results:
Compile sometimes fails with libtool errors.
Expected Results:
Successful emerge
When setting MAKEOPTS="-j1" and reemerging, emerge was successful last two
times.
Reopen with full emerge log attached showing the errors, really cannot guess.
Created an attachment (id=147105) [details]
Build log for the failed emerge of gnucash
Same error, but not using MAKEOPTS="-j5" using -j3 on mine. Have not tried the
-j1.
The part failing mentioned in build log is:
collect2: ld returned 1 exit status
libtool: install: error: relink `libgncmod-backend-file.la' with the above
command before installing it
make[6]: *** [install-pkglibLTLIBRARIES] Error 1
make[6]: *** Waiting for unfinished jobs....
Well, does work if change MAKEOPTS="-j1".
Have it running finally, but going to try again, cause there is still bugs on
guile and gnucash to deal with. I emerge gnucash with nodeps this time to see
if would compile cause couldn't start it with the newer versions of guile. But
thats another bug.
The ebuilds already use "emake -j1". So whatever number of jobs you set in
MAKEOPTS it should be reduced to only one job.
So what would you like us to do? Willing to work on it.
I can confirm this on amd64. Emerging gnucash-2.2.3 stopped for me about 5
times with the error:
libtool: install: error: relink `libgncmod-backend-file.la' with the above
command before installing it
After changing MAKEOPTS="-j3" to MAKEOPTS="-j1" in /etc/make.conf the emerge
worked the first time.
Back to one job for make install.
(In reply to comment #6)
> So what would you like us to do? Willing to work on it.
It would be great if someone fixes the build system and makes it parallel make
safe.
Thanks for the bug report.
*** Bug 214813 has been marked as a duplicate of this bug. ***