Skip to content
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

Can't get Rake task to work (either dependencies or installing Berkshelf) #244

Closed
mattburns opened this issue Oct 9, 2014 · 5 comments
Closed

Comments

@mattburns
Copy link

The Rakefile fails to complete and I can't figure out why. I've not used Chef before so apologies if this is probably a complete noob question. It appears to be a dependency problem. Here is the full output (except I've hidden my AWS keys etc.):

Command:

time  AWS_SSH_KEY_ID=matt-20120615  AWS_ACCESS_KEY_ID=XXX  AWS_SECRET_ACCESS_KEY=XXX SSH_KEY=/home/matt/Dropbox/ec2-keys/matt-20120615.pem  NAME=elasticsearch-test-chef-solo-with-rake  rake create

Output:

Creating EC2 instance elasticsearch-test-chef-solo-with-rake in us-east-1...
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Instance ID              i-6e1b5a80
Flavor                   t1.micro
Image                    ami-7539b41c
Region                   us-east-1
Availability Zone        us-east-1e
Security Groups          elasticsearch
SSH Key                  matt-20120615
Waiting for instance...
.............
Public DNS Name          ec2-54-80-236-133.compute-1.amazonaws.com
Public IP Address        54.80.236.133
Private DNS Name         ip-10-65-170-21.ec2.internal
Private IP Address       10.65.170.21
Tagging instance in EC2...
Name                     elasticsearch-test-chef-solo-with-rake
Waiting for SSH...
.
SSHd accepting connections on ec2-54-80-236-133.compute-1.amazonaws.com, banner is: SSH-2.0-OpenSSH_6.0p1 Debian-3ubuntu1


scp -o User=ubuntu -o IdentityFile=/home/matt/Dropbox/ec2-keys/matt-20120615.pem -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -r ./tmp/node.json ./tmp/cookbook-elasticsearch.tar.gz ec2-54-80-236-133.compute-1.amazonaws.com:/tmp
Warning: Permanently added 'ec2-54-80-236-133.compute-1.amazonaws.com,54.80.236.133' (ECDSA) to the list of known hosts.
node.json                                                                                                                                       100%  269     0.3KB/s   00:00    
cookbook-elasticsearch.tar.gz                                                                                                                   100%  457KB 457.3KB/s   00:00    
Warning: Permanently added 'ec2-54-80-236-133.compute-1.amazonaws.com,54.80.236.133' (ECDSA) to the list of known hosts.
Connection to ec2-54-80-236-133.compute-1.amazonaws.com closed.
Warning: Permanently added 'ec2-54-80-236-133.compute-1.amazonaws.com,54.80.236.133' (ECDSA) to the list of known hosts.
Ign http://us-east-1.ec2.archive.ubuntu.com quantal InRelease
Ign http://us-east-1.ec2.archive.ubuntu.com quantal-updates InRelease
Ign http://us-east-1.ec2.archive.ubuntu.com quantal Release.gpg
Ign http://us-east-1.ec2.archive.ubuntu.com quantal-updates Release.gpg
Ign http://us-east-1.ec2.archive.ubuntu.com quantal Release
Ign http://us-east-1.ec2.archive.ubuntu.com quantal-updates Release
Ign http://security.ubuntu.com quantal-security InRelease
Ign http://us-east-1.ec2.archive.ubuntu.com quantal/main amd64 Packages/DiffIndex
Ign http://us-east-1.ec2.archive.ubuntu.com quantal/universe amd64 Packages/DiffIndex
Ign http://security.ubuntu.com quantal-security Release.gpg
Ign http://us-east-1.ec2.archive.ubuntu.com quantal-updates/main amd64 Packages/DiffIndex
Ign http://security.ubuntu.com quantal-security Release
Ign http://us-east-1.ec2.archive.ubuntu.com quantal-updates/universe amd64 Packages/DiffIndex
Ign http://security.ubuntu.com quantal-security/main amd64 Packages/DiffIndex
Ign http://security.ubuntu.com quantal-security/universe amd64 Packages/DiffIndex
Err http://us-east-1.ec2.archive.ubuntu.com quantal/main Sources
  404  Not Found [IP: 91.189.91.14 80]
Err http://us-east-1.ec2.archive.ubuntu.com quantal/universe Sources
  404  Not Found [IP: 91.189.91.14 80]
Ign http://us-east-1.ec2.archive.ubuntu.com quantal/main Translation-en_US
Ign http://us-east-1.ec2.archive.ubuntu.com quantal/main Translation-en
Ign http://us-east-1.ec2.archive.ubuntu.com quantal/universe Translation-en_US
Ign http://us-east-1.ec2.archive.ubuntu.com quantal/universe Translation-en
Err http://us-east-1.ec2.archive.ubuntu.com quantal-updates/main Sources
  404  Not Found [IP: 91.189.91.14 80]
Err http://us-east-1.ec2.archive.ubuntu.com quantal-updates/universe Sources
  404  Not Found [IP: 91.189.91.14 80]
Ign http://us-east-1.ec2.archive.ubuntu.com quantal-updates/main Translation-en_US
Ign http://us-east-1.ec2.archive.ubuntu.com quantal-updates/main Translation-en
Ign http://us-east-1.ec2.archive.ubuntu.com quantal-updates/universe Translation-en_US
Ign http://us-east-1.ec2.archive.ubuntu.com quantal-updates/universe Translation-en
Err http://us-east-1.ec2.archive.ubuntu.com quantal/main amd64 Packages
  404  Not Found [IP: 91.189.91.14 80]
Err http://us-east-1.ec2.archive.ubuntu.com quantal/universe amd64 Packages
  404  Not Found [IP: 91.189.91.14 80]
Err http://us-east-1.ec2.archive.ubuntu.com quantal-updates/main amd64 Packages
  404  Not Found [IP: 91.189.91.14 80]
Err http://us-east-1.ec2.archive.ubuntu.com quantal-updates/universe amd64 Packages
  404  Not Found [IP: 91.189.91.14 80]
Err http://security.ubuntu.com quantal-security/main Sources
  404  Not Found [IP: 91.189.88.153 80]
Err http://security.ubuntu.com quantal-security/universe Sources
  404  Not Found [IP: 91.189.88.153 80]
Ign http://security.ubuntu.com quantal-security/main Translation-en_US
Ign http://security.ubuntu.com quantal-security/main Translation-en
Ign http://security.ubuntu.com quantal-security/universe Translation-en_US
Ign http://security.ubuntu.com quantal-security/universe Translation-en
Err http://security.ubuntu.com quantal-security/main amd64 Packages
  404  Not Found [IP: 91.189.88.153 80]
Err http://security.ubuntu.com quantal-security/universe amd64 Packages
  404  Not Found [IP: 91.189.88.153 80]
W: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/quantal/main/source/Sources  404  Not Found [IP: 91.189.91.14 80]

W: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/quantal/universe/source/Sources  404  Not Found [IP: 91.189.91.14 80]

W: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/quantal-updates/main/source/Sources  404  Not Found [IP: 91.189.91.14 80]

W: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/quantal-updates/universe/source/Sources  404  Not Found [IP: 91.189.91.14 80]

W: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/quantal/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.14 80]

W: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/quantal/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.14 80]

W: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/quantal-updates/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.14 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/main/source/Sources  404  Not Found [IP: 91.189.88.153 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/universe/source/Sources  404  Not Found [IP: 91.189.88.153 80]

W: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/quantal-updates/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.14 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/main/binary-amd64/Packages  404  Not Found [IP: 91.189.88.153 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.88.153 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  binutils cpp cpp-4.7 dpkg-dev fakeroot g++ g++-4.7 gcc gcc-4.7 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-dev-bin libc6-dev libdpkg-perl
  libfile-fcntllock-perl libgomp1 libitm1 libmpc2 libmpfr4 libquadmath0 libstdc++6-4.7-dev linux-libc-dev make manpages-dev
Suggested packages:
  binutils-doc cpp-doc gcc-4.7-locales debian-keyring g++-multilib g++-4.7-multilib gcc-4.7-doc libstdc++6-4.7-dbg gcc-multilib autoconf automake1.9 libtool flex bison gdb
  gcc-doc gcc-4.7-multilib libmudflap0-4.7-dev libgcc1-dbg libgomp1-dbg libitm1-dbg libquadmath0-dbg libmudflap0-dbg binutils-gold glibc-doc libstdc++6-4.7-doc make-doc
The following NEW packages will be installed:
  binutils build-essential cpp cpp-4.7 dpkg-dev fakeroot g++ g++-4.7 gcc gcc-4.7 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-dev-bin libc6-dev
  libdpkg-perl libfile-fcntllock-perl libgomp1 libitm1 libmpc2 libmpfr4 libquadmath0 libstdc++6-4.7-dev linux-libc-dev make manpages-dev
0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
Need to get 33.2 MB of archives.
After this operation, 89.8 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libgomp1 libitm1 libmpfr4 libquadmath0 libmpc2 binutils libc-dev-bin linux-libc-dev libc6-dev cpp-4.7 cpp gcc-4.7 gcc libstdc++6-4.7-dev g++-4.7 g++ make libdpkg-perl
  dpkg-dev build-essential fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libfile-fcntllock-perl manpages-dev
E: There are problems and -y was used without --force-yes
Reading package lists... Done
Building dependency tree       
Reading state information... Done
curl is already the newest version.
screen is already the newest version.
vim is already the newest version.
Suggested packages:
  git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn git-email git-gui gitk gitweb
The following NEW packages will be installed:
  git git-core git-man liberror-perl
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,825 kB of archives.
After this operation, 15.3 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  liberror-perl git-man git git-core
E: There are problems and -y was used without --force-yes
######################################################################## 100.0%
Downloading Chef  for ubuntu...
downloading http://www.opscode.com/chef/metadata?v=&prerelease=false&nightlies=false&p=ubuntu&pv=12.10&m=x86_64
  to file /tmp/install.sh.1271/metadata.txt
trying wget...
url http://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_11.16.4-1_amd64.deb
md5 2ffff5b4d80e4dcffc917f8eb2003a31
sha256  28b08975e7e33ac46c888616ec7fa232a0c624aeeda81e58a6047d2c6b62edfb
downloaded metadata file looks valid...
downloading http://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_11.16.4-1_amd64.deb
  to file /tmp/install.sh.1271/chef_11.16.4-1_amd64.deb
trying wget...
Comparing checksum with sha256sum...
Installing Chef 
installing with dpkg...
Selecting previously unselected package chef.
(Reading database ... 50668 files and directories currently installed.)
Unpacking chef (from .../chef_11.16.4-1_amd64.deb) ...
Setting up chef (11.16.4-1) ...
Thank you for installing Chef!
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libxslt1-dev' instead of 'libxslt-dev'
The following extra packages will be installed:
  binutils cpp cpp-4.7 gcc gcc-4.7 libc-dev-bin libc6-dev libgomp1 libitm1 libmpc2 libmpfr4 libquadmath0 libssl-doc libxml2 libxslt1.1 linux-libc-dev manpages-dev sgml-base
  xml-core zlib1g-dev
Suggested packages:
  binutils-doc cpp-doc gcc-4.7-locales gcc-multilib make autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.7-multilib libmudflap0-4.7-dev gcc-4.7-doc libgcc1-dbg
  libgomp1-dbg libitm1-dbg libquadmath0-dbg libmudflap0-dbg binutils-gold glibc-doc sgml-base-doc debhelper
The following NEW packages will be installed:
  binutils cpp cpp-4.7 gcc gcc-4.7 libc-dev-bin libc6-dev libgomp1 libitm1 libmpc2 libmpfr4 libquadmath0 libssl-dev libssl-doc libxml2 libxml2-dev libxslt1-dev libxslt1.1
  libyaml-dev linux-libc-dev manpages-dev sgml-base xml-core zlib1g-dev
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 27.5 MB of archives.
After this operation, 74.5 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libgomp1 libitm1 libmpfr4 libquadmath0 libxml2 libxslt1.1 libmpc2 binutils cpp-4.7 cpp gcc-4.7 gcc libc-dev-bin linux-libc-dev libc6-dev zlib1g-dev libssl-dev libssl-doc
  libxml2-dev libxslt1-dev manpages-dev sgml-base xml-core libyaml-dev
E: There are problems and -y was used without --force-yes
Fetching: hitimes-1.2.2.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing berkshelf:
    ERROR: Failed to build gem native extension.

        /opt/chef/embedded/bin/ruby extconf.rb
checking for clock_gettime() in -lrt... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
    --with-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/opt/chef/embedded/bin/ruby
    --with-rtlib
    --without-rtlib
/opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0'
    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:476:in `try_link'
    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:619:in `try_func'
    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:845:in `block in have_library'
    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:840:in `have_library'
    from extconf.rb:10:in `<main>'


Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/hitimes-1.2.2 for inspection.
Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/hitimes-1.2.2/ext/hitimes/c/gem_make.out
sudo: /opt/chef/embedded/bin/berks: command not found
Connection to ec2-54-80-236-133.compute-1.amazonaws.com closed.

real    1m59.336s
user    0m5.123s
sys 0m0.128s
@mattburns
Copy link
Author

Actually, it looks like I can get a bit further by updating the AMI to point at Ubuntu Trusty: ami-8caa1ce4. However, the script now just stalls while install Berkshelf...

Command
time AWS_SSH_KEY_ID=matt-20120615 AWS_ACCESS_KEY_ID=XXX AWS_SECRET_ACCESS_KEY=XXX SSH_KEY=/home/matt/Dropbox/ec2-keys/matt-20120615.pem NAME=elasticsearch-test-chef-solo-with-rake rake create

Output

Creating EC2 instance elasticsearch-test-chef-solo-with-rake in us-east-1...
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Instance ID              i-aa6a2b44
Flavor                   t1.micro
Image                    ami-8caa1ce4
Region                   us-east-1
Availability Zone        us-east-1e
Security Groups          elasticsearch
SSH Key                  matt-20120615
Waiting for instance...
....
Public DNS Name          ec2-54-163-67-140.compute-1.amazonaws.com
Public IP Address        54.163.67.140
Private DNS Name         ip-10-182-206-51.ec2.internal
Private IP Address       10.182.206.51
Tagging instance in EC2...
Name                     elasticsearch-test-chef-solo-with-rake
Waiting for SSH...
.
SSHd accepting connections on ec2-54-163-67-140.compute-1.amazonaws.com, banner is: SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2


scp -o User=ubuntu -o IdentityFile=/home/matt/Dropbox/ec2-keys/matt-20120615.pem -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -r ./tmp/node.json ./tmp/cookbook-elasticsearch.tar.gz ec2-54-163-67-140.compute-1.amazonaws.com:/tmp
Warning: Permanently added 'ec2-54-163-67-140.compute-1.amazonaws.com,54.163.67.140' (ECDSA) to the list of known hosts.
node.json                                                                                                                                       100%  269     0.3KB/s   00:00    
cookbook-elasticsearch.tar.gz                                                                                                                   100%  460KB 459.8KB/s   00:00    
Warning: Permanently added 'ec2-54-163-67-140.compute-1.amazonaws.com,54.163.67.140' (ECDSA) to the list of known hosts.
Connection to ec2-54-163-67-140.compute-1.amazonaws.com closed.
Warning: Permanently added 'ec2-54-163-67-140.compute-1.amazonaws.com,54.163.67.140' (ECDSA) to the list of known hosts.
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://us-east-1.ec2.archive.ubuntu.com trusty InRelease
Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Ign http://us-east-1.ec2.archive.ubuntu.com trusty-updates InRelease
Hit http://us-east-1.ec2.archive.ubuntu.com trusty Release.gpg
Get:2 http://security.ubuntu.com trusty-security Release [59.7 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://us-east-1.ec2.archive.ubuntu.com trusty Release      
Get:4 http://us-east-1.ec2.archive.ubuntu.com trusty-updates Release [59.7 kB] 
Get:5 http://security.ubuntu.com trusty-security/main Sources [46.7 kB]
Get:6 http://security.ubuntu.com trusty-security/universe Sources [10.8 kB]    
Get:7 http://us-east-1.ec2.archive.ubuntu.com trusty/main Sources [1,064 kB]
Get:8 http://security.ubuntu.com trusty-security/main amd64 Packages [148 kB]
Get:9 http://security.ubuntu.com trusty-security/universe amd64 Packages [49.0 kB]
Get:10 http://security.ubuntu.com trusty-security/main Translation-en [71.9 kB]
Get:11 http://security.ubuntu.com trusty-security/universe Translation-en [28.7 kB]
Get:12 http://us-east-1.ec2.archive.ubuntu.com trusty/universe Sources [6,399 kB]
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/main amd64 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/main Translation-en
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/universe Translation-en
Get:13 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main Sources [126 kB]
Get:14 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe Sources [86.7 kB]
Get:15 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages [339 kB]
Get:16 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages [210 kB]
Get:17 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en [151 kB]
Get:18 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en [106 kB]
Ign http://us-east-1.ec2.archive.ubuntu.com trusty/main Translation-en_US      
Ign http://us-east-1.ec2.archive.ubuntu.com trusty/universe Translation-en_US
Fetched 8,959 kB in 9s (985 kB/s)                                              
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  binutils cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc gcc-4.8
  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  libasan0 libatomic1 libc-dev-bin libc6-dev libcloog-isl4 libdpkg-perl
  libfakeroot libfile-fcntllock-perl libgcc-4.8-dev libgmp10 libgomp1 libisl10
  libitm1 libmpc3 libmpfr4 libquadmath0 libstdc++-4.8-dev libtsan0
  linux-libc-dev make manpages-dev
Suggested packages:
  binutils-doc cpp-doc gcc-4.8-locales debian-keyring g++-multilib
  g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib autoconf
  automake1.9 libtool flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg
  libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg
  libbacktrace1-dbg libquadmath0-dbg binutils-gold glibc-doc libstdc++-4.8-doc
  make-doc
The following NEW packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
  libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
  libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0
  libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev
0 upgraded, 34 newly installed, 0 to remove and 30 not upgraded.
Need to get 28.4 MB of archives.
After this operation, 105 MB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libasan0 amd64 4.8.2-19ubuntu1 [63.0 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libatomic1 amd64 4.8.2-19ubuntu1 [8,626 B]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libgmp10 amd64 2:5.1.3+dfsg-1ubuntu1 [218 kB]
Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libisl10 amd64 0.12.2-1 [419 kB]
Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libcloog-isl4 amd64 0.18.2-1 [57.5 kB]
Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libgomp1 amd64 4.8.2-19ubuntu1 [23.2 kB]
Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libitm1 amd64 4.8.2-19ubuntu1 [28.5 kB]
Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libmpfr4 amd64 3.1.2-1 [203 kB]
Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libquadmath0 amd64 4.8.2-19ubuntu1 [126 kB]
Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libtsan0 amd64 4.8.2-19ubuntu1 [94.7 kB]
Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libmpc3 amd64 1.0.1-1ubuntu1 [38.4 kB]
Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main binutils amd64 2.24-5ubuntu3 [2,071 kB]
Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libc-dev-bin amd64 2.19-0ubuntu6.3 [69.1 kB]
Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-libc-dev amd64 3.13.0-37.64 [801 kB]
Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libc6-dev amd64 2.19-0ubuntu6.3 [1,910 kB]
Get:16 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main cpp-4.8 amd64 4.8.2-19ubuntu1 [4,439 kB]
Get:17 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main cpp amd64 4:4.8.2-1ubuntu6 [27.5 kB]
Get:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libgcc-4.8-dev amd64 4.8.2-19ubuntu1 [1,688 kB]
Get:19 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main gcc-4.8 amd64 4.8.2-19ubuntu1 [5,012 kB]
Get:20 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main gcc amd64 4:4.8.2-1ubuntu6 [5,098 B]
Get:21 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libstdc++-4.8-dev amd64 4.8.2-19ubuntu1 [1,050 kB]
Get:22 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main g++-4.8 amd64 4.8.2-19ubuntu1 [7,038 kB]
Get:23 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1,490 B]
Get:24 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]
Get:25 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.3 [179 kB]
Get:26 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.3 [726 kB]
Get:27 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4,838 B]
Get:28 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libfakeroot amd64 1.20-3ubuntu2 [25.4 kB]
Get:29 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main fakeroot amd64 1.20-3ubuntu2 [55.0 kB]
Get:30 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
Get:31 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl amd64 0.04-2build4 [12.6 kB]
Get:32 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
Get:33 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libfile-fcntllock-perl amd64 0.14-2build1 [15.9 kB]
Get:34 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main manpages-dev all 3.54-1ubuntu1 [1,820 kB]
Fetched 28.4 MB in 24s (1,184 kB/s)                                            
Extracting templates from packages: 100%
Selecting previously unselected package libasan0:amd64.
(Reading database ... 51091 files and directories currently installed.)
Preparing to unpack .../libasan0_4.8.2-19ubuntu1_amd64.deb ...
Unpacking libasan0:amd64 (4.8.2-19ubuntu1) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_4.8.2-19ubuntu1_amd64.deb ...
Unpacking libatomic1:amd64 (4.8.2-19ubuntu1) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a5.1.3+dfsg-1ubuntu1_amd64.deb ...
Unpacking libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Selecting previously unselected package libisl10:amd64.
Preparing to unpack .../libisl10_0.12.2-1_amd64.deb ...
Unpacking libisl10:amd64 (0.12.2-1) ...
Selecting previously unselected package libcloog-isl4:amd64.
Preparing to unpack .../libcloog-isl4_0.18.2-1_amd64.deb ...
Unpacking libcloog-isl4:amd64 (0.18.2-1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_4.8.2-19ubuntu1_amd64.deb ...
Unpacking libgomp1:amd64 (4.8.2-19ubuntu1) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_4.8.2-19ubuntu1_amd64.deb ...
Unpacking libitm1:amd64 (4.8.2-19ubuntu1) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../libmpfr4_3.1.2-1_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.2-1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_4.8.2-19ubuntu1_amd64.deb ...
Unpacking libquadmath0:amd64 (4.8.2-19ubuntu1) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_4.8.2-19ubuntu1_amd64.deb ...
Unpacking libtsan0:amd64 (4.8.2-19ubuntu1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.1-1ubuntu1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.1-1ubuntu1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.24-5ubuntu3_amd64.deb ...
Unpacking binutils (2.24-5ubuntu3) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.19-0ubuntu6.3_amd64.deb ...
Unpacking libc-dev-bin (2.19-0ubuntu6.3) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_3.13.0-37.64_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.13.0-37.64) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.19-0ubuntu6.3_amd64.deb ...
Unpacking libc6-dev:amd64 (2.19-0ubuntu6.3) ...
Selecting previously unselected package cpp-4.8.
Preparing to unpack .../cpp-4.8_4.8.2-19ubuntu1_amd64.deb ...
Unpacking cpp-4.8 (4.8.2-19ubuntu1) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking cpp (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libgcc-4.8-dev:amd64.
Preparing to unpack .../libgcc-4.8-dev_4.8.2-19ubuntu1_amd64.deb ...
Unpacking libgcc-4.8-dev:amd64 (4.8.2-19ubuntu1) ...
Selecting previously unselected package gcc-4.8.
Preparing to unpack .../gcc-4.8_4.8.2-19ubuntu1_amd64.deb ...
Unpacking gcc-4.8 (4.8.2-19ubuntu1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking gcc (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libstdc++-4.8-dev:amd64.
Preparing to unpack .../libstdc++-4.8-dev_4.8.2-19ubuntu1_amd64.deb ...
Unpacking libstdc++-4.8-dev:amd64 (4.8.2-19ubuntu1) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.2-19ubuntu1_amd64.deb ...
Unpacking g++-4.8 (4.8.2-19ubuntu1) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package make.
Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
Unpacking make (3.81-8.2ubuntu3) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.3_all.deb ...
Unpacking libdpkg-perl (1.17.5ubuntu5.3) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.3_all.deb ...
Unpacking dpkg-dev (1.17.5ubuntu5.3) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
Unpacking build-essential (11.6ubuntu6) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20-3ubuntu2) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking fakeroot (1.20-3ubuntu2) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.14-2build1_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.14-2build1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-dev_3.54-1ubuntu1_all.deb ...
Unpacking manpages-dev (3.54-1ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up libasan0:amd64 (4.8.2-19ubuntu1) ...
Setting up libatomic1:amd64 (4.8.2-19ubuntu1) ...
Setting up libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Setting up libisl10:amd64 (0.12.2-1) ...
Setting up libcloog-isl4:amd64 (0.18.2-1) ...
Setting up libgomp1:amd64 (4.8.2-19ubuntu1) ...
Setting up libitm1:amd64 (4.8.2-19ubuntu1) ...
Setting up libmpfr4:amd64 (3.1.2-1) ...
Setting up libquadmath0:amd64 (4.8.2-19ubuntu1) ...
Setting up libtsan0:amd64 (4.8.2-19ubuntu1) ...
Setting up libmpc3:amd64 (1.0.1-1ubuntu1) ...
Setting up binutils (2.24-5ubuntu3) ...
Setting up libc-dev-bin (2.19-0ubuntu6.3) ...
Setting up linux-libc-dev:amd64 (3.13.0-37.64) ...
Setting up libc6-dev:amd64 (2.19-0ubuntu6.3) ...
Setting up cpp-4.8 (4.8.2-19ubuntu1) ...
Setting up cpp (4:4.8.2-1ubuntu6) ...
Setting up libgcc-4.8-dev:amd64 (4.8.2-19ubuntu1) ...
Setting up gcc-4.8 (4.8.2-19ubuntu1) ...
Setting up gcc (4:4.8.2-1ubuntu6) ...
Setting up libstdc++-4.8-dev:amd64 (4.8.2-19ubuntu1) ...
Setting up g++-4.8 (4.8.2-19ubuntu1) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up make (3.81-8.2ubuntu3) ...
Setting up libdpkg-perl (1.17.5ubuntu5.3) ...
Setting up dpkg-dev (1.17.5ubuntu5.3) ...
Setting up build-essential (11.6ubuntu6) ...
Setting up libfakeroot:amd64 (1.20-3ubuntu2) ...
Setting up fakeroot (1.20-3ubuntu2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.14-2build1) ...
Setting up manpages-dev (3.54-1ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
screen is already the newest version.
vim is already the newest version.
curl is already the newest version.
Suggested packages:
  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-arch git-bzr git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  git git-core git-man liberror-perl
0 upgraded, 4 newly installed, 0 to remove and 30 not upgraded.
Need to get 3,276 kB of archives.
After this operation, 21.6 MB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main git-man all 1:1.9.1-1 [698 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main git amd64 1:1.9.1-1 [2,555 kB]
Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main git-core all 1:1.9.1-1 [1,452 B]
Fetched 3,276 kB in 0s (4,148 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 55927 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1_all.deb ...
Unpacking git-man (1:1.9.1-1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1_amd64.deb ...
Unpacking git (1:1.9.1-1) ...
Selecting previously unselected package git-core.
Preparing to unpack .../git-core_1%3a1.9.1-1_all.deb ...
Unpacking git-core (1:1.9.1-1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1) ...
Setting up git (1:1.9.1-1) ...
Setting up git-core (1:1.9.1-1) ...
######################################################################## 100.0%
Downloading Chef  for ubuntu...
downloading http://www.opscode.com/chef/metadata?v=&prerelease=false&nightlies=false&p=ubuntu&pv=14.04&m=x86_64
  to file /tmp/install.sh.8948/metadata.txt
trying wget...
url http://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/13.04/x86_64/chef_11.16.4-1_amd64.deb
md5 a9965ce5811ddd75af1b587e40cca934
sha256  0b98b310afc2c0b066648e550e7b59a5e39faf60dc4fd9b4792035d0553c27c3
downloaded metadata file looks valid...
downloading http://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/13.04/x86_64/chef_11.16.4-1_amd64.deb
  to file /tmp/install.sh.8948/chef_11.16.4-1_amd64.deb
trying wget...
Comparing checksum with sha256sum...
Installing Chef 
installing with dpkg...
Selecting previously unselected package chef.
(Reading database ... 56676 files and directories currently installed.)
Preparing to unpack .../chef_11.16.4-1_amd64.deb ...
Unpacking chef (11.16.4-1) ...
Setting up chef (11.16.4-1) ...
Thank you for installing Chef!
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libxslt1-dev' instead of 'libxslt-dev'
The following extra packages will be installed:
  libssl-doc libxslt1.1 zlib1g-dev
Suggested packages:
  pkg-config
The following NEW packages will be installed:
  libssl-dev libssl-doc libxml2-dev libxslt1-dev libxslt1.1 libyaml-dev
  zlib1g-dev
0 upgraded, 7 newly installed, 0 to remove and 30 not upgraded.
Need to get 3,454 kB of archives.
After this operation, 14.4 MB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libxslt1.1 amd64 1.1.28-2build1 [145 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main zlib1g-dev amd64 1:1.2.8.dfsg-1ubuntu1 [183 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libssl-dev amd64 1.0.1f-1ubuntu2.5 [1,067 kB]
Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libssl-doc all 1.0.1f-1ubuntu2.5 [966 kB]
Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libxml2-dev amd64 2.9.1+dfsg1-3ubuntu4.3 [630 kB]
Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libxslt1-dev amd64 1.1.28-2build1 [407 kB]
Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libyaml-dev amd64 0.1.4-3ubuntu3 [56.0 kB]
Fetched 3,454 kB in 1s (3,241 kB/s)
Selecting previously unselected package libxslt1.1:amd64.
(Reading database ... 68748 files and directories currently installed.)
Preparing to unpack .../libxslt1.1_1.1.28-2build1_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.28-2build1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-1ubuntu1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../libssl-dev_1.0.1f-1ubuntu2.5_amd64.deb ...
Unpacking libssl-dev:amd64 (1.0.1f-1ubuntu2.5) ...
Selecting previously unselected package libssl-doc.
Preparing to unpack .../libssl-doc_1.0.1f-1ubuntu2.5_all.deb ...
Unpacking libssl-doc (1.0.1f-1ubuntu2.5) ...
Selecting previously unselected package libxml2-dev:amd64.
Preparing to unpack .../libxml2-dev_2.9.1+dfsg1-3ubuntu4.3_amd64.deb ...
Unpacking libxml2-dev:amd64 (2.9.1+dfsg1-3ubuntu4.3) ...
Selecting previously unselected package libxslt1-dev:amd64.
Preparing to unpack .../libxslt1-dev_1.1.28-2build1_amd64.deb ...
Unpacking libxslt1-dev:amd64 (1.1.28-2build1) ...
Selecting previously unselected package libyaml-dev:amd64.
Preparing to unpack .../libyaml-dev_0.1.4-3ubuntu3_amd64.deb ...
Unpacking libyaml-dev:amd64 (0.1.4-3ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up libxslt1.1:amd64 (1.1.28-2build1) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1) ...
Setting up libssl-dev:amd64 (1.0.1f-1ubuntu2.5) ...
Setting up libssl-doc (1.0.1f-1ubuntu2.5) ...
Setting up libxml2-dev:amd64 (2.9.1+dfsg1-3ubuntu4.3) ...
Setting up libxslt1-dev:amd64 (1.1.28-2build1) ...
Setting up libyaml-dev:amd64 (0.1.4-3ubuntu3) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
Fetching: hitimes-1.2.2.gem (100%)
Building native extensions.  This could take a while...
Fetching: timers-4.0.1.gem (100%)
Fetching: celluloid-0.14.1.gem (100%)
Fetching: yajl-ruby-1.2.1.gem (100%)
Building native extensions.  This could take a while...
Fetching: mixlib-config-1.1.2.gem (100%)
Fetching: multipart-post-2.0.0.gem (100%)
Fetching: faraday-0.9.0.gem (100%)
Fetching: addressable-2.3.6.gem (100%)
Fetching: chozo-0.6.1.gem (100%)
Fetching: net-http-persistent-2.9.4.gem (100%)
Fetching: retryable-1.3.6.gem (100%)
Fetching: semverse-1.2.1.gem (100%)
Fetching: dep-selector-libgecode-1.0.2.gem (100%)
Building native extensions.  This could take a while...

It just sits there doing nothing. Any ideas?

@mattburns
Copy link
Author

Upping the version to 2.0.14 (as on the main README page) just hits a dependency error with ridley (like this: berkshelf/berkshelf#1235)

sudo /opt/chef/embedded/bin/gem install berkshelf --version 2.0.14 --no-rdoc --no-ri

@mattburns
Copy link
Author

I tried tried Berkshelf version 3.1.5 but it also stalls:

sudo /opt/chef/embedded/bin/gem install berkshelf --version 3.1.5 --no-rdoc --no-ri

Fetching: faraday-0.9.0.gem (100%)
Fetching: berkshelf-api-client-1.2.0.gem (100%)
Fetching: buff-extensions-1.0.0.gem (100%)
Fetching: varia_model-0.4.0.gem (100%)
Fetching: buff-config-1.0.1.gem (100%)
Fetching: buff-ruby_engine-0.1.0.gem (100%)
Fetching: buff-shell_out-0.2.0.gem (100%)
Fetching: minitar-0.5.4.gem (100%)
Fetching: buff-ignore-1.1.1.gem (100%)
Fetching: celluloid-0.16.0.pre3.gem (100%)
Fetching: nio4r-1.0.1.gem (100%)
Building native extensions.  This could take a while...
Fetching: celluloid-io-0.16.0.pre2.gem (100%)
Fetching: ridley-4.0.0.gem (100%)
Building native extensions.  This could take a while...

...hangs here

@karmi
Copy link
Contributor

karmi commented Oct 10, 2014

@mattburns This looks like you don't have the development tools on the machine -- do you include the build_essential cookbook? See eg. here https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/Vagrantfile#L41

@martinb3
Copy link
Contributor

martinb3 commented Jul 7, 2015

Hello! We've re-written the cookbook using libraries that expose resources and providers, so you shouldn't see this problem on the newer version; it should be much easier to test now. Hope this helps!

@martinb3 martinb3 closed this as completed Jul 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants