-
Notifications
You must be signed in to change notification settings - Fork 1k
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
apple-clang 9.0 error #1778
Comments
Yes, now the defaults settings are stored in But the compiler is still called Could it be that your bare |
I appended When I run
Just to be sure, I ran afterwards:
After the full rebuild of the modules, I still the the error from above. |
Look at the file |
Ok, here are the 3 config files from my ~/.conan/profiles/default
~/.conan/settings.yml
~/.conan/conan.conf
|
Even grepping for 8.1 through the previously wiped build directory points to the log file:
containing:
Using:
produces:
As log file states my system runs cmake 3.8.1 and that's why I find the log file... Lucky co-incidence. |
Thanks for the feedback, having a look. |
Lets try to reduce it so something smaller that we can reproduce. Please try a very simple package creation: $ conan new Hello/0.1 -s -t
$ conan create user/testing Paste the whole output here. Thanks! |
That one works:
|
I just grepped through my own package directory and see that there in test_package directory built modules refer to clang 8.1.
And these modules were deployed on my local system using |
And this is the
And if I for example cat libzmq package's info file
|
Yes, that could be related, but not sure how. The packages are built and installed for 9.0, which is right. It is in the local command that your build system is picking the wrong configuration somehow. Not sure how to debug it. Are you in slack or hangouts? Please ping us to info@conan.io, maybe we could arrange some interactive pair debugging |
Many thanks @lasote
Which was wrong, because I was using the CLion build directory: The solution was:
|
Just upgraded Xcode and received new clang version 9.0.
This issue seems like an addon to: #1707
Now CMake produces the error:
I changed clang versions in the
~/.conan/settings.yml
, that did not help. Afterwards I updated conan and was told that settings.yml was migrated.Conan version is now:
~/.conan/settings.yml
content:conan config get
outputSteps to reproduce:
cd
thereconan install .. --build=missing
cmake ..
Notes
AppleClang
instead ofapple-clang
=> modifiedsettings.yml
and editedprofiles/default
to use:Now conan started to recompile the modules. Will report if that helped.
The text was updated successfully, but these errors were encountered: