Opened 12 years ago
Closed 12 years ago
#4570 closed Bugs (fixed)
Boost-build project inheritance broken
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost 1.44.0 | Severity: | Problem |
Keywords: | boost-build inheritence | Cc: |
Description
Sometimes, boost-build applies the inheritance of a project's attributes from it's parent's twice, clobber locally defined attributes.
Attached is the smallest example I can create, and also attached is a patch to fix the problem.
Run before patch:
$ cd foo; bjam ...found 11 targets... ...updating 7 targets... common.mkdir ../bin common.mkdir ../bin/foo common.mkdir ../bin/foo/bar common.mkdir ../bin/foo/bar/gcc-3.4 common.mkdir ../bin/foo/bar/gcc-3.4/debug gcc.compile.c ../bin/foo/bar/gcc-3.4/debug/test.o gcc.link ../bin/foo/bar/gcc-3.4/debug/test ...updated 7 targets...
Run after patch:
$ cd foo; bjam ...found 9 targets... ...updating 6 targets... common.mkdir baz common.mkdir baz/bar common.mkdir baz/bar/gcc-3.4 common.mkdir baz/bar/gcc-3.4/debug gcc.compile.c baz/bar/gcc-3.4/debug/test.o gcc.link baz/bar/gcc-3.4/debug/test ...updated 6 targets...
Attachments (2)
Change History (4)
by , 12 years ago
Attachment: | example.tgz added |
---|
by , 12 years ago
Attachment: | boost-build-project-loading.patch added |
---|
patch to boost 1_44_0 to resovle the issue.
comment:1 by , 12 years ago
Thanks for the patch. Applied in r65165. This was actually checked in a few days ago, but Trac ignored the request to updated the ticket.
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Example of the bug.