Opened 13 years ago

Closed 13 years ago

#2987 closed Bugs (invalid)

"tools/jam/src/bin.linuxx86_64/bjam --layout=system --build-type=complete install" fails

Reported by: alex.vanic@… Owned by:
Milestone: Boost 1.39.0 Component: None
Version: Boost 1.38.0 Severity: Showstopper
Keywords: Cc:

Description

Trying to build boost_1_39_0, but failure when attempting to build the boost libraries with the command ....

tools/jam/src/bin.linuxx86_64/bjam --layout=system --build-type=complete install

get....

/cassiusdb2/PGSThirdPartyLibs/boost_1_39_0/boost_1_39_0/tools/build/v2/build/virtual-target.jam:1056: in virtual-target.register-actual-name from module virtual-target error: Duplicate name of actual target: <p/lib>libboost_date_time.a error: previous virtual target { common%common.copy-libboost_date_time.a.STATIC_LIB { gcc%gcc.archive-libboost_date_time.a.STATIC_LIB { gcc%gcc.compile.c++-gregorian/greg_month.o.OBJ { gregorian/greg_month.cpp.CPP } } { gcc%gcc.compile.c++-gregorian/greg_weekday.o.OBJ { gregorian/greg_weekday.cpp.CPP } } { gcc%gcc.compile.c++-gregorian/date_generators.o.OBJ { gregorian/date_generators.cpp.CPP } } } } error: created from ./install-proper-lib error: another virtual target { common%common.copy-libboost_date_time.a.STATIC_LIB { gcc%gcc.archive-libboost_date_time.a.STATIC_LIB { gcc%gcc.compile.c++-gregorian/greg_month.o.OBJ { gregorian/greg_month.cpp.CPP } } { gcc%gcc.compile.c++-gregorian/greg_weekday.o.OBJ { gregorian/greg_weekday.cpp.CPP } } { gcc%gcc.compile.c++-gregorian/date_generators.o.OBJ { gregorian/date_generators.cpp.CPP } } } } error: created from ./install-proper-lib error: added properties: <debug-symbols>off <define>NDEBUG <inlining>full <optimization>speed <runtime-debugging>off <variant>release error: removed properties: <debug-symbols>on <inlining>off <optimization>off <runtime-debugging>on <variant>debug /cassiusdb2/PGSThirdPartyLibs/boost_1_39_0/boost_1_39_0/tools/build/v2/build/virtual-target.jam:480: in actualize-no-scanner from module object(file-target)@118101 /cassiusdb2/PGSThirdPartyLibs/boost_1_39_0/boost_1_39_0/tools/build/v2/build/virtual-target.jam:130: in object(file-target)@118101.actualize from module object(file-target)@118101 /cassiusdb2/PGSThirdPartyLibs/boost_1_39_0/boost_1_39_0/tools/build/v2/build-system.jam:713: in load from module build-system /cassiusdb2/PGSThirdPartyLibs/boost_1_39_0/boost_1_39_0/tools/build/v2/kernel/modules.jam:283: in import from module modules /cassiusdb2/PGSThirdPartyLibs/boost_1_39_0/boost_1_39_0/tools/build/v2/kernel/bootstrap.jam:138: in boost-build from module /cassiusdb2/PGSThirdPartyLibs/boost_1_39_0/boost_1_39_0/boost-build.jam:16: in module scope from module

This works ok in 1.38.0 and 1.37.0.

Regards,

Alex Vanic

Change History (1)

comment:1 by Vladimir Prus, 13 years ago

Resolution: invalid
Status: newclosed

This is as expected. system layout was fixed to use the naming that all other libraries on Unix have, without any variant tags. This is incompatible with building all possible variants. I suggest you drop --layout=system

Note: See TracTickets for help on using tickets.