trunk build 1904

Revision r24485 (build 1904 started on 2026-03-10T06:36:27Z)


originally caused by:
 Started by an SCM change
Building in workspace /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2
Updating http://svn.redmine.org/redmine/trunk at revision '2026-03-09T23:36:27.290 -0700'
U         app/controllers/admin_controller.rb
U         app/controllers/attachments_controller.rb
U         app/models/attachment.rb
AU        app/views/attachments/markdownized.html.erb
U         config/configuration.yml.example
U         config/locales/en.yml
U         config/locales/ja.yml
U         doc/INSTALL
AU        lib/redmine/markdownizer.rb
AU        test/fixtures/files/libreoffice-writer.odt
AU        test/fixtures/files/msword.docx
U         test/functional/attachments_controller_test.rb
U         test/unit/attachment_test.rb
At revision 24485

[ruby-3.2] $ /bin/sh -xe /tmp/jenkins2337698890609409222.sh
+ rm -f config/database.yml
+ echo ActiveRecord::Tasks::DatabaseTasks::LOCAL_HOSTS << "192.168.1.70"
[ruby-3.2] $ /bin/sh -xe /tmp/jenkins3881579838690773577.sh
+ PATH=/var/lib/jenkins/ruby/ruby-3.2/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.2] $ /bin/sh -xe /tmp/jenkins2180853343979330954.sh
+ PATH=/var/lib/jenkins/ruby/ruby-3.2/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...
Ignoring nokogiri-1.18.0 because its extensions are not built. Try: gem pristine nokogiri --version 1.18.0
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      stringio (>= 0)
      Available/installed versions of this gem:
      - 3.2.0
      - 3.1.9
      - 3.1.8
      - 3.1.7
      - 3.1.6
      - 3.1.5
      - 3.1.3
      - 3.1.2
      - 3.1.1
      - 3.1.0
      - 3.0.9
      - 3.0.4
      erb (>= 0)
      Available/installed versions of this gem:
      - 6.0.2
      - 6.0.1
      - 6.0.0
      - 5.1.3
      - 5.1.1
      - 5.1.0
      - 5.0.3
      - 5.0.2
      - 5.0.1
      - 4.0.2
      tsort (>= 0)
      Available/installed versions of this gem:
      - 0.2.0
      - 0.1.1
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
Using bigdecimal 4.0.1 (was 3.3.1)
Using concurrent-ruby 1.3.6 (was 1.3.5)
Using connection_pool 3.0.2 (was 2.5.4)
Using rack 3.2.5 (was 3.2.4)
Using prism 1.9.0 (was 1.6.0)
Using erb 6.0.2 (was 5.1.3)
Using date 3.5.1 (was 3.5.0)
Using io-console 0.8.2 (was 0.8.1)
Using stringio 3.2.0 (was 3.1.8)
Using thor 1.5.0 (was 1.4.0)
Using zeitwerk 2.7.5 (was 2.7.3)
Using public_suffix 7.0.5 (was 6.0.2)
Using bcrypt 3.1.21 (was 3.1.20)
Using rake-compiler-dock 1.11.0 (was 1.9.1)
Using ffi 1.17.3 (x86-linux-gnu) (was 1.17.2)
Using htmlentities 4.4.2 (was 4.3.4)
Using mime-types-data 3.2026.0303 (was 3.2025.0924)
Using rouge 4.7.0 (was 4.6.1)
Using rqrcode_core 2.1.0 (was 2.0.0)
Using unicode-emoji 4.2.0 (was 4.1.0)
Using rubyzip 3.2.2 (was 3.1.1)
Using yard 0.9.38 (was 0.9.37)
Using i18n 1.14.8 (was 1.14.7)
Using nokogiri 1.19.1 (was 1.18.10)
Using rackup 2.3.1 (was 2.2.1)
Using net-http 0.9.1 (was 0.7.0)
Using hashie 5.1.0 (was 5.0.0)
Using multi_xml 0.8.1 (was 0.7.2)
Using minitest 6.0.2 (was 5.26.1)
Using psych 5.3.1 (was 5.2.6)
Using addressable 2.8.9 (was 2.8.7)
Using bundler-audit 0.9.3 (was 0.9.2)
Using parser 3.3.10.2 (was 3.3.10.0)
Using puma 7.2.0 (was 7.1.0)
Using rb_sys 0.9.124 (was 0.9.117)
Using mocha 3.0.2 (was 2.8.0)
Using rqrcode 3.2.0 (was 3.1.0)
Using selenium-webdriver 4.41.0 (was 4.38.0)
Using loofah 2.25.0 (was 2.24.1)
Using rdoc 7.2.0 (was 6.15.1)
Using bundle-audit 0.2.0 (was 0.1.0)
Using rubocop-ast 1.49.0 (was 1.48.0)
Using commonmarker 2.6.3 (was 2.5.0)
Using listen 3.10.0 (was 3.9.0)
Using rails-html-sanitizer 1.7.0 (was 1.6.2)
Using irb 1.17.0 (was 1.15.3)
Using debug 1.11.1 (was 1.11.0)
Fetching json 2.19.1 (was 2.16.0)
Fetching timeout 0.6.1 (was 0.4.4)
Installing timeout 0.6.1 (was 0.4.4)
Installing json 2.19.1 (was 2.16.0) with native extensions
Using net-imap 0.6.3 (was 0.5.12)
Using mail 2.9.0 (was 2.8.1)
Installing pg 1.6.3 (was 1.5.9) with native extensions
Using activesupport 8.1.2 (was 8.0.4)
Using faraday 2.14.1 (was 2.14.0)
Using activemodel 8.1.2 (was 8.0.4)
Using actionview 8.1.2 (was 8.0.4)
Using activejob 8.1.2 (was 8.0.4)
Using activerecord 8.1.2 (was 8.0.4)
Using actionpack 8.1.2 (was 8.0.4)
Using railties 8.1.2 (was 8.0.4)
Using actioncable 8.1.2 (was 8.0.4)
Using activestorage 8.1.2 (was 8.0.4)
Using actionmailer 8.1.2 (was 8.0.4)
Using actionmailbox 8.1.2 (was 8.0.4)
Using importmap-rails 2.2.3 (was 2.2.2)
Using requestjs-rails 0.0.14 (was 0.0.13)
Using actiontext 8.1.2 (was 8.0.4)
Using rails 8.1.2 (was 8.0.4)
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/pg-1.6.3/ext
/var/lib/jenkins/.rbenv/versions/3.2.2/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
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/var/lib/jenkins/.rbenv/versions/3.2.2/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
	--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:

/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/extensions/x86-linux/3.2.0/pg-1.6.3/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/pg-1.6.3 for
inspection.
Results logged to
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/extensions/x86-linux/3.2.0/pg-1.6.3/gem_make.out

/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/ext/builder.rb:119:in
`run'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:27:in
`build'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/ext/builder.rb:187:in
`build_extension'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/ext/builder.rb:221:in
`block in build_extensions'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/ext/builder.rb:218:in
`each'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/ext/builder.rb:218:in
`build_extensions'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/installer.rb:843:in
`build_extensions'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/rubygems_gem_installer.rb:76:in
`build_extensions'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/rubygems_gem_installer.rb:28:in
`install'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/source/rubygems.rb:203:in
`install'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/installer/gem_installer.rb:54:in
`install'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/installer/parallel_installer.rb:130:in
`do_install'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/installer/parallel_installer.rb:121:in
`block in worker_pool'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/worker.rb:62:in
`apply_func'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/worker.rb:57:in
`block in process_queue'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/worker.rb:54:in
`loop'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/worker.rb:54:in
`process_queue'
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/worker.rb:90:in
`block (2 levels) in create_threads'

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

In Gemfile:
  pg
Build step 'Execute shell' marked build as failure
Finished: FAILURE