[Hackage] #897: cabal sdist broken on OS X
Hackage
cvs-ghc at haskell.org
Sat Oct 29 18:18:54 CEST 2011
#897: cabal sdist broken on OS X
----------------------------+-----------------------------------------------
Reporter: tibbe | Owner:
Type: defect | Status: new
Priority: high | Milestone:
Component: Cabal library | Version: 1.8.0.6
Severity: major | Keywords:
Difficulty: unknown | Ghcversion:
Platform: Mac OS |
----------------------------+-----------------------------------------------
The latest released version of cabal-install generates an sdist correctly:
{{{
$ cabal sdist -v3
Warning: Cannot run preprocessors. Run 'configure' command first.
creating dist/src
Building source dist for hashable-1.1.2.2...
creating dist/src/sdist.67677/hashable-1.1.2.2
creating dist/src/sdist.67677/hashable-1.1.2.2/Data
creating dist/src/sdist.67677/hashable-1.1.2.2/cbits
Installing ./Data/Hashable.hs to
dist/src/sdist.67677/hashable-1.1.2.2/./Data/Hashable.hs
Installing cbits/hashByteString.c to
dist/src/sdist.67677/hashable-1.1.2.2/cbits/hashByteString.c
creating dist/src/sdist.67677/hashable-1.1.2.2/tests
Installing tests/Properties.hs to
dist/src/sdist.67677/hashable-1.1.2.2/tests/Properties.hs
creating dist/src/sdist.67677/hashable-1.1.2.2
Installing LICENSE to dist/src/sdist.67677/hashable-1.1.2.2/LICENSE
creating dist/src/sdist.67677/hashable-1.1.2.2
Installing CHANGES to dist/src/sdist.67677/hashable-1.1.2.2/CHANGES
creating dist/src/sdist.67677/hashable-1.1.2.2
Installing README.md to dist/src/sdist.67677/hashable-1.1.2.2/README.md
creating dist/src/sdist.67677/hashable-1.1.2.2/tests
Installing tests/Properties.hs to
dist/src/sdist.67677/hashable-1.1.2.2/tests/Properties.hs
creating dist/src/sdist.67677/hashable-1.1.2.2/benchmarks
Installing benchmarks/Benchmarks.hs to
dist/src/sdist.67677/hashable-1.1.2.2/benchmarks/Benchmarks.hs
creating dist/src/sdist.67677/hashable-1.1.2.2/benchmarks
Installing benchmarks/Makefile to
dist/src/sdist.67677/hashable-1.1.2.2/benchmarks/Makefile
creating dist/src/sdist.67677/hashable-1.1.2.2
Installing Setup.hs to dist/src/sdist.67677/hashable-1.1.2.2/Setup.hs
Installing ./hashable.cabal to
dist/src/sdist.67677/hashable-1.1.2.2/./hashable.cabal
Source tarball created: dist/hashable-1.1.2.2.tar.gz
}}}
but HEAD generates an incorrectly named tempdir:
{{{
$ cabal sdist -v3
creating dist/src
Building source dist for hashable-1.1.2.2...
creating dist/src/sdist.-67246
creating dist/src/sdist.-67246/Data
creating dist/src/sdist.-67246/cbits
Installing ./Data/Hashable.hs to dist/src/sdist.-67246/./Data/Hashable.hs
Installing cbits/hashByteString.c to
dist/src/sdist.-67246/cbits/hashByteString.c
creating dist/src/sdist.-67246/tests
Installing tests/Properties.hs to
dist/src/sdist.-67246/tests/Properties.hs
creating dist/src/sdist.-67246
Installing LICENSE to dist/src/sdist.-67246/LICENSE
creating dist/src/sdist.-67246
Installing CHANGES to dist/src/sdist.-67246/CHANGES
creating dist/src/sdist.-67246
Installing README.md to dist/src/sdist.-67246/README.md
creating dist/src/sdist.-67246/tests
Installing tests/Properties.hs to
dist/src/sdist.-67246/tests/Properties.hs
creating dist/src/sdist.-67246/benchmarks
Installing benchmarks/Benchmarks.hs to
dist/src/sdist.-67246/benchmarks/Benchmarks.hs
creating dist/src/sdist.-67246/benchmarks
Installing benchmarks/Makefile to
dist/src/sdist.-67246/benchmarks/Makefile
Preprocessing library hashable-1.1.2.2...
creating dist/src/sdist.-67246
Installing Setup.hs to dist/src/sdist.-67246/Setup.hs
Installing ./hashable.cabal to dist/src/sdist.-67246/./hashable.cabal
cabal: dist/src/sdist.-67246/hashable-1.1.2.2: does not exist
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/897>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list