Created attachment 797797 [details] build log Note my haskell stuff in general seems fairly broken right now (haskell-updater fails, see bug #863497).
Your build.log suggests you have USE=ghcbootstrap enabled, which should not be the default way of building ghc (we only use it when testing newer ghc versions and building bootstrap binaries). Does it work if you disable this flag? Or have you enabled it because the bundled binary didn't work for you?
(In reply to Jack Todaro from comment #1) > Your build.log suggests you have USE=ghcbootstrap enabled, which should not > be the default way of building ghc (we only use it when testing newer ghc > versions and building bootstrap binaries). Does it work if you disable this > flag? Or have you enabled it because the bundled binary didn't work for you? I do not run third-party binaries ever.
This is due to a blob accidentally bundled by upstream (and my bashrc that denies access to it). Fix should be to delete the blob in pkg_prepare so it gets compiled with GHC.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b796a76ef7f778ecd176c8dddefb9ab9bb20c56d commit b796a76ef7f778ecd176c8dddefb9ab9bb20c56d Author: matoro <matoro@users.noreply.github.com> AuthorDate: 2022-08-16 02:19:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-18 18:44:43 +0000 dev-lang/ghc: remove prebuilt libHScontainers from sources At release, a prebuilt x86 binary for the libHScontainers library was accidentally included in the source tarball. This was noticed by the Fedora packagers here: https://www.mail-archive.com/search?l=ghc-devs@haskell.org&q=subject:%22Re%5C%3A+%5C%5BHaskell%5C%5D+%5C%5BANNOUNCE%5C%5D+GHC+9.0.2+released%22&o=newest&f=1 but no action was taken by upstream, so they are patching it out in their build recipe: https://src.fedoraproject.org/rpms/ghc9.0/blob/rawhide/f/ghc9.0.spec#_327 We should do the same. From looking at upstream source releases, more recent versions like the 9.2 branch do not have the same mistake, so this is specific to 9.0. Also fixes an incorrect hash that was somehow committed for the ppc64le binary. Closes: https://bugs.gentoo.org/863686 Closes: https://github.com/gentoo/gentoo/pull/26876 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/ghc/Manifest | 2 +- dev-lang/ghc/ghc-9.0.2.ebuild | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-)