Linux / OS X tar incompatibility – tarballs created on OS X give errors when untarred in Linux
Problem
When I tar up files on my Macbook and untar them in Linux, I repeatedly get the following warnings/errors: Fortunately, this does NOT affect the files stored in the archive, which are restored perfectly. However, it does cause problems in a number of scenarios, especially when dealing with build processes where the non-zero failure code returned by 'tar' causes builds and installs to stop unnecessarily. How can I get OS X to build tar files that play nicely with the rest of the Linux world? Also, for bonus points, there exists a publicly distributed tar file with these issues. Is there any way to get Linux to handle the tar file gracefully without changing the way it was originally compressed?
Error Output
tar: Ignoring unknown extended header keyword `SCHILY.ino' tar: Ignoring unknown extended header keyword `SCHILY.nlink' tar: Ignoring unknown extended header keyword `SCHILY.dev' tar: Ignoring unknown extended header keyword `SCHILY.ino' tar: Ignoring unknown extended header keyword `SCHILY.nli…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: Linux / OS X tar incompatibility – tarballs created on OS X give errors when untarred in Linux
I Googled for the error message and it seems like a BSD tar vs. GNU issue. Install GNU if you can on Mac OS and use that to create the .
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix