Bug 98390 - net-libs/gnutls compiles and installs with a little help on OSX
|
Bug#:
98390
|
Product: Gentoo/Alt
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: ppc-macos@gentoo.org
|
Reported By: grobian@gentoo.org
|
|
Component: Mac OSX
|
|
|
URL:
|
|
Summary: net-libs/gnutls compiles and installs with a little help on OSX
|
|
Keywords:
|
|
Status Whiteboard:
|
|
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.
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.
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?
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.