Boost logo

Boost-Build :

From: Chris Jefferson (chris_at_[hidden])
Date: 2008-06-15 11:35:26


I'm suffering from a Mac OS X Leopard hanging bug compiling
boost.python (which can be fixed by adding a timeout)

I've tried using nightlies, and checked they contain an earlier
mentioned bug-fix for the fork/vfork issue, but am still having
problems.

I attach the failure I get to the bottom of this mail. If I try
cutting+pasting in the executed commands to a normal bash prompt, they
appear to execute instantly, and correctly. I've tried making the
timeout much larger and it doesn't help.

I enclude both a backtrace, and the output I get when I add a timeout:

#0 0x9682d5e2 in select$DARWIN_EXTSN ()
#1 0x0001a8f5 in execwait () at execunix.c:454
#2 0x0001a2a4 in execcmd (string=0x597000 "\n
DYLD_LIBRARY_PATH=/System/Library/Frameworks/Python.framework/Versions/2.5/lib:/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config:/Users/caj/Downloads/boost_1_35_0/bin."...,
func=0xd274 <make_closure>, closure=0x822d14, shell=0x0,
action=0x4a7020 "capture-output", target=0x156400
"bin/test_ext.test/darwin/debug/macosx-version-10.4/test_ext") at
execunix.c:328
#3 0x0000cb2f in make1c (pState=0x10b6340) at make1.c:530
#4 0x0000c28a in make1 (t=0x70310) at make1.c:234
#5 0x0000a948 in make (n_targets=1, targets=0x16c910, anyhow=0) at make.c:176
#6 0x0000845a in main (argc=4, argv=0xbfffec70,
arg_environ=0xbfffec84) at jam.c:517

~/Downloads/boost_1_35_0/libs/python/example/quickstart$ bjam
--toolset=darwin -d2 test -l30
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
...patience...
...found 1194 targets...
...using 2 temp targets...
...updating 4 targets...
...using <pbin/darwin/debug/macosx-version-10.4>extending.so...
capture-output bin/test_ext.test/darwin/debug/macosx-version-10.4/test_ext

    DYLD_LIBRARY_PATH=/System/Library/Frameworks/Python.framework/Versions/2.5/lib:/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config:/Users/caj/Downloads/boost_1_35_0/bin.v2/libs/python/build/darwin/debug/macosx-version-10.4:/Users/caj/Downloads/boost_1_35_0/libs/python/example/quickstart/bin/darwin/debug/macosx-version-10.4:$DYLD_LIBRARY_PATH
export DYLD_LIBRARY_PATH

    PYTHONPATH=bin/darwin/debug/macosx-version-10.4
export PYTHONPATH
 python "test_extending.py" >
"bin/test_ext.test/darwin/debug/macosx-version-10.4/test_ext.output"
2>&1
    status=$?
    echo >> "bin/test_ext.test/darwin/debug/macosx-version-10.4/test_ext.output"
    echo EXIT STATUS: $status >>
"bin/test_ext.test/darwin/debug/macosx-version-10.4/test_ext.output"
    if test $status -eq 0 ; then
        cp "bin/test_ext.test/darwin/debug/macosx-version-10.4/test_ext.output"
"bin/test_ext.test/darwin/debug/macosx-version-10.4/test_ext"
    fi
    verbose=0
    if test $status -ne 0 ; then
        verbose=1
    fi
    if test $verbose -eq 1 ; then
        echo ====== BEGIN OUTPUT ======
        cat "bin/test_ext.test/darwin/debug/macosx-version-10.4/test_ext.output"
        echo ====== END OUTPUT ======
    fi
    exit $status

30 second time limit exceeded
...failed capture-output
bin/test_ext.test/darwin/debug/macosx-version-10.4/test_ext...
...removing bin/test_ext.test/darwin/debug/macosx-version-10.4/test_ext
...using <pbin/darwin/debug/macosx-version-10.4>embedding...
testing.capture-output
bin/test_embed.test/darwin/debug/macosx-version-10.4/test_embed.run

    DYLD_LIBRARY_PATH=/System/Library/Frameworks/Python.framework/Versions/2.5/lib:/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config:/Users/caj/Downloads/boost_1_35_0/bin.v2/libs/python/build/darwin/debug/macosx-version-10.4:$DYLD_LIBRARY_PATH
export DYLD_LIBRARY_PATH

     "bin/darwin/debug/macosx-version-10.4/embedding" "script.py" >
"bin/test_embed.test/darwin/debug/macosx-version-10.4/test_embed.output"
2>&1
    status=$?
    echo >> "bin/test_embed.test/darwin/debug/macosx-version-10.4/test_embed.output"
    echo EXIT STATUS: $status >>
"bin/test_embed.test/darwin/debug/macosx-version-10.4/test_embed.output"
    if test $status -eq 0 ; then
        cp "bin/test_embed.test/darwin/debug/macosx-version-10.4/test_embed.output"
"bin/test_embed.test/darwin/debug/macosx-version-10.4/test_embed.run"
    fi
    verbose=0
    if test $status -ne 0 ; then
        verbose=1
    fi
    if test $verbose -eq 1 ; then
        echo ====== BEGIN OUTPUT ======
        cat "bin/test_embed.test/darwin/debug/macosx-version-10.4/test_embed.output"
        echo ====== END OUTPUT ======
    fi
    exit $status

RmTemps bin/test_embed.test/darwin/debug/macosx-version-10.4/test_embed.run

    rm -f "bin/darwin/debug/macosx-version-10.4/embedding"

**passed** bin/test_embed.test/darwin/debug/macosx-version-10.4/test_embed.test

    echo passed >
bin/test_embed.test/darwin/debug/macosx-version-10.4/test_embed.test

...failed updating 1 target...
...skipped 1 target...
...updated 2 targets...


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk