Fpm: gnutar missing in OS X 10.9

Created on 24 Oct 2013  路  3Comments  路  Source: jordansissel/fpm

After installing the latest, shiniest OS X 10.9 (aka Mavericks), I get this error when I build my DEB packages:

{:timestamp=>"2013-10-24T09:52:44.638000+0200", :message=>"Need executable 'gnutar' to convert dir to deb", :level=>:error}

Just for the record, there's some discussion already on this topic. For me, the solution was:

xcode-select --install
sudo ln -s /usr/bin/tar /usr/bin/gnutar
sudo port install gnutar
sudo rm /usr/bin/gnutar

So that FPM uses the real gnutar binary in MacPorts.

internals

Most helpful comment

Can confirm the same thing here.

If you're using Homebrew, an option for now:

brew install gnu-tar
ln -s /usr/local/bin/gtar /usr/local/bin/gnutar

All 3 comments

Can confirm the same thing here.

If you're using Homebrew, an option for now:

brew install gnu-tar
ln -s /usr/local/bin/gtar /usr/local/bin/gnutar

Looks like 80ee8ae233 should fix this?

Marking resolved based on previous comment. Also my intention is to move to pure-ruby tar implementation (#785) so hopefully this won't ever be a problem again :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jameshfisher picture jameshfisher  路  7Comments

samueljc picture samueljc  路  4Comments

jean-christophe-manciot picture jean-christophe-manciot  路  4Comments

amrox picture amrox  路  5Comments

hellosputnik picture hellosputnik  路  7Comments