Re: A few 10.11 glitches and possible workarounds

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0Bfx4oHKkbaUNfCyau_ZBSMTUoB2k0s8dwU2O=_8g2S5A@mail.gmail.com>
On Thu, Oct 1, 2015 at 12:02 PM, Jack Howarth <[email protected]>
wrote:

>
>
> On Thu, Oct 1, 2015 at 12:33 AM, William G. Scott <[email protected]>
> wrote:
>
>> In the course of building some of my packages, a few dependencies failed
>> to compile, requiring minor tweaks:
>>
>> gtk+2  — I had to change to UseMaxBuildJobs: false
>> libvpx14  — I had to change to UseMaxBuildJobs: false
>>
>
> Bill,
>      I suspect you have the fink make package installed, no? If so, the
> failures should have been accompanied with an error message of the form...
>
> make: INTERNAL: Exiting with 1 jobserver tokens available; should be 8!
>
> This breakage in the parallel make of fink make impacts a slew of fink
> package builds on machines with more than 2 cores (eg the cmake, libcurl4,
> texlive-base, etc builds).
> A better fix would be to revert your package back to UseMaxBuildJobs: true
> but hard code' /usr/bin/make' rather than just 'make'.
>         Jack
> ps The issue seems to be limited to running fink make from within perl
> under fink. I've not been able to reproduce the build failures outside of
> fink or with just within perl itself.
>

Actually, I never saw a problem building gtk+2 on a dual quad-core MacPro
but this re-enforces my suspicion that the problem with fink make is a
threading race condition that will selectively trigger depending on the
number of cores and processor speed of a given machine (meaning that all
parallel builds under fink make on 10.11 are fragile). Perhaps a better fix
would be to have fink conditionally use /usr/bin/make rather than make for
the CompileScript's default_script when executed on 10.11. This would at
least automatically solve the issue for all packages using
%{default_script}.


>
> Also, $X11_BASE_DIR doesn’t seem to get set.
>>
>>
>> Bill Scott
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> 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
>>
>
>

------------------------------------------------------------------------------

_______________________________________________
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.