Ticket #372 (closed defect: fixed)

Opened 5 years ago

Last modified 17 months ago

cabal sdist --snapshot does not work, while ./setup sdist snapshot does

Reported by: nomeata Owned by: duncan
Priority: normal Milestone: cabal-install-0.8
Component: cabal-install tool Version:
Severity: normal Keywords:
Cc: Difficulty: very easy (<1 hour)
GHC Version: 6.8.2 Platform: Linux

Description

Hi,

cabal sdist has a bug, which does not appear when using Setup.lhs

$ cabal clean
cleaning...
$ cabal sdist --snapshot
Warning: Cannot run preprocessors. Run 'configure' command first.
Building source dist for free-theorems-0.2.1.20081016...
cabal: dist/src/free-theorems-0.2.1: getDirectoryContents: does not exist (No such file or directory)

$ runhaskell Setup.lhs sdist --snapshot
Warning: Cannot run preprocessors. Run 'configure' command first.
Building source dist for free-theorems-0.2.1.20081016...
Source tarball created: dist/free-theorems-0.2.1.20081016.tar.gz
$ cat Setup.lhs 
#!/usr/bin/env runhaskell
 
> import Distribution.Simple
> main = defaultMain

Using cabal-install 0.6.0, Cabal 1.6.0.1, ghc 6.8.2. I haven’t looked at the code, but I assume it’s a simple mistake.

Change History

follow-up: ↓ 2   Changed 4 years ago by duncan

See #410.

in reply to: ↑ 1   Changed 4 years ago by duncan

  • owner set to duncan
  • difficulty changed from normal to very easy (<1 hour)
  • status changed from new to assigned
  • milestone set to cabal-install-0.6

Replying to duncan:

See #410.

Actually that's a mis-diagnosis. It's just a bug.

  Changed 3 years ago by duncan

  • status changed from assigned to closed
  • resolution set to fixed
  • milestone changed from cabal-install-0.6 to cabal-install-0.8
Tue Dec 22 08:05:37 GMT 2009  Duncan Coutts <duncan@haskell.org>
  * Fix cabal sdist --snapshot

Will be in the next cabal-install 0.8.x release.

  Changed 17 months ago by elga

  Changed 17 months ago by edouard

A l'image du RIB bancaire, un numero RIO est un identifiant unique attribue a la ligne et a un contrat client permettant d'identifier son demande de portabilite vers un autre operateur.  rio bouygues

Note: See TracTickets for help on using tickets.