Source: haskell-concurrent-supply Version: 0.1.8-6 Severity: normal Tags: ftbfs, patch User: debian-riscv@lists.debian.org Usertags: riscv64 X-Debbugs-Cc: debian-riscv@lists.debian.org Dear Maintainer, The package has a ftbfs issue due to test cases failed on single-CPU[0] arch, ``` ... Running debian/hlibrary.setup test --builddir=dist-ghc --show-details=direct Non-zero exit code 1. Running 1 test suites... Test suite properties: RUNNING... Test suite properties: FAIL Test suite logged to: dist-ghc/test/concurrent-supply-0.1.8-properties.log 0 of 1 test suites (0 of 1 test cases) passed. properties: unknown RTS option: -N properties: properties ... ``` The full buildd log is here: https://buildd.debian.org/status/fetch.php?pkg=haskell-concurrent-supply&arch=riscv64&ver=0.1.8-6&stamp=1659145014&raw=0 This is the my first time to try to fix such ftbfs issues on riscv64, if this can be allowed, it will fix many haskell-* packages' ftbfs on riscv64. Because the haskell-concurrent-supply is a key package in my view, so I think it should be a good start. Once the reportbug was opened, I will forward this to upstream also. Please let me know if there is any issue. PS: I'm not sure whether submitting a patch or open an MR is more convenient for you. For me, patch is more easier, but I can open MR if you want. Thanks. [0]: https://lists.debian.org/debian-haskell/2022/10/msg00008.html -- Regards, -- Bo YU
diff -Nru haskell-concurrent-supply-0.1.8/debian/changelog haskell-concurrent-supply-0.1.8/debian/changelog --- haskell-concurrent-supply-0.1.8/debian/changelog 2022-07-30 03:15:32.000000000 +0800 +++ haskell-concurrent-supply-0.1.8/debian/changelog 2023-01-01 20:57:43.000000000 +0800 @@ -1,3 +1,10 @@ +haskell-concurrent-supply (0.1.8-6.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Disable RTS -N on riscv64. (Closes: #-1) + + -- Bo YU <tsu.yubo@gmail.com> Sun, 01 Jan 2023 20:57:43 +0800 + haskell-concurrent-supply (0.1.8-6) unstable; urgency=medium * Disable RTS -N on i386 also (fixes FTBFS) diff -Nru haskell-concurrent-supply-0.1.8/debian/patches/no-smp-arches haskell-concurrent-supply-0.1.8/debian/patches/no-smp-arches --- haskell-concurrent-supply-0.1.8/debian/patches/no-smp-arches 2022-07-30 03:15:09.000000000 +0800 +++ haskell-concurrent-supply-0.1.8/debian/patches/no-smp-arches 2022-12-29 23:03:25.000000000 +0800 @@ -1,11 +1,11 @@ --- a/concurrent-supply.cabal +++ b/concurrent-supply.cabal -@@ -42,7 +42,10 @@ test-suite properties +@@ -42,7 +42,10 @@ type: exitcode-stdio-1.0 main-is: properties.hs default-language: Haskell2010 - ghc-options: -w -threaded -rtsopts -with-rtsopts=-N -+ if arch(arm) || arch(mips) || arch(s390x) || arch(i386) ++ if arch(arm) || arch(mips) || arch(s390x) || arch(i386) || arch(riscv64) + ghc-options: -w -threaded -rtsopts + else + ghc-options: -w -threaded -rtsopts -with-rtsopts=-N
Attachment:
signature.asc
Description: PGP signature