-
Notifications
You must be signed in to change notification settings - Fork 39
Building ghc-pkg: can't find stage0-built libs #27
Comments
@quchen Can you check whether the libraries have actually been built already? I suppose this flag |
@snowleopard that folder has contents, so something has been built. But there's no
|
If you look into need $ binDeps ++ libs You can add the following debug command to check which libraries were supposed to be built: need $ binDeps ++ libs
when (pkg == ghcPkg) . putBuild $ "Libraries built: " ++ show libs Maybe this will help to understand what is going on. |
@snowleopard this produces, |
Same thing for me. |
OK, thanks. I'll have a look at this tonight. |
For the record, when I run it on Windows I get the following output:
This is correct, since |
I've inspected the code and I don't see how the bug could be triggered. This must be something platform specific, beyond just the Could one of you run the following please? need $ binDeps ++ libs
when (pkg == ghcPkg) $ do
putBuild $ "pkgs = " ++ show (sort pkgs)
putBuild $ "depNames = " ++ show (map PackageName $ sort depNames)
putBuild $ "deps = " ++ show deps |
I see,
It appears that the issue is that |
@bgamari Is there a way to bring back By the way, it may be possible to use |
Done. See 3017cbc. |
I've run into this issue as well. I'll give this a try on OS X as well, or has anyone else already? |
I'll close this now. If anyone comes across this issue again, the solution is to update to the latest |
When running the build system, I get the error pasted below. It seems the libraries built by the stage-0 compiler cannot be found. Any pointers would be welcome!
Reproducible on Xubuntu 14.04 and 15.04, although I doubt the OS matters. Stage-0 is GHC 7.10.3.
The text was updated successfully, but these errors were encountered: