[bug] Cannot install boost/1.69.0 RelWithDebInfo
See original GitHub issueCannot install boost/1.69.0 RelWithDebInfo, Conan is failing to resolve dependencies and after explicitly trying to resolve the dependency conan is still failing.
This just started happening today. This seemed to work as of May 21 at 7AM and then starting at occuring at 8:30AM. I have no idea why…
Environment Details (include every applicable attribute)
- Operating System+version: Ubuntu 20.04
- Compiler+version: gcc9
- Conan version: conan 1.36.0
- Python version: N/A
Steps to reproduce (Include if Applicable)
- install conan 1.36.0 from https://conan.io/downloads.html
- create a conanfile.txt which contains:
[generators]
cmake
[requires]
boost/1.69.0
[options]
boost:shared=False
boost:fPIC=True
- run
/bin/conan install . -s build_type=RelWithDebInfo -s compiler=gcc -s compiler.version=9 -s compiler.libcxx=libstdc++11 -s boost:compiler=gcc -s boost:compiler.version=9 -s boost:compiler.libcxx=libstdc++11 -g=cmake --build=missing
This fails with:
ERROR: Conflict in automake/1.16.3:
'automake/1.16.3' requires 'autoconf/2.71' while 'libbacktrace/cci.20210118' requires 'autoconf/2.69'.
To fix this conflict you need to override the package 'autoconf' in your root package.
- Update the conanfile.txt to:
[generators]
cmake
[requires]
boost/1.69.0
autoconf/2.71
[options]
boost:shared=False
boost:fPIC=True
- This still fails with the error
ERROR: Conflict in automake/1.16.3:
'automake/1.16.3' requires 'autoconf/2.71' while 'libbacktrace/cci.20210118' requires 'autoconf/2.69'.
To fix this conflict you need to override the package 'autoconf' in your root package.
Note that for whatever reason debug and release build types works fine
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
CMake cannot find requested Boost libraries - Stack Overflow
My solution to the problem was to simply take one of the third-party download( https://dl.bintray.com/boostorg/release/1.67.0/binaries/).
Read more >Version 1.69.0 - Boost C++ Libraries
Fixed a problem with the detection of std::future availability with libstdc++. ... #183: Fix boost-install use; should only be issued once.
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 Free
Top 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

yes, this unfortunately happens from time to time on CCI, as we are starting to have more complex dependency graphs and then we need to update some version used in multiple nodes of the graph. right now we don’t have an automated process to bump all the graph at once, and we need to submit N PRs to bump versions in N nodes of graph. as an example (simplified):
now, as soon as new version
autoconf/1.71is available, you have to update two nodes - libunwind and libbacktrace. unfortunately, we don’t have any tool to make such update in one shot for all nodes, so we make two PRs for libunwind and libbacktrace, which are reviewed and merged separately. as a result you may have an inconsistent intermediate graphs like:which causes some conflicts.
It depends, it is possible to have profiles for most of the settings, but you can always override individual settings on the command line. So for a profile that has
build_type=Releaseyou can do:And that can avoid combinatoric of profile files. You can also do composition and inclusion of profiles if necessary.