-
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] boost/1.75.0: libunwind is only supported on Linux and FreeBSD #5556
Comments
@madebr do you have a quickfix for this issue? boost with default options values can't be built anymore except on Linux, FreeBSD and with Visual Studio. It also means that there are no Boost pre-built binaries on Macos anymore. |
conan-center-index/recipes/boost/all/conanfile.py Lines 241 to 243 in 630ce84
The test should include |
And Windows instead of Visual Studio? |
Looks like it. |
so: if self.settings.os not in ["Linux", "FreeBSD"]:
del self.options.with_stacktrace_backtrace |
I think so. No promises 😉 . |
It should work, but it's misleading, backtrace can be built on Macos (and maybe also with MinGW, but the recipe is broken in this case), the issue comes from libunwind. |
Mmm, I'm starting to doubt the combination of libunwind and libbacktrace. I assumed they were closely linked because boost.build tests the presence of both libraries (headers): It also looks like no actual libunwind symbols are used in these tests. I think It worked because |
Ok, so just remove libunwind dependency? |
I cannot install a downstream package of boost due to this error right now. Are there any way to avoid this error while the proper fix is being delivered? |
yes add option |
Awesome! :) |
Seems like the option does not work on macOS, due to missing libraries |
I ended up cloning the recipe and reverted it back to the commit before
libunwind was introduced.
|
Seems like this is the only option, in case this ever happens again... |
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)Steps to reproduce (Include if Applicable)
Building
boost
on macos fails with the following error:ERROR: libunwind/1.5.0: Invalid configuration: libunwind is only supported on Linux and FreeBSD
It seems that #5420 has introduced a dependency on libunwind that cannot compile on macos
Logs (Include/Attach if Applicable)
Click to expand log
The text was updated successfully, but these errors were encountered: