-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Install of Ansible 2.6.5 fails on macOS 10.13.6 #5021
Comments
@Ketouem commented on Oct 2, 2018, 8:03 AM UTC: Getting the same issue $ brew install -v ansible
==> Downloading https://homebrew.bintray.com/bottles/ansible-2.6.5.mojave.bottle.tar.gz
Already downloaded: /Users/cyril/Library/Caches/Homebrew/downloads/3f64f0fed4119305894f412e1fe763d5632b57bbd4e2c77f45261dd973c3c542--ansible-2.6.5.mojave.bottle.tar.gz
==> Verifying 3f64f0fed4119305894f412e1fe763d5632b57bbd4e2c77f45261dd973c3c542--ansible-2.6.5.mojave.bottle.tar.gz checksum
==> Pouring ansible-2.6.5.mojave.bottle.tar.gz
tar xf /Users/cyril/Library/Caches/Homebrew/downloads/3f64f0fed4119305894f412e1fe763d5632b57bbd4e2c77f45261dd973c3c542--ansible-2.6.5.mojave.bottle.tar.gz -C /var/folders/3k/ys7m23x16jl7f0dr0gmxzjx80000gn/T/d20181002-8366-18ltikg
cp -pR /var/folders/3k/ys7m23x16jl7f0dr0gmxzjx80000gn/T/d20181002-8366-18ltikg/ansible/. /usr/local/Cellar/ansible
Error: No such file or directory @ rb_file_s_stat - /var/folders/3k/ys7m23x16jl7f0dr0gmxzjx80000gn/T/d20181002-8366-18ltikg/ansible/2.6.5/libexec/.Python
Warning: Bottle installation failed: building from source.
/usr/bin/sandbox-exec -f /private/tmp/homebrew20181002-8875-1a90o37.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/ruby-macho-2.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/plist-3.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/backports-3.11.4/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/activesupport-5.2.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/tzinfo-1.2.5/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/thread_safe-0.3.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/minitest-5.11.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/i18n-1.1.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ansible.rb --verbose
==> Downloading https://releases.ansible.com/ansible/ansible-2.6.5.tar.gz
Already downloaded: /Users/cyril/Library/Caches/Homebrew/downloads/ae2469bbd0b89c4259f5ab815999bf9d6efb7bb27e95d606b06463050b6d7305--ansible-2.6.5.tar.gz
==> Verifying ae2469bbd0b89c4259f5ab815999bf9d6efb7bb27e95d606b06463050b6d7305--ansible-2.6.5.tar.gz checksum
tar xf /Users/cyril/Library/Caches/Homebrew/downloads/ae2469bbd0b89c4259f5ab815999bf9d6efb7bb27e95d606b06463050b6d7305--ansible-2.6.5.tar.gz -C /private/tmp/d20181002-8877-5nvmqv
cp -pR /private/tmp/d20181002-8877-5nvmqv/ansible-2.6.5/. /private/tmp/ansible-20181002-8877-1qw382f/ansible-2.6.5
Error: An exception occured within a child process:
Errno::ENOENT: No such file or directory @ rb_file_s_stat - /private/tmp/d20181002-8877-5nvmqv/ansible-2.6.5/test/sanity/import/lib/ansible/module_utils/ansible_release.py Config: $ brew config
HOMEBREW_VERSION: 1.7.6-51-g38287e6
ORIGIN: https://github.com/Homebrew/brew
HEAD: 38287e6309c02272cec18fb1655145d3519f1b2f
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: dea5ae4afc7de808a0bba2d22c741e8ba4b76595
Core tap last commit: 17 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
CPU: octa-core 64-bit ivybridge
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 10.0 build 1000
Git: 2.19.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14-x86_64
CLT: 10.0.0.0.1.1535735448
Xcode: 10.0
XQuartz: 2.7.11 => /opt/X11 |
We're seeing the same issue on CI, both with bottles and with source:
|
Could someone who can reproduce this obtain a backtrace by adding |
Sure thing: brew install --debug ansible
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from 38287e630 to 52d04dc97.
Updated 2 taps (homebrew/core, homebrew/cask).
No changes to formulae.
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ansible.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libyaml.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/makedepend.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sphinx-doc.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/tcl-tk.rb
==> Downloading https://homebrew.bintray.com/bottles/ansible-2.6.5.mojave.bottle.tar.gz
Already downloaded: /Users/cyril/Library/Caches/Homebrew/downloads/3f64f0fed4119305894f412e1fe763d5632b57bbd4e2c77f45261dd973c3c542--ansible-2.6.5.mojave.bottle.tar.gz
==> Pouring ansible-2.6.5.mojave.bottle.tar.gz
tar xf /Users/cyril/Library/Caches/Homebrew/downloads/3f64f0fed4119305894f412e1fe763d5632b57bbd4e2c77f45261dd973c3c542--ansible-2.6.5.mojave.bottle.tar.gz -C /var/folders/3k/ys7m23x16jl7f0dr0gmxzjx80000gn/T/d20181002-14621-1u6futg
cp -pR /var/folders/3k/ys7m23x16jl7f0dr0gmxzjx80000gn/T/d20181002-14621-1u6futg/ansible/. /usr/local/Cellar/ansible
Changing install name in /usr/local/Cellar/ansible/2.6.5/libexec/lib/python2.7/site-packages/_yaml.so
from @@HOMEBREW_PREFIX@@/opt/libyaml/lib/libyaml-0.2.dylib
to /usr/local/opt/libyaml/lib/libyaml-0.2.dylib
Changing install name in /usr/local/Cellar/ansible/2.6.5/libexec/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so
from @@HOMEBREW_PREFIX@@/opt/openssl/lib/libssl.1.0.0.dylib
to /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Changing install name in /usr/local/Cellar/ansible/2.6.5/libexec/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so
from @@HOMEBREW_PREFIX@@/opt/openssl/lib/libcrypto.1.0.0.dylib
to /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
/usr/local/Homebrew/Library/Homebrew/postinstall.rb (Formulary::FromPathLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ansible.rb
🍺 /usr/local/Cellar/ansible/2.6.5: 12,183 files, 153.3MB |
The install seems to work now. |
@Ketouem that shows a working install, this is what I get too… we'd need a backtrace of a failing install |
It seems like this has been resolved between me creating the issue and now; how and why I cannot say. I guess this can be closed for now? |
@fxcoudert my bad, as @hellerve noted the installation seems to be working now. My current Homebrew version is |
This probably fixed it: #5019 |
Thank you for fixing this, @reitermarkus! |
@hellerve commented on Oct 2, 2018, 7:50 AM UTC:
brew install
(orupgrade
,reinstall
) a single, official formula (not cask)? If it's a generalbrew
problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new/choose. If it's abrew cask
problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew gist-logs <formula>
(where<formula>
is the name of the formula that failed) and included the output link?brew gist-logs
didn't work: ranbrew config
andbrew doctor
and included their output with your issue?I was trying to install Ansible 2.6.5 on macOS 10.13.6. I ran
brew install ansible
and got this output:I expected Ansible to be installed.
Output of various commands:
Update:
Doctor:
Gist Logs:
Cheers
This issue was moved by fxcoudert from Homebrew/homebrew-core#32622.
The text was updated successfully, but these errors were encountered: