Skip to content

Instantly share code, notes, and snippets.

@zeldin
Last active October 22, 2022 20:31
Show Gist options
  • Save zeldin/82b27e412f6ee61c67de3f00da18e0e8 to your computer and use it in GitHub Desktop.
Save zeldin/82b27e412f6ee61c67de3f00da18e0e8 to your computer and use it in GitHub Desktop.
Debian patches needed for riscv64:
latomic-subword.patch
Debian patches needed for ppc (32-bit):
latomic-subword.patch
latomic-64bit.patch
failure logs at https://mc.pp.se/haskell-logs/
packages failing testsuite on ppc64:
dev-haskell/network <- fixed by https://github.com/gentoo-haskell/gentoo-haskell/pull/1319
dev-vcs/darcs
dev-haskell/unicode-transforms
dev-haskell/commonmark <- most likeley caused by unicode-transforms
dev-haskell/unicode-collation <- ditto
app-text/pandoc <- ditto
packages failing testsuite on arm64:
dev-haskell/http-client <- bad fd, not reproducable, possible temporary lack of resources
dev-haskell/happy <- LLVM crash, both llvm:13 and llvm:14 affected
Packages not pulled in by leafs with default USE:
dev-haskell/atomic-primops <- dev-haskell/abstract-deque[usecas]
dev-haskell/deriving-compat
^ <- dev-haskell/text-show <- dev-haskell/http-api-data[text-show]
dev-haskell/hspec-wai
dev-haskell/http-media
dev-haskell/servant
dev-haskell/should-not-typecheck
dev-haskell/string-conversions
^ <- dev-haskell/servant-server <- dev-haskell/texmath[server]
dev-haskell/safe-exceptions
^ <- dev-haskell/libmpd <- x11-misc/xmobar[mpd]
dev-haskell/netlink <- x11-misc/xmobar[wifi]
dev-haskell/timezone-olson <-\
dev-haskell/timezone-series <-+- x11-misc/xmobar[timezone]
dev-haskell/parsec1 <- dev-haskell/parsec-numbers[parsec1]
dev-haskell/hscolour <- app-text/pandoc[hscolour]
Packages only depended on by masked packages:
dev-haskell/validity
^ <- dev-haskell/genvalidity
^ <- dev-haskell/genvalidity-property
^ <- dev-haskell/genvalidity-hspec
^ <- dev-haskell/path[test] <- dev-haskell/{path-io,stack,pantry,rio-prettyprint,http-downlad}[M]
aarch64 big endian with LLVM:
ghc-stage1: panic! (the 'impossible' happened)
(GHC version 9.0.2:
Failed to lookup LLVM data layout
Target: aarch64_be-unknown-linux
Available targets:
i386-unknown-windows
i686-unknown-windows
x86_64-unknown-windows
arm-unknown-linux-gnueabi
arm-unknown-linux-gnueabihf
arm-unknown-linux-musleabihf
armv6-unknown-linux-gnueabihf
armv6-unknown-linux-musleabihf
armv6l-unknown-linux-gnueabihf
armv6l-unknown-linux-musleabihf
armv7-unknown-linux-gnueabihf
armv7-unknown-linux-musleabihf
armv7a-unknown-linux-gnueabi
armv7a-unknown-linux-musleabi
armv7a-unknown-linux-gnueabihf
armv7a-unknown-linux-musleabihf
armv7l-unknown-linux-gnueabi
armv7l-unknown-linux-musleabi
armv7l-unknown-linux-gnueabihf
armv7l-unknown-linux-musleabihf
aarch64-unknown-linux-gnu
aarch64-unknown-linux-musl
aarch64-unknown-linux
i386-unknown-linux-gnu
i386-unknown-linux-musl
i386-unknown-linux
i686-unknown-linux-gnu
i686-unknown-linux-musl
i686-unknown-linux
x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl
x86_64-unknown-linux
x86_64-unknown-linux-android
armv7-unknown-linux-androideabi
aarch64-unknown-linux-android
armv7a-unknown-linux-androideabi
powerpc64le-unknown-linux-gnu
powerpc64le-unknown-linux-musl
powerpc64le-unknown-linux
s390x-ibm-linux
riscv64-unknown-linux-gnu
riscv64-unknown-linux
i386-apple-darwin
x86_64-apple-darwin
arm64-apple-darwin
armv7-apple-ios
aarch64-apple-ios
i386-apple-ios
x86_64-apple-ios
amd64-portbld-freebsd
x86_64-unknown-freebsd
aarch64-unknown-freebsd
armv6-unknown-freebsd-gnueabihf
armv7-unknown-freebsd-gnueabihf
arm-unknown-nto-qnx-eabi
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/GHC/Utils/Outputable.hs:1230:37 in ghc:GHC.Utils.Outputable
pprPanic, called at compiler/GHC/CmmToLlvm.hs:120:20 in ghc:GHC.CmmToLlvm
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
-----
Packages failing to install on big endian ARM64:
dev-vcs/git-annex:
```
Utility/FileSystemEncoding.hs:28:1: error:
Could not load module ~System.FilePath.ByteString~
It is a member of the hidden package ~filepath-bytestring-1.4.2.1.9~.
You can run ~:set -package filepath-bytestring~ to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
28 | import System.FilePath.ByteString (RawFilePath, encodeFilePath, decodeFilePath)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
(and other packages as well)
app-portage/hackport:
```
/var/tmp/portage/app-portage/hackport-0.7.2.2/work/hackport-0.7.2.2/Setup.hs:3:1: error:
Could not load module ~Distribution.Extra.Doctest~
It is a member of the hidden package ~cabal-doctest-1.0.9~.
You can run ~:set -package cabal-doctest~ to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
3 | import Distribution.Extra.Doctest ( defaultMainWithDoctests )
```
Failing package testsuites on big endian ARM64:
dev-haskell/network <- fixed by https://github.com/gentoo-haskell/gentoo-haskell/pull/1319
dev-haskell/time-compat <- resolution tests fail
dev-vcs/darcs <- as on ppc64
dev-haskell/unicode-transforms <- as on ppc64
dev-haskell/commonmark <- as on ppc64
app-text/pandoc <- as on ppc64
All the following packages have a "doctest" test suite that fails. All other test suites pass.
dev-haskell/email-validate
dev-haskell/vector
dev-haskell/network-byte-order
dev-haskell/foldl
dev-haskell/prettyprinter
dev-haskell/prettyprinter-ansi-terminal
dev-haskell/xml-conduit
dev-haskell/wai-logger
The failure is always the same:
user error (Language.Haskell.GhciWrapper.close: Interpreter exited with an error (ExitFailure (-4)))
except in wai-logger, where the failure is instead:
```
test/doctests.hs:3:1: error:
Could not find module ~Build_doctests~
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
3 | import Build_doctests (flags, pkgs, module_sources)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
@matoro
Copy link

matoro commented Sep 14, 2022

riscv issues:

@matoro
Copy link

matoro commented Oct 22, 2022

arm64 big-endian:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment