Skip to content

Instantly share code, notes, and snippets.

@dontdieych
Created September 29, 2024 13:33
Show Gist options
  • Save dontdieych/ad02cd5b04c3ded4a2f0e73a165e4a05 to your computer and use it in GitHub Desktop.
Save dontdieych/ad02cd5b04c3ded4a2f0e73a165e4a05 to your computer and use it in GitHub Desktop.
Asahilinux aarch64 arm64 haskell ghcup haskell-language-server 2.9.0.0 ghc-9.4.8 build error libtinfo.so.6
Wrote tarball sdist to
/home/a/.ghcup/tmp/ghcup-f9ab778f4da031cd/haskell-language-server-2.9.0.0/dist-newstyle/sdist/haskell-language-server-2.9.0.0.tar.gz
Resolving dependencies...
Build profile: -w ghc-9.4.8 -O1
In order, the following will be built (use -v for more details):
- haskell-language-server-2.9.0.0 (exe:haskell-language-server) (requires build)
Starting haskell-language-server-2.9.0.0 (exe:haskell-language-server)
Building haskell-language-server-2.9.0.0 (exe:haskell-language-server)
Failed to build exe:haskell-language-server from
haskell-language-server-2.9.0.0.
Build log (
/home/a/.cabal/logs/ghc-9.4.8/haskell-language-server-2.9.0.0-e-haskell-language-server-a67ac2a3270f2db08d1eb09f930b430fe68a3301b857c80ff7e3caa84811cfa0.log
):
Configuring executable 'haskell-language-server' for haskell-language-server-2.9.0.0..
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/./ghc-9.4.8: /lib64/libtinfo.so.6: no version information available (required by /home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/../lib/aarch64-linux-ghc-9.4.8/libHShaskeline-0.8.2-ghc9.4.8.so)
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/./ghc-9.4.8: /lib64/libtinfo.so.6: no version information available (required by /home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/../lib/aarch64-linux-ghc-9.4.8/libHSghc-9.4.8-ghc9.4.8.so)
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/./ghc-9.4.8: /lib64/libtinfo.so.6: no version information available (required by /home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/../lib/aarch64-linux-ghc-9.4.8/libHSterminfo-0.4.1.5-ghc9.4.8.so)
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/./ghc-pkg-9.4.8: /lib64/libtinfo.so.6: no version information available (required by /home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/./ghc-pkg-9.4.8)
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/./ghc-pkg-9.4.8: /lib64/libtinfo.so.6: no version information available (required by /home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/../lib/aarch64-linux-ghc-9.4.8/libHSterminfo-0.4.1.5-ghc9.4.8.so)
Preprocessing executable 'haskell-language-server' for haskell-language-server-2.9.0.0..
Building executable 'haskell-language-server' for haskell-language-server-2.9.0.0..
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/./ghc-9.4.8: /lib64/libtinfo.so.6: no version information available (required by /home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/../lib/aarch64-linux-ghc-9.4.8/libHShaskeline-0.8.2-ghc9.4.8.so)
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/./ghc-9.4.8: /lib64/libtinfo.so.6: no version information available (required by /home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/../lib/aarch64-linux-ghc-9.4.8/libHSghc-9.4.8-ghc9.4.8.so)
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/./ghc-9.4.8: /lib64/libtinfo.so.6: no version information available (required by /home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/../lib/aarch64-linux-ghc-9.4.8/libHSterminfo-0.4.1.5-ghc9.4.8.so)
[1 of 1] Compiling Main ( exe/Main.hs, dist/build/haskell-language-server/haskell-language-server-tmp/Main.o )
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/./ghc-9.4.8: /lib64/libtinfo.so.6: no version information available (required by /home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/../lib/aarch64-linux-ghc-9.4.8/libHShaskeline-0.8.2-ghc9.4.8.so)
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/./ghc-9.4.8: /lib64/libtinfo.so.6: no version information available (required by /home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/../lib/aarch64-linux-ghc-9.4.8/libHSghc-9.4.8-ghc9.4.8.so)
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/./ghc-9.4.8: /lib64/libtinfo.so.6: no version information available (required by /home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/../lib/aarch64-linux-ghc-9.4.8/libHSterminfo-0.4.1.5-ghc9.4.8.so)
[2 of 2] Linking dist/build/haskell-language-server/haskell-language-server
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib/../lib/aarch64-linux-ghc-9.4.8/libHSterminfo-0.4.1.5-ghc9.4.8.so: error: undefined reference to 'del_curterm', version 'NCURSES6_TINFO_5.0.19991023'
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib/../lib/aarch64-linux-ghc-9.4.8/libHSterminfo-0.4.1.5-ghc9.4.8.so: error: undefined reference to 'tparm', version 'NCURSES6_TINFO_5.0.19991023'
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib/../lib/aarch64-linux-ghc-9.4.8/libHSterminfo-0.4.1.5-ghc9.4.8.so: error: undefined reference to 'setupterm', version 'NCURSES6_TINFO_5.0.19991023'
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib/../lib/aarch64-linux-ghc-9.4.8/libHSterminfo-0.4.1.5-ghc9.4.8.so: error: undefined reference to 'tigetflag', version 'NCURSES6_TINFO_5.0.19991023'
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib/../lib/aarch64-linux-ghc-9.4.8/libHSterminfo-0.4.1.5-ghc9.4.8.so: error: undefined reference to 'tigetstr', version 'NCURSES6_TINFO_5.0.19991023'
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib/../lib/aarch64-linux-ghc-9.4.8/libHSterminfo-0.4.1.5-ghc9.4.8.so: error: undefined reference to 'tputs', version 'NCURSES6_TINFO_5.0.19991023'
/home/a/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib/../lib/aarch64-linux-ghc-9.4.8/libHSterminfo-0.4.1.5-ghc9.4.8.so: error: undefined reference to 'tigetnum', version 'NCURSES6_TINFO_5.0.19991023'
collect2: error: ld returned 1 exit status
ghc-9.4.8: `gcc' failed in phase `Linker'. (Exit code: 1)
Error: cabal: Failed to build exe:haskell-language-server from
haskell-language-server-2.9.0.0. See the build log above for details.
Debug: Identified Platform as: Linux Fedora, 40
Debug: last access was 929.004650897s ago, cache interval is 300s
Info: downloading: https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-0.0.8.yaml as file /home/a/.ghcup/cache/ghcup-0.0.8.yaml
Debug: Read etag: "ad436ded3a1165b59aca1bf008e4aeb973cca6a0a232ae0202b95104673b50b5"
Debug: Status code was 304, not overwriting
Debug: Parsed etag: "ad436ded3a1165b59aca1bf008e4aeb973cca6a0a232ae0202b95104673b50b5"
Debug: Writing etagsFile /home/a/.ghcup/cache/ghcup-0.0.8.yaml.etags
Debug: Decoding yaml at: /home/a/.ghcup/cache/ghcup-0.0.8.yaml
Warn: New ghc version available. If you want to install this latest version, run 'ghcup install ghc 9.10.1'
Warn: New cabal version available. If you want to install this latest version, run 'ghcup install cabal 3.12.1.0'
Info: Updating cabal DB
Debug: Requested to compile (from hackage): 2.9.0.0
Info: Building HLS 2.9.0.0 for GHC version 9.4.8
Debug: Running cabal with arguments ["v2-install","-w","ghc-9.4.8","--install-method=copy","--overwrite-policy=always","--disable-profiling","--disable-tests","--installdir=/home/a/.ghcup/tmp/ghcup-f9ab778f4da031cd/haskell-language-server-2.9.0.0/out/9.4.8","--project-file=cabal.project","exe:haskell-language-server","exe:haskell-language-server-wrapper"]
Error: []8;;https://errors.haskell.org/messages/GHCup-08841\GHCup-08841]8;;\] BuildFailed failed in dir /home/a/.ghcup/tmp/ghcup-f9ab778f4da031cd/haskell-language-server-2.9.0.0: Process "cabal" with arguments ["v2-install",
"-w",
"ghc-9.4.8",
"--install-method=copy",
"--overwrite-policy=always",
"--disable-profiling",
"--disable-tests",
"--installdir=/home/a/.ghcup/tmp/ghcup-f9ab778f4da031cd/haskell-language-server-2.9.0.0/out/9.4.8",
"--project-file=cabal.project",
"exe:haskell-language-server",
"exe:haskell-language-server-wrapper"] failed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment