vagrant-ubuntu-precise-64 icon indicating copy to clipboard operation
vagrant-ubuntu-precise-64 copied to clipboard

Making it work on OSX 10.7.4, where tar fails silently to extract the iso

Open dcosson opened this issue 12 years ago • 5 comments

First of all, great script - it's annoying that the default vagrant box is an old version.

I tried to run it this morning, and ran into a couple of issues - first with brew installing cdrtools (using a slightly outdated version of XCode). I updated XCode and got that working, but then tar was failing silently on extracting from the ISO file.

I solved the problem by updating to a more recent "homebrew-dupes" version of libarchive as recommended in this thread: http://forums.macrumors.com/showthread.php?t=1377464

This pull request updated the README to outline those two potential issues and their fixes, and I updated build.sh to try using the homebrew installed bsdtar if the tar output is empty.

Googling for the first cdrtools problem, I saw it was a common problem with smake and OSX Lion. And there is an open Github issue on the project for the empty tar output problem, so it seems like other people are having the same problem with tar 2.8.3.

dcosson avatar Jun 08 '12 19:06 dcosson

+1 -- Installing a more recent libarchive with Homebrew and this patch made it work for me. It should be merged.

cmer avatar Aug 08 '12 13:08 cmer

+1

miagao avatar Aug 10 '12 20:08 miagao

oof this is good to know. I hit this as well...used p7zip from brew but if bsdtar is in osx already...

ccollicutt avatar Aug 17 '12 23:08 ccollicutt

+! - Tested and works great.

manifestinteractive avatar Aug 22 '12 05:08 manifestinteractive

This fixed my problem as well. Thanks

jcowhigjr avatar Sep 06 '12 18:09 jcowhigjr