Boost build broken on the trunk
After getting the latest Boost from the trunk, and after running bootstrap I try '.\b2 install --prefix=c:\programming\bin' and get: ---------------------------------------------------------------------- Performing configuration checks - 32-bit : yes - arm : no - mips1 : no - power : no - sparc : no - x86 : yes - has_icu builds : no warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user-config.jam - zlib : no - iconv (libc) : no - iconv (separate) : no - icu : no - icu (lib64) : no - message-compiler : yes - gcc visibility : no - long double support : yes warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam. note: to suppress this message, pass "--without-mpi" to bjam. note: otherwise, you can safely ignore this message. warning: No python installation configured and autoconfiguration note: failed. See http://www.boost.org/libs/python/doc/building.html note: for configuration instructions or pass --without-python to note: suppress this message and silently skip all Boost.Python targets - zlib : no (cached) C:/Programming/VersionControl/boost/tools/build/v2/build\virtual-target.jam:1099 : in virtual-target.register-actual-name from module virtual-target error: Duplicate name of actual target: pc:\programming\bin\liblibboost_date_t ime-vc110-mt-gd-1_54.lib error: previous virtual target { common%common.copy-libboost_date_time-vc110-mt- gd-1_54.lib.STATIC_LIB { msvc%msvc.archive-libboost_date_time-vc110-mt-gd-1_54.l ib.STATIC_LIB { msvc%msvc.compile.c++-gregorian\greg_month.obj.OBJ { gregorian/g reg_month.cpp.CPP } } { msvc%msvc.compile.c++-gregorian\greg_weekday.obj.OBJ { g regorian/greg_weekday.cpp.CPP } } { msvc%msvc.compile.c++-gregorian\date_generat ors.obj.OBJ { gregorian/date_generators.cpp.CPP } } } } error: created from ./install-proper-lib-static error: another virtual target { common%common.copy-libboost_date_time-vc110-mt-g d-1_54.lib.STATIC_LIB { msvc%msvc.archive-libboost_date_time-vc110-mt-gd-1_54.li b.STATIC_LIB { msvc%msvc.compile.c++-gregorian\greg_month.obj.OBJ { gregorian/gr eg_month.cpp.CPP } } { msvc%msvc.compile.c++-gregorian\greg_weekday.obj.OBJ { gr egorian/greg_weekday.cpp.CPP } } { msvc%msvc.compile.c++-gregorian\date_generato rs.obj.OBJ { gregorian/date_generators.cpp.CPP } } } } error: created from ./install-proper-lib-static error: added properties: <log-api>winnt error: removed properties: <log-api>generic C:/Programming/VersionControl/boost/tools/build/v2/build\virtual-target.jam:484: in actualize-no-scanner from module object(file-target)@4017 C:/Programming/VersionControl/boost/tools/build/v2/build\virtual-target.jam:134: in class@virtual-target.actualize from module object(file-target)@4017 C:/Programming/VersionControl/boost/tools/build/v2\build-system.jam:720: in load from module build-system C:\Programming\VersionControl\boost\tools\build\v2/kernel\modules.jam:289: in im port from module modules C:\Programming\VersionControl\boost\tools\build\v2/kernel/bootstrap.jam:139: in boost-build from module C:\Programming\VersionControl\boost\boost-build.jam:17: in module scope from module ------------------------------------------------------------------------ This is on Windows but the same thing occurs on my Linux distros. Cannot this be fixed ? I posted the same message for Linux failure on the Boost Build mailing list but received no response.
On Friday 10 May 2013 08:14:45 Edward Diener wrote:
After getting the latest Boost from the trunk, and after running bootstrap I try '.\b2 install --prefix=c:\programming\bin' and get:
[snip]
This is on Windows but the same thing occurs on my Linux distros.
Cannot this be fixed ?
I posted the same message for Linux failure on the Boost Build mailing list but received no response.
Hmm, this is probably my fault. How odd, yesterday I tried to build myself and everything was fine. I have committed 84222, which should fix the problem, could you try again?
Hi Andrey! Am 10.05.2013 14:32, schrieb Andrey Semashev: > On Friday 10 May 2013 08:14:45 Edward Diener wrote: >> After getting the latest Boost from the trunk, and after running >> bootstrap I try '.\b2 install --prefix=c:\programming\bin' and get: > > [snip] > >> This is on Windows but the same thing occurs on my Linux distros. >> [snip] > I have committed 84222, which should fix the problem, could you try again? I threw my build script against trunk revision 84225 with both BOOST_LOG_USE_WINNT6_API and BOOST_LOG_USE_COMPILER_TLS defined. It failed due to two errors reported by my compilers. After applying the following patches in libs/log/src Index: named_scope.cpp =================================================================== --- named_scope.cpp (revision 84223) +++ named_scope.cpp (working copy) @@ -196,8 +196,8 @@ #if defined(BOOST_LOG_USE_COMPILER_TLS) //! Cached pointer to the thread-specific scope stack -BOOST_LOG_TLS named_scope::implementation::scope_list* -named_scope::implementation::pScopesCache = NULL; +BOOST_LOG_TLS named_scope::impl::scope_list* +named_scope::impl::pScopesCache = NULL; #endif // defined(BOOST_LOG_USE_COMPILER_TLS) Index: thread_id.cpp =================================================================== --- thread_id.cpp (revision 84223) +++ thread_id.cpp (working copy) @@ -125,7 +125,7 @@ struct id_storage { - aligned_storage< thread::id, alignment_of< thread::id >::value >::type m_storage; + aligned_storage< sizeof(thread::id), alignment_of< thread::id >::value >::type m_storage; bool m_initialized; }; all 16 configurations (vc10/vc11 x 32/64 x debug/release x static/dynamic) were built. I didn't dig too deep into the changes but they probably resemble what you had in mind. Ciao, Dani
On Fri, May 10, 2013 at 8:01 PM, Daniela Engert
Hi Andrey!
I threw my build script against trunk revision 84225 with both BOOST_LOG_USE_WINNT6_API and BOOST_LOG_USE_COMPILER_TLS defined. It failed due to two errors reported by my compilers. After applying the following patches in libs/log/src
[snip]
all 16 configurations (vc10/vc11 x 32/64 x debug/release x static/dynamic) were built. I didn't dig too deep into the changes but they probably resemble what you had in mind.
Thank you, Daniela. You are quite right, I've committed the fix.
On 5/10/2013 12:28 PM, Andrey Semashev wrote:
On Fri, May 10, 2013 at 8:01 PM, Daniela Engert
wrote: Hi Andrey!
I threw my build script against trunk revision 84225 with both BOOST_LOG_USE_WINNT6_API and BOOST_LOG_USE_COMPILER_TLS defined. It failed due to two errors reported by my compilers. After applying the following patches in libs/log/src
[snip]
all 16 configurations (vc10/vc11 x 32/64 x debug/release x static/dynamic) were built. I didn't dig too deep into the changes but they probably resemble what you had in mind.
Thank you, Daniela. You are quite right, I've committed the fix.
That fixes things.
participants (3)
-
Andrey Semashev
-
Daniela Engert
-
Edward Diener