Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

macOS Big Sur beta build fail. #1792

Open
happyo opened this issue Jul 16, 2020 · 3 comments
Open

macOS Big Sur beta build fail. #1792

happyo opened this issue Jul 16, 2020 · 3 comments

Comments

@happyo
Copy link

happyo commented Jul 16, 2020

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.

@fendor
Copy link
Collaborator

fendor commented Jul 16, 2020

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

@happyo
Copy link
Author

happyo commented Jul 17, 2020

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).

@esjmb
Copy link

esjmb commented Aug 10, 2020

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants