Hi ghc devs,

I'm trying to build recent master (579bb766) on macOS Sierra but make install fails as follows:

"/usr/local/ghc/ghc-HEAD/lib/ghc-8.3.20170426/bin/ghc-pkg" --force --global-package-db "/usr/local/ghc/ghc-HEAD/lib/ghc-8.3.20170426/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

The package.conf.install in question is available here: https://gist.github.com/maoe/2cff85004ef8765937023425c53f2cc7.
And my build.mk is here: https://gist.github.com/maoe/caee7b2dfd921def4e95580c202cd664

I can't reproduce this error on Linux. Does anyone know how to fix it?

Regards,
Mitsutoshi