Re: make-4.1-3 with make-default split-off

Max Horn <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
Hi again,

On 16.09.2015, at 14:42, Jack Howarth <[email protected]> wrote:

> MacPorts gmake doesn't show the problem on the command line or in their builds but I have only been able to test a rather narrow set of MacPorts builds against their gmake. However I have been able to reproduce the build failures under fink when the call to 'make' is substituted with '/opt/local/bin/make' to invoke their copy.

That's interesting, and a bit weird... But at least it suggest that it is directly not our "fault" for breaking GNU make, it may just be broken in general on Mac OS X 10.11... Not that this insight helps anybody faced with the problem :-/.



> I doubt a unique set of packages exists to protect from this bug with the usage of /usr/bin/make. The bug looks to be a race condition in the threading support as tweaking the optimization of make build modulates the number of packages that fail under fink make. Likewise reducing the number of cores in the parallel build can suppress the bug. Also, when I debugged this by adding -d, only one of the failing tests, texlive-base, remained and even then only randomly. So the real question will be how many users machines have the cores/speed to tickle the bug. My past experience with Apple and threading bugs is that it is futile to expect them to be fixed in a given OS release and usually you have to wait for the next major kernel rewrite. 

So, what shall we do then?


* Just "patch" affected packages to workaround the issue

* Split "make" as Jack proposed (i.e. package "make" only provides a "gmake" binary, and "make-default" provides a "make" symlink to it, similar to e.g. coreutils-default). 
   However, I'd prefer to *only* do that on 10.11, as to minimize the impact this has on users. That said, my hope is that whether Apple's and our make is used for most users...


Cheers,
Max
------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.