Skip to content
Failed

Console Output

Started by user Philipp Haußleiter
Building remotely on native (java6 planer) in workspace /home/jenkins/workspace/v_planer-v1
 > /usr/bin/git rev-parse --is-inside-work-tree
Fetching changes from 5 remote Git repositories
 > /usr/bin/git config remote.origin.url git://github.com/wvk/v_planer-v1.git
Fetching upstream changes from git://github.com/wvk/v_planer-v1.git
 > /usr/bin/git --version
 > /usr/bin/git fetch --tags --progress git://github.com/wvk/v_planer-v1.git +refs/heads/*:refs/remotes/origin/*
 > /usr/bin/git config remote.origin1.url https://github.com/consolving/v_planer_audition.git
Fetching upstream changes from https://github.com/consolving/v_planer_audition.git
 > /usr/bin/git fetch --tags --progress https://github.com/consolving/v_planer_audition.git +refs/heads/*:refs/remotes/origin1/*
 > /usr/bin/git config remote.origin2.url https://github.com/consolving/conforming.git
Fetching upstream changes from https://github.com/consolving/conforming.git
 > /usr/bin/git fetch --tags --progress https://github.com/consolving/conforming.git +refs/heads/*:refs/remotes/origin2/*
 > /usr/bin/git config remote.origin3.url https://github.com/consolving/v_planer_rental.git
Fetching upstream changes from https://github.com/consolving/v_planer_rental.git
 > /usr/bin/git fetch --tags --progress https://github.com/consolving/v_planer_rental.git +refs/heads/*:refs/remotes/origin3/*
 > /usr/bin/git config remote.origin4.url https://github.com/consolving/v_planer_admin.git
Fetching upstream changes from https://github.com/consolving/v_planer_admin.git
 > /usr/bin/git fetch --tags --progress https://github.com/consolving/v_planer_admin.git +refs/heads/*:refs/remotes/origin4/*
Seen branch in repository origin/master
Seen branch in repository origin/rails3
Seen branch in repository origin1/master
Seen branch in repository origin2/master
Seen branch in repository origin3/master
Seen branch in repository origin4/master
Seen 6 remote branches
Checking out Revision 97f3cea1376b236b69e7134cff5e85daa068fdf7 (origin4/master)
 > /usr/bin/git config core.sparsecheckout
 > /usr/bin/git checkout -f 97f3cea1376b236b69e7134cff5e85daa068fdf7
 > /usr/bin/git rev-list 97f3cea1376b236b69e7134cff5e85daa068fdf7
[v_planer-v1] $ /bin/bash -xe /tmp/hudson7662648359526869032.sh
+ export GEM_HOME=/home/jenkins/gems
+ GEM_HOME=/home/jenkins/gems
+ /home/jenkins/gems/bin/bundle install
Your Gemfile lists the gem mysql2 (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Fetching git://github.com/paneq/calendar_date_select.git
Fetching gem metadata from http://rubygems.org/.........
Fetching additional metadata from http://rubygems.org/..
Resolving dependencies...
Installing rake 10.1.0
Installing i18n 0.6.1
Installing multi_json 1.7.7
Installing activesupport 3.2.13
Installing builder 3.0.4
Installing activemodel 3.2.13
Installing erubis 2.7.0
Installing journey 1.0.4
Installing rack 1.4.5
Installing rack-cache 1.2
Installing rack-test 0.6.2
Installing hike 1.2.3
Installing tilt 1.4.1
Installing sprockets 2.2.2
Installing actionpack 3.2.13
Installing mime-types 1.23
Installing polyglot 0.3.3
Installing treetop 1.4.14
Installing mail 2.5.4
Installing actionmailer 3.2.13
Installing arel 3.0.2
Installing tzinfo 0.3.37
Installing activerecord 3.2.13
Installing activeresource 3.2.13
Using bundler 1.6.4
Using calendar_date_select 1.16.2 from git://github.com/paneq/calendar_date_select.git (at master)
Installing json 1.8.0

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb 
checking for rb_thread_blocking_region()... no
checking for rb_wait_for_single_fd()... no
checking for rb_hash_dup()... no
checking for rb_intern3()... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... no
*** 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
	--without-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=/usr/bin/ruby1.8
	--with-mysql-config
	--without-mysql-config
	--with-mysql-dir
	--without-mysql-dir
	--with-mysql-include
	--without-mysql-include=${mysql-dir}/include
	--with-mysql-lib
	--without-mysql-lib=${mysql-dir}/lib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-mlib
	--without-mlib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-zlib
	--without-zlib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-socketlib
	--without-socketlib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-nsllib
	--without-nsllib
	--with-mysqlclientlib
	--without-mysqlclientlib
	--with-mygcclib
	--without-mygcclib
	--with-mysqlclientlib
	--without-mysqlclientlib


Gem files will remain installed in /home/jenkins/gems/gems/mysql2-0.3.12 for inspection.
Results logged to /home/jenkins/.gem/ruby/1.8/gems/mysql2-0.3.12/ext/mysql2/gem_make.out
An error occurred while installing mysql2 (0.3.12), and Bundler cannot continue.
Make sure that `gem install mysql2 -v '0.3.12'` succeeds before bundling.
Build step 'Execute shell' marked build as failure
[TASKS] Skipping publisher since build result is FAILURE
Jabber notifier plugin: Sending notification to: wvk@cosima.consolving.de
Jabber notifier plugin: Sending notification to: philipp@cosima.consolving.de
Finished: FAILURE