Now we can go back to zlib.py.
There seems to be a problem with zlib.py. I'm looking at that file at you
seem to hardcode the zlib source code to:
using zlib: : <source>$(here)/zlib ;
In my user-config.jam my zlib is configured as:
using zlib : 1.2.5 : <source>C:/chhenning/zlib/zlib-1.2.5 : ;
So, a file like deflate.c would is located here:
C:/chhenning/zlib/zlib-1.2.5/deflate.c
Here is the output when I run the test using the --verbose parameter:
common.mkdir bin
if not exist "bin\\" mkdir "bin"
common.mkdir bin\standalone
if not exist "bin\standalone\\" mkdir "bin\standalone"
common.mkdir bin\standalone\zlib
if not exist "bin\standalone\zlib\\" mkdir "bin\standalone\zlib"
common.mkdir bin\standalone\zlib\mock
if not exist "bin\standalone\zlib\mock\\" mkdir
"bin\standalone\zlib\mock"
common.mkdir bin\standalone\zlib\mock\debug
if not exist "bin\standalone\zlib\mock\debug\\" mkdir
"bin\standalone\zlib\mock\debug"
mock.compile.c bin\standalone\zlib\mock\debug\deflate.obj
C:\Python27\python.exe mock.py -c -x c
-IC:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib
C:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib\deflate.c -o
bin\standalone\zlib\mock\debug\deflate.obj
Unrecognized command: mock.py -c -x c
-IC:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib
C:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib\deflate.c -o
bin\standalone\zlib\mock\debug\deflate.obj
...skipped z.dll for lack of
deflate.obj...
common.mkdir bin\standalone\zlib\mock\debug\link-static
if not exist "bin\standalone\zlib\mock\debug\link-static\\" mkdir
"bin\standalone\zlib\mock\debug\link-static"
mock.compile.c bin\standalone\zlib\mock\debug\link-static\deflate.obj
C:\Python27\python.exe mock.py -c -x c
-IC:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib
C:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib\deflate.c -o
bin\standalone\zlib\mock\debug\link-static\deflate.obj
Unrecognized command: mock.py -c -x c
-IC:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib
C:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib\deflate.c -o
bin\standalone\zlib\mock\debug\link-static\deflate.obj
...skipped libz.lib for lack
of deflate.obj...
...failed updating 2 targets...
failure {{{
"['c:\\boost\\tools\\build\\v2\\test\\..\\engine\\bin.ntx86\\bjam',
'-sBOOST_BUILD_PATH="c:\\boost\\tools\\build\\v2\\test/.."', '-d+2',
'toolset=mock', '--ignore-site-config', '--user-config=',
'--test-config="c:\\boost\\tools\\build\\v2\\test\\test-config.jam"',
'--ignore-toolset-requirements']" returned 1
}}}
reason {{{
unexpected status returned by bjam
}}}
changes caused by the last build command {{{
Added files : ['markup.pyc', 'mockinfo.pyc', 'bin/config.log',
'bin/project-cache.jam']
Removed files : []
Modified files: []
Touched files : []
}}}
STDOUT {{{
common.mkdir bin
if not exist "bin\\" mkdir "bin"
common.mkdir bin\standalone
if not exist "bin\standalone\\" mkdir "bin\standalone"
common.mkdir bin\standalone\zlib
if not exist "bin\standalone\zlib\\" mkdir "bin\standalone\zlib"
common.mkdir bin\standalone\zlib\mock
if not exist "bin\standalone\zlib\mock\\" mkdir
"bin\standalone\zlib\mock"
common.mkdir bin\standalone\zlib\mock\debug
if not exist "bin\standalone\zlib\mock\debug\\" mkdir
"bin\standalone\zlib\mock\debug"
mock.compile.c bin\standalone\zlib\mock\debug\deflate.obj
C:\Python27\python.exe mock.py -c -x c
-IC:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib
C:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib\deflate.c -o
bin\standalone\zlib\mock\debug\deflate.obj
Unrecognized command: mock.py -c -x c
-IC:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib
C:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib\deflate.c -o
bin\standalone\zlib\mock\debug\deflate.obj
...skipped z.dll for lack of
deflate.obj...
common.mkdir bin\standalone\zlib\mock\debug\link-static
if not exist "bin\standalone\zlib\mock\debug\link-static\\" mkdir
"bin\standalone\zlib\mock\debug\link-static"
mock.compile.c bin\standalone\zlib\mock\debug\link-static\deflate.obj
C:\Python27\python.exe mock.py -c -x c
-IC:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib
C:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib\deflate.c -o
bin\standalone\zlib\mock\debug\link-static\deflate.obj
Unrecognized command: mock.py -c -x c
-IC:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib
C:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\zlib\deflate.c -o
bin\standalone\zlib\mock\debug\link-static\deflate.obj
...skipped libz.lib for lack
of deflate.obj...
...failed updating 2 targets...
}}}
STDERR {{{
}}}
stacktrace {{{
at line 590 of c:\boost\tools\build\v2\test\BoostBuild.py (fail_test)
from line 485 of c:\boost\tools\build\v2\test\BoostBuild.py
(run_build_system)
from line 32 of zlib.py (<module>)
}}}
When I look in the temp folder (
C:\Users\chhenning\AppData\Local\Temp\tmpsiqfhe\ ) there is no zlib
subfolder nor any other file/folder.
Anything you can spot what is going wrong?
BTW, I think I used you too much of your time today and I can understand
when you got better things to do. We can continue any time that's
convenient for you.
Regards,
Christian