[Boost-bugs] [Boost C++ Libraries] #8934: b2 : failed to write output file

Subject: [Boost-bugs] [Boost C++ Libraries] #8934: b2 : failed to write output file
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-28 12:06:27


#8934: b2 : failed to write output file
------------------------------------+------------------------------
 Reporter: jeffrey.beu.uz8yz6yl@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.54.0
 Severity: Problem | Keywords:
------------------------------------+------------------------------
 Hello,

 Executing b2.exe within cmd.exe or powershell :

 and

 Building boost_1_54_0 with :

 b2 --debug-building --prefix=%USERPROFILE%\pkg\indie\boost address-
 model=64 --exec-prefix=%USERPROFILE%\programs\boost
 --libdir=%USERPROFILE%\pkg\lib --includedir=%USERPROFILE%\pkg\include
 --build-type=complete --build-dir=..\tmp pch=off debug-symbols=on debug-
 store=database install 2>&1 >> ..\boostbuild.txt

 results in an error :

 failed to write output file
 '..\tmp\boost\bin.v2\libs\program_options\build\msvc-11.0\release\address-
 model-64\debug-store-database\debug-symbols-on\link-static\pch-off
 \runtime-link-static\threading-multi\libboost_program_options-
 vc110-mt-s-1_54.lib.rsp'!

 My initial thoughts path name is it approaching the MAX_PATH, so I tried
 redirecting echo to the name file within cmd.exe; it resulted in The
 system cannot find the path specified.

 In powershell, echo redirection was successful but the build still failed
 at the same point.

 The full path length is 246 :
 python -c
 "print(len(r'C:\Users\Arkhe_2\pkg\src\tmp\boost\bin.v2\libs\program_options\build\msvc-11.0\release
 \address-model-64\debug-store-database\debug-symbols-on\link-static\pch-
 off\runtime-link-static\threading-multi\libboost_program_options-
 vc110-mt-s-1_54.lib.rsp'))"

 File system is NTFS located on a usb interconnected hard drive.

 Thanks for the great work.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8934>
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:13 UTC