https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277290
Bug ID: 277290
Summary: textproc/rubygem-nokogiri: broken patch
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: [email protected]
Reporter: [email protected]
Assignee: [email protected]
Flags: maintainer-feedback?([email protected])
Created attachment 248725
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248725&action=edit
fix gemspec patch
mini_portile2 is not required as run time dependency see note in Makefile ->
# Do not add mini_portile2 to RUN_DEPENDS. Read ext/nokogiri/extconf.rb
# and https://lists.freebsd.org/pipermail/svn-ports-all/2019-March/209423.html
But that means we need to patch it away in nokogiri-1.16.2.gemspec
otherwise importing nokogiri fails ->
```
gollum --host 0.0.0.0 --port 80 /usr/local/www/system-wiki
/usr/local/lib/ruby/site_ruby/3.3/rubygems/specification.rb:1477:in `rescue in
block in activate_dependencies': Could not find 'mini_portile2' (~> 2.8.2)
among 50 total gem(s) (Gem::MissingSpecError)
Checked in
'GEM_PATH=/root/.local/share/gem/ruby/3.3:/usr/local/lib/ruby/gems/3.3' at:
/usr/local/lib/ruby/gems/3.3/specifications/nokogiri-1.16.2.gemspec, execute
`gem env` for more information
from
/usr/local/lib/ruby/site_ruby/3.3/rubygems/specification.rb:1474:in `block in
activate_dependencies'
from
/usr/local/lib/ruby/site_ruby/3.3/rubygems/specification.rb:1463:in `each'
from
/usr/local/lib/ruby/site_ruby/3.3/rubygems/specification.rb:1463:in
`activate_dependencies'
from
/usr/local/lib/ruby/site_ruby/3.3/rubygems/specification.rb:1445:in `activate'
from
/usr/local/lib/ruby/site_ruby/3.3/rubygems/specification.rb:1481:in `block in
activate_dependencies'
from
/usr/local/lib/ruby/site_ruby/3.3/rubygems/specification.rb:1463:in `each'
from
/usr/local/lib/ruby/site_ruby/3.3/rubygems/specification.rb:1463:in
`activate_dependencies'
```
Broken since this commit: 6a6152fcf8c80fa414fa3b992547ba133edc5049
I tested this fix on my lokal system.
--
You are receiving this mail because:
You are the assignee for the bug.