1:01:25 AM: Build started 1:01:25 AM: Fetching cached dependencies 1:01:25 AM: Starting to download cache of 8.8MB 1:01:25 AM: Preparing Git Reference pull/133/head 1:01:27 AM: Building site 1:01:27 AM: Running build command 1:01:28 AM: Downloading and installing node v6.9.4... 1:01:30 AM: Downloading https://nodejs.org/dist/v6.9.4/node-v6.9.4-linux-x64.tar.xz... 1:01:30 AM: 0.0% 1:01:30 AM: 1:01:30 AM: 1:01:30 AM: 1:01:30 AM: 1:01:30 AM: 1:01:30 AM: 1:01:30 AM: 1:01:30 AM: 1:01:30 AM: 1:01:30 AM: 1:01:30 AM: 1:01:30 AM: 1:01:30 AM: 1.1% 1:01:30 AM: ### 1:01:30 AM: 1:01:31 AM: 1:01:31 AM: 4.9% 1:01:31 AM: 1:01:31 AM: ############## 19.5% 1:01:31 AM: ###################### 1:01:31 AM: 31.0% 1:01:31 AM: ########################################## 1:01:31 AM: 59.1% 1:01:31 AM: ######################################################### 8 1:01:31 AM: 0.4% 1:01:31 AM: ######################################################################## 100.0% 1:01:31 AM: 1:01:31 AM: Computing checksum with sha256sum 1:01:31 AM: Checksums matched! 1:01:32 AM: Now using node v6.9.4 (npm v3.10.10) 1:01:32 AM: Using version v6.9.4 of node 1:01:32 AM: ruby-2.3.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.3.1@hspace 1:01:33 AM: ruby-2.3.1 - #generating hspace wrappers 1:01:33 AM: .......... 1:01:33 AM: Using /opt/buildhome/.rvm/gems/ruby-2.3.1 1:01:33 AM: Set ruby from .ruby-version 1:01:33 AM: Installing gem bundle 1:01:35 AM: Fetching gem metadata from https://rubygems.org/ 1:01:36 AM: . 1:01:36 AM: . 1:01:36 AM: . 1:01:36 AM: . 1:01:36 AM: . 1:01:36 AM: . 1:01:36 AM: . 1:01:36 AM: . 1:01:36 AM: . 1:01:36 AM: Fetching version metadata from https://rubygems.org/ 1:01:37 AM: . 1:01:37 AM: . 1:01:37 AM: 1:01:37 AM: Fetching dependency metadata from https://rubygems.org/. 1:01:37 AM: 1:01:37 AM: Installing rake 11.3.0 1:01:37 AM: Installing concurrent-ruby 1.0.2 1:01:37 AM: Installing i18n 0.7.0 1:01:37 AM: Installing minitest 5.9.0 1:01:37 AM: Installing thread_safe 0.3.5 1:01:37 AM: Installing builder 3.2.2 1:01:37 AM: Installing erubis 2.7.0 1:01:37 AM: Installing mini_portile2 2.1.0 1:01:37 AM: Installing pkg-config 1.1.7 1:01:37 AM: Installing rack 2.0.1 1:01:37 AM: Installing nio4r 1.2.1 with native extensions 1:01:40 AM: Installing websocket-extensions 0.1.2 1:01:40 AM: Installing mime-types-data 3.2016.0521 1:01:40 AM: Installing arel 7.1.2 1:01:40 AM: Installing execjs 2.7.0 1:01:40 AM: Installing bcrypt 3.1.11 with native extensions 1:01:42 AM: Installing sass 3.4.22 1:01:42 AM: Installing byebug 9.0.5 with native extensions 1:01:43 AM: Installing cancancan 1.15.0 1:01:43 AM: Installing coderay 1.1.1 1:01:43 AM: Installing coffee-script-source 1.10.0 1:01:43 AM: Installing method_source 0.8.2 1:01:43 AM: Installing thor 0.19.1 1:01:43 AM: Installing crass 1.0.2 1:01:43 AM: Installing daemons 1.2.4 1:01:44 AM: Installing debug_inspector 0.0.2 with native extensions 1:01:44 AM: Installing orm_adapter 0.5.0 1:01:44 AM: Installing devise-i18n 1.1.0 1:01:44 AM: Installing diff-lcs 1.2.5 1:01:44 AM: Installing eventmachine 1.2.0.1 with native extensions 1:01:58 AM: Installing ffaker 2.4.0 1:01:59 AM: Installing ffi 1.9.14 with native extensions 1:02:06 AM: Installing tilt 2.0.5 1:02:06 AM: Installing sexp_processor 4.7.0 1:02:06 AM: Installing multi_json 1.12.1 1:02:06 AM: Installing rb-fsevent 0.9.7 1:02:06 AM: Installing mimemagic 0.3.2 1:02:06 AM: Installing open4 1.3.4 1:02:06 AM: Installing pg 0.18.4 with native extensions 1:02:06 AM: Installing slop 3.6.0 1:02:06 AM: Installing puma 3.6.0 with native extensions 1:02:08 AM: Using bundler 1.13.6 1:02:08 AM: Installing redcarpet 3.3.4 with native extensions 1:02:11 AM: Installing rspec-support 3.5.0 1:02:12 AM: Installing spring 1.7.2 1:02:12 AM: Installing sqlite3 1.3.12 with native extensions 1:02:14 AM: Installing turbolinks-source 5.0.0 1:02:14 AM: Installing faker 1.6.6 1:02:14 AM: Installing tzinfo 1.2.2 1:02:14 AM: Installing nokogiri 1.6.8 with native extensions 1:03:04 AM: Installing rack-test 0.6.3 1:03:04 AM: Installing warden 1.2.6 1:03:04 AM: Installing sprockets 3.7.0 1:03:04 AM: Installing websocket-driver 0.6.4 with native extensions 1:03:04 AM: Installing mime-types 3.1 1:03:05 AM: Installing autoprefixer-rails 6.4.1 1:03:05 AM: Installing uglifier 3.0.2 1:03:05 AM: Installing coffee-script 2.4.1 1:03:05 AM: Installing thin 1.7.0 with native extensions 1:03:06 AM: Cleaning up docker container 1:03:06 AM: Installing rb-inotify 0.9.7 1:03:06 AM: Installing haml 4.0.7 1:03:06 AM: Installing ruby_parser 3.8.2 1:03:06 AM: Installing mina 0.3.8 1:03:07 AM: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /opt/build/cache/bundle/ruby/2.3.0/gems/pg-0.18.4/ext /opt/buildhome/.rvm/rubies/ruby-2.3.1/bin/ruby -r ./siteconf20170109-812-uyiiep.rb extconf.rb checking for pg_config... no No pg_config... trying anyway. If building fails, please try again with --with-pg-config=/path/to/pg_config checking for libpq-fe.h... no Can't find the 'libpq-fe.h header *** 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=/opt/buildhome/.rvm/rubies/ruby-2.3.1/bin/$(RUBY_BASE_NAME) --with-pg --without-pg --enable-windows-cross --disable-windows-cross --with-pg-config --without-pg-config --with-pg_config --without-pg_config --with-pg-dir --without-pg-dir --with-pg-include --without-pg-include=${pg-dir}/include --with-pg-lib --without-pg-lib=${pg-dir}/lib To see why this extension failed to compile, please check the mkmf.log which can be found here: /opt/build/cache/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/pg-0.18.4/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /opt/build/cache/bundle/ruby/2.3.0/gems/pg-0.18.4 for inspection. Results logged to /opt/build/cache/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/pg-0.18.4/gem_make.out An error occurred while installing pg (0.18.4), and Bundler cannot continue. Make sure that `gem install pg -v '0.18.4'` succeeds before bundling. 1:03:07 AM: Error during gem install 1:03:07 AM: Error running command: Build script returned non-zero exit code: 1 1:03:06 AM: Error running command: Build script returned non-zero exit code: 1 1:03:07 AM: Finished processing build request