Re: Help needed with lens testsuite
Looking at the logs from 4.6.0.1-7, it seems that arm64, ppc64el and
s390x are hitting a GHC internal error as they try to load
libHSghc-prim-0.3.1.0.a. Is it supposed to be trying to load that .a
file? Does that file get successfully loaded on amd64, or does it load
the .so instead on amd64?
If you want to put off investigating that but get the rest of the
Haskell packages built you could try adding something like the
following to the bottom of debian/rules.
Edmund
ifeq ($(DEB_HOST_ARCH),arm64)
# Error with ghc 7.8.4-8:
# .../libHSghc-prim-0.3.1.0.a: unsupported ELF format
DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-doctests
endif
ifeq ($(DEB_HOST_ARCH),i386)
# Error with ghc 7.8.4-8:
# .../libHSprimitive-0.5.4.0.a: unknown symbol `_GLOBAL_OFFSET_TABLE_'
DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-doctests
endif
ifeq ($(DEB_HOST_ARCH),kfreebsd-i386)
# Error with ghc 7.8.4-8:
# .../libHSprimitive-0.5.4.0.a: unknown symbol `_GLOBAL_OFFSET_TABLE_'
DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-doctests
endif
ifeq ($(DEB_HOST_ARCH),powerpc)
# Error with ghc 7.8.4-8:
# FAIL
DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-properties
endif
ifeq ($(DEB_HOST_ARCH),ppc64el)
# Error with ghc 7.8.4-8:
# .../libHSghc-prim-0.3.1.0.a: unsupported ELF format
DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-doctests
endif
ifeq ($(DEB_HOST_ARCH),s390x)
# Error with ghc 7.8.4-8:
# loadArchive: GNU-variant filename offset not found while reading filename from `/usr/lib/ghc/ghc-prim-0.3.1.0/libHSghc-prim-0.3.1.0.a'
DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-doctests
endif
Reply to: