Opened 16 years ago

Closed 15 years ago

#887 closed Bugs (duplicate)

Duplicate target name bug on Cygwin

Reported by: nobody Owned by: Vladimir Prus
Milestone: Component: build
Version: None Severity: Showstopper
Keywords: Cc:

Description

CVS version checked out on Apr 5, 11:00AM EST.

cygwin: 1.5.24(0.156/4/2)
g++: 4.1.0

ran:
$./configure --with-libraries=program_options
$ ... <nothing interesting>
$ make install
./tools/jam/src/bin.cygwinx86/bjam  --user-config=user-config.jam --prefix=/usr/local --exec-prefix=/usr/local --libdir=/usr/local/lib --includedir=/usr/local/include --with-program_options install
/boost/tools/build/v2/build/virtual-target.jam:996: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <p/usr/local/lib>exact.dll.a
error: previous virtual target { common%common.hard-link-exact.dll.a.IMPORT_LIB { common%common.copy-boost_program_options-gcc41-mt-d-1_35.dll.a.IMPORT_LIB { gcc%gcc.link.dll-boost_program_options-gcc41-mt-d-1_35.dll.a.IMPORT_LIB { gcc%gcc.compile.c++-cmdline.o.OBJ { cmdline.cpp.CPP } } { gcc%gcc.compile.c++-config_file.o.OBJ { config_file.cpp.CPP } } { gcc%gcc.compile.c++-options_description.o.OBJ { options_description.cpp.CPP } } { gcc%gcc.compile.c++-parsers.o.OBJ { parsers.cpp.CPP } } { gcc%gcc.compile.c++-variables_map.o.OBJ { variables_map.cpp.CPP } } { gcc%gcc.compile.c++-value_semantic.o.OBJ { value_semantic.cpp.CPP } } { gcc%gcc.compile.c++-positional_options.o.OBJ { positional_options.cpp.CPP } } { gcc%gcc.compile.c++-utf8_codecvt_facet.o.OBJ { utf8_codecvt_facet.cpp.CPP } } { gcc%gcc.compile.c++-convert.o.OBJ { convert.cpp.CPP } } { gcc%gcc.compile.c++-winmain.o.OBJ { winmain.cpp.CPP } } } } }
error: created from ./install-unversioned
error: another virtual target { common%common.hard-link-exact.dll.a.IMPORT_LIB { common%common.copy-boost_program_options-gcc41-mt-1_35.dll.a.IMPORT_LIB { gcc%gcc.link.dll-boost_program_options-gcc41-mt-1_35.dll.a.IMPORT_LIB { gcc%gcc.compile.c++-cmdline.o.OBJ { cmdline.cpp.CPP } } { gcc%gcc.compile.c++-config_file.o.OBJ { config_file.cpp.CPP } } { gcc%gcc.compile.c++-options_description.o.OBJ { options_description.cpp.CPP } } { gcc%gcc.compile.c++-parsers.o.OBJ { parsers.cpp.CPP } } { gcc%gcc.compile.c++-variables_map.o.OBJ { variables_map.cpp.CPP } } { gcc%gcc.compile.c++-value_semantic.o.OBJ { value_semantic.cpp.CPP } } { gcc%gcc.compile.c++-positional_options.o.OBJ { positional_options.cpp.CPP } } { gcc%gcc.compile.c++-utf8_codecvt_facet.o.OBJ { utf8_codecvt_facet.cpp.CPP } } { gcc%gcc.compile.c++-convert.o.OBJ { convert.cpp.CPP } } { gcc%gcc.compile.c++-winmain.o.OBJ { winmain.cpp.CPP } } } } }
error: created from ./install-unversioned
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
/boost/tools/build/v2/build/virtual-target.jam:459: in actualize-no-scanner from module object(file-target)@27147
/boost/tools/build/v2/build/virtual-target.jam:111: in object(file-target)@27147.actualize from module object(file-target)@27147
/boost/tools/build/v2/build-system.jam:476: in load from module build-system
/boost/tools/build/v2/kernel/modules.jam:261: in import from module modules
/boost/tools/build/v2/kernel/bootstrap.jam:132: in boost-build from module
/boost/boost-build.jam:9: in module scope from module


Change History (1)

comment:1 by Vladimir Prus, 15 years ago

Resolution: Noneduplicate
Severity: Showstopper
Status: assignedclosed

Duplicate of #966.

Note: See TracTickets for help on using tickets.