phoityne / hdx4vsc

Haskell Debugger Extension for Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=phoityne.phoityne-vscode
BSD 3-Clause "New" or "Revised" License
50 stars 9 forks source link

Unable to install on macOS, Ubuntu 24.04 (both arm64) #38

Open tallinn1960 opened 3 months ago

tallinn1960 commented 3 months ago
tallinn@ubuntu-24-04:~/Development/Haskell-hw1$ cabal --version
cabal-install version 3.10.3.0
compiled using version 3.10.3.0 of the Cabal library 
tallinn@ubuntu-24-04:~/Development/Haskell-hw1$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.4.8
tallinn@ubuntu-24-04:~/Development/Haskell-hw1$ ghci --version
The Glorious Glasgow Haskell Compilation System, version 9.4.8
tallinn@ubuntu-24-04:~/Development/Haskell-hw1$ cabal install ghci-dap haskell-debug-adapter
...
Failed to build exe:ghci-dap from ghci-dap-0.0.23.0.
Build log (
/home/tallinn/.cabal/logs/ghc-9.4.8/ghci-dap-0.0.23.0-e-ghci-dap-75490319b115203a8573e7a64c5361ce34a8c5c2d57f923e1d7a84896efcdd46.log
):
Configuring executable 'ghci-dap' for ghci-dap-0.0.23.0..
Preprocessing executable 'ghci-dap' for ghci-dap-0.0.23.0..
Building executable 'ghci-dap' for ghci-dap-0.0.23.0..

on the commandline: warning: [-Wunrecognised-warning-flags]
    unrecognised warning flag: -Wno-x-partial
[1 of 6] Compiling GHCi.DAP.Constant ( app/GHCi/DAP/Constant.hs, dist/build/ghci-dap/ghci-dap-tmp/GHCi/DAP/Constant.o )
[2 of 6] Compiling GHCi.DAP.Type    ( app/GHCi/DAP/Type.hs, dist/build/ghci-dap/ghci-dap-tmp/GHCi/DAP/Type.o )

app/GHCi/DAP/Type.hs:10:1: error:
    Could not find module ‘GHCi.GhcApiCompat’
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
10 | import qualified GHCi.GhcApiCompat as GAC
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[5 of 6] Compiling Paths_ghci_dap   ( dist/build/ghci-dap/autogen/Paths_ghci_dap.hs, dist/build/ghci-dap/ghci-dap-tmp/Paths_ghci_dap.o )
Error: cabal: Failed to build exe:ghci-dap from ghci-dap-0.0.23.0. See the
build log above for details.

This happens on macOS as well.

new-user-name commented 1 month ago

The same on WSL2.