Boost logo

Boost-Build :

Subject: Re: [Boost-build] Issue with boost build
From: Dmitry Timoshenko (dimentiy2k_at_[hidden])
Date: 2011-04-03 06:13:58


>
> This is buffling. The code that build-system.jam:722 is:
>
> local first-project = [ $(targets[0]).project ] ;
> local first-project-root-location = [ $(first-project).get project-root ] ;
> local first-project-root-module = [ project.load $(first-project-root-location) ] ;
>
> could you add:
>
> ECHO "Target " [ $(targets[0]).str ] ;
> ECHO "first-project" $(first-project) ;
>
> after the first line and report what's the output? Do you have an easy way to reproduce
> this problem?
>
> - Volodya

I did it. The output is:

-- CONSOLE OUT --
Ready to build unicomm...

D:/work/extra/boost-build\build-system.jam:722: in load
rule object(main-target)@637.str unknown in module build-system.
D:\work\extra\boost-build\kernel\modules.jam:283: in import
D:\work\extra\boost-build\kernel\bootstrap.jam:142: in boost-build
D:\work\extra\boost-build\boost-build.jam:8: in module scope

Unicomm building finished: ERRORLEVEL = '0'
-- CONSOLE OUT --

It seems the first echo causes an error. Because I don't see lines
"Target XXXXX" and "first-project XXXX". I commented out the first echo
and the output is:

-- CONSOLE OUT --
Ready to build unicomm...

first-project object(project-target)@622
D:/work/extra/boost-build\build-system.jam:726: in load
*** argument error
* rule project.load ( jamfile-location )
* called with: ( )
* missing argument jamfile-location
D:/work/extra/boost-build/build\project.jam:53:see definition of rule
'load' being called
D:\work\extra\boost-build\kernel\modules.jam:283: in import
D:\work\extra\boost-build\kernel\bootstrap.jam:142: in boost-build
D:\work\extra\boost-build\boost-build.jam:8: in module scope

Unicomm building finished: ERRORLEVEL = '0'
-- CONSOLE OUT --

I can also specify --debug-xxx options if necessary


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