-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[package] <proposal>/<7.3.1>: Unable to run conan install for newer boost versions #11207
Comments
@Jean1995 are you running Mac M1 machine, or cross-building from Intel to ARM? |
I can confirm your behavior on Mac M1 |
@uilianries I have this issue on an actual Mac M1 machine. This issue has been reported by another user (on a M1 machine), and I've been able to reproduce this locally on another M1. |
@Jean1995 Boost::Math has been removed to the package ID ca20ccd5a0746355cb94d1b5e0f6d0ad6cf4237c (Boost/1.78.0). I'll take a look about it. |
I also just realized that this error is thrown from here because |
boost math requires C++11 (or later) since some recent release. you have to add |
Does this mean that every user has to manually adjust their conan profile, or is this something that can be done/checked automatically within the conanfile? |
it is recommended to always construct your profiles manually, according to your need. some users need to support old C++ standard, some tends to stick to bleeding edge. conan isn't telepathic, and cannot predict everyone's needs. it tries to auto-detect some reasonable defaults, but obviously, it's not 100% accurate, and never will be. right now, the reasonable default is to use your compiler's default C++ standard. |
@SSE4 I was reading the discuss #5246 (comment) we reached a place where it affected a consolidated package in Conan Center. We have few options now, add math to Boost and patch c++11 support (ugly), or keep proposal package broken, or maybe, use an outdated Boost version from Conan Center |
I understand everyone's frustration. there are two things that will help to alleviate the issue:
|
Well, we can wait it I think 🥲 |
Is there a way to make this at least a bit more "user-friendly" for people trying to use the package, but not knowing that this issue is due to their missing I've been thinking about adding something like Otherwise, would it be ok to temporarily downgrade the requirement of |
Yes. need to add a #TODO note in the recipe, but it sounds like our best option for the moment. |
With ##11307, this is fixed for now |
Package and Environment Details
Conan profile
[settings]
os=Macos
os_build=Macos
arch=armv8
arch_build=armv8
compiler=apple-clang
compiler.version=13
compiler.libcxx=libc++
build_type=Release
[options]
[conf]
[build_requires]
[env]
Steps to reproduce
If I try to install the dependencies for proposal, for example by running
conan install .
inconan-center-index/recipes/proposal/all
, I get the error messageand the packages overview tells me
See the full log here
However, if I change the boost version to ´boost/1.75.0´ (or older), for example by
conan install . --require-override=boost/1.75.0
, this does not happen.See the full log here
Apparently, versions
boost/1.75.0
and older are working, while versionsboost/1.76.0
and newer throw this error. Since I am able to build thecubicinterpolation
package by itself without a problem, I guess that this is a problem of the proposal conanfile? Did something change within boost or the boost conan package that causes problems here?Logs
No response
The text was updated successfully, but these errors were encountered: