Ticket #333 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Setup sdist --snapshot fails

Reported by: sjanssen Owned by:
Priority: normal Milestone:
Component: Cabal library Version: 1.4.0.1
Severity: normal Keywords:
Cc: Difficulty: normal
GHC Version: 6.8.2 Platform:

Description

Setup sdist --snapshot copies files to the correct place ("dist/src/xmonad-0.7.20080820/" in this case), but attempts to create a tarball as if --snapshot were not given ("/bin/tar -C dist/src -czf dist/xmonad-0.7.tar.gz xmonad-0.7" in this case).

The error is not present in Cabal-1.2.3.0.

Attachments

buildlog Download (3.8 KB) - added by sjanssen 5 years ago.
A log from 'Setup sdist --snapshot --verbose' from the darcs version of xmonad
fix333.dpatch Download (49.6 KB) - added by sjanssen 5 years ago.
Attempted fix
fix333-alt.dpatch Download (44.9 KB) - added by duncan 5 years ago.
alternative fix

Change History

Changed 5 years ago by sjanssen

A log from 'Setup sdist --snapshot --verbose' from the darcs version of xmonad

Changed 5 years ago by sjanssen

Attempted fix

Changed 5 years ago by duncan

alternative fix

Changed 5 years ago by duncan

  • status changed from new to closed
  • resolution set to fixed

Applied the alternative fix and a backport to the 1.4.x series that does not change the API though is less elegant.

Note: See TracTickets for help on using tickets.