Date: Sun, 25 Feb 2024 09:34:34 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 277290] textproc/rubygem-nokogiri: broken patch Message-ID: <bug-277290-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277290 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: ruby@FreeBSD.org Reporter: sirl33tname@gmail.com Assignee: ruby@FreeBSD.org Flags: maintainer-feedback?(ruby@FreeBSD.org) Created attachment 248725 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248725&action= =3Dedit 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.h= tml 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=3D/root/.local/share/gem/ruby/3.3:/usr/local/lib/ruby/gems/3.3' a= t: /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 `activa= te' 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. --=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-7788>