Boost logo

Boost-Build :

Subject: Re: [Boost-build] Issue attempting to stage boost on windows MSVC-10.0
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-11-04 12:49:23


AMDG

On 11/04/2013 08:01 AM, PJB wrote:
> Well, the output is a huge trail of parts, I've attached it.
>

That wasn't exactly what I asked for, but
it's close enough. The command should be
b2 -ftest.jam where test.jam contains:
ECHO [ GLOB-RECURSIVELY "[Jj]amroot" ] ;

Anyway, it looks like file_dirscan is
coming out blank for ".". I can
think of three possibilities
- It isn't recognizing "." as a directory
- It's somehow skipping the scan
- The path normalization code is somehow changing "."
  into something else.

The attached patch should isolate the problem.
(You can revert all the earlier patches. I
have all the information I need from them.)

Here's the output that I get:

boost_1_54_0>b2 -ftest.jam
file_query(.)
file_query()
file_query(): directory
scanning
file_dirscan found .: directory
file_dirscan found ..: directory
file_dirscan found b2.exe: file
file_dirscan found bin.v2: directory
file_dirscan found bjam.exe: file
file_dirscan found boost: directory
file_dirscan found boost-build.jam: file
file_dirscan found boost.css: file
file_dirscan found boost.png: file
file_dirscan found boostcpp.jam: file
file_dirscan found bootstrap.bat: file
file_dirscan found bootstrap.log: file
file_dirscan found bootstrap.sh: file
file_dirscan found doc: directory
file_dirscan found index.htm: file
file_dirscan found index.html: file
file_dirscan found INSTALL: file
file_dirscan found Jamroot: file
file_dirscan found libs: directory
file_dirscan found LICENSE_1_0.txt: file
file_dirscan found more: directory
file_dirscan found project-config.jam: file
file_dirscan found rst.css: file
file_dirscan found stage: directory
file_dirscan found status: directory
file_dirscan found test.jam: file
file_dirscan found tools: directory
done scanning : (. .. b2.exe bin.v2 bjam.exe boost boost-build.jam
boost.css boost.png boostcpp.jam bootstrap.bat bootstrap.log
bootstrap.sh doc index.htm index.html INSTALL Jamroot libs
LICENSE_1_0.txt more project-config.jam rst.css stage status test.jam tools)
file_query(.): directory
scanning .
file_dirscan found .\.: directory
file_dirscan found .\..: directory
file_dirscan found .\b2.exe: file
file_dirscan found .\bin.v2: directory
file_dirscan found .\bjam.exe: file
file_dirscan found .\boost: directory
file_dirscan found .\boost-build.jam: file
file_dirscan found .\boost.css: file
file_dirscan found .\boost.png: file
file_dirscan found .\boostcpp.jam: file
file_dirscan found .\bootstrap.bat: file
file_dirscan found .\bootstrap.log: file
file_dirscan found .\bootstrap.sh: file
file_dirscan found .\doc: directory
file_dirscan found .\index.htm: file
file_dirscan found .\index.html: file
file_dirscan found .\INSTALL: file
file_dirscan found .\Jamroot: file
file_dirscan found .\libs: directory
file_dirscan found .\LICENSE_1_0.txt: file
file_dirscan found .\more: directory
file_dirscan found .\project-config.jam: file
file_dirscan found .\rst.css: file
file_dirscan found .\stage: directory
file_dirscan found .\status: directory
file_dirscan found .\test.jam: file
file_dirscan found .\tools: directory
done scanning .: (.\. .\.. .\b2.exe .\bin.v2 .\bjam.exe .\boost
.\boost-build.jam .\boost.css .\boost.png .\boostcpp.jam .\bootstrap.bat
.\bootstrap.log .\bootstrap.sh .\doc .\index.htm .\index.html .\INSTALL
.\Jamroot .\libs .\LICENSE_1_0.txt .\more .\project-config.jam .\rst.css
.\stage .\status .\test.jam .\tools)
.\Jamroot

In Christ,
Steven Watanabe




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