[Hackage] #897: cabal sdist broken on OS X

#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

#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 | ----------------------------+----------------------------------------------- Comment(by tibbe): I found the problem by accident; I had installed some "random" version of cabal-install from HEAD as I was testing out the new `cabal bench` feature. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/897#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#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 | ----------------------------+----------------------------------------------- Changes (by bos): * cc: bos (added) Comment: <metoo/> -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/897#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#897: cabal sdist broken on OS X ----------------------------+----------------------------------------------- Reporter: tibbe | Owner: Type: defect | Status: closed Priority: high | Milestone: Component: Cabal library | Version: 1.8.0.6 Severity: major | Resolution: wontfix Keywords: | Difficulty: unknown Ghcversion: | Platform: Mac OS ----------------------------+----------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => wontfix Comment: This bug only occurs when you build cabal-install-0.10 against Cabal-1.12, something which is explicitly prevented by the version constraints in the cabal-install-0.10 cabal file. That is, you only get this bug if you edit the .cabal file to relax the constraints. If you do that, you're welcome to keep both pieces. Alternatively, build Cabal & cabal-install head. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/897#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#897: cabal sdist broken on OS X ----------------------------+----------------------------------------------- Reporter: tibbe | Owner: Type: defect | Status: closed Priority: high | Milestone: Component: Cabal library | Version: 1.8.0.6 Severity: major | Resolution: wontfix Keywords: | Difficulty: unknown Ghcversion: | Platform: Mac OS ----------------------------+----------------------------------------------- Comment(by kowey): Just adding before I forget that folks seeing this may be following instructions for getting GHC on MacOS X 10.7 https://gist.github.com/1169332 which say to relax the dependencies. Somebody with a round tuit should probably add instructions to get cabal- install head -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/897#comment:4 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#897: cabal sdist broken on OS X ----------------------------+----------------------------------------------- Reporter: tibbe | Owner: Type: defect | Status: closed Priority: high | Milestone: Component: Cabal library | Version: 1.8.0.6 Severity: major | Resolution: wontfix Keywords: | Difficulty: unknown Ghcversion: | Platform: Mac OS ----------------------------+----------------------------------------------- Comment(by beastaugh): @kowey: I'm currently updating that (my) guide with instructions as to how to build Cabal 1.10. If people here think it's better to add instructions on how to build Cabal and cabal-install HEAD I'm happy to do that instead. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/897#comment:5 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage