Boost logo

Boost :

Subject: Re: [boost] [build][regression] Problems when trying to run automated regression tests for MSVC-7.1
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2015-10-03 05:12:12


[Last post on Developer's list, CC'ing Build list]

On 03/10/2015 9:24, Vladimir Prus wrote:
>
> $(setup:J=" ") is basically what " ".join(setup) is in Python - it joins
> all elements of a list with a separator.
>
> If that ends up empty, it means we failed to find setup script MSVC 7.1
> at all. It might explain not finding includes.

With the patch that avoids "maybe-rewrite-setup" patch, regression was
fine. I started again from a clean repo, includes were found (I guess
hardlinks were not properly generated) and my report was generated.
Search for runner "igaztanaga" in

http://www.boost.org/development/tests/develop/developer/move.html

so the problem seems to be related to "maybe-rewrite-setup".

> Could you find the line a bit above that reads:
>
> setup = [ locate-default-setup $(command) : $(parent) :
> $(default-setup) ] ;
>
> and add
>
> ECHO "locate-default-setup $(command:E=) : $(parent:E=) :
> $(default-setup:E=) -> $(setup:E=) " ;
>
> after it and see what that outputs?

Here we go:

locate-default-setup C:\Program Files (x86)\Microsoft Visual Studio .NET
2003\Vc7\bin : C:\Program Files (x86)\Microsoft Visual Studio .NET
2003\Vc7 : vcvars32.bat -> C:\Program Files (x86)\Microsoft Visual
Studio .NET 2003\Vc7\bin\vcvars32.bat
locate-default-setup C:\Program Files (x86)\Microsoft Visual Studio .NET
2003\Vc7\bin : C:\Program Files (x86)\Microsoft Visual Studio .NET
2003\Vc7 : vcvarsx86_amd64.bat ->
C:/Data/Libs/boost/tools/build/src/tools\msvc.jam:838: in generate-setup-cmd
*** argument error
* rule maybe-rewrite-setup ( toolset : setup-script : setup-options :
version : rewrite-setup ? )
* called with: ( msvc : : : 7.1 : )
* missing argument setup-script
C:/Data/Libs/boost/tools/build/src/tools\msvc.jam:746:see definition of
rule 'maybe-rewrite-setup' being called
C:/Data/Libs/boost/tools/build/src/tools\msvc.jam:1077: in configure-really
C:/Data/Libs/boost/tools/build/src/tools\msvc.jam:201: in configure
C:/Data/Libs/boost/tools/build/src/tools\msvc.jam:153: in msvc.init
C:/Data/Libs/boost/tools/build/src/build\toolset.jam:43: in toolset.using
C:/Data/Libs/boost/tools/build/src\build-system.jam:461: in
process-explicit-toolset-requests
C:/Data/Libs/boost/tools/build/src\build-system.jam:527: in load
C:\Data\Libs\boost\tools\build\src/kernel\modules.jam:295: in import
C:\Data\Libs\boost\tools\build\src/kernel/bootstrap.jam:139: in boost-build
C:\Data\Libs\boost\boost-build.jam:17: in module scope

> We might want to move this to boost-build_at_[hidden] though, as
> it's becoming rather detailed discussion.

Yes. I tried to subscribe before posting here but got no reply. I've
just checked the gmail spam folder and the reply seems to there. So this
would be the last post on Developer's list.

Thanks,

Ion


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk