Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build-essential recipe not included in execution when git:source is included in a wrapper cookbook #101

Open
Sauraus opened this issue Apr 28, 2016 · 3 comments

Comments

@Sauraus
Copy link
Contributor

Sauraus commented Apr 28, 2016

Cookbook version

4.4.1

Chef-client version

12.9.38 & 12.6.0

Platform Details

CentOS 6.7

Scenario:

Wrapper cookbook that include git::source

Steps to Reproduce:

Create a wrapper cookbook that has more than 1 cookbook dependent on 'build-essential'

Expected Result:

Compilation fails because 'cc' cannot be found.

Actual Result:

https://gist.github.com/Sauraus/d7f97bc674b472aa9abb058bcfc12e45#file-git-source-compilation-error-L77

Take note in the above log, the entire call to 'build-essential' as defined here: https://github.com/chef-cookbooks/git/blob/master/libraries/provider_git_client_source.rb#L10 is missing from the log. It looks like the chef-client decided to not execute the 'build-essential' recipe at that point because most likely it is being included in another recipe further down the chain.

@onlyhavecans
Copy link

onlyhavecans commented May 9, 2016

I also have this issue, CentOS 6.7, Chef 12.6.0

@Sauraus
Copy link
Contributor Author

Sauraus commented Jun 13, 2016

Anyone from Chef around to look at this?

@tas50 tas50 added the Type: Bug label Dec 6, 2016
@iennae
Copy link
Contributor

iennae commented Oct 21, 2017

Is this still a problem with the current version of the cookbook and current version of chef-client?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants