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

Install fails on windows and stack for ghc-8.6.5: duplicate def of aToWordzh #90

Closed
jneira opened this issue May 6, 2020 · 2 comments · Fixed by #129
Closed

Install fails on windows and stack for ghc-8.6.5: duplicate def of aToWordzh #90

jneira opened this issue May 6, 2020 · 2 comments · Fixed by #129
Labels
can-workaround CI Continuous integration os: windows type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@jneira
Copy link
Member

jneira commented May 6, 2020

  • windows 10, ghc-8.6.5 and stack-2.3.1
  • stack intall.hs hls-8.6.5 fails with:
haskell-language-server          > GHC runtime linker: fatal error: I found a duplicate definition for symbol
haskell-language-server          >    aToWordzh
haskell-language-server          > whilst processing object file
haskell-language-server          >    D:\bin\stack\x86_64-windows\ghc-8.6.5\lib\ghc-heap-8.6.5\HSghc-heap-8.6.5.o
haskell-language-server          > The symbol was previously defined in
haskell-language-server          >    C:\sr\snapshots\9070fc3e\lib\x86_64-windows-ghc-8.6.5\ghc-lib-parser-8.10.1.20200412-2BSV0WaFUv7bn4MuxkBnD\HSghc-lib-parser-8.10.1.20200412-2BSV0WaFUv7bn4MuxkBnD.o
haskell-language-server          > This could be caused by:
haskell-language-server          >    * Loading two different object files which export the same symbol
haskell-language-server          >    * Specifying the same object file twice on the GHCi command line
haskell-language-server          >    * An incorrect `package.conf' entry, causing some object to be
haskell-language-server          >      loaded twice.
haskell-language-server          > ghc.exe: panic! (the 'impossible' happened)
haskell-language-server          >   (GHC version 8.6.5 for x86_64-unknown-mingw32):
haskell-language-server          >      loadObj "D:\\bin\\stack\\x86_64-windows\\ghc-8.6.5\\lib\\ghc-heap-8.6.5\\HSghc-heap-8.6.5.o": failed
haskell-language-server          > Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
haskell-language-server          >

--  While building package haskell-language-server-0.1.0.0 using:
      C:\sr\setup-exe-cache\x86_64-windows\Cabal-simple_Z6RU0evB_2.4.0.1_ghc-8.6.5.exe --builddir=.stack-work\dist\e626a42b build lib:haskell-language-server lib:hls-test-utils exe:haskell-language-server exe:haskell-language-server-wrapper --ghc-options " -fdiagnostics-color=always"
    Process exited with code: ExitFailure 1
)
  • it works with cabal: cabal-hls-install hls-8.6.5
@jneira jneira added type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. CI Continuous integration os: windows can-workaround labels May 6, 2020
@jneira
Copy link
Member Author

jneira commented May 14, 2020

@jneira
Copy link
Member Author

jneira commented May 23, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can-workaround CI Continuous integration os: windows type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant