[DRE-maint] Bug#804911: Incorrect chai dependency on chef package in jessie

Antonio Terceiro terceiro at debian.org
Fri Nov 13 17:37:55 UTC 2015


On Fri, Nov 13, 2015 at 08:39:56AM -0800, Noah Kantrowitz wrote:
> 
> > On Nov 13, 2015, at 3:20 AM, Antonio Terceiro <terceiro at debian.org> wrote:
> > 
> > Control: retitle -1 chef: ohai resource broken in Jessie
> > Control: tag -1 + patch pending
> > 
> > Hi, thanks for reporting this.
> > 
> > On Thu, Nov 12, 2015 at 11:51:10AM -0800, Noah Kantrowitz wrote:
> >> Package: chef
> >> Version: 11.12.8-2
> >> 
> >> Chef 11.12.8 clearly states that it depends on Ohai at least 7.0.4
> >> (https://github.com/chef/chef/blob/11.12.8/chef.gemspec#L20). As it
> >> stands, the jessie package depends on Ohai >= 6 and the packaged
> >> version is a 6.x. This results in the ohai resource being
> >> non-functional as it uses an API added in Ohai 7.0.0. Either Chef
> >> needs to be patched to not use this API (Ohai::System#all_packages
> >> with an argument) or the Ohai dependency needs to be corrected.
> > 
> > Would you please test the package from
> > https://people.debian.org/~terceiro/chef-jessie/ and let me know it
> > works for you?
> > 
> > I have applied the attached patch, and tested a basic usage of the ohai
> > resource which worked for me; if you confirm your use case is fixed I
> > will make a stable update with those changes.
> 
> I'm just the messenger here, you'll have to test your patches yourself. I help with
> Chef's IRC user support, and this was reported by an end-user that was confused
> at some community cookbooks not working.

I did test it (as I mentioned); I couldn't know that you were relaying
someone else's issues, since you didn't tell me that.

> You can try running the chai::default recipe as that was the one
> reported to be failing,

I have no idea what chai is, can you please provide a link? A search on
https://supermarket.chef.io/ didn't return anything useful.

> but I'll point out again that you are shipping the wrong version of
> Ohai.

I understood that at the first time you mentioned. Unfortunately that is
not something I can fix at this point for a stable release.

-- 
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20151113/8a495663/attachment.sig>


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