This repository was archived by the owner on Oct 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 204
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
cabal-helper-0.9.0.0 fails to build on windows 10 due to long path issue #1111
Copy link
Copy link
Closed
Labels
buildContinuous integration and buildingContinuous integration and buildingcan-workaroundcomponent: cabal-helperos: windows
Description
I'm having problems building hie on windows
ghc - 8.4.4
>stack install.hs hie-8.4.4
# git (for submodules) Synchronizing submodule url for 'submodules/HaRe' Synchronizing submodule url for 'submodules/HaRe/submodules/cabal-helper'
Synchronizing submodule url for 'submodules/HaRe/submodules/ghc-mod'
Synchronizing submodule url for 'submodules/brittany' Synchronizing submodule url for 'submodules/cabal-helper'
Synchronizing submodule url for 'submodules/floskell' Synchronizing submodule url for 'submodules/ghc-mod'
# git (for submodules)
# stack (for cabal) # stack (for cabal)
Copying from C:\sr\snapshots\67bc10f6\bin\cabal.exe to C:\Users\Vatsman\AppData\Roaming\local\bin\cabal.exe
Copied executables to C:\Users\Vatsman\AppData\Roaming\local\bin: - cabal.exe
# cabal (for cabal)
Downloading the latest package list from hackage.haskell.org
To revert to previous state run:
cabal update --index-state='2019-02-28T13:06:58Z'
# cabal (for cabal)
Resolving dependencies...
All the requested packages are already installed:
Cabal-2.4.1.0
Use --reinstall if you want to reinstall anyway.
# stack (for hie-8.4.4)
cabal-helper-0.9.0.0: build (lib + exe)
Progress 1/6
-- While building custom Setup.hs for package cabal-helper-0.9.0.0 using:
C:\Users\Vatsman\Downloads\haskell-ide-engine-master\haskell-ide-engine\submodules\cabal-helper\.stack-work\dist\7d103d30\setup\setup --builddir=.stack-work\dist\7d103d30 build lib:cabal-helper exe:cabal-helper-wrapper --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: C:\Users\Vatsman\Downloads\haskell-ide-engine-master\haskell-ide-engine\.stack-work\logs\cabal-helper-0.9.0.0.log
Preprocessing library for cabal-helper-0.9.0.0..
Building library for cabal-helper-0.9.0.0..
Preprocessing executable 'cabal-helper-wrapper' for cabal-helper-0.9.0.0..
Building executable 'cabal-helper-wrapper' for cabal-helper-0.9.0.0..
[ 9 of 12] Compiling CabalHelper.Compiletime.Data ( src\CabalHelper\Compiletime\Data.hs, .stack-work\dist\7d103d30\build\cabal-helper-wrapper\cabal-helper-wrapper-tmp\CabalHelper\Compiletime\Data.o )
[10 of 12] Compiling Paths_cabal_helper ( .stack-work\dist\7d103d30\build\cabal-helper-wrapper\autogen\Paths_cabal_helper.hs, .stack-work\dist\7d103d30\build\cabal-helper-wrapper\cabal-helper-wrapper-tmp\Paths_cabal_helper.o )
.stack-work\dist\7d103d30\build\cabal-helper-wrapper\cabal-helper-wrapper-tmp\.stack-work\dist\7d103d30\build\cabal-helper-wrapper\autogen\Paths_cabal_helper.dump-hi: openFile: does not exist (No such file or directory)
******************************************************************
building failed, try running `stack clean` and restart the build
if this does not work, open an issue at
https://github.com/haskell/haskell-ide-engine
******************************************************************
Error when running Shake build system:
* hie-8.4.4
user error (Development.Shake.command_, system command failed
Command: stack --stack-yaml=stack-8.4.4.yaml build
Exit code: 1
Stderr:
cabal-helper-0.9.0.0: build (lib + exe)
Progress 1/6
-- While building custom Setup.hs for package cabal-helper-0.9.0.0 using:
C:\Users\Vatsman\Downloads\haskell-ide-engine-master\haskell-ide-engine\submodules\cabal-helper\.stack-work\dist\7d103d30\setup\setup --builddir=.stack-work\dist\7d103d30 build lib:cabal-helper exe:cabal-helper-wrapper --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: C:\Users\Vatsman\Downloads\haskell-ide-engine-master\haskell-ide-engine\.stack-work\logs\cabal-helper-0.9.0.0.log
Preprocessing library for cabal-helper-0.9.0.0..
Building library for cabal-helper-0.9.0.0..
Preprocessing executable 'cabal-helper-wrapper' for cabal-helper-0.9.0.0..
Building executable 'cabal-helper-wrapper' for cabal-helper-0.9.0.0..
[ 9 of 12] Compiling CabalHelper.Compiletime.Data ( src\CabalHelper\Compiletime\Data.hs, .stack-work\dist\7d103d30\build\cabal-helper-wrapper\cabal-helper-wrapper-tmp\CabalHelper\Compiletime\Data.o )
[10 of 12] Compiling Paths_cabal_helper ( .stack-work\dist\7d103d30\build\cabal-helper-wrapper\autogen\Paths_cabal_helper.hs, .stack-work\dist\7d103d30\build\cabal-helper-wrapper\cabal-helper-wrapper-tmp\Paths_cabal_helper.o )
.stack-work\dist\7d103d30\build\cabal-helper-wrapper\cabal-helper-wrapper-tmp\.stack-work\dist\7d103d30\build\cabal-helper-wrapper\autogen\Paths_cabal_helper.dump-hi: openFile: does not exist (No such file or directory)
)
edit: I've tried stack clean and restarting the build and tried building with make instead of shake (results in the same message)
Metadata
Metadata
Assignees
Labels
buildContinuous integration and buildingContinuous integration and buildingcan-workaroundcomponent: cabal-helperos: windows