darcs

Issue 1814 darcs-2.4.1 tarball: 'cabal test' fails as a result of lacking 'contrib/darcs-errors.hlint'

Title darcs-2.4.1 tarball: 'cabal test' fails as a result of lacking 'contrib/darcs-errors.hlint'
Priority bug Status resolved
Milestone 2.4.x Resolved in 2.4.x
Superseder Nosy List darcs-devel, dmitry.kurochkin, kili, kowey, mornfall, trofi, tux_rocker
Assigned To tux_rocker
Topics

Created on 2010-04-13.11:52:45 by trofi, last changed 2010-06-16.14:38:59 by kowey.

Messages
msg10714 (view) Author: trofi Date: 2010-04-13.11:52:45
To reproduce:
$ cabal configure -fcurl -f-http -fcurl-pipelining -fcolor -fterminfo
-fmmap -ftest
...
$ cabal build
...
$ cabal test
...
Running haskell_policy.sh ...                    failed.
...
+ hlint --hint=contrib/darcs-errors.hlint src
hlint: Couldn't find file: contrib/darcs-errors.hlint
msg10715 (view) Author: kowey Date: 2010-04-13.12:08:04
Uh-oh! Looks like we may need that darcs 2.4.2 after all...
msg10717 (view) Author: kili Date: 2010-04-13.12:35:48
On Tue, Apr 13, 2010 at 12:08:05PM +0000, Eric Kow wrote:
> Eric Kow <kowey@darcs.net> added the comment:
> 
> Uh-oh! Looks like we may need that darcs 2.4.2 after all...

If so, please note that I just dropped a mail to Reinier (strange
permissions of the tarballs contents, and some missing mkdir doc/manual
in the GNUmakefile).

Ciao,
	Kili
msg10720 (view) Author: tux_rocker Date: 2010-04-13.20:24:03
This is theoretically impossible because the tests are run in an unpacked 
tarball as a part of the release testing. However, it went unnoticed because 
the test is skipped when hlint is not present. And it's not present on the 
release manager's machine.

So the workaround is: uninstall hlint ;).

On the one hand this is a bit of a silly issue to release a 2.4.2 for, on the 
other hand it's extremely silly to have your own tests fail in a release 
package. Maybe if there are some more silly issues the coming days, we can 
release a 2.4.2 fixing them all.

Reinier
msg10909 (view) Author: mornfall Date: 2010-05-03.12:47:10
The following patch updated the status of issue1814 to be resolved:

* Resolve issue1814: Include contrib/darcs-errors.hlint in release tarball. 
Ignore-this: a4fbf9156ac5f7a8d1ef90d36580434c
msg11384 (view) Author: mornfall Date: 2010-06-13.17:07:13
The following patch updated the status of issue1814 to be resolved-in-stable:

* Resolve issue1814: Include contrib/darcs-errors.hlint in release tarball. 
Ignore-this: a4fbf9156ac5f7a8d1ef90d36580434c
History
Date User Action Args
2010-04-13 11:52:46troficreate
2010-04-13 12:08:05koweysetstatus: unknown -> needs-implementation
nosy: + kowey, tux_rocker
topic: + Target-2.4
messages: + msg10715
assignedto: tux_rocker
2010-04-13 12:35:49kilisetnosy: + kili
messages: + msg10717
2010-04-13 20:24:03tux_rockersetmessages: + msg10720
2010-05-03 12:47:10mornfallsetstatus: needs-implementation -> resolved
nosy: + mornfall
messages: + msg10909
2010-06-13 17:07:13mornfallsetstatus: resolved -> resolved-in-stable
messages: + msg11384
2010-06-15 21:31:25adminsetmilestone: 2.4.x
2010-06-15 21:31:26adminsettopic: - Target-2.4
2010-06-15 22:14:23adminsetstatus: resolved-in-stable -> resolved
2010-06-15 22:14:24adminsetresolvedin: 2.5.0
2010-06-16 14:38:59koweysetresolvedin: 2.5.0 -> 2.4.x