Boost logo

Boost-Build :

From: Niklaus Giger (NiklausGiger_at_[hidden])
Date: 2005-01-21 10:52:09


Hi

I am running the tests (nightly zip from 18. January 05) under Cygwin (setup
from the same date). I get failures in:
stage
project_dependencies
searched_lib
regression
Executing this test gives a popUp, saying that r.exe cannot be started:
missing helper.dll. Here I am completly lost, and do not know how to
continue tu debug.
library_order

Stage: I think the stage test must fail on Cygwin (and/or NT) as a file
"a.myexe" would not be recognised as a valid EXE-file name under Windows.
Therefore I tried to change line 112 of stage.py to
> if os.uname()[0].lower().startswith('cygwin'):
> t.expect_modification("dist/a.exe")
>else:
> t.expect_addition("dist/a.myexe")

But then I get the following error
$ python stage.py
"['/cygdrive/c/downloads/boost-build/test/../jam_src/bin.cygwinx86/bjam',
-sBOOST_BUILD_PATH=/cygdrive/c/downloads/boost-build/test', '-d0','--quiet',
'a2', '
gcc']" returned 1
-------- all changes caused by last build command ----------
Added files : ['bin/gcc/debug/l2.dll', 'bin/gcc/debug/l2.o',
'bin/gcc/debug/l3
.dll', 'bin/gcc/debug/l3.o', 'dist/a.exe', 'dist/l.dll', 'dist/l3.dll']
Removed files : []
Modified files: ['bin/gcc/debug/a.exe', 'bin/gcc/debug/l.dll']
Touched files : ['bin/gcc/debug/l.o']
STDOUT ============
/cygdrive/c/downloads/boost-build/build/project.jam:287: in load-jamfile
*** argument error
* rule path.parent ( path )
* called with: ( Jamroot Jamroot )
* extra argument Jamroot
/cygdrive/c/downloads/boost-build/util/path.jam:86:see definition of rule
'paren
t' being called
/cygdrive/c/downloads/boost-build/build/project.jam:68: in project.load
/cygdrive/c/downloads/boost-build/build-system.jam:80: in load
/cygdrive/c/downloads/boost-build/test/../kernel/modules.jam:259: in import
/cygdrive/c/downloads/boost-build/test/../kernel/bootstrap.jam:120: in
boost-build /cygdrive/c/downloads/boost-build/test/boost-build.jam:10: in
module scope

STDERR ============

END ===============
FAILED test of
/cygdrive/c/downloads/boost-build/test/../jam_src/bin.cygwinx86/b
jam -sBOOST_BUILD_PATH=/cygdrive/c/downloads/boost-build/test -d0 --quiet
at line 356 of /cygdrive/c/downloads/boost-build/test/BoostBuild.py
(fai
l_test)
from line 289 of
/cygdrive/c/downloads/boost-build/test/BoostBuild.py (r
un_build_system)
from line 170 of stage.py
in directory: /tmp/tmpMrJRfx
(line 170 of stage.py is t.run_build_system("a2"))

How can I debug this error? Are the some tricks to compare failures of known
good runs under other setups?

Errors with unmodified tests:

stage : FAILED test of
/cygdrive/c/downloads/boost-build/tes
t/../jam_src/bin.cygwinx86/bjam
-sBOOST_BUILD_PATH=/cygdrive/c/downloads/boost-b
uild/test -d0 --quiet
at line 356 of /cygdrive/c/downloads/boost-build/test/BoostBuild.py
(fai
l_test)
from line 370 of
/cygdrive/c/downloads/boost-build/test/BoostBuild.py (e
xpect_addition)
from line 111 of /cygdrive/c/downloads/boost-build/test/stage.py
from line 34 of test_all.py (run_tests)
from line 149 of test_all.py

in directory: /tmp/tmpXo_Izd File dist/a.myexe not added as expected
-------- all changes caused by last build command ----------
Added files : ['bin/gcc/debug/a.exe']
Removed files : []
Modified files: ['bin/gcc/debug/a.o', 'dist/a.exe']
Touched files : []
STDOUT ============

STDERR ============

END ===============
FAILED
project_test3 : PASSED
<...>
searched_lib :
"['/cygdrive/c/downloads/boost-build/test/../jam_src/bin.cygwinx86/bjam',
'-sBOOST_BUILD_PATH=/cygdrive/c/downloads/boost-build/test', '-d0',
'--quiet', '-n', '-d+2', 'gcc']" returned 1
-------- all changes caused by last build command ----------
Added files : []
Removed files : []
Modified files: []
Touched files : []
STDOUT ============
/cygdrive/c/downloads/boost-build/build/project.jam:287: in load-jamfile
*** argument error
* rule path.parent ( path )
* called with: ( Jamroot Jamroot )
* extra argument Jamroot
/cygdrive/c/downloads/boost-build/util/path.jam:86:see definition of rule
'parent' being called
/cygdrive/c/downloads/boost-build/build/project.jam:68: in project.load
/cygdrive/c/downloads/boost-build/build-system.jam:80: in load
/cygdrive/c/downloads/boost-build/test/../kernel/modules.jam:259: in import
/cygdrive/c/downloads/boost-build/test/../kernel/bootstrap.jam:120: in
boost-build
/cygdrive/c/downloads/boost-build/test/boost-build.jam:10: in module scope

STDERR ============

END ===============
<..>
regression : File bin/r.test/gcc/debug/r.test not added as
expected
-------- all changes caused by last build command ----------
Added files : ['libs/bin/gcc/debug/helper.dll',
'libs/bin/gcc/debug/helper.o', 'bin/c-f.test/gcc/debug/c-f.o',
'bin/c-f.test/gcc/debug/c-f.test', 'bin/c.test/gcc/debug/c.o',
'bin/c.test/gcc/debug/c.test', 'bin/r-f.test/gcc/debug/r-f.exe',
'bin/r-f.test/gcc/debug/r-f.o', 'bin/r-f.test/gcc/debug/r-f.output',
'bin/r-f.test/gcc/debug/r-f.run', 'bin/r-f.test/gcc/debug/r-f.test',
'bin/r.test/gcc/debug/r.exe', 'bin/r.test/gcc/debug/r.o',
'bin/r.test/gcc/debug/r.output']
Removed files : []
Modified files: []
Touched files : []
STDOUT ============
====== BEGIN OUTPUT ======

EXIT STATUS: 128

====== END OUTPUT ======
====== BEGIN OUTPUT ======

EXIT STATUS: 1

====== END OUTPUT ======
...failed updating 1 target...

STDERR ============
c-f.cpp:2: error: Fehler beim Parsen at end of input

END ===============
FAILED
<...>
library_order :
"['/cygdrive/c/downloads/boost-build/test/../jam_src/bin.cygwinx86/bjam',
'-sBOOST_BUILD_PATH=/cygdrive/c/downloads/boost-build/test', '-d0',
'--quiet', 'gcc']" returned 1
STDOUT ============
...skipped <pbin/gcc/debug>main.exe for lack of <pbin/gcc/debug>liba.dll...
...failed updating 2 targets...

STDERR ============
bin/gcc/debug/a.o(.text+0x7): In function `_Z1av':
/tmp/tmpFAY724/a.cpp:6: undefined reference to `b()'
collect2: ld returned 1 exit status
bin/gcc/debug/b.o(.text+0x7): In function `_Z1bv':
/tmp/tmpFAY724/b.cpp:6: undefined reference to `c()'
collect2: ld returned 1 exit status

END ===============
FAILED

-- 
10 GB Mailbox, 100 FreeSMS http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++
 

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