Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2024 06:58:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 277290] textproc/rubygem-nokogiri: broken patch
Message-ID:  <bug-277290-21402-GoYdQjV7zd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277290-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277290-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277290

Dirk Meyer <dinoex@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dinoex@FreeBSD.org

--- Comment #1 from Dirk Meyer <dinoex@FreeBSD.org> ---
Same here on FreeBSD-13 amd64, ruby 3.2

/usr/local/www/status/include/xmltohash.rb:
require 'nokogiri'

/usr/local/lib/ruby/site_ruby/3.2/rubygems/specification.rb:1480:in `rescue=
 in
block in activate_dep
endencies': Could not find 'mini_portile2' (~> 2.8.2) among 9 total gem(s)
(Gem::MissingSpecError)
Checked in
'GEM_PATH=3D/root/.local/share/gem/ruby/3.2:/usr/local/lib/ruby/gems/3.2' a=
t:
/usr/local/li
b/ruby/gems/3.2/specifications/nokogiri-1.16.2.gemspec, execute `gem env` f=
or
more information
        from
/usr/local/lib/ruby/site_ruby/3.2/rubygems/specification.rb:1477:in `block =
in
activate_
dependencies'
        from
/usr/local/lib/ruby/site_ruby/3.2/rubygems/specification.rb:1466:in `each'
        from
/usr/local/lib/ruby/site_ruby/3.2/rubygems/specification.rb:1466:in
`activate_dependenc
ies'
        from
/usr/local/lib/ruby/site_ruby/3.2/rubygems/specification.rb:1448:in `activa=
te'
        from /usr/local/lib/ruby/site_ruby/3.2/rubygems.rb:205:in `rescue in
try_activate'
        from /usr/local/lib/ruby/site_ruby/3.2/rubygems.rb:198:in
`try_activate'
        from
<internal:/usr/local/lib/ruby/site_ruby/3.2/rubygems/core_ext/kernel_requir=
e.rb>:139:in
 `block in require'
        from
<internal:/usr/local/lib/ruby/site_ruby/3.2/rubygems/core_ext/kernel_requir=
e.rb>:139:in
 `synchronize'
        from
<internal:/usr/local/lib/ruby/site_ruby/3.2/rubygems/core_ext/kernel_requir=
e.rb>:139:in
 `rescue in require'
        from
<internal:/usr/local/lib/ruby/site_ruby/3.2/rubygems/core_ext/kernel_requir=
e.rb>:135:in
 `require'
        from /usr/local/www/status/include/xmltohash.rb:4:in `<top (require=
d)>'



fix:
pkg install rubygem-mini_portile2


Might be related:
We have from ports: "libxslt-1.1.37_1" and "libxml2-2.11.7"
but /usr/local/lib/ruby/gems/3.2/gems/nokogiri-1.16.2/dependencies.yml list=
s:
libxml2:
  version: "2.12.5"
libxslt:
  version: "1.1.39"

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277290-21402-GoYdQjV7zd>