Bug#1011913: haskell-swish: FTBFS: make: *** [/usr/share/cdbs/1/class/hlibrary.mk:153: build-ghc-stamp] Error 25

Scott Talbert talbert at techie.net
Sun May 29 02:48:43 BST 2022


On Sat, 28 May 2022, Jonas Smedegaard wrote:

> Control: reassign -1 haskell-devscripts
> Control: retitle -1 haskell-devscripts: DEB_ENABLE_TESTS ignored
> Control: affects -1 haskell-swish
>
> Quoting Lucas Nussbaum (2022-05-26 21:04:50)
>> During a rebuild of all packages in sid, [haskell-swish] failed to build
>> on amd64.
> [...]
>>> Running debian/hlibrary.setup test --builddir=dist-ghc --show-details=direct
>>> Non-zero exit code 1.
>>> hlibrary.setup: No test suites enabled. Did you remember to configure with
>>> '--enable-tests'?
>
> haskell-swish built successfully when released in January, and contains
> this in debian/rules:
>
>> DEB_ENABLE_TESTS = yes
>
> Perhaps this really is bug#1010179 and the "fix" only papered over the
> underlying problem: @Scott, did you test packages _enabling_ tests or
> only the default of having tests disabled?

Hi Jonas,

Actually, it looks like DEB_ENABLE_TESTS=yes had been broken in 
haskell-devscripts for quite some time (even before Felix's changes).  If 
you look at the January build log for haskell-swish, the tests were not 
run at that time.  In the case of haskell-swish, DEB_ENABLE_TESTS needs to 
be defined *before* including hlibrary.mk.  After fixing that, it seems 
there are some missing test dependencies.

Scott



More information about the Pkg-haskell-maintainers mailing list