First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 214339
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Torsten Veller <tove@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Travis Hunter <travis.hunter@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
build.log Build log for the failed emerge of gnucash text/plain Decibels 2008-03-24 12:47 0000 920.03 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 214339 depends on: Show dependency tree
Bug 214339 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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.

------- Comment #1 From Jakub Moc (RETIRED) 2008-03-23 08:27:58 0000 -------
Reopen with full emerge log attached showing the errors, really cannot guess.

------- Comment #2 From Decibels 2008-03-24 12:47:42 0000 -------
Created an attachment (id=147105) [edit]
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 From Decibels 2008-03-24 13:01:21 0000 -------
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 From Jakub Moc (RETIRED) 2008-03-24 13:02:48 0000 -------
Reopen...

------- Comment #5 From Torsten Veller 2008-03-24 21:25:04 0000 -------
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 From Decibels 2008-03-24 21:55:52 0000 -------
So what would you like us to do? Willing to work on it.

------- Comment #7 From Marc Champion 2008-03-24 22:44:05 0000 -------
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 From Torsten Veller 2008-03-25 03:15:56 0000 -------
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 From Torsten Veller 2008-03-25 03:47:40 0000 -------
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 From Torsten Veller 2008-03-26 07:49:09 0000 -------
*** Bug 214813 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug