[Haskell-cafe] Cabal, tar and uploading to Hackage

Duncan Coutts duncan.coutts at googlemail.com
Mon May 26 17:36:23 UTC 2014


On 26 May 2014 18:25, Magnus Therning <magnus at therning.org> wrote:
> On Mon, May 26, 2014 at 06:52:30PM +0300, Yitzchak Gale wrote:
>> Magnus Therning wrote:
>>> Lately my attempts at creating tar-balls for uploading to Hackage
>>> have been failing.  I use the standard `./Setup.hs sdist` method to
>>> generate tar-balls, but apparently that uses `/usr/bin/tar` (GNU
>>> tar), which defaults to the 'gnu' format, while Hackage requires
>>> the 'ustar' format.

File a Cabal bug report. The Setup.hs really ought to call gnu tar in
such a way that it always produces ustar format.

Duncan


More information about the Haskell-Cafe mailing list