[boost] boost/1.71: bootstrap fails on ubuntu
See original GitHub issuePackage and Environment Details
- Package Name/Version: boost/1.71
- Operating System+version: Linux Ubuntu 16.04/19.04
- Compiler+version: GCC 5.4.0/CLang 8
- Conan version: conan 1.18.0
- Python version: Python 3.6.x/3.7.x
Steps to reproduce
Starting with 1.71 the build now fail on all our ubuntu-based systems. The same systems can build 1.70 just fine. CentOS 7 is fine as well.
The command:
conan create /tmp/conanfile.py local/testing -o boost:bzip2=False -o boost:namespace=boost_ns -o boost:namespace_alias=True -o boost:magic_autolink=True --build outdated
On a side note - as seen in the log two of the patches are no longer necessary and should be removed.
Logs
Click to expand log
boost/1.71.0@local/testing: Calling build()
boost/1.71.0@local/testing: ./bootstrap.sh -with-toolset=cc
Bootstrapping the build engine with toolset cc...
Failed to bootstrap the build engine
Consult 'bootstrap.log' for more details
boost/1.71.0@local/testing:
WARN: patches/bcp_namespace_issues.patch: already patched b'Jamroot'
WARN: patches/boost_core_qnx_cxx_provide___cxa_get_globals.patch: already patched b'boost/core/uncaught_exceptions.hpp'
boost/1.71.0@local/testing: WARN: Error 256 while executing ./bootstrap.sh -with-toolset=cc
boost/1.71.0@local/testing: WARN:
Unknown toolset: cc
You can specify the toolset as the argument, i.e.:
./build.sh gcc
Toolsets supported by this script are:
acc, clang, como, gcc, intel-darwin, intel-linux, kcc, kylix, mipspro,
pathscale, pgi, qcc, sun, sunpro, tru64cxx, vacpp
For any toolset you can override the path to the compiler with the CXX
environment variable. You can also use additional flags for the compiler
with the CXXFLAGS environment variable.
A special toolset; cxx, is available which is used as a fallback when a more
specific toolset is not found and the cxx command is detected. The 'cxx'
toolset will use the CXX, CXXFLAGS, and LIBS environment variables, if present.
Similarly, the cross-cxx toolset is available for cross-compiling by using the
BUILD_CXX, BUILD_CXXFLAGS, and BUILD_LDFLAGS environment variables to compile
binaries that will be executed on the build system. This allows CXX etc. to be
set for cross-compilers to be propagated to subprocesses.
boost/1.71.0@local/testing: ERROR: Package 'c89b33558f87fb078774818601cdb426f75abbe0' build failed
boost/1.71.0@local/testing: WARN: Build folder /home/parstream-ci.gen/.conan/data/boost/1.71.0/local/testing/build/c89b33558f87fb078774818601cdb426f75abbe0
ERROR: boost/1.71.0@local/testing: Error in build() method, line 401
self._bootstrap()
while calling '_bootstrap', line 812
self.run(cmd)
ConanException: Error 256 while executing ./bootstrap.sh -with-toolset=cc
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:18 (5 by maintainers)
Top Results From Across the Web
Boost Getting Started on Unix Variants - 1.77.0
Go to the directory tools/build/. Run bootstrap.sh; Run b2 install --prefix=PREFIX where PREFIX is the directory where you want Boost.Build to be installed ......
Read more >libboost1.71-tools-dev_1.71.0-6ubuntu6_arm64.deb
Download libboost1.71-tools-dev_1.71.0-6ubuntu6_arm64.deb for Ubuntu 20.04 LTS from Ubuntu Main repository.
Read more >How to install Boost on Ubuntu - Stack Overflow
You can use apt-get command (requires sudo ) sudo apt-get install libboost-all-dev. Or you can call aptitude search boost.
Read more >Fail to use self build Boost 1.75 under Ubuntu Linux 20.04 x64 ...
Fail to use self build Boost 1.75 under Ubuntu Linux 20.04 x64 with CMake default and ... bootstrap.sh # building only filesystem for...
Read more >https://tracker.debian.org/media/packages/b/boost1...
[5b9edee] Fix failing autopkgtest graph-parallel -- Anton Gladky <gladk@debian.org> Tue, 04 Feb 2020 22:10:35 +0100 boost1.71 (1.71.0-5) unstable; ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
the code that was failing has been completely removed in #1016, so these errors aren’t going to happen any more - we’re not doing bootstrap during the boost build. there is another bug (#1122) and pending PR #1124 that fixes b2 invocation on certain systems. I’ll keep it open for a while, but once #1124 merged, pls retest and let me know (or just test changes locally).
I was able to get it to work with 1.70.0 by removing the
toolset
parameter from https://github.com/conan-io/conan-center-index/blob/8a07dd95d9479f8998f77fdcd5d68a334b763778/recipes/boost/all/conanfile.py#L351But this will obviously break #192 again…