Ubuntu Bionic 18.04 64bits

Logs

====== Attempt #1

-----> Fetching repository

Cloning into '/tmp/d20220728-6-13fxqq2/input'...

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

-----> Starting packaging process

-----> Additional environment variables

UUID=e9ed1611-79e7-4c43-b4a8-2e43b24395b7

HOME=/home/pkgr

-----> Empty or invalid cache

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

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

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

-----> Ruby app

-----> Installing bundler 1.17.3

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

-----> Compiling Ruby

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

-----> Installing dependencies using bundler 1.17.3

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

Fetching https://github.com/ankane/dexter.git

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

Using bundler 2.2.32

Fetching pg 1.2.3

Fetching pg_query 1.2.0

Fetching slop 4.8.2

Installing slop 4.8.2

Installing pg_query 1.2.0 with native extensions

Installing pg 1.2.3 with native extensions

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

current directory:

/tmp/d20220728-49-305q8i/opt/dexter/vendor/bundle/ruby/3.0.0/gems/pg_query-1.2.0/ext/pg_query

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/bin/ruby -I

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0 -r

./siteconf20220728-285-x5mjsf.rb extconf.rb

*** 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-49-305q8i/opt/dexter/vendor/ruby-3.0.3/bin/$(RUBY_BASE_NAME)

extconf.rb:15:in `initialize': No such file or directory @ rb_sysopen -

https://codeload.github.com/lfittl/libpg_query/tar.gz/10-1.0.1 (Errno::ENOENT)

from extconf.rb:15:in `open'

from extconf.rb:15:in `block in <main>'

from extconf.rb:14:in `open'

from extconf.rb:14:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in

/tmp/d20220728-49-305q8i/opt/dexter/vendor/bundle/ruby/3.0.0/gems/pg_query-1.2.0

for inspection.

Results logged to

/tmp/d20220728-49-305q8i/opt/dexter/vendor/bundle/ruby/3.0.0/extensions/x86_64-linux/3.0.0-static/pg_query-1.2.0/gem_make.out

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:93:in

`run'

/tmp/d20220728-49-305q8i/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-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/tempfile.rb:317:in

`open'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/ext_conf_builder.rb:26:in

`build'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:159:in

`build_extension'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:193:in

`block in build_extensions'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:190:in

`each'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:190:in

`build_extensions'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/installer.rb:845:in

`build_extensions'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/rubygems_gem_installer.rb:71:in

`build_extensions'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/rubygems_gem_installer.rb:28:in

`install'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/source/rubygems.rb:200:in

`install'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:54:in

`install'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:16:in

`install_from_spec'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:186:in

`do_install'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:177:in

`block in worker_pool'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/worker.rb:62:in

`apply_func'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/worker.rb:57:in

`block in process_queue'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/worker.rb:54:in

`loop'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/worker.rb:54:in

`process_queue'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/worker.rb:91:in

`block (2 levels) in create_threads'

An error occurred while installing pg_query (1.2.0), and Bundler cannot

continue.

In Gemfile:

pgdexter was resolved to 0.3.9, which depends on

pg_query

Bundler Output: Fetching https://github.com/ankane/dexter.git

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

Using bundler 2.2.32

Fetching pg 1.2.3

Fetching pg_query 1.2.0

Fetching slop 4.8.2

Installing slop 4.8.2

Installing pg_query 1.2.0 with native extensions

Installing pg 1.2.3 with native extensions

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

current directory:

/tmp/d20220728-49-305q8i/opt/dexter/vendor/bundle/ruby/3.0.0/gems/pg_query-1.2.0/ext/pg_query

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/bin/ruby -I

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0 -r

./siteconf20220728-285-x5mjsf.rb extconf.rb

*** 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-49-305q8i/opt/dexter/vendor/ruby-3.0.3/bin/$(RUBY_BASE_NAME)

extconf.rb:15:in `initialize': No such file or directory @ rb_sysopen -

https://codeload.github.com/lfittl/libpg_query/tar.gz/10-1.0.1 (Errno::ENOENT)

from extconf.rb:15:in `open'

from extconf.rb:15:in `block in <main>'

from extconf.rb:14:in `open'

from extconf.rb:14:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in

/tmp/d20220728-49-305q8i/opt/dexter/vendor/bundle/ruby/3.0.0/gems/pg_query-1.2.0

for inspection.

Results logged to

/tmp/d20220728-49-305q8i/opt/dexter/vendor/bundle/ruby/3.0.0/extensions/x86_64-linux/3.0.0-static/pg_query-1.2.0/gem_make.out

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:93:in

`run'

/tmp/d20220728-49-305q8i/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-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/tempfile.rb:317:in

`open'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/ext_conf_builder.rb:26:in

`build'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:159:in

`build_extension'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:193:in

`block in build_extensions'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:190:in

`each'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:190:in

`build_extensions'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/rubygems/installer.rb:845:in

`build_extensions'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/rubygems_gem_installer.rb:71:in

`build_extensions'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/rubygems_gem_installer.rb:28:in

`install'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/source/rubygems.rb:200:in

`install'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:54:in

`install'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:16:in

`install_from_spec'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:186:in

`do_install'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:177:in

`block in worker_pool'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/worker.rb:62:in

`apply_func'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/worker.rb:57:in

`block in process_queue'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/worker.rb:54:in

`loop'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/worker.rb:54:in

`process_queue'

/tmp/d20220728-49-305q8i/opt/dexter/vendor/ruby-3.0.3/lib/ruby/3.0.0/bundler/worker.rb:91:in

`block (2 levels) in create_threads'

An error occurred while installing pg_query (1.2.0), and Bundler cannot

continue.

In Gemfile:

pgdexter was resolved to 0.3.9, which depends on

pg_query



!

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