Boost logo

Boost-Build :

From: Jürgen Hunold (hunold+lists.Boost_at_[hidden])
Date: 2003-10-30 04:54:40


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Volodya !

On Thursday 30 October 2003 10:30, Vladimir Prus wrote:
>
> > I have
> > 1. Boost Include . correct, because <use>boost is specified.
> > 2. /usr/include I don't know where this comes from.
>
> I don't, either. But that should be easy thing.

For the time being, this include does nothing evil.

> > 3. qt include correct, generated by qt.jam
> > 4. implicit dependency because an uic-generated file is compiled.
> > Correct.

> As the issue say, you invoke 'use-project' before 'project', and this
> cause incorrect project loading order. Putting 'use-project' after
> 'project' should solve this issue.
>
> Did this use-case work for you before? Thinking about it, I believe
> it must have being broken all the time.

Well, I use the new <implicit-dependency> feature now.
If you look at qtlib/Jamfile, I use implicit dependencies like

use-project /gui : lib/gui ;
<implicit-dependency>/gui

to progate generated includes to main and the other libs.
When I move use_project after project, I get

error: Recursion in main target references

(see attached file out.txt below). Or am I missing something ?

mmh, it used to work _before_ the restructuring.
But I can tell for sure because I didn't do a complete rebuild when you
introduced <implicit-depency> and I first used this.

So you are right , this is most probably broken all the time.

Yours,

Jürgen

- --
* Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau
* voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover
* fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover
* hunold_at_[hidden] ! www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/oN/hljbJ/LLrxrYRAk+JAJ9Zht5AgkZ9/1GyhEFDIfnuEVWX6gCfUqAD
awq7Y+0y8KxskRpKeRcJz1w=
=hpt9
-----END PGP SIGNATURE-----
 --Boundary-00=_g/No/hzj/2KnfCA Content-Type: text/plain;
charset="iso-8859-15";
name="out.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="out.txt"

cd /ive/hunold/src/bjam/qtlib/
bjam --v2
bjam Version 2
XXX
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:295: in start-building from module targets
error: Recursion in main target references
the following target are being built currently:
../qtlib/app/hello ../qtlib/lib/gui/gui ../qtlib/lib/gui/gui
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:474: in object(main-target)@2.generate from module object(main-target)@2
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:178: in object(project-target)@10.generate from module object(project-target)@10
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:692: in targets.generate-from-reference from module targets
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:710: in targets.generate-dependencies from module targets
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:887: in object(lib-target-class)@14.generate from module object(lib-target-class)@14
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:509: in generate-really from module object(main-target)@2
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:482: in object(main-target)@2.generate from module object(main-target)@2
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:178: in object(project-target)@10.generate from module object(project-target)@10
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:692: in targets.generate-from-reference from module targets
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:710: in targets.generate-dependencies from module targets
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:887: in object(exe-target-class)@1.generate from module object(exe-target-class)@1
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:509: in generate-really from module object(main-target)@1
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:482: in object(main-target)@1.generate from module object(main-target)@1
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:178: in object(project-target)@11.generate from module object(project-target)@11
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:178: in object(project-target)@12.generate from module object(project-target)@12
/ive/hunold/packages/boost/tools/build/v2/build-system.jam:159: in load from module build-system
/ive/hunold/src/bjam/../../packages/boost/tools/build/v2/kernel/modules.jam:259: in import from module modules
/ive/hunold/src/bjam/../../packages/boost/tools/build/v2/kernel/bootstrap.jam:120: in boost-build from module
/ive/hunold/src/bjam/boost-build.jam:13: in module scope from module

Compilation exited abnormally with code 1 at Thu Oct 30 10:53:28
 --Boundary-00=_g/No/hzj/2KnfCA--


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