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 attachment 62953 [details, diff] 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 attachment 62984 [details, diff] 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.
inCVS.