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

ghc-stage2: missing -B<dir> option #96

Closed
angerman opened this issue Jan 5, 2016 · 1 comment
Closed

ghc-stage2: missing -B<dir> option #96

angerman opened this issue Jan 5, 2016 · 1 comment
Assignees
Labels

Comments

@angerman
Copy link
Collaborator

angerman commented Jan 5, 2016

With #88, #90 and #94 fixed (PR #95), we arrive stage2! 馃帀

And we find an old friend (#57) again:

/------------------------------------------------\
| Successfully built program 'ghc-bin' (Stage1). |
| Executable: inplace/bin/ghc-stage2             |
| Program synopsis: XXX.                         |
\------------------------------------------------/

/--------------------------------------------------\
| Run GhcCabal (stage = Stage2, package = haddock) |
|     input: utils/haddock/haddock.cabal           |
| => output: utils/haddock/stage2/package-data.mk  |
\--------------------------------------------------/
Configuring haddock-2.16.2...
ghc-cabal: '/Users/angerman/Projects/haskell/ghc/inplace/bin/ghc-stage2'
exited with an error:
ghc-stage2: missing -B<dir> option
shakeArgsWith    0.002s    0%                           
Function shake   0.027s    0%                           
Database read    0.223s    0%                           
With database    0.014s    0%                           
Running rules  976.468s   99%  =========================
Total          976.733s  100%                           
Error when running Shake build system:
* inplace/bin/haddock
* OracleQ (PackageDataKey ("utils/haddock/stage2/package-data.mk","utils_haddock_stage2_C_SRCS"))
* utils/haddock/stage2/package-data.mk
user error (Development.Shake.cmd, system command failed
Command: inplace/bin/ghc-cabal configure utils/haddock stage2  --with-ghc=/Users/angerman/Projects/haskell/ghc/inplace/bin/ghc-stage2 --with-ghc-pkg=/Users/angerman/Projects/haskell/ghc/inplace/bin/ghc-pkg --enable-library-vanilla --enable-library-for-ghci --disable-library-profiling --disable-shared --with-hscolour=/Users/angerman/.cabal/bin/HsColour --configure-option=CFLAGS=-m64 -fno-stack-protector --configure-option=LDFLAGS=-m64 --configure-option=CPPFLAGS=-Iincludes -Iincludes/dist-derivedconstants/header -m64 --gcc-options=-m64 -fno-stack-protector -m64 --configure-option=--with-cc=/usr/bin/clang --with-gcc=/usr/bin/clang --with-ld=/usr/bin/ld --with-ar=/usr/bin/ar --with-alex=/Users/angerman/.cabal/bin/alex --with-happy=/Users/angerman/.cabal/bin/happy --flag in-ghc-tree
Exit code: 1
Stderr:
ghc-cabal: '/Users/angerman/Projects/haskell/ghc/inplace/bin/ghc-stage2'
exited with an error:
ghc-stage2: missing -B<dir> option
)
@angerman angerman added the bug label Jan 5, 2016
@angerman angerman self-assigned this Jan 5, 2016
@angerman angerman mentioned this issue Jan 5, 2016
@snowleopard
Copy link
Owner

Hey, we are at stage2?! Congratulations 馃帀

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

No branches or pull requests

2 participants