-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Consistent error installing ansible 2.2 #7197
Comments
Been seeing same issue for several weeks. gisted files |
@tdsmith Looks like a possible Xcode-only problem finding libffi? |
Agreed. For the reporters, you can work around this by installing the CLT package with The failure is
The superenv shim shows
The file exists as I would have anticipated that the combination of |
It looks like I misunderstood the interaction of -I and --sysroot; the gcc behavior (which I assume clang is emulating?) is:
This seems like something superenv should be aware of. |
Installing CLT per @tdsmith worked, and I now have ansible 2.2.0.0 installed. Thanks. |
Adding this to the shim breaks the cffi build on my machine with a clang "can't find ffi.h" error, heh:
|
|
@tdsmith your proposed work around seemed to help. I uninstalled ansible, ran |
@ilovezfs Any thoughts here? |
It is definitely not an "acceptable" workaround to require CLT given all the needed files are in Xcode.app's SDK
|
I think there is universal agreement on that point. |
@tdsmith I wouldn't be so sure: Homebrew/brew#965. |
It seems the only thing needed to fix this is
since the include is |
Closed via #8992. |
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?sudo chown -R $(whoami) $(brew --prefix)
? (not applicable)Bug reports:
Cannot install ansible 2.2 (
ansible-2.2.0.0.tar.gz
). Consistently failing on the step that installscffi
(==> /Users/austin/.brew/Cellar/ansible/2.2.0.0_1/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/ansible--cffi-20161123-84131-1ww9fzl/cffi-1.8.3
). I am using brew-installed Python, built--universal
:I have previously installed Ansible through Homebrew with no problems, and was successfully running Ansible 2.1. Only since Ansible 2.2 have I been unable to upgrade or install, generally failing at this point.
pip install ansible
seems to work just fine.The install logs have been gisted.
The text was updated successfully, but these errors were encountered: