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

Noah Kantrowitz noah at coderanger.net
Fri Nov 13 19:14:16 UTC 2015


> On Nov 13, 2015, at 9:37 AM, Antonio Terceiro <terceiro at debian.org> wrote:
> 
> 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.

Sorry, I meant ohai. I thought I caught all the auto-correct but I missed that one (same with the original title) :-)

--Noah

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20151113/4184f450/attachment.sig>


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