$ tar -xvf # try to unpack the archive with bsdtar Hrw-r-r- adamliter/staff 0 22:41 test/a link to test/a $ gtar -zcvf test test/a # make the archive with gnutarĭrwxr-xr-x adamliter/staff 0 22:41 test/ PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" If you really need to use it as "tar", you can add a "gnubin" directory => Pouring gnu-tar-1.28.yosemite.bottle.2.tar.gz If you install gnutar, then you can reproduce the problem using the steps in Johnny's answer. You can install gnutar on a Mac with Homebrew, using brew install gnu-tar, which will symlink gnutar into /usr/local/bin as gtar. The problem lies in the fact that Mac OS X uses bsdtar, whereas most Linux systems use gnutar. This should help identify what is going on in Johnny's answer, as well as answer the question of why this works on Linux but not Mac. Looking a little closer at the output, line 1108 contains the error: x scip-3.2.0/applications/Coloring/Makefile: Can't create 'scip-3.2.0/applications/Coloring/Makefile' The archive appears to extract without problem, but I don't trust it with that error being thrown. It's the last line ( tar: Error exit delayed from previous errors.) that concerns me. Unable to expand "scip-3.2.0.tgz" into "Desktop".Īnd when I try to unpack via the command line, this is the output I get. In case the image ever gets broken, the text in the image says this: Here's the error I get when I try to unpack using the archive utility: I emailed the SCIP mailing list, and I have the same SHA-1 hash as another user ( e085a4a3591eddf945dcb365d97d2512c267e374), so there wasn't a download error. The error occurs when both using the command line tar command and when using the archive utility. I can extract the file without error on a Linux box running CentOS 6.6. The error is only occurring on OS X (I'm on 10.10.4). I have a tgz file, scip-3.2.0.tgz, that is throwing an error when I attempt to unpack it. I'm experiencing a rather odd problem, and I can't figure out what's going on.
0 Comments
|