Source: haskell-versions
Version: 6.0.2-1
Severity: normal
Tags: ftbfs patch
User: debian-loonga...@lists.debian.org
Usertags: loong64
Dear maintainers,
Compiling the haskell-versions failed for loong64 in the Debian Package
Auto-Building environment.
The error log is as follows,
```
Running 1 test suites...
Test suite versions-test: RUNNING...
versions-test: unknown RTS option: -N
versions-test:
versions-test: Usage: <prog> <args> [+RTS <rtsopts> | -RTS <args>] ...
--RTS <args>
versions-test:
```
The Full log can be found at
https://buildd.debian.org/status/logs.php?pkg=haskell-versions&ver=6.0.2-1&arch=loong64.
We need to disable -with-rtsopts=-N option on loongarch64.
I have built haskell-versions successfully in my local ENV.
Please consider the patch I attached.
Your opinions are welcome.
Thanks,
Dandan Zhang
Description: Disable RTS -N on loong64
Last-Update: 2024-04-24
--- haskell-versions-6.0.2.orig/versions.cabal
+++ haskell-versions-6.0.2/versions.cabal
@@ -58,7 +58,7 @@ test-suite versions-test
type: exitcode-stdio-1.0
main-is: Test.hs
hs-source-dirs: test
- if arch(arm) || arch(mips) || arch(s390x) || arch(i386) || arch(riscv64)
+ if arch(arm) || arch(mips) || arch(s390x) || arch(i386) || arch(riscv64) || arch(loongarch64)
ghc-options: -threaded
else
ghc-options: -threaded -with-rtsopts=-N
_______________________________________________
Pkg-haskell-maintainers mailing list
Pkg-haskell-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-haskell-maintainers