I've recently downloaded the latest plugin version of mason.nvim
[X] Yes
Problem description
1) Installation is cancelling with a compile error regarding ghci-dap (ghci-dap > Could not find module ‘GHCi.GhcApiCompat’)
2.1) Honestly, I can't isolate the installation/compile error enough. At first stack is using a ghc-version (ghc-9.0.2), which I didn't install via ghcup. So I guess this is determined via Mason somehow.
2.2) phoityne/ghci-dap: ghci having DAP interface. got no tickets regarding this topic and didn't change for a long time. So I guess, it's stable.
Compile error is referring to https://github.com/phoityne/ghci-dap/blob/5ae35d9e0f11dbf598124185ccd072ad3defde1e/app/GHCi/DAP/Type.hs#L10
Expected behavior
Compile haskell-debug-adapter successfully.
Affected packages
haskell-debug-adapter
Mason output
◍ haskell-debug-adapter
▼ Displaying full log
+ stack install haskell-dap ghci-dap haskell-debug-adapter-0.0.39.0 --local-bin-path=/home/censored/.local/share/nvim/mason/packages/haskell-debug-adapter
ghci-dap > configure
ghci-dap > Configuring ghci-dap-0.0.21.0...
ghci-dap > build
ghci-dap > Preprocessing library for ghci-dap-0.0.21.0..
ghci-dap > Building library for ghci-dap-0.0.21.0..
ghci-dap > [1 of 2] Compiling GHCi.DAP
ghci-dap > [2 of 2] Compiling Paths_ghci_dap
ghci-dap > Preprocessing executable 'ghci-dap' for ghci-dap-0.0.21.0..
ghci-dap > Building executable 'ghci-dap' for ghci-dap-0.0.21.0..
ghci-dap > [1 of 6] Compiling GHCi.DAP.Constant
ghci-dap > [2 of 6] Compiling GHCi.DAP.Type
ghci-dap >
ghci-dap > /tmp/stack-45f41ebedd46ddbb/ghci-dap-0.0.21.0/app/GHCi/DAP/Type.hs:10:1: error:
ghci-dap > Could not find module ‘GHCi.GhcApiCompat’
ghci-dap > Use -v (or `:set -v` in ghci) to see a list of the files searched for.
ghci-dap > |
ghci-dap > 10 | import qualified GHCi.GhcApiCompat as GAC
ghci-dap > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: [S-7282]
Stack failed to execute the build plan.
While executing the build plan, Stack encountered the error:
[S-7011]
While building package ghci-dap-0.0.21.0 (scroll up to its section to see the error) using:
/home/censored/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_6HauvNHV_3.4.1.0_ghc-9.0.2 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.4.1.0 build --ghc-options ""
Process exited with code: ExitFailure 1
spawn: bash failed with exit code 1 and signal 0.
Installation log
[ERROR Mi 06 Dez 2023 15:42:30 CET] ...acker/start/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=haskell-debug-adapter) error=spawn: bash failed with exit code 1 and signal 0.
Linux desktop 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Healthcheck
mason: require("mason.health").check()
mason.nvim ~
- OK mason.nvim version v1.8.3
- OK PATH: prepend
- OK Providers:
mason.providers.registry-api
mason.providers.client
- OK neovim version >= 0.7.0
mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2023-12-06-senior-wheel` is installed.
mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.`
- OK wget: `GNU Wget 1.21.2 built on linux-gnu.`
- OK curl: `curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.16`
- OK gzip: `gzip 1.10`
- OK tar: `tar (GNU tar) 1.34`
- OK bash: `GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`
mason.nvim [Languages] ~
- WARNING luarocks: not available
- ADVICE:
- spawn: luarocks failed with exit code - and signal -. luarocks is not executable
- WARNING Composer: not available
- ADVICE:
- spawn: composer failed with exit code - and signal -. composer is not executable
- OK Go: `go version go1.18.1 linux/amd64`
- OK Ruby: `ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu]`
- OK node: `v16.14.0`
- OK PHP: `PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS)`
- OK cargo: `cargo 1.76.0-nightly (623b78849 2023-12-02)`
- WARNING julia: not available
- ADVICE:
- spawn: julia failed with exit code - and signal -. julia is not executable
- OK python: `Python 3.11.6`
- OK java: `openjdk version "21.0.1" 2023-10-17 LTS`
- OK RubyGem: `3.3.5`
- OK JAVA_HOME: `openjdk version "21.0.1" 2023-10-17 LTS`
- OK javac: `javac 21.0.1`
- OK npm: `8.12.1`
- OK pip: `pip 23.3.1 from /home/linuxbrew/.linuxbrew/Cellar/python@3.11/3.11.6_1/lib/python3.11/site-packages/pip (python 3.11)`
- OK python venv: `Ok`
mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 4. Remaining: 56. Limit: 60. Reset: Mi 06 Dez 2023 16:21:16 CET.
Install and authenticate via gh-cli to increase rate limit.
I've searched open issues for similar requests
I've recently downloaded the latest plugin version of mason.nvim
Problem description
1) Installation is cancelling with a compile error regarding ghci-dap (
ghci-dap > Could not find module ‘GHCi.GhcApiCompat’
) 2.1) Honestly, I can't isolate the installation/compile error enough. At firststack
is using a ghc-version (ghc-9.0.2), which I didn't install via ghcup. So I guess this is determined via Mason somehow. 2.2) phoityne/ghci-dap: ghci having DAP interface. got no tickets regarding this topic and didn't change for a long time. So I guess, it's stable. Compile error is referring to https://github.com/phoityne/ghci-dap/blob/5ae35d9e0f11dbf598124185ccd072ad3defde1e/app/GHCi/DAP/Type.hs#L10Expected behavior
Compile haskell-debug-adapter successfully.
Affected packages
haskell-debug-adapter
Mason output
Installation log
Neovim version (>= 0.7)
NVIM v0.10.0-dev Build type: RelWithDebInfo LuaJIT 2.1.0-beta3
Operating system/version
Linux desktop 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Healthcheck
Screenshots
No response