CentOS / RHEL 7 64 bits

Logs

====== Attempt #1

-----> Fetching repository

Cloning into '/tmp/d20220728-6-1n82yhc/input'...

-----> Setting up package repository...

-----> Starting packaging process

-----> Additional environment variables

UUID=cb6ed385-dd5a-4bf0-853c-961d0e4b96a9

HOME=/home/pkgr

-----> Empty or invalid cache

-----> Fetching pkgr f8398b4d6d9e987f7ae6ff9391d69843dd81a6a3...

-----> Starting packaging process...

-----> Installing missing build dependencies: postgresql-devel

-----> Fetching buildpack https://github.com/pkgr/heroku-buildpack-ruby.git at v242-1

-----> Ruby app

which: no java in (/tmp/tmp.8zfLKP4RO4/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)

-----> Installing bundler 2.3.10

-----> Removing BUNDLED WITH version in the Gemfile.lock

-----> Compiling Ruby

-----> Using Ruby version: ruby-3.0.3

-----> Installing dependencies using bundler 2.3.10

Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4

Fetching gem metadata from https://rubygems.org/...

Using bundler 2.3.10

Fetching pg 1.4.2

Fetching slop 4.9.2

Fetching pg_query 1.3.0

Installing slop 4.9.2

Installing pg 1.4.2 with native extensions

Installing pg_query 1.3.0 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2/ext

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/bin/ruby -I

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0 -r

./siteconf20220728-407-neyw8h.rb extconf.rb

Calling libpq with GVL unlocked

checking for pg_config... yes

Using config values from /usr/bin/pg_config

Using libpq from /usr/lib64

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 PQconninfo() in libpq-fe.h... no

Your PostgreSQL is too old. Either install an older version of this gem or

upgrade your database to at least PostgreSQL-9.3.

*** 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=/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/bin/$(RUBY_BASE_NAME)

--with-pg

--without-pg

--enable-gvl-unlock

--disable-gvl-unlock

--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

--with-pq-dir

--without-pq-dir

--with-pq-include

--without-pq-include=${pq-dir}/include

--with-pq-lib

--without-pq-lib=${pq-dir}/lib

--with-pqlib

--without-pqlib

To see why this extension failed to compile, please check the mkmf.log which can

be found here:

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/extensions/x86_64-linux/3.0.0-static/pg-1.4.2/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2 for

inspection.

Results logged to

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/extensions/x86_64-linux/3.0.0-static/pg-1.4.2/gem_make.out

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:93:in

`run'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/ext_conf_builder.rb:47:in

`block in build'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/tempfile.rb:317:in

`open'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/ext_conf_builder.rb:26:in

`build'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:159:in

`build_extension'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:193:in

`block in build_extensions'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:190:in

`each'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:190:in

`build_extensions'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/installer.rb:845:in

`build_extensions'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/rubygems_gem_installer.rb:71:in

`build_extensions'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/rubygems_gem_installer.rb:28:in

`install'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/source/rubygems.rb:204:in

`install'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/installer/gem_installer.rb:54:in

`install'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/installer/gem_installer.rb:16:in

`install_from_spec'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/installer/parallel_installer.rb:186:in

`do_install'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/installer/parallel_installer.rb:177:in

`block in worker_pool'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/worker.rb:62:in

`apply_func'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/worker.rb:57:in

`block in process_queue'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/worker.rb:54:in

`loop'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/worker.rb:54:in

`process_queue'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/worker.rb:91:in

`block (2 levels) in create_threads'

An error occurred while installing pg (1.4.2), and Bundler cannot continue.

In Gemfile:

pgdexter was resolved to 0.3.10, which depends on

pg

Bundler Output: Fetching gem metadata from https://rubygems.org/...

Using bundler 2.3.10

Fetching pg 1.4.2

Fetching slop 4.9.2

Fetching pg_query 1.3.0

Installing slop 4.9.2

Installing pg 1.4.2 with native extensions

Installing pg_query 1.3.0 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2/ext

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/bin/ruby -I

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0 -r

./siteconf20220728-407-neyw8h.rb extconf.rb

Calling libpq with GVL unlocked

checking for pg_config... yes

Using config values from /usr/bin/pg_config

Using libpq from /usr/lib64

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 PQconninfo() in libpq-fe.h... no

Your PostgreSQL is too old. Either install an older version of this gem or

upgrade your database to at least PostgreSQL-9.3.

*** 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=/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/bin/$(RUBY_BASE_NAME)

--with-pg

--without-pg

--enable-gvl-unlock

--disable-gvl-unlock

--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

--with-pq-dir

--without-pq-dir

--with-pq-include

--without-pq-include=${pq-dir}/include

--with-pq-lib

--without-pq-lib=${pq-dir}/lib

--with-pqlib

--without-pqlib

To see why this extension failed to compile, please check the mkmf.log which can

be found here:

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/extensions/x86_64-linux/3.0.0-static/pg-1.4.2/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2 for

inspection.

Results logged to

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/extensions/x86_64-linux/3.0.0-static/pg-1.4.2/gem_make.out

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:93:in

`run'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/ext_conf_builder.rb:47:in

`block in build'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/tempfile.rb:317:in

`open'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/ext_conf_builder.rb:26:in

`build'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:159:in

`build_extension'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:193:in

`block in build_extensions'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:190:in

`each'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:190:in

`build_extensions'

/tmp/d20220728-34-royb71/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/installer.rb:845:in

`build_extensions'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/rubygems_gem_installer.rb:71:in

`build_extensions'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/rubygems_gem_installer.rb:28:in

`install'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/source/rubygems.rb:204:in

`install'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/installer/gem_installer.rb:54:in

`install'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/installer/gem_installer.rb:16:in

`install_from_spec'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/installer/parallel_installer.rb:186:in

`do_install'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/installer/parallel_installer.rb:177:in

`block in worker_pool'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/worker.rb:62:in

`apply_func'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/worker.rb:57:in

`block in process_queue'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/worker.rb:54:in

`loop'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/worker.rb:54:in

`process_queue'

/tmp/d20220728-34-royb71/opt/dexter/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/worker.rb:91:in

`block (2 levels) in create_threads'

An error occurred while installing pg (1.4.2), and Bundler cannot continue.

In Gemfile:

pgdexter was resolved to 0.3.10, which depends on

pg



!

! Failed to install gems via Bundler.

!

! ERROR: compile failed

Failed to package application

tar: This does not look like a tar archive

tar: Exiting with failure status due to previous errors

! FAILED - Build error.

! Please contact support.