Skip to content

Instantly share code, notes, and snippets.

@jdx
Created September 10, 2012 22:58
Show Gist options
  • Save jdx/3694581 to your computer and use it in GitHub Desktop.
Save jdx/3694581 to your computer and use it in GitHub Desktop.
dickeyxxx@dickey-mbp ~/proj/tapjoymarketplace 1.9.3-p194 (mystique ✘)✹✚
✗✗✗ vagrant up
[default] Importing base box 'lucid32'...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.
Guest Additions Version: 4.1.16
VirtualBox Version: 4.1.18
[default] Matching MAC address for NAT networking...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] -- 5000 => 5000 (adapter 1)
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- v-csc-1: /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[default] Running provisioner: Vagrant::Provisioners::Shell...
stdin: is not a tty
Hit http://us.archive.ubuntu.com lucid Release.gpg
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
Get:1 http://us.archive.ubuntu.com lucid-updates Release.gpg [198B]
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com lucid Release
Get:2 http://security.ubuntu.com lucid-security Release.gpg [198B]
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
Get:3 http://us.archive.ubuntu.com lucid-updates Release [58.3kB]
Get:4 http://security.ubuntu.com lucid-security Release [57.3kB]
Hit http://us.archive.ubuntu.com lucid/main Packages
Hit http://us.archive.ubuntu.com lucid/restricted Packages
Hit http://us.archive.ubuntu.com lucid/main Sources
Hit http://us.archive.ubuntu.com lucid/restricted Sources
Hit http://us.archive.ubuntu.com lucid/universe Packages
Hit http://us.archive.ubuntu.com lucid/universe Sources
Hit http://us.archive.ubuntu.com lucid/multiverse Packages
Hit http://us.archive.ubuntu.com lucid/multiverse Sources
Get:5 http://us.archive.ubuntu.com lucid-updates/main Packages [638kB]
Get:6 http://security.ubuntu.com lucid-security/main Packages [441kB]
Get:7 http://us.archive.ubuntu.com lucid-updates/restricted Packages [4,630B]
Get:8 http://us.archive.ubuntu.com lucid-updates/main Sources [228kB]
Get:9 http://us.archive.ubuntu.com lucid-updates/restricted Sources [2,196B]
Get:10 http://us.archive.ubuntu.com lucid-updates/universe Packages [277kB]
Get:11 http://us.archive.ubuntu.com lucid-updates/universe Sources [103kB]
Get:12 http://us.archive.ubuntu.com lucid-updates/multiverse Packages [11.5kB]
Get:13 http://us.archive.ubuntu.com lucid-updates/multiverse Sources [5,821B]
Get:14 http://security.ubuntu.com lucid-security/restricted Packages [2,867B]
Get:15 http://security.ubuntu.com lucid-security/main Sources [129kB]
Get:16 http://security.ubuntu.com lucid-security/restricted Sources [1,267B]
Get:17 http://security.ubuntu.com lucid-security/universe Packages [135kB]
Get:18 http://security.ubuntu.com lucid-security/universe Sources [42.0kB]
Get:19 http://security.ubuntu.com lucid-security/multiverse Packages [5,353B]
Get:20 http://security.ubuntu.com lucid-security/multiverse Sources [2,321B]
Fetched 2,145kB in 4s (507kB/s)
Reading package lists...
[default] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default] Generating chef JSON and uploading...
[default] Running chef-solo...
stdin: is not a tty
[Tue, 11 Sep 2012 00:51:10 +0200] INFO: *** Chef 0.10.10 ***
[Tue, 11 Sep 2012 00:51:11 +0200] INFO: Setting the run_list to ["recipe[apt]", "recipe[build-essential]", "recipe[rvm::vagrant]", "recipe[rvm::user]", "recipe[git]", "recipe[memcached]", "recipe[mysql]", "recipe[mysql::server]", "recipe[postgresql]", "recipe[postgresql::server]", "recipe[vim]"] from JSON
[Tue, 11 Sep 2012 00:51:11 +0200] INFO: Run List is [recipe[apt], recipe[build-essential], recipe[rvm::vagrant], recipe[rvm::user], recipe[git], recipe[memcached], recipe[mysql], recipe[mysql::server], recipe[postgresql], recipe[postgresql::server], recipe[vim]]
[Tue, 11 Sep 2012 00:51:11 +0200] INFO: Run List expands to [apt, build-essential, rvm::vagrant, rvm::user, git, memcached, mysql, mysql::server, postgresql, postgresql::server, vim]
[Tue, 11 Sep 2012 00:51:11 +0200] INFO: Starting Chef Run for lucid32
[Tue, 11 Sep 2012 00:51:11 +0200] INFO: Running start handlers
[Tue, 11 Sep 2012 00:51:11 +0200] INFO: Start handlers complete.
[Tue, 11 Sep 2012 00:51:11 +0200] WARN: Missing gem 'right_aws'
[Tue, 11 Sep 2012 00:51:11 +0200] INFO: Processing gem_package[rvm] action install (rvm::default line 21)
[Tue, 11 Sep 2012 00:51:13 +0200] INFO: gem_package[rvm] installed version 1.11.3.5
[Tue, 11 Sep 2012 00:51:13 +0200] INFO: Could not find previously defined grants.sql resource
[Tue, 11 Sep 2012 00:51:13 +0200] INFO: Processing package[postgresql-client] action install (postgresql::client line 37)
[Tue, 11 Sep 2012 00:51:17 +0200] INFO: package[postgresql-client] installed version 8.4.13-0ubuntu10.04
[Tue, 11 Sep 2012 00:51:17 +0200] INFO: Processing package[libpq-dev] action install (postgresql::client line 37)
[Tue, 11 Sep 2012 00:51:22 +0200] INFO: package[libpq-dev] installed version 8.4.13-0ubuntu10.04
[Tue, 11 Sep 2012 00:51:22 +0200] INFO: Processing package[ruby-dev] action install (postgresql::client line 37)
[Tue, 11 Sep 2012 00:51:26 +0200] INFO: package[ruby-dev] installed version 4.2
[Tue, 11 Sep 2012 00:51:26 +0200] INFO: Processing gem_package[pg] action install (postgresql::client line 42)
[Tue, 11 Sep 2012 00:51:28 +0200] ERROR: gem_package[pg] (postgresql::client line 42) has had an error
[Tue, 11 Sep 2012 00:51:28 +0200] ERROR: Running exception handlers
[Tue, 11 Sep 2012 00:51:28 +0200] ERROR: Exception handlers complete
[Tue, 11 Sep 2012 00:51:28 +0200] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[Tue, 11 Sep 2012 00:51:28 +0200] FATAL: Gem::Installer::ExtensionBuildError: gem_package[pg] (postgresql::client line 42) had an error: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/opt/vagrant_ruby/bin/ruby extconf.rb
checking for pg_config... yes
Using config values from /usr/bin/pg_config
checking for libpq-fe.h... yes
checking for libpq/libpq-fs.h... yes
checking for pg_config_manual.h... yes
checking for PQconnectdb() in -lpq... yes
checking for PQconnectionUsedPassword()... yes
checking for PQisthreadsafe()... yes
checking for PQprepare()... yes
checking for PQexecParams()... yes
checking for PQescapeString()... yes
checking for PQescapeStringConn()... yes
checking for PQescapeLiteral()... no
checking for PQescapeIdentifier()... no
checking for PQgetCancel()... yes
checking for lo_create()... yes
checking for pg_encoding_to_char()... yes
checking for pg_char_to_encoding()... yes
checking for PQsetClientEncoding()... yes
checking for PQlibVersion()... no
checking for PQping()... no
checking for rb_encdb_alias()... no
checking for rb_enc_alias()... no
checking for PGRES_COPY_BOTH in libpq-fe.h... no
checking for PGRES_SINGLE_TUPLE in libpq-fe.h... no
checking for struct pgNotify.extra in libpq-fe.h... yes
checking for unistd.h... yes
checking for ruby/st.h... no
checking for st.h... yes
creating extconf.h
creating Makefile
make
sh: make: not found
Gem files will remain installed in /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/pg-0.14.1 for inspection.
Results logged to /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/pg-0.14.1/ext/gem_make.out
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
dickeyxxx@dickey-mbp ~/proj/tapjoymarketplace 1.9.3-p194 (mystique ✘)✹✚
✗✗✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment