[Hackage] #565: sdist is broken on Windows

#565: sdist is broken on Windows ---------------------------------+------------------------------------------ Reporter: Orphi | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: Windows | ---------------------------------+------------------------------------------ Read it and weep: {{{ E:\Orphi\Haskell\_Hackage\AOC-HalfInteger>cabal configure Resolving dependencies... Configuring AOC-HalfInteger-1.0... E:\Orphi\Haskell\_Hackage\AOC-HalfInteger>cabal -v3 sdist Creating dist\src (and its parents) Building source dist for AOC-HalfInteger-1.0... Creating dist\src\sdist.1876\AOC-HalfInteger-1.0 (and its parents) Creating dist\src\sdist.1876\AOC-HalfInteger-1.0\.\Data (and its parents) copy .\Data\HalfInteger.hs to dist\src\sdist.1876\AOC-HalfInteger-1.0\.\Data\HalfInteger.hs Creating dist\src\sdist.1876\AOC-HalfInteger-1.0 (and its parents) copy Licence.txt to dist\src\sdist.1876\AOC-HalfInteger-1.0\Licence.txt Preprocessing library AOC-HalfInteger-1.0... Creating dist\src\sdist.1876\AOC-HalfInteger-1.0 (and its parents) copy Setup.hs to dist\src\sdist.1876\AOC-HalfInteger-1.0\Setup.hs copy .\AOC-HalfInteger.cabal to dist\src\sdist.1876\AOC-HalfInteger-1.0\.\AOC-HalfInteger.cabal Source tarball created: dist\AOC-HalfInteger-1.0.tar.gz cabal: dist\src\sdist.1876\AOC-HalfInteger-1.0\Data\HalfInteger.hs: removeFile: permission denied (Permission denied) }}} -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/565 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#565: sdist is broken on Windows ---------------------------------+------------------------------------------ Reporter: Orphi | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.2 Severity: normal | Resolution: Keywords: | Difficulty: unknown Ghcversion: | Platform: Windows ---------------------------------+------------------------------------------ Changes (by Orphi): * version: 1.6.0.1 => 1.6.0.2 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/565#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#565: sdist is broken on Windows ---------------------------------+------------------------------------------ Reporter: Orphi | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.2 Severity: normal | Resolution: Keywords: | Difficulty: unknown Ghcversion: | Platform: Windows ---------------------------------+------------------------------------------ Comment (by duncan): I've no idea what we're supposed to do here. We're using `removeDirectoryRecursive` having written the tarball. So the files opened to construct the tarball have been completely read and hence closed. So we should not have any of the files open so the recursive remove should not fail. Discovering why it does actually fail will need someone with a Windows debugger and some patience. Does this happen repeatably? Is it the same file every time? Does it happen with all packages or just this one? -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/565#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage