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

Antonio Terceiro terceiro at debian.org
Fri Nov 13 11:20:20 UTC 2015


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.

-- 
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: support-ohai-6.diff
Type: text/x-diff
Size: 1146 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20151113/bf786f02/attachment.diff>
-------------- 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/bf786f02/attachment.sig>


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