haskell-ide-engine icon indicating copy to clipboard operation
haskell-ide-engine copied to clipboard

macOS Big Sur beta build fail.

Open happyo opened this issue 4 years ago • 3 comments

Build fails on macOS Big Sur beta(System Version: macOS 10.16 (20A4300b)) with the following error:

# stack (for check)
# git (for submodules)
# git (for submodules)
Options:
    Verbosity level: Info
# stack (for hie-8.8.3)
Building all executables for `haskell-ide-engine' once. After a successful build of all of them, only specified executables will be rebuilt.
haskell-ide-engine> configure (lib + internal-lib + exe)
haskell-ide-engine> Configuring haskell-ide-engine-1.4...
haskell-ide-engine> build (lib + internal-lib + exe)
haskell-ide-engine> Preprocessing library for haskell-ide-engine-1.4..
haskell-ide-engine> Building library for haskell-ide-engine-1.4..
haskell-ide-engine> [ 2 of 28] Compiling Haskell.Ide.Engine.Plugin.ApplyRefact
haskell-ide-engine> <command line>: can't load framework: CoreFoundation (not found)

--  While building package haskell-ide-engine-1.4 using:
      /Users/happyo/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.3 --builddir=.stack-work/dist/x86_64-osx/Cabal-3.0.1.0 build lib:haskell-ide-engine lib:hie-test-utils exe:hie exe:hie-wrapper --ghc-options ""
    Process exited with code: ExitFailure 1

********************************************************************************
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:
  at want, called at src/Development/Shake/Internal/Args.hs:83:69 in shake-0.18.5-44KSA7uQF2VObxzEvLYZx:Development.Shake.Internal.Args
* Depends on: hie-8.8.3
  at command, called at src/Stack.hs:80:3 in hie-install-0.8.1.0-8ohdCuWWpTvCH8woxBxMKH:Stack
* Raised the exception:
Development.Shake.command, system command failed
Command line: stack --stack-yaml=stack-8.8.3.yaml install --verbosity=info
Exit code: 1
Stderr:
Building all executables for `haskell-ide-engine' once. After a successful build of all of them, only specified executables will be rebuilt.
haskell-ide-engine> configure (lib + internal-lib + exe)
haskell-ide-engine> Configuring haskell-ide-engine-1.4...
haskell-ide-engine> build (lib + internal-lib + exe)
haskell-ide-engine> Preprocessing library for haskell-ide-engine-1.4..
haskell-ide-engine> Building library for haskell-ide-engine-1.4..
haskell-ide-engine> [ 2 of 28] Compiling Haskell.Ide.Engine.Plugin.ApplyRefact
haskell-ide-engine> <command line>: can't load framework: CoreFoundation (not found)

--  While building package haskell-ide-engine-1.4 using:
      /Users/happyo/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.3 --builddir=.stack-work/dist/x86_64-osx/Cabal-3.0.1.0 build lib:haskell-ide-engine lib:hie-test-utils exe:hie exe:hie-wrapper --ghc-options ""
    Process exited with code: ExitFailure 1

I used the following commands:

stack ./install.hs hie-8.8.3

I tried running stack clean, but not work.

happyo avatar Jul 16 '20 14:07 happyo

That looks like a stack issue. Can you use stack on other projects successfully?

fendor avatar Jul 16 '20 15:07 fendor

That looks like a stack issue. Can you use stack on other projects successfully?

Yes, I can use stack new stack build stack exec stack ghci successfully. The problem can be reproduced on another mac (macOS Big Sur beta).

happyo avatar Jul 17 '20 01:07 happyo

That looks like a stack issue. Can you use stack on other projects successfully?

Yes, I can use stack new stack build stack exec stack ghci successfully. The problem can be reproduced on another mac (macOS Big Sur beta).

same experience here. 11.0 Beta (20A5343i)

esjmb avatar Aug 10 '20 12:08 esjmb