[DRE-maint] Bug#1146758: ruby-nokogiri: wrong path to extension on x32

Nicholas Guriev nicholas at guriev.su
Sat Sep 5 13:53:33 BST 2026


Package: ruby-nokogiri
Version: 1.19.4+dfsg-1
Severity: important
Tags: ftbfs
Control: affects -1 src:cppgir

Dear Maintainer,

I had been investigating a build failure in my package on the x32 port and came
to the conclusion that it was caused by a nonfunctional nokogiri gem. It does
not work on x32 because of a broken path to the native extension nokogiri.so.

It is placed at:
/usr/lib/x86_64-linux-gnux32/rubygems-integration/3.3.0/extensions/x86_64-linux/3.3.0/nokogiri-1.19.4/nokogiri/nokogiri.so

instead of:
/usr/lib/x86_64-linux-gnux32/rubygems-integration/3.3.0/extensions/x86_64-linux-gnux32/3.3.0/nokogiri-1.19.4/nokogiri/nokogiri.so

The second triplet after the extensions directory is shortened for a
reason, and RubyGems cannot find the library. Unfortunately, I did not
understand how this bug appeared, but rebuilding your package may help.


$ nokogiri --help
/usr/lib/ruby/vendor_ruby/rubygems.rb:265:in `find_spec_for_exe': can't find gem nokogiri (>= 0.a) with executable nokogiri (Gem::GemNotFoundException)
        from /usr/lib/ruby/vendor_ruby/rubygems.rb:239:in `find_and_activate_spec_for_exe'
        from /usr/lib/ruby/vendor_ruby/rubygems.rb:320:in `activate_bin_path'
        from /usr/bin/nokogiri:25:in `<main>'



-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: x32 (x86_64)

Kernel: Linux 5.10.0-46-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages ruby-nokogiri depends on:
ii  libc6               2.43-4
ii  libruby             1:3.3+b1
ii  libruby3.3          3.3.8-2.2
ii  libxml2-16          2.15.3+dfsg-1+b1
ii  libxslt1.1          1.1.45-0.1
ii  racc                1.8.1-2
ii  ruby                1:3.3+b1
ii  ruby-mini-portile2  2.8.9-2
ii  ruby-pkg-config     1.6.5-1
ii  zlib1g              1:1.3.dfsg+really1.3.2-3

ruby-nokogiri recommends no packages.

ruby-nokogiri suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20260905/dd2a5ad2/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list