Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214339 - app-office/gnucash-2.2.3 parallel install fails
Summary: app-office/gnucash-2.2.3 parallel install fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Torsten Veller (RETIRED)
URL:
Whiteboard:
Keywords:
: 214813 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-23 04:22 UTC by Travis Hunter
Modified: 2008-03-26 07:49 UTC (History)
3 users (show)

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


Attachments
Build log for the failed emerge of gnucash (build.log,920.03 KB, text/plain)
2008-03-24 12:47 UTC, Decibels
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Hunter 2008-03-23 04:22:37 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-23 08:27:58 UTC
Reopen with full emerge log attached showing the errors, really cannot guess.
Comment 2 Decibels 2008-03-24 12:47:42 UTC
Created attachment 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....
Comment 3 Decibels 2008-03-24 13:01:21 UTC
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.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-03-24 13:02:48 UTC
Reopen...
Comment 5 Torsten Veller (RETIRED) gentoo-dev 2008-03-24 21:25:04 UTC
The ebuilds already use "emake -j1". So whatever number of jobs you set in MAKEOPTS it should be reduced to only one job.
Comment 6 Decibels 2008-03-24 21:55:52 UTC
So what would you like us to do? Willing to work on it.
Comment 7 Marc Champion 2008-03-24 22:44:05 UTC
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.
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2008-03-25 03:15:56 UTC
Ok, they've just changed the gnome2.eclass. It now uses emake (which respects MAKEOPTS). <http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnome2.eclass?r1=1.83&r2=1.84>

Comment 9 Torsten Veller (RETIRED) gentoo-dev 2008-03-25 03:47:40 UTC
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.
Comment 10 Torsten Veller (RETIRED) gentoo-dev 2008-03-26 07:49:09 UTC
*** Bug 214813 has been marked as a duplicate of this bug. ***