I was hoping to start running regression tests for the upcoming Visual
Studio 2019 (toolset 14.2) and got stumped by an issue.
I've set a user-config.jam:
using msvc : 14.2 ;
using python
: 2.7 # version
: C:\\Python27-32\\python.exe # Interperter/path to dir
: C:\\Python27-32\\include # includes
: C:\\Python27-32\\libs # libs
: <address-model>32 <address-model> # conditions
;
using python
: 2.7 # version
: C:\\Python27-64\\python.exe # Interperter/path to dir
: C:\\Python27-64\\include # includes
: C:\\Python27-64\\libs # libs
: <address-model>64 # conditions
;
Then I ran the command, from a vs2019 developer command prompt:
D:\tmp>C:\Python27-64\python.exe run.py --runner=teeks99-test02
--toolsets=msvc-14.2 --tag=develop
The full build output (minus some repetitive git and mklink commands) can
be found here:
https://gist.github.com/teeks99/2d72382bf13569855dbdcd2e0850c1cf
A couple notable parts...
Bootstrap says it is using the vc7 toolset, which isn't installed
D:\tmp\boost_bb\src\engine>build.bat
could not find "vswhere"
###
### Using 'vc7' toolset.
###
but succeeds anyway, probably because cl.exe is available in the path in
the vs2019 command prompt. B2.exe is successfully created and seems to
work.
During...
notice: [python-cfg] Configuring python...
[snip]
ImportError: No module named numpy
but that is normal.
Finally, at the end...the real issue:
...skipped
process_jam_log.obj
for lack of msvc-setup.nup...
...skipped
process_jam_log.obj
for lack of msvc-setup.nup...
common.mkdir D:\tmp\boost_root\bin.v2
if not exist "D:\tmp\boost_root\bin.v2\\" mkdir
"D:\tmp\boost_root\bin.v2"
common.mkdir D:\tmp\boost_root\bin.v2\libs
if not exist "D:\tmp\boost_root\bin.v2\libs\\" mkdir
"D:\tmp\boost_root\bin.v2\libs"
common.mkdir D:\tmp\boost_root\bin.v2\libs\filesystem
if not exist "D:\tmp\boost_root\bin.v2\libs\filesystem\\" mkdir
"D:\tmp\boost_root\bin.v2\libs\filesystem"
common.mkdir D:\tmp\boost_root\bin.v2\libs\filesystem\build
if not exist "D:\tmp\boost_root\bin.v2\libs\filesystem\build\\"
mkdir "D:\tmp\boost_root\bin.v2\libs\filesystem\build"
common.mkdir D:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2
if not exist
"D:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\\" mkdir
"D:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2"
common.mkdir
D:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release
if not exist
"D:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\\" mkdir
"D:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release"
common.mkdir
D:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static
if not exist
"D:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\\"
mkdir
"D:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static"
common.mkdir
D:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\threading-multi
if not exist
"D:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\threading-multi\\"
mkdir
"D:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\threading-multi"
...skipped
pD:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\threading-multicodecvt_error_category.obj
for lack of msvc-setup.nup...
...skipped
pD:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\threading-multioperations.obj
for lack of msvc-setup.nup...
...skipped
pD:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\threading-multipath.obj
for lack of msvc-setup.nup...
...skipped
pD:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\threading-multipath_traits.obj
for lack of msvc-setup.nup...
...skipped
pD:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\threading-multiportability.obj
for lack of msvc-setup.nup...
...skipped
pD:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\threading-multiunique_path.obj
for lack of msvc-setup.nup...
...skipped
pD:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\threading-multiutf8_codecvt_facet.obj
for lack of msvc-setup.nup...
...skipped
pD:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\threading-multiwindows_file_codecvt.obj
for lack of msvc-setup.nup...
...skipped
pD:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\threading-multilibboost_filesystem-vc142-mt-1_70.lib
for lack of
pD:\tmp\boost_root\bin.v2\libs\filesystem\build\msvc-14.2\release\link-static\threading-multicodecvt_error_category.obj...
...skipped
process_jam_log.exe
for lack of
process_jam_log.obj...
...skipped pD:\tmp\boost_regression\stage\binprocess_jam_log.exe for lack
of
process_jam_log.exe...
...skipped 14 targets...
...updated 599 targets...
# Searching for "process_jam_log.exe" in
"D:\tmp\boost_regression\stage\bin"...
Traceback (most recent call last):
File "run.py", line 71, in <module>
runner(root)
File "D:\tmp\boost_regression_src\regression.py", line 286, in __init__
self.main()
File "D:\tmp\boost_regression_src\regression.py", line 623, in main
getattr(self,action_m)()
File "D:\tmp\boost_regression_src\regression.py", line 580, in
command_regression
self.command_setup()
File "D:\tmp\boost_regression_src\regression.py", line 351, in
command_setup
self.build_if_needed(self.process_jam_log,self.pjl_toolset)
File "D:\tmp\boost_regression_src\regression.py", line 714, in
build_if_needed
tool[ 'build_path' ] = self.tool_path( tool )
File "D:\tmp\boost_regression_src\regression.py", line 739, in tool_path
, '\n'.join( [ name_or_spec[ 'path' ], build_dir ] )
Exception: Cannot find "process_jam_log.exe" in any of the following
locations:
D:\tmp\boost_regression\stage\bin\process_jam_log.exe
D:\tmp\boost_regression\stage\bin
What is the msvc-setup.nup and where does it come from?
Thanks,
Tom