build-gitpod-workspace-image job fails (2022-06)
Scheduled pipeline came to fail 4 days ago (2022-06-02T21:15:18.079Z): https://gitlab.com/gitlab-org/gitlab-development-kit/-/pipelines?source=schedule
Build
- First failure: 2022-06-02T21:15:18.079Z
- Last success: 2022-06-01T21:15:21.444Z
Source code
- Diff: 1f4adcac...6e13afa5
#10 1578.8 + gdk install shallow_clone=true
#10 1582.6 Cloning into 'gitlab'...
Updating files: 100% (52963/52963), done.
#10 2021.3 Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
#10 2021.3
#10 2021.3 current directory:
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/pg-1.2.3/ext
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/bin/ruby -I
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/site_ruby/2.7.0 -r
#10 2021.3 ./siteconf20220602-78972-12i51ug.rb extconf.rb
#10 2021.3 checking for pg_config... yes
#10 2021.3 Using config values from /home/gitpod/.asdf/shims/pg_config
#10 2021.3 No version is set for command pg_config
#10 2021.3 Consider adding one of the following versions in your config file at
#10 2021.3 /home/gitpod/.asdf/.tool-versions
#10 2021.3 postgres 12.10
#10 2021.3 postgres 13.6
#10 2021.3 No version is set for command pg_config
#10 2021.3 Consider adding one of the following versions in your config file at
#10 2021.3 /home/gitpod/.asdf/.tool-versions
#10 2021.3 postgres 12.10
#10 2021.3 postgres 13.6
#10 2021.3 checking for libpq-fe.h... no
#10 2021.3 Can't find the 'libpq-fe.h header
#10 2021.3 *** extconf.rb failed ***
#10 2021.3 Could not create Makefile due to some reason, probably lack of necessary
#10 2021.3 libraries and/or headers. Check the mkmf.log file for more details. You may
#10 2021.3 need configuration options.
#10 2021.3
#10 2021.3 Provided configuration options:
#10 2021.3 --with-opt-dir
#10 2021.3 --without-opt-dir
#10 2021.3 --with-opt-include
#10 2021.3 --without-opt-include=${opt-dir}/include
#10 2021.3 --with-opt-lib
#10 2021.3 --without-opt-lib=${opt-dir}/lib
#10 2021.3 --with-make-prog
#10 2021.3 --without-make-prog
#10 2021.3 --srcdir=.
#10 2021.3 --curdir
#10 2021.3 --ruby=/home/gitpod/.asdf/installs/ruby/2.7.5/bin/$(RUBY_BASE_NAME)
#10 2021.3 --with-pg
#10 2021.3 --without-pg
#10 2021.3 --enable-windows-cross
#10 2021.3 --disable-windows-cross
#10 2021.3 --with-pg-config
#10 2021.3 --without-pg-config
#10 2021.3 --with-pg_config
#10 2021.3 --without-pg_config
#10 2021.3 --with-pg-dir
#10 2021.3 --without-pg-dir
#10 2021.3 --with-pg-include
#10 2021.3 --without-pg-include=${pg-dir}/include
#10 2021.3 --with-pg-lib
#10 2021.3 --without-pg-lib=${pg-dir}/lib
#10 2021.3
#10 2021.3 To see why this extension failed to compile, please check the mkmf.log which can
#10 2021.3 be found here:
#10 2021.3
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/extensions/x86_64-linux/2.7.0/pg-1.2.3/mkmf.log
#10 2021.3
#10 2021.3 extconf failed, exit code 1
#10 2021.3
#10 2021.3 Gem files will remain installed in
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/pg-1.2.3 for
#10 2021.3 inspection.
#10 2021.3 Results logged to
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/extensions/x86_64-linux/2.7.0/pg-1.2.3/gem_make.out
#10 2021.3
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/site_ruby/2.7.0/rubygems/ext/builder.rb:95:in
#10 2021.3 `run'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/site_ruby/2.7.0/rubygems/ext/ext_conf_builder.rb:47:in
#10 2021.3 `block in build'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/2.7.0/tempfile.rb:291:in
#10 2021.3 `open'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/site_ruby/2.7.0/rubygems/ext/ext_conf_builder.rb:26:in
#10 2021.3 `build'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/site_ruby/2.7.0/rubygems/ext/builder.rb:164:in
#10 2021.3 `build_extension'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/site_ruby/2.7.0/rubygems/ext/builder.rb:198:in
#10 2021.3 `block in build_extensions'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/site_ruby/2.7.0/rubygems/ext/builder.rb:195:in
#10 2021.3 `each'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/site_ruby/2.7.0/rubygems/ext/builder.rb:195:in
#10 2021.3 `build_extensions'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/site_ruby/2.7.0/rubygems/installer.rb:851:in
#10 2021.3 `build_extensions'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.6/lib/bundler/rubygems_gem_installer.rb:71:in
#10 2021.3 `build_extensions'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.6/lib/bundler/rubygems_gem_installer.rb:28:in
#10 2021.3 `install'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.6/lib/bundler/source/rubygems.rb:204:in
#10 2021.3 `install'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.6/lib/bundler/installer/gem_installer.rb:54:in
#10 2021.3 `install'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.6/lib/bundler/installer/gem_installer.rb:16:in
#10 2021.3 `install_from_spec'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.6/lib/bundler/installer/parallel_installer.rb:186:in
#10 2021.3 `do_install'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.6/lib/bundler/installer/parallel_installer.rb:177:in
#10 2021.3 `block in worker_pool'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.6/lib/bundler/worker.rb:62:in
#10 2021.3 `apply_func'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.6/lib/bundler/worker.rb:57:in
#10 2021.3 `block in process_queue'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.6/lib/bundler/worker.rb:54:in
#10 2021.3 `loop'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.6/lib/bundler/worker.rb:54:in
#10 2021.3 `process_queue'
#10 2021.3 /home/gitpod/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.6/lib/bundler/worker.rb:91:in
#10 2021.3 `block (2 levels) in create_threads'
#10 2021.3
#10 2021.3 An error occurred while installing pg (1.2.3), and Bundler cannot continue.
#10 2021.3
#10 2021.3 In Gemfile:
#10 2021.3 activerecord-explain-analyze was resolved to 0.1.0, which depends on
#10 2021.3 pg
#10 2021.4 make: *** [support/makefiles/Makefile.gitlab.mk:74: .gitlab-bundle] Error 5
#10 2021.4 ERROR: Failed to install.
#10 ERROR: executor failed running [/bin/sh -c bash /bootstrap-gitpod-image.sh]: exit code: 1
------
> [stage-1 4/7] RUN bash /bootstrap-gitpod-image.sh:
------
executor failed running [/bin/sh -c bash /bootstrap-gitpod-image.sh]: exit code: 1
The push refers to repository [registry.gitlab.com/gitlab-org/gitlab-development-kit/gitpod-workspace]
An image does not exist locally with the tag: registry.gitlab.com/gitlab-org/gitlab-development-kit/gitpod-workspace
from https://gitlab.com/gitlab-org/gitlab-development-kit/-/jobs/2540974163
cf.
- Broken by !2559 (merged)
- #1326 (closed) (2021-10)
Edited by Takuya Noguchi