alpine 3.17 nokogiri 1.19.3 build failed #2551

Open
opened 2026-05-01 07:31:36 +00:00 by fauno · 0 comments
Owner
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
fetch https://alpine.sutty.nl/alpine/v3.17/sutty/x86_64/APKINDEX.tar.gz
(1/8) Installing zlib-dev (1.2.13-r0)
(2/8) Installing xz-dev (5.2.9-r0)
(3/8) Installing libxml2-utils (2.10.4-r0)
(4/8) Installing libxml2-dev (2.10.4-r0)
(5/8) Installing libgpg-error (1.46-r1)
(6/8) Installing libgcrypt (1.10.1-r0)
(7/8) Installing libxslt (1.1.37-r1)
(8/8) Installing libxslt-dev (1.1.37-r1)
Executing busybox-1.35.0-r31.trigger
OK: 373 MiB in 100 packages
Successfully installed mini_portile2-2.8.9
1 gem installed
Downloaded nokogiri-1.19.3
ERROR:  While executing gem ... (Gem::RuntimeRequirementNotMetError)
    nokogiri-1.19.3 requires Ruby version >= 3.2. The current ruby version is 3.1.5.
	/usr/lib/ruby/gems/3.1.0/gems/gem-compiler-0.12.1/lib/rubygems/compiler.rb:144:in `ensure_ruby_version_met'
	/usr/lib/ruby/gems/3.1.0/gems/gem-compiler-0.12.1/lib/rubygems/compiler.rb:194:in `prepare_installer'
	/usr/lib/ruby/gems/3.1.0/gems/gem-compiler-0.12.1/lib/rubygems/compiler.rb:170:in `installer'
	/usr/lib/ruby/gems/3.1.0/gems/gem-compiler-0.12.1/lib/rubygems/compiler.rb:310:in `unpack'
	/usr/lib/ruby/gems/3.1.0/gems/gem-compiler-0.12.1/lib/rubygems/compiler.rb:37:in `compile'
	/usr/lib/ruby/gems/3.1.0/gems/gem-compiler-0.12.1/lib/rubygems/commands/compile_command.rb:108:in `execute'
	/usr/lib/ruby/3.1.0/rubygems/command.rb:323:in `invoke_with_build_args'
	/usr/lib/ruby/3.1.0/rubygems/command_manager.rb:185:in `process_args'
	/usr/lib/ruby/3.1.0/rubygems/command_manager.rb:149:in `run'
	/usr/lib/ruby/3.1.0/rubygems/gem_runner.rb:51:in `run'
	/usr/bin/gem:21:in `<main>'
Unpacking gem: 'nokogiri-1.19.3' in temporary directory...
WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.17/main: No such file or directory
WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.17/community: No such file or directory
WARNING: opening from cache https://alpine.sutty.nl/alpine/v3.17/sutty: No such file or directory
(1/8) Purging libxslt-dev (1.1.37-r1)
(2/8) Purging libxslt (1.1.37-r1)
(3/8) Purging libxml2-dev (2.10.4-r0)
(4/8) Purging xz-dev (5.2.9-r0)
(5/8) Purging libxml2-utils (2.10.4-r0)
(6/8) Purging zlib-dev (1.2.13-r0)
(7/8) Purging libgcrypt (1.10.1-r0)
(8/8) Purging libgpg-error (1.46-r1)
Executing busybox-1.35.0-r31.trigger
OK: 370 MiB in 92 packages
Successfully uninstalled mini_portile2-2.8.9
``` fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz fetch https://alpine.sutty.nl/alpine/v3.17/sutty/x86_64/APKINDEX.tar.gz (1/8) Installing zlib-dev (1.2.13-r0) (2/8) Installing xz-dev (5.2.9-r0) (3/8) Installing libxml2-utils (2.10.4-r0) (4/8) Installing libxml2-dev (2.10.4-r0) (5/8) Installing libgpg-error (1.46-r1) (6/8) Installing libgcrypt (1.10.1-r0) (7/8) Installing libxslt (1.1.37-r1) (8/8) Installing libxslt-dev (1.1.37-r1) Executing busybox-1.35.0-r31.trigger OK: 373 MiB in 100 packages Successfully installed mini_portile2-2.8.9 1 gem installed Downloaded nokogiri-1.19.3 ERROR: While executing gem ... (Gem::RuntimeRequirementNotMetError) nokogiri-1.19.3 requires Ruby version >= 3.2. The current ruby version is 3.1.5. /usr/lib/ruby/gems/3.1.0/gems/gem-compiler-0.12.1/lib/rubygems/compiler.rb:144:in `ensure_ruby_version_met' /usr/lib/ruby/gems/3.1.0/gems/gem-compiler-0.12.1/lib/rubygems/compiler.rb:194:in `prepare_installer' /usr/lib/ruby/gems/3.1.0/gems/gem-compiler-0.12.1/lib/rubygems/compiler.rb:170:in `installer' /usr/lib/ruby/gems/3.1.0/gems/gem-compiler-0.12.1/lib/rubygems/compiler.rb:310:in `unpack' /usr/lib/ruby/gems/3.1.0/gems/gem-compiler-0.12.1/lib/rubygems/compiler.rb:37:in `compile' /usr/lib/ruby/gems/3.1.0/gems/gem-compiler-0.12.1/lib/rubygems/commands/compile_command.rb:108:in `execute' /usr/lib/ruby/3.1.0/rubygems/command.rb:323:in `invoke_with_build_args' /usr/lib/ruby/3.1.0/rubygems/command_manager.rb:185:in `process_args' /usr/lib/ruby/3.1.0/rubygems/command_manager.rb:149:in `run' /usr/lib/ruby/3.1.0/rubygems/gem_runner.rb:51:in `run' /usr/bin/gem:21:in `<main>' Unpacking gem: 'nokogiri-1.19.3' in temporary directory... WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.17/main: No such file or directory WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.17/community: No such file or directory WARNING: opening from cache https://alpine.sutty.nl/alpine/v3.17/sutty: No such file or directory (1/8) Purging libxslt-dev (1.1.37-r1) (2/8) Purging libxslt (1.1.37-r1) (3/8) Purging libxml2-dev (2.10.4-r0) (4/8) Purging xz-dev (5.2.9-r0) (5/8) Purging libxml2-utils (2.10.4-r0) (6/8) Purging zlib-dev (1.2.13-r0) (7/8) Purging libgcrypt (1.10.1-r0) (8/8) Purging libgpg-error (1.46-r1) Executing busybox-1.35.0-r31.trigger OK: 370 MiB in 92 packages Successfully uninstalled mini_portile2-2.8.9 ```
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ruby/gems#2551
No description provided.