Joachim Breitner <[email protected]>: > currently it does not: > > ifeq ($(DEB_HOST_ARCH),sparc) > # Disable tests that require SMP. > DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-hunit -f-test-properties > endif > > but it could, like this: > > ifeq ($(shell if [ ! -e /usr/lib/ghc/rts-1.0/libHSrts_thr.a ]; then > echo 0; fi),0) > # Disable tests that require SMP. > DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-hunit -f-test-properties > endif > > Thanks for noticing! I uploaded a new haskell-lens package, let me know > if I fixed the problem.
I don't think that will work because the file /usr/lib/ghc/rts-1.0/libHSrts_thr.a seems to be present even on architectures without threading, presumably as a stub: https://packages.debian.org/sid/arm64/ghc/filelist I note that haskell-lens 4.6.0.1-5 seems seems to have succeeded on powerpc: https://buildd.debian.org/status/logs.php?pkg=haskell-lens&arch=powerpc I would guess that's because of changes in ghc between 7.8.4-4 and 7.8.4-8 (bug #785194?) rather than because of what you did in haskell-lens. I'm a bit confused because I thought that doctests required dynamic linking and dynamic linking is only available on amd64 and i386. One of those thoughts must be wrong. Anyway, we might have to resort to disabling tests on listed architectures, in which case the ones to disable on arm64 would be properties, hunit and doctests, which is 3 out of the 4, so it's not great, but at least something is still being tested. Edmund -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]
