trunk build 1378

Revision r23450 (build 1378 started on 2025-01-20T08:41:08Z)


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 '2025-01-20T00:41:08.478 -0800'
U         app/models/version.rb
At revision 23450

[ruby-3.2] $ /bin/sh -xe /tmp/jenkins8333653337224709680.sh
+ rm -f config/database.yml
+ echo ActiveRecord::Tasks::DatabaseTasks::LOCAL_HOSTS << "192.168.1.70"
[ruby-3.2] $ /bin/sh -xe /tmp/jenkins2908627765079117760.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/jenkins5006325308804356423.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...
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      stringio (>= 0)
      Available/installed versions of this gem:
      - 3.1.2
      - 3.1.1
      - 3.1.0
      - 3.0.9
      - 3.0.4
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
Installing i18n 1.14.7 (was 1.14.6)
Installing nokogiri 1.18.2 (was 1.18.1) with native extensions
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/nokogiri-1.18.2/ext/nokogiri
/var/lib/jenkins/.rbenv/versions/3.2.2/bin/ruby extconf.rb
checking for whether -std=c99 is accepted as CFLAGS... yes
checking for whether -Wno-declaration-after-statement is accepted as CFLAGS...
yes
checking for whether -O2 is accepted as CFLAGS... yes
checking for whether -g is accepted as CFLAGS... yes
checking for whether -Winline is accepted as CFLAGS... yes
checking for whether -Wmissing-noreturn is accepted as CFLAGS... yes
checking for whether -Wconversion is accepted as CFLAGS... no
Building nokogiri using packaged libraries.
Static linking is enabled.
Cross build is disabled.
Using mini_portile version 2.8.8
checking for iconv... yes
---------- IMPORTANT NOTICE ----------
Building Nokogiri with a packaged version of libxml2-2.13.5.
Configuration options: --host\=i686-pc-linux --enable-static --disable-shared
--libdir\=/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/nokogiri-1.18.2/ports/i686-linux/libxml2/2.13.5/lib
--with-legacy --with-iconv\=yes --disable-dependency-tracking --without-python
--without-readline --with-c14n --with-debug --with-threads --disable-shared
--enable-static CPPFLAGS\= CFLAGS\=-O2\ -g\ -fPIC
The following patches are being applied:
  - 0001-Remove-script-macro-support.patch
  - 0002-Update-entities-to-remove-handling-of-ssi.patch
  - 0009-allow-wildcard-namespaces.patch
  - 0010-update-config.guess-and-config.sub-for-libxml2.patch
  - 0011-rip-out-libxml2-s-libc_single_threaded-support.patch
  - 0019-xpath-Use-separate-static-hash-table-for-standard-fu.patch

The Nokogiri maintainers intend to provide timely security updates, but if
this is a concern for you and want to use your OS/distro system library
instead, then abort this installation process and install nokogiri as
instructed at:

https://nokogiri.org/tutorials/installing_nokogiri.html#installing-using-standard-system-libraries

Note, however, that nokogiri cannot guarantee compatibility with every
version of libxml2 that may be provided by OS/package vendors.

Extracting libxml2-2.13.5.tar.xz into tmp/i686-pc-linux/ports/libxml2/2.13.5...
OK
Running git apply with
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/nokogiri-1.18.2/patches/libxml2/0001-Remove-script-macro-support.patch...
OK
Running git apply with
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/nokogiri-1.18.2/patches/libxml2/0002-Update-entities-to-remove-handling-of-ssi.patch...
OK
Running git apply with
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/nokogiri-1.18.2/patches/libxml2/0009-allow-wildcard-namespaces.patch...
OK
Running git apply with
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/nokogiri-1.18.2/patches/libxml2/0010-update-config.guess-and-config.sub-for-libxml2.patch...
OK
Running git apply with
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/nokogiri-1.18.2/patches/libxml2/0011-rip-out-libxml2-s-libc_single_threaded-support.patch...
OK
Running git apply with
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/nokogiri-1.18.2/patches/libxml2/0019-xpath-Use-separate-static-hash-table-for-standard-fu.patch...
OK
Running 'configure' for libxml2 2.13.5... OK
Running 'compile' for libxml2 2.13.5... ERROR. Please review logs to see what
happened:
*** 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)
	--help
	--clean
	--prevent-strip
	--enable-system-libraries
	--disable-system-libraries
	--use-system-libraries
	--enable-system-libraries
	--disable-system-libraries
	--use-system-libraries
	--enable-static
	--disable-static
	--enable-cross-build
	--disable-cross-build
	--enable-cross-build
	--disable-cross-build
	--enable-xml2-legacy
	--disable-xml2-legacy
	--with-zlib-dir
	--without-zlib-dir
	--with-zlib-include
	--without-zlib-include=${zlib-dir}/include
	--with-zlib-lib
	--without-zlib-lib=${zlib-dir}/lib
	--with-xml2-source-dir
	--enable-xml2-legacy
	--disable-xml2-legacy
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/mini_portile2-2.8.8/lib/mini_portile2/mini_portile.rb:627:in
`block in execute': Failed to complete compile task (RuntimeError)
from
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/mini_portile2-2.8.8/lib/mini_portile2/mini_portile.rb:593:in
`chdir'
from
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/mini_portile2-2.8.8/lib/mini_portile2/mini_portile.rb:593:in
`execute'
from
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/mini_portile2-2.8.8/lib/mini_portile2/mini_portile.rb:194:in
`compile'
from
/var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/mini_portile2-2.8.8/lib/mini_portile2/mini_portile.rb:237:in
`cook'
	from extconf.rb:558:in `block (2 levels) in process_recipe'
	from extconf.rb:337:in `chdir'
	from extconf.rb:337:in `chdir_for_build'
	from extconf.rb:558:in `block in process_recipe'
	from <internal:kernel>:90:in `tap'
	from extconf.rb:456:in `process_recipe'
	from extconf.rb:900:in `<main>'

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/nokogiri-1.18.2
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/nokogiri-1.18.2/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 nokogiri (1.18.2), and Bundler cannot
continue.

In Gemfile:
  rails was resolved to 7.2.2.1, which depends on
    actioncable was resolved to 7.2.2.1, which depends on
      actionpack was resolved to 7.2.2.1, which depends on
        actionview was resolved to 7.2.2.1, which depends on
          rails-dom-testing was resolved to 2.2.0, which depends on
            nokogiri
Build step 'Execute shell' marked build as failure
Finished: FAILURE