Revision r24148 (build 1726 started on 2025-11-14T00:31:30Z)
originally caused by: Started by an SCM change Building in workspace /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.3 Updating http://svn.redmine.org/redmine/trunk at revision '2025-11-13T16:31:30.345 -0800' U Gemfile At revision 24148 [ruby-3.3] $ /bin/sh -xe /tmp/jenkins5728499301709080660.sh + rm -f config/database.yml + echo ActiveRecord::Tasks::DatabaseTasks::LOCAL_HOSTS << "192.168.1.70" [ruby-3.3] $ /bin/sh -xe /tmp/jenkins8654138803829319606.sh + PATH=/var/lib/jenkins/ruby/ruby-3.3/bin:/var/lib/jenkins/.rbenv/shims:/var/lib/jenkins/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games rake -f lib/tasks/ci.rake config/database.yml BRANCH=trunk CI_PG_HOST=192.168.1.70 CI_MYSQL_HOST=192.168.1.70 [ruby-3.3] $ /bin/sh -xe /tmp/jenkins8077151166802256938.sh + PATH=/var/lib/jenkins/ruby/ruby-3.3/bin:/var/lib/jenkins/.rbenv/shims:/var/lib/jenkins/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games bundle update Fetching gem metadata from https://rubygems.org/......... Resolving dependencies... Using erb 6.0.0 (was 5.1.3) Using net-http 0.8.0 (was 0.7.0) Using mail 2.9.0 (was 2.8.1) Installing pg 1.6.2 (was 1.5.9) with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/pg-1.6.2/ext /var/lib/jenkins/.rbenv/versions/3.3.6/bin/ruby extconf.rb Calling libpq with GVL unlocked checking for pg_config... yes Using config values from /usr/bin/pg_config Using libpq from /usr/lib/i386-linux-gnu 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 PQencryptPasswordConn() 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-10. *** 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=${opt-dir}/include --without-opt-include --with-opt-lib=${opt-dir}/lib --without-opt-lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/var/lib/jenkins/.rbenv/versions/3.3.6/bin/$(RUBY_BASE_NAME) --with-pg --without-pg --enable-gvl-unlock --disable-gvl-unlock --with-cross-build --without-cross-build --with-pg-config --without-pg-config --with-pg_config --without-pg_config --with-pg-dir --without-pg-dir --with-pg-include=${pg-dir}/include --without-pg-include --with-pg-lib=${pg-dir}/lib --without-pg-lib --with-pq-dir --without-pq-dir --with-pq-include=${pq-dir}/include --without-pq-include --with-pq-lib=${pq-dir}/lib --without-pq-lib --with-pqlib --without-pqlib To see why this extension failed to compile, please check the mkmf.log which can be found here: /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/extensions/x86-linux/3.3.0/pg-1.6.2/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/pg-1.6.2 for inspection. Results logged to /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/extensions/x86-linux/3.3.0/pg-1.6.2/gem_make.out /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:125:in `run' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/3.3.0/rubygems/ext/ext_conf_builder.rb:28:in `build' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:193:in `build_extension' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:227:in `block in build_extensions' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:224:in `each' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:224:in `build_extensions' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/3.3.0/rubygems/installer.rb:844:in `build_extensions' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.23/lib/bundler/rubygems_gem_installer.rb:111:in `build_extensions' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.23/lib/bundler/rubygems_gem_installer.rb:30:in `install' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.23/lib/bundler/source/rubygems.rb:205:in `install' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.23/lib/bundler/installer/gem_installer.rb:55:in `install' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.23/lib/bundler/installer/gem_installer.rb:17:in `install_from_spec' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.23/lib/bundler/installer/parallel_installer.rb:133:in `do_install' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.23/lib/bundler/installer/parallel_installer.rb:124:in `block in worker_pool' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.23/lib/bundler/worker.rb:62:in `apply_func' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.23/lib/bundler/worker.rb:57:in `block in process_queue' <internal:kernel>:187:in `loop' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.23/lib/bundler/worker.rb:54:in `process_queue' /var/lib/jenkins/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.23/lib/bundler/worker.rb:90:in `block (2 levels) in create_threads' An error occurred while installing pg (1.6.2), and Bundler cannot continue. In Gemfile: pg Build step 'Execute shell' marked build as failure Finished: FAILURE