-
Notifications
You must be signed in to change notification settings - Fork 263
clang: warning: no such sysroot directory #262
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
Comments
Actually, this happens also for version |
Hmm, I'd like to investigate a little. Could you post your travis configs for both scenarios and the corresponding failing builds? |
No but it look like to many files in repository (also some configuration which are produced on developer machine) From travis documentation:
My suggested solution is to clean repository and complete Links: |
Any more info on this @Legrandin ? |
This is the log of an OSX build that fails on Travis with https://travis-ci.org/Legrandin/pycryptodome/jobs/648626392 Note the message:
However, if you set CFLAGS to https://travis-ci.org/Legrandin/pycryptodome/jobs/645049211 The following warning doesn't go away, but at least compilation works:
|
I review this log and does no see call of I suggest to add Or maybe you can remove Did You check If CFLAGS is empty before overwirte it: Maybe here path to compilers headers is set? |
Yep, I think I mixed up some logs: the problem here is with the current Travis OSX images, not with I did have an earlier error within Thanks for the great work! |
I tried the new version on master (
x86_64
only) on Travis (defaultosx
image) with a library that uses and compiles its own C extensions.I am seeing this
clang
error during compilation when it gets to Python 3.5 (Python 2.7 seems fine):The only way workaround is to add the following to
.travis.yml
:CFLAGS then expands into:
Is there a better fix?
The text was updated successfully, but these errors were encountered: