[Boost-bugs] [Boost C++ Libraries] #9507: [bcp] bcp creates broken build for asio component

Subject: [Boost-bugs] [Boost C++ Libraries] #9507: [bcp] bcp creates broken build for asio component
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-18 14:06:23


#9507: [bcp] bcp creates broken build for asio component
----------------------------+------------------------------
 Reporter: virtualritz@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.54.0
 Severity: Showstopper | Keywords: bcp, asio
----------------------------+------------------------------
 When I try to extract the 'asio' component via bcp (and custom namespace),
 I end up with a broken build environment in the target dir. Every other
 component I tried to extract this way works.

 I'm on OS X 10.9.1 using XCode 5 command line tools.

 Steps to reproduce (in bash):


 {{{
 ./bootstrap.sh

 ( cd tools/bcp/ && ../../tools/build/v2/engine/bin.macosxx86_64/bjam
 toolset=darwin )

 ./dist/bin/bcp --namespace=akboost --namespace-alias \
     build \
     asio \
     $HOME/build/akboost/

 cp bjam $HOME/build/akboost

 cd $HOME/build/akboost

 ./bjam -d+2 debug release \
     toolset=darwin \
     threading=multi \
     link=static \
     cxxflags=-stdlib=libstdc++ \
     cxxflags=-mmacosx-version-min=10.7 \
     linkflags=-stdlib=libstdc++ \
     linkflags=-mmacosx-version-min=10.7 \
     --toolset-
 root=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
 \
     --macosx-version=10.7 --macosx-version-min=10.7 \
     --layout=tagged \
     --build-dir=$HOME/build/akboost_1.55_build \
     --prefix=$HOME/akboost_1.55.0 \
     install
 }}}

 This yields this error from bjam:


 {{{
 link.jam: No such file or directory
 error: Unable to find file or target named
 error: '/boost/context//boost_context'
 error: referred to from project at
 error: 'libs/coroutine/build'
 error: could not resolve project reference '/boost/context'
 }}}

 If I use bcp to extract any other component (I tried algorithm, assign,
 chrono, date_time, detail, filesystem, filesystem3, foreach, gil,
 iostreams, multi_array, multi_index, numeric, property_tree, regex,
 serialization spirit signal system, timer and thread) everything works
 just fine and bjam works its magic.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9507>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC