Skip to content

9.4.4 contains unused libraries

Summary

I'm trying to build ghc-bootstrap to Mageia 8 in order to install GHC without having to use ghcup. However, when rpmbuild is almost done I see a list of unused libraries with a warning.

Steps to reproduce

Download https://downloads.haskell.org/~ghc/9.4.4/ghc-9.4.4-x86_64-fedora33-linux.tar.xz or https://downloads.haskell.org/~ghc/9.4.4/ghc-9.4.4-x86_64-fedora27-linux.tar.xz and try to build using my spec file.

Expected behavior

I expected the package to build

Environment

  • GHC version used: 9.4.4

Optional:

  • Operating System: Mageia 8
  • System Architecture: x86_64

ghc-bootstrap.spec

Warning_about_unused_libraries

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information