Summary: | devel/rubygem-inspec-core: Broken rubyzip dependency | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Krzysztof Galazka <krzysztof.galazka> |
Component: | Individual Port(s) | Assignee: | Matthias Fechner <mfechner> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | fbug, mfechner |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(ruby) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Krzysztof Galazka
2021-06-15 18:08:28 UTC
I wonder if there are only two people on planet who use chef-client and freebsd. It is using rubyzip 1.3: rubygem-rubyzip13>=1.2.2<2:archivers/rubygem-rubyzip13 \ Are you sure you use version 4.24.8_1? # pkg info | grep inspec rubygem-inspec-core-4.24.8_1 The problem is not with pkg (freebsd) dependencies. The error message comes from gem package management. It does not like (and it's right) that two different gem packages need different version of the same rubyzip. (In reply to Pavel Merdin from comment #3) Even changing "~> 1.2" to "> 1.2" in the gemspec file for rubygem-inspec-core helps. Which package you have installed and you execute to see this problem? (In reply to Matthias Fechner from comment #5) The package is rubygem-chef-bin The executable is chef-client A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2d502fe195ef964f57639f998854667323905ccc commit 2d502fe195ef964f57639f998854667323905ccc Author: Matthias Fechner <mfechner@FreeBSD.org> AuthorDate: 2021-08-08 13:21:28 +0000 Commit: Matthias Fechner <mfechner@FreeBSD.org> CommitDate: 2021-08-08 13:25:37 +0000 devel/rubygem-inspec-core: Update to 4.38.9 This commit adds a new port www/rubygem-faraday14 copied from www/rubygem-faraday and modified to match version 1.4. This fixes a runtime error for chef-client (includes also problems with rubygem-zip). PR: 256622 devel/rubygem-inspec-core/Makefile | 16 ++++++------- devel/rubygem-inspec-core/distinfo | 6 ++--- .../files/patch-inspec-core.gemspec (gone) | 20 ---------------- www/Makefile | 1 + www/rubygem-faraday14/Makefile (new) | 28 ++++++++++++++++++++++ www/rubygem-faraday14/distinfo (new) | 3 +++ www/rubygem-faraday14/pkg-descr (new) | 5 ++++ 7 files changed, 48 insertions(+), 31 deletions(-) Should be fixed now, thanks for the report and the help to reproduce it! (In reply to Matthias Fechner from comment #8) That was quick. Thank you. Will test it when the ports are updated. |