The trigger for this bug is very hard to pinpoint. The cmake build
routinely exhibits under 'fink -m -k rebuild cmake' but if I have fink only
process the PatchScrtipt, the following doesn't trigger the bug in the
resulting build directory....

cd /sw/src/fink.build/cmake-3.3.1-1/cmake-3.3.1
sudo -u fink-bld /bin/sh -ev
./bootstrap --prefix=/sw --docdir=/share/doc/cmake --mandir=/share/man
make -j 8

Some other obscure difference between the execution of the CompileScript
under fink must be creeping in here.

     Any ideas?

           Jack

On Tue, Sep 15, 2015 at 10:06 AM, Jack Howarth <howarth.at.f...@gmail.com>
wrote:

> Martin,
>       I also just tested a build of upstream current make git trunk
> using...
>
> ../configure CFLAGS="-I/sw/include -I/usr/include" LDFLAGS="-L/sw/lib
> -L/usr/lib"
>
> and it also suffers from this regression in 10.11.
>          Jack
>
> On Tue, Sep 15, 2015 at 8:50 AM, Jack Howarth <howarth.at.f...@gmail.com>
> wrote:
>
>> Martin,
>>       In libcurl4, the error always occurs in make install as...
>>
>> Makefile:481: recipe for target 'all-recursive' failed
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory
>> '/sw/src/fink.build/libcurl4-7.44.0-1+10.8/curl-7.44.0/tests'
>> Makefile:1322: recipe for target 'test-full' failed
>> make: *** [test-full] Error 2
>> make: INTERNAL: Exiting with 1 jobserver tokens available; should be 8!
>> ### execution of /tmp/fink.IMD2g failed, exit code 2
>> libtool: link: gcc -Os -Qunused-arguments -Wl,-dead_strip_dylibs -o
>> .libs/lib557 lib557-lib557.o lib557-first.o  -L/sw/lib
>> ../../lib/.libs/libcurl.dylib -framework Security -framework CoreFoundation
>> ### execution of /tmp/fink.JKvKI failed, exit code 2
>>
>> The failure in the cmake build occurs as...
>>
>> [ 72%] Building CXX object
>> Source/CMakeFiles/CMakeLib.dir/cmGeneratorExpressionContext.cxx.o
>> CMakeFiles/Makefile2:1972: recipe for target
>> 'Source/CMakeFiles/CMakeLib.dir/all' failed
>> make[1]: *** [Source/CMakeFiles/CMakeLib.dir/all] Broken pipe: 13
>> Makefile:160: recipe for target 'all' failed
>> make: *** [all] Error 2
>> make: INTERNAL: Exiting with 1 jobserver tokens available; should be 8!
>> ### execution of /tmp/fink.QMGiN failed, exit code 2
>> ### execution of /tmp/fink.LFH39 failed, exit code 2
>>
>> The failure in the texlive-base build occurs as...
>>
>> mv -f
>> luatexdir/luafontloader/fontforge/fontforge/.deps/libff_a-python.Tpo
>> luatexdir/luafontloader/fontforge/fontforge/.deps/libff_a-python.Po
>> Makefile:13666: recipe for target 'all-recursive' failed
>> make[4]: *** [all-recursive] Error 1
>> make[4]: Leaving directory
>> '/sw/src/fink.build/texlive-0.20140523-2/texlive/Work/texk/web2c'
>> Makefile:3580: recipe for target 'all' failed
>> make[3]: *** [all] Error 2
>> make[3]: Leaving directory
>> '/sw/src/fink.build/texlive-0.20140523-2/texlive/Work/texk/web2c'
>> Makefile:878: recipe for target 'recurse' failed
>> make[2]: *** [recurse] Error 1
>> make[2]: Leaving directory
>> '/sw/src/fink.build/texlive-0.20140523-2/texlive/Work/texk'
>> Makefile:458: recipe for target 'all-recursive' failed
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory
>> '/sw/src/fink.build/texlive-0.20140523-2/texlive/Work/texk'
>> Makefile:544: recipe for target 'all-recursive' failed
>> make: *** [all-recursive] Error 1
>> make: INTERNAL: Exiting with 1 jobserver tokens available; should be 8!
>> ### execution of /tmp/fink.kMF3U failed, exit code 2
>> ### execution of /tmp/fink.EI3c4 failed, exit code 2
>>
>> The failure in r-base32 occurs as...
>>
>> flag-sort -r gcc -ffor-scope    -I../../src/extra   -I.
>> -I../../src/include -I../../src/include -I/sw/include -I/sw/include
>> -I../../src/nmath -DHAVE_CONFIG_H    -fPIC  -g -O3  -c sort.c -o sort.o
>> make[3]: *** read jobs pipe: No such file or directory.  Stop.
>> make[3]: *** Waiting for unfinished jobs....
>> Makefile:143: recipe for target 'R' failed
>> make[2]: *** [R] Broken pipe: 13
>> make[2]: Leaving directory
>> '/sw/src/fink.build/r-base32-3.2.2-1/R-3.2.2/src/main'
>> Makefile:28: recipe for target 'R' failed
>> make[1]: *** [R] Error 1
>> make[1]: Leaving directory
>> '/sw/src/fink.build/r-base32-3.2.2-1/R-3.2.2/src'
>> Makefile:59: recipe for target 'R' failed
>> make: *** [R] Error 1
>> make: INTERNAL: Exiting with 1 jobserver tokens available; should be 8!
>> ### execution of /tmp/fink.mnbv0 failed, exit code 2
>> ### execution of /tmp/fink.Iaykh failed, exit code 2
>>
>> So far my observations are...
>>
>> 1) disabling SIP has no impact on the bug
>> 2) rebuilding fink make with -Os only changes slightly the set of
>> packages effected by the bug
>> 3) so far I've been unable to reproduce this building outside of fink
>> 4) building the same packages with MacPorts gmake doesn't trigger the bug
>> in MacPort builds with or without their sandbox.
>> 5) the build failures seem to always occur at the same place in the
>> impacted builds.
>> 6) the fink make package built with the same Xcode 7 compilers doesn't
>> show this build issue on 10.10
>> 7) the fink make package built with the same Xcode 7 compilers on 10.10
>> exhibits the bug when installed on 10.11
>> 8) using a fink make without the guile support has still shows the bug
>>
>> In any case, I still think creating a make-default split-off is a useful
>> change for the make package as it gives the user more control of its
>> application.
>>               Jack
>>
>> On Tue, Sep 15, 2015 at 2:53 AM, Martin Costabel <costa...@wanadoo.fr>
>> wrote:
>>
>>> On 15/09/15 03:18, Jack Howarth wrote:
>>>
>>>> Max,
>>>> El Capitan GM currently produces an instability in fink make for a
>>>> variety of builds (cmake, libcurl4, texlive-base, r-base32, etc)
>>>> resulting in random failures of the form...
>>>>
>>>> make: INTERNAL: Exiting with 1 jobserver tokens available; should be 8!
>>>>
>>>> during parallel builds on my MacPro 3,1 with 8 cores.
>>>>
>>>
>>> Did you try to find the real error? Fromm the discussions on the net I
>>> understand that the above is only a warning that appears when make exits
>>> because of an error that has happened before.
>>>
>>> --
>>> Martin
>>>
>>>
>>>
>>
>
------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to