Your message dated Sat, 16 Dec 2023 15:19:11 +0000
with message-id <[email protected]>
and subject line Bug#1056306: fixed in haskell-hadrian 9.4.8-1~exp1
has caused the Debian Bug report #1056306,
regarding haskell-hadrian: makes ghc FTBFS on hurd-i386
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.)
--
1056306: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056306
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: haskell-hadrian
Version: 9.4.7-3
Severity: important
Tags: patch
Since version 9.4.7 and the switch to using Hadrian, ghc fails to build
on hurd-i386. This is because of a confusion between "gnu" and "hurd".
The attached patches fix the confusion. One is already submitted
upstream, the other is already fixed in newer upstream versions.
Samuel
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500,
'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500,
'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500,
'oldoldstable-proposed-updates'), (500, 'oldoldstable'), (500,
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1,
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64
Kernel: Linux 6.5.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11624
Index: ghc-9.4.7/hadrian/src/Hadrian/Haskell/Cabal.hs
===================================================================
--- ghc-9.4.7.orig/hadrian/src/Hadrian/Haskell/Cabal.hs
+++ ghc-9.4.7/hadrian/src/Hadrian/Haskell/Cabal.hs
@@ -71,4 +71,5 @@ cabalOsString :: String -> String
cabalOsString "mingw32" = "windows"
cabalOsString "darwin" = "osx"
cabalOsString "solaris2" = "solaris"
+cabalOsString "gnu" = "hurd"
cabalOsString other = other
Also applies in 9.6.x
Can be dropped with 9.8.1
Index: ghc-9.4.7/hadrian/src/Oracles/Setting.hs
===================================================================
--- ghc-9.4.7.orig/hadrian/src/Oracles/Setting.hs
+++ ghc-9.4.7/hadrian/src/Oracles/Setting.hs
@@ -273,7 +273,7 @@ anyHostOs = matchSetting HostOs
isElfTarget :: Action Bool
isElfTarget = anyTargetOs
[ "linux", "freebsd", "dragonfly", "openbsd", "netbsd", "solaris2",
"kfreebsdgnu"
- , "haiku", "linux-android"
+ , "gnu", "haiku", "linux-android"
]
-- | Check whether the host OS supports the @-rpath@ linker option when
@@ -282,7 +282,7 @@ isElfTarget = anyTargetOs
-- TODO: Windows supports lazy binding (but GHC doesn't currently support
-- dynamic way on Windows anyways).
hostSupportsRPaths :: Action Bool
-hostSupportsRPaths = anyHostOs ["linux", "darwin", "freebsd"]
+hostSupportsRPaths = anyHostOs ["linux", "darwin", "freebsd", "gnu"]
-- | Check whether the target supports GHCi.
ghcWithInterpreter :: Action Bool
--- End Message ---
--- Begin Message ---
Source: haskell-hadrian
Source-Version: 9.4.8-1~exp1
Done: Ilias Tsitsimpis <[email protected]>
We believe that the bug you reported is fixed in the latest version of
haskell-hadrian, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ilias Tsitsimpis <[email protected]> (supplier of updated haskell-hadrian
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 16 Dec 2023 16:48:48 +0200
Source: haskell-hadrian
Architecture: source
Version: 9.4.8-1~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian Haskell Group
<[email protected]>
Changed-By: Ilias Tsitsimpis <[email protected]>
Closes: 1056306
Changes:
haskell-hadrian (9.4.8-1~exp1) experimental; urgency=medium
.
* New upstream release
* Support hurd-i386 (Closes: #1056306)
Checksums-Sha1:
2a1acb628ef147a301b545ceba27eb8a0853f23f 2290 haskell-hadrian_9.4.8-1~exp1.dsc
a856439e93ce21902d22d8bc7f928d2a72da49e2 188788
haskell-hadrian_9.4.8.orig.tar.xz
1561b37ed281b6e40af3bfa1db88577b89d584d9 4108
haskell-hadrian_9.4.8-1~exp1.debian.tar.xz
fa5b58b85bcdbe0f04a2062a23c26a171fb33316 6278
haskell-hadrian_9.4.8-1~exp1_source.buildinfo
Checksums-Sha256:
2cc3e2e3a64b8fc4a9d700fd01bc05260655474b2cd868517b1f96dbb03e7a32 2290
haskell-hadrian_9.4.8-1~exp1.dsc
514d3fd9fc7a684d128ac32e33b6eea0d4a40316aa8d7e7b66477da169f3b7f0 188788
haskell-hadrian_9.4.8.orig.tar.xz
b6d62783cb9745f36298dd36ee8b1e6f400ba2564ca46ec5159ac9c70afa7b7f 4108
haskell-hadrian_9.4.8-1~exp1.debian.tar.xz
e1be2ec5955fcdfebfb6ed7cc46854a9fb8e8d9a3ea0a51ac6939610e54b3449 6278
haskell-hadrian_9.4.8-1~exp1_source.buildinfo
Files:
209c41c64d5d8dfaebc4881399e74516 2290 haskell optional
haskell-hadrian_9.4.8-1~exp1.dsc
135a0596fd3e4c1535a1d84cfc87496e 188788 haskell optional
haskell-hadrian_9.4.8.orig.tar.xz
28c41539e023343d6c65926344228e89 4108 haskell optional
haskell-hadrian_9.4.8-1~exp1.debian.tar.xz
0a2196a583e7b0579424b1d058404833 6278 haskell optional
haskell-hadrian_9.4.8-1~exp1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEJ9c8pfW11+AaUTb116hngMxkQDwFAmV9vNQUHGlsaWFzdHNp
QGRlYmlhbi5vcmcACgkQ16hngMxkQDxgzBAAlanknEf5G1zjDYb+O520pGYc2ehV
2F4wvlM4V/ETtaecS8l98tGFQ8baSxYalb3mjKKWys46MaWgDk8W7bVHgvFFABnH
lndTOdKi/WxnzoJNAYkbm7+NhUw0TX+lhnYneki+rNxmguWVBOWoYzU658yZJJzs
HuCNt+ACxOiqw5ZHlcl2URKpQTH6Toh+7cQ/LjR6kQd5Z85QwGuET+oElq6I2AtD
L0njgJiMiavE5ZEuMivn3Evdl7UOc+wJXJqsdIlbK9vhLM5q6o5dC4LiUDK22+1A
R0HGOrhYak2N827bZxR9h3zLQ4AXfe2VGeBROnYzb94FT7h7mQkxJAvLiEFDsqLR
NHUPAIlgQ2mktj/nFJKj+r5ilYZVR5b2EHDy0gQda0EshZNrP5ohMHD5qbFt010Q
sbM1qnB76Ocqf7Qrs08Zx7Jx+h4pxMeRA0H0YienNzLaFLHWN+VV51IuASdbQrIQ
yxt7ouVBizAhoqHMHt1nIPu4zblHZC1OKZQ7umQ9d7rXd+tIJcBhPz4aM5xriYAx
sd2lroB9sMs4MraPEqrMwq5qI/dGdkDklLHVVukiSXTXTUavA1n8X5sJklzQDkZ4
s7btx/HTzdzy8gQRYmTqxBDOw/lBT8+eePqySdpn4coIWkE+OUKva5Oo+V2oche5
5EVxQ0XsMX90rIA=
=c+GS
-----END PGP SIGNATURE-----
--- End Message ---