First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 98390
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo for Mac OS X <ppc-macos@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Fabian Groffen <grobian@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnutls-1.2.4.ebuild.patch patch made to the gnutls ebuild to get it to successful install on OSX patch Fabian Groffen 2005-07-08 13:24 0000 1.05 KB Details | Diff
gnutls-1.2.4.ebuild.patch A more careful replacement patch for the gnutls-1.2.4 ebuild patch Fabian Groffen 2005-07-09 00:55 0000 956 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 98390 depends on: Show dependency tree
Bug 98390 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: 2005-07-08 13:21 0000
gnutls compiles fine out of the box, but has a problem installing when using
multiple parallel makes.  Forcing make install to use only a single invocation
("-j1") solves this installation problem on OSX.

Reproducible: Always
Steps to Reproduce:
1. emerge gnutls
2.
3.

Actual Results:  
emerge failed on install phase

Expected Results:  
just install fine

apparently some sort of race condition persist due to make not being able to
completely figure out the right dependencies on OSX when using multiple parallel
make processes (with -jx where x > 1).  Simply forcing it to be "-j1" fixes the
issue.

------- Comment #1 From Fabian Groffen 2005-07-08 13:24:28 0000 -------
Created an attachment (id=62953) [details]
patch made to the gnutls ebuild to get it to successful install on OSX

patch showing the addition of the ppc-macos arch and the forcement of the
installation phase using a single make process.

------- Comment #2 From Lina Pezzella (RETIRED) 2005-07-08 19:42:54 0000 -------
Unless you can verify that parallel makes die on all other archs, you really
can't universally force -j1. Safest
thing to do here would be to conditional it to ppc-macos. Also, do you need to
inherit libtool?

------- Comment #3 From Fabian Groffen 2005-07-09 00:55:55 0000 -------
Created an attachment (id=62984) [details]
A more careful replacement patch for the gnutls-1.2.4 ebuild

Indeed, libtool is not necessary, it was a leftover of previous experiments to
get it working.
I figured that forcing -j1 on the install phase wouldn't hurt, as it is in
general the cheapest phase after the hard work has been done.  However, maybe
you are right and should other arch maintainers add their arch to my if, if it
solves the same problem for them.  Only ppc-macos is now forced to "-j1" on the
"make install" phase only.

------- Comment #4 From Lina Pezzella (RETIRED) 2005-07-10 10:22:06 0000 -------
inCVS.

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