Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haskell toolchain for linux #386

Draft
wants to merge 1 commit into
base: LTS-2024
Choose a base branch
from
Draft

Haskell toolchain for linux #386

wants to merge 1 commit into from

Conversation

sajjaphani
Copy link

This PR adds the ghc-stage1 package for the x86_64 platform. The GHC package requires libtinfo.so.6, which is typically provided by the ncurses package. However, since ncurses was built with the --enable-widec option, there is no libtinfo.so.6 library (or symbolic link) available by default. To address this, a workaround has been implemented by creating a symlink. Ideally, this issue should be fixed in the ncurses package itself.

/hab/pkgs/core/ghc-stage1/9.6.3/20240827113323/bin/ghc --version
/hab/pkgs/core/ghc-stage1/9.6.3/20240827113323/bin/ghc: /hab/pkgs/core/ghc-stage1/9.6.3/20240827113323/lib/x86_64-linux-ghc-9.6.3/libtinfo.so.6: no version information available (required by /hab/pkgs/core/ghc-stage1/9.6.3/20240827113323/lib/x86_64-linux-ghc-9.6.3/libHShaskeline-0.8.2.1-ghc9.6.3.so)
/hab/pkgs/core/ghc-stage1/9.6.3/20240827113323/bin/ghc: /hab/pkgs/core/ghc-stage1/9.6.3/20240827113323/lib/x86_64-linux-ghc-9.6.3/libtinfo.so.6: no version information available (required by /hab/pkgs/core/ghc-stage1/9.6.3/20240827113323/lib/x86_64-linux-ghc-9.6.3/libHSterminfo-0.4.1.6-ghc9.6.3.so)
The Glorious Glasgow Haskell Compilation System, version 9.6.3

We need to investigate the issue reported above to ensure this package is compatible with building the standard core/ghc package before proceeding further.

Signed-off-by: Phani Sajja <psajja@progress.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants