make install fails on master on macOS Sierra
Mitsutoshi Aoe
maoe at foldr.in
Fri Apr 28 21:37:52 UTC 2017
> At this point I would suggest doing a "make clean", then running the
> bootstrap script and configure again before rebuilding.
I just tried building from a clean checkout with the same build.mk.
./boot
./configure --prefix=/usr/local/ghc/ghc-HEAD
make -j4
make install
This resulted in the same error:
"/usr/local/ghc/ghc-HEAD/lib/ghc-8.3.20170428/bin/ghc-pkg" --force --global-package-db "/usr/local/ghc/ghc-HEAD/lib/ghc-8.3.20170428/package.conf.d" update rts/dist/package.conf.install
Reading package info from "rts/dist/package.conf.install" ... done.
: Warning: Unrecognized field exposed-modules on line 708
: Warning: Unrecognized field key on line 703
: Warning: Unrecognized field id on line 702
: Warning: Unrecognized field version on line 701
: Warning: Unrecognized field name on line 700
: invalid package identifier:
: missing id field
make[1]: *** [install_packages] Error 1
make: *** [install] Error 2
My cabal is 2.1.0.0
% cabal --version
cabal-install version 2.1.0.0
compiled using version 2.1.0.0 of the Cabal library
Regards,
Mitsutoshi
On Apr 28, 2017 18:59 +0900, Erik de Castro Lopo <mle+hs at mega-nerd.com>, wrote:
> Mitsutoshi Aoe wrote:
>
> > Hi Erik,
> >
> > Thanks for the info. Is there a way to tell what version of Cabal was used
> > to build GHC?
>
> I actually don't think that's relevant.
>
> > I've tried the latest cabal-install from Hackage and from master on GitHub
> > with no luck.
>
> Either of those should be fine.
>
> > Also the Cabal git submodule in the GHC checkout is pointed to 41f416bc2,
> > which seems to be Cabal-2.0.0.0.
>
> That is correct (and also not relevant).
>
> Since you are using the correct version of cabal, my guess at the problem
> being with the version of cabal is almost certainly wrong.
>
> At this point I would suggest doing a "make clean", then running the
> bootstrap script and configure again before rebuilding.
>
> Cheers,
> Erik
> --
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170429/78a47063/attachment-0001.html>
More information about the ghc-devs
mailing list