Boost logo

Boost-Build :

Subject: Re: [Boost-build] custom bcp build no longer finds boost-build.jam in 1.57.0
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2014-12-03 02:34:47


On 12/02/2014 08:42 PM, John Maddock wrote:

> M:/data/boost/test/tools/build/src/build\project.jam:262: in find-jamfile from module project
> error: Unable to load Jamfile.
> error: Could not find a Jamfile in directory 'tools/inspect/build'.
> error: Attempted to find it with pattern '[Bb]uild.jam [Jj]amfile.v2 [Jj]amfile [Jj]amfile.jam'.
> error: Please consult the documentation at ''.
> M:/data/boost/test/tools/build/src/build\project.jam:280: in load-jamfile from module project
> M:/data/boost/test/tools/build/src/build\project.jam:64: in load from module project
> M:/data/boost/test/tools/build/src/build\project.jam:89: in load-used-projects from module project
> M:/data/boost/test/tools/build/src/build\project.jam:75: in load from module project
> M:/data/boost/test/tools/build/src/build\project.jam:145: in project.find from module project
> M:/data/boost/test/tools/build/src\build-system.jam:535: in load from module build-system
> M:\data\boost\test\tools\build\src/kernel\modules.jam:289: in import from module modules
> M:\data\boost\test\tools\build\src/kernel/bootstrap.jam:139: in boost-build from module
> M:\data\boost\test\boost-build.jam:17: in module scope from module
> Why? What on earth in the build system is pulling in inspect? I can fix that by copying that specific Jamfile, which leads to an error
> complaining about libs/tools/wave/tool/build/Jamfile.v2 being missing. If I copy that file as well, then everything seems to more or less work.

Oh, running with --debug-loading reports suggests that we're loading Jamroot when this error happens.
Indeed, here's what Jamroot says:

5a86ed2c Jamroot (Beman 2013-12-24 15:48:03 -0500 250) use-project /boost/tools/inspect : tools/inspect/build ;
51bc0b6a Jamroot (Eric Niebler 2014-01-15 09:20:43 -0800 251) use-project /boost/libs/wave/tool : libs/wave/tool/build ;

So it seems like the current behaviour was around for a while. I've checked in the below to develop:

Could you see whether it helped?


Vladimir Prus

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at