<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">At this point I would suggest doing a "make clean", then running the<br />
bootstrap script and configure again before rebuilding.<br /></blockquote>
<div><br /></div>
I just tried building from a clean checkout with the same build.mk.
<div><br /></div>
<div>./boot</div>
<div>./configure --prefix=/usr/local/ghc/ghc-HEAD</div>
<div>make -j4</div>
<div>make install</div>
<div><br /></div>
<div>This resulted in the same error:</div>
<div><br /></div>
<div>
<div>"/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</div>
<div>Reading package info from "rts/dist/package.conf.install" ... done.</div>
<div>: Warning: Unrecognized field exposed-modules on line 708</div>
<div>: Warning: Unrecognized field key on line 703</div>
<div>: Warning: Unrecognized field id on line 702</div>
<div>: Warning: Unrecognized field version on line 701</div>
<div>: Warning: Unrecognized field name on line 700</div>
<div>: invalid package identifier: </div>
<div>: missing id field</div>
<div>make[1]: *** [install_packages] Error 1</div>
<div>make: *** [install] Error 2</div>
</div>
<div><br /></div>
<div>My cabal is 2.1.0.0</div>
<div><br /></div>
<div>
<div>% cabal --version</div>
<div>cabal-install version 2.1.0.0</div>
<div>compiled using version 2.1.0.0 of the Cabal library</div>
</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
Regards,
<div>Mitsutoshi</div>
</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
On Apr 28, 2017 18:59 +0900, Erik de Castro Lopo <mle+hs@mega-nerd.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">Mitsutoshi Aoe wrote:<br />
<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">Hi Erik,<br />
<br />
Thanks for the info. Is there a way to tell what version of Cabal was used<br />
to build GHC?<br /></blockquote>
<br />
I actually don't think that's relevant.<br />
<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">I've tried the latest cabal-install from Hackage and from master on GitHub<br />
with no luck.<br /></blockquote>
<br />
Either of those should be fine.<br />
<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">Also the Cabal git submodule in the GHC checkout is pointed to 41f416bc2,<br />
which seems to be Cabal-2.0.0.0.<br /></blockquote>
<br />
That is correct (and also not relevant).<br />
<br />
Since you are using the correct version of cabal, my guess at the problem<br />
being with the version of cabal is almost certainly wrong.<br />
<br />
At this point I would suggest doing a "make clean", then running the<br />
bootstrap script and configure again before rebuilding.<br />
<br />
Cheers,<br />
Erik<br />
--<br />
----------------------------------------------------------------------<br />
Erik de Castro Lopo<br />
http://www.mega-nerd.com/<br />
_______________________________________________<br />
ghc-devs mailing list<br />
ghc-devs@haskell.org<br />
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs<br /></blockquote>
</div>
</body>
</html>