darcs

Issue 2023 cabal sdist fails

Title cabal sdist fails
Priority bug Status resolved
Milestone 2.10.0 Resolved in 2.10.0
Superseder Nosy List simon
Assigned To
Topics Devel

Created on 2010-12-21.01:20:46 by simon, last changed 2016-04-04.17:18:42 by gh.

Messages
msg13394 (view) Author: simon Date: 2010-12-21.01:20:45
cabal-install's sdist command fails in the darcs project, with the  
three unwelcome warnings and the error below. A working sdist would  
let you do more isolated builds with cabal-dev, which seems useful.

$ cabal sdist
Distribution quality warnings:
'ghc-options: -O0' is not needed. Use the --disable-optimization  
configure
flag.
'ghc-options: -O2' is rarely needed. Check that it is giving a real  
benefit
and not just imposing longer compile times on your users.
Warning: Cannot run preprocessors. Run 'configure' command first.
Building source dist for darcs-2.5.0.1...
cabal: Error: Could not find module: Version with any suffix:
["gc","chs","hsc","x","y","ly","cpphs","hs","lhs"]
msg13398 (view) Author: kowey Date: 2010-12-22.11:21:19
Would be nice to fix
msg14766 (view) Author: markstos Date: 2011-10-13.13:12:41
It's not a regression since 2.5, so bumping to 2.10.
msg18239 (view) Author: gh Date: 2015-02-27.18:31:21
I have no issue on my machine with current darcs HEAD:

```
$ cabal sdist
about to hand over
Source tarball created: dist/darcs-2.9.9.tar.gz
$ cabal --version
cabal-install version 1.20.0.3
using version 1.20.0.2 of the Cabal library
```
msg19139 (view) Author: gh Date: 2016-04-04.17:07:44
Still no issue, marking the bug as resolved.
History
Date User Action Args
2010-12-21 01:20:46simoncreate
2010-12-22 11:21:21koweysetpriority: bug
status: unknown -> needs-implementation
topic: + Devel
messages: + msg13398
milestone: 2.8.0
2011-10-13 13:12:41markstossetmessages: + msg14766
milestone: 2.8.0 -> 2.10.0
2015-02-27 18:31:23ghsetmessages: + msg18239
2015-04-18 17:39:59ghsetmilestone: 2.10.0 -> 2.12.0
2016-04-04 17:07:45ghsetstatus: needs-implementation -> resolved
messages: + msg19139
resolvedin: 2.10.0
2016-04-04 17:18:42ghsetmilestone: 2.12.0 -> 2.10.0