Your message dated Mon, 13 Nov 2023 18:05:23 +0100
with message-id
<ad5590c560aa0d1e64e97e179db0ab24909742a3.ca...@physik.fu-berlin.de>
and subject line Re: Bug#1055884: ghc: Please update sparc-support patch to fix
FTBFS on sparc64
has caused the Debian Bug report #1055884,
regarding ghc: Please update sparc-support patch to fix FTBFS on sparc64
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1055884: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055884
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ghc
Version: 9.4.7-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: sparc64
X-Debbugs-Cc: [email protected]
Hi!
src:ghc currently FTBFS on sparc64 since
libraries/ghc-boot/GHC/Platform/ArchOS.hs is
missing the architecture names for sparc and sparc64 [1].
I have therefore updated the sparc-support patch to address this and also
opened a pull
request upstream [2].
Can you update the patch for the next upload?
Thanks,
Adrian
> [1]
> https://buildd.debian.org/status/fetch.php?pkg=ghc&arch=sparc64&ver=9.4.7-1&stamp=1699776000&raw=0
> [2] https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11599
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Index: ghc-9.4.7/m4/ghc_convert_cpu.m4
===================================================================
--- ghc-9.4.7.orig/m4/ghc_convert_cpu.m4
+++ ghc-9.4.7/m4/ghc_convert_cpu.m4
@@ -68,6 +68,12 @@ case "$1" in
sh4)
$2="sh4"
;;
+ sparc64*)
+ $2="sparc64"
+ ;;
+ sparc*)
+ $2="sparc"
+ ;;
vax)
$2="vax"
;;
Index: ghc-9.4.7/m4/fptools_set_haskell_platform_vars.m4
===================================================================
--- ghc-9.4.7.orig/m4/fptools_set_haskell_platform_vars.m4
+++ ghc-9.4.7/m4/fptools_set_haskell_platform_vars.m4
@@ -42,7 +42,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_V
riscv64)
test -z "[$]2" || eval "[$]2=ArchRISCV64"
;;
- hppa|hppa1_1|ia64|m68k|nios2|riscv32|rs6000|s390|sh4|vax)
+ hppa|hppa1_1|ia64|m68k|nios2|riscv32|rs6000|s390|sh4|sparc|sparc64|vax)
test -z "[$]2" || eval "[$]2=ArchUnknown"
;;
*)
Index: ghc-9.4.7/libraries/ghc-boot/GHC/Platform/ArchOS.hs
===================================================================
--- ghc-9.4.7.orig/libraries/ghc-boot/GHC/Platform/ArchOS.hs
+++ ghc-9.4.7/libraries/ghc-boot/GHC/Platform/ArchOS.hs
@@ -38,6 +38,8 @@ data Arch
| ArchPPC
| ArchPPC_64 PPC_64ABI
| ArchS390X
+ | ArchSPARC
+ | ArchSPARC64
| ArchARM ArmISA [ArmISAExt] ArmABI
| ArchAArch64
| ArchAlpha
@@ -124,6 +126,8 @@ stringEncodeArch = \case
ArchPPC_64 ELF_V1 -> "powerpc64"
ArchPPC_64 ELF_V2 -> "powerpc64le"
ArchS390X -> "s390x"
+ ArchSPARC -> "sparc"
+ ArchSPARC64 -> "sparc64"
ArchARM ARMv5 _ _ -> "armv5"
ArchARM ARMv6 _ _ -> "armv6"
ArchARM ARMv7 _ _ -> "armv7"
--- End Message ---
--- Begin Message ---
Looks like this needs to be fixed in src:haskell-cabal.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--- End Message ---
_______________________________________________
Pkg-haskell-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-haskell-maintainers