-
-
Notifications
You must be signed in to change notification settings - Fork 301
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
v2.2.2 produces PaxHeader compilation errors when used with Berkshelf and Librarian #147
Comments
Thanks for this. I will look into repackaging this as soon as I've got access to my laptop again! |
👍 having this issue too. Thanks @brianbianco for being on it! |
This was packaged and uploaded with knife cookbook site share. Do you think this is an issue with chefdk or the tar on my path? |
It sounds like the issue is BSD or Ruby tar vs. GNU tar. |
@kainosnoema @maraca Could you give downloading the latest cookbook a whirl again? I tagged a new version (no code changes) and released it. It was packaged on an ubuntu 14.04 machine so hopefully all issues will just vanish. |
I'll be closing this issue today unless anybody can confirm 2.2.3 doesn't work as well? |
v2.2.3 seems to work well. Thanks for the quick turnaround! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
tl;dr
Packaging a site cookbook on OS X 10.6+ using
bsdtar
, with files containing extended attributes, causes runtime compilation errors for end-users extracting using Ruby's Minitar (e.g. Berkshelf and Librarian): https://tickets.opscode.com/browse/CHEF-4107Details:
As of v2.2.2, we're getting runtime compilation errors like the following:
According to the Jira ticket mentioned above, "this is an edge-case caused by these conditions":
My guess is that v2.2.2 introduced a file that contains extended attributes. The best way to fix this is to package using
gnutar
instead ofbsdtar
and resubmitting an update. This has affected many other cookbooks, includingartifact
: RiotGamesCookbooks/artifact-cookbook#86.The text was updated successfully, but these errors were encountered: