Bug#1052306: haskell-quickcheck: FTBFS on i386: 6 of 8 test suites (6 of 8 test cases) passed.

Ilias Tsitsimpis iliastsi at debian.org
Tue Oct 10 17:44:03 BST 2023


Control: reassign -1 ghc 9.4.6-1
Control: retitle 1052306 Produces broken code on unregisterised 32-bit platforms
Control: forwarded -1 https://gitlab.haskell.org/ghc/ghc/-/issues/22607
Control: affects -1 haskell-quickcheck

On Wed, Sep 20, 2023 at 08:59AM, Sebastian Ramacher wrote:
> https://buildd.debian.org/status/fetch.php?pkg=haskell-quickcheck&arch=i386&ver=2.14.3-1&stamp=1693901450&raw=0
> 
> === prop_FromList from examples/Heap.hs:118 ===
> +++ OK, passed 100 tests.
> 
> === prop_ToSortedList from examples/Heap.hs:121 ===
> *** Failed! (after 3 tests):
> Exception:
>   QuickCheck.pick used with empty list
>   CallStack (from HasCallStack):
>     error, called at src/Test/QuickCheck/Gen.hs:312:15 in QuickCheck-2.14.3-IcT7IGBF9jb4AGtBd4ZTHa:Test.QuickCheck.Gen
> Exception thrown while showing test case:
>   QuickCheck.pick used with empty list
>   CallStack (from HasCallStack):
>     error, called at src/Test/QuickCheck/Gen.hs:312:15 in QuickCheck-2.14.3-IcT7IGBF9jb4AGtBd4ZTHa:Test.QuickCheck.Gen
> 
> 
> Test suite test-quickcheck: PASS
> Test suite logged to: dist-ghc/test/QuickCheck-2.14.3-test-quickcheck.log
> 6 of 8 test suites (6 of 8 test cases) passed.
> -e: error: debian/hlibrary.setup test --builddir=dist-ghc --show-details=direct returned exit code 1
>  at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 880.
> 	Debian::Debhelper::Dh_Lib::error("debian/hlibrary.setup test --builddir=dist-ghc --show-details"...) called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 610
> 	Debian::Debhelper::Dh_Lib::error_exitcode("debian/hlibrary.setup test --builddir=dist-ghc --show-details"...) called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 473
> 	Debian::Debhelper::Dh_Lib::doit("debian/hlibrary.setup", "test", "--builddir=dist-ghc", "--show-details=direct") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 686
> 	Debian::Debhelper::Buildsystem::Haskell::Recipes::check_recipe() called at -e line 1
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:163: check-ghc-stamp] Error 25

GHC produces broken code on unregisterised 32-bit platforms. I will
backport the fix and upload a newer version of GHC that fixes this.

Best,

-- 
Ilias



More information about the Pkg-haskell-maintainers mailing list