Re: Help with build ordering issue

2018-02-26 Thread Sylvain Henry
On 26/02/2018 19:19, Ben Gamari wrote: Sylvain Henry writes: On 25/02/2018 21:30, Ben Gamari wrote: Hmm, I'm afraid that's not particularly illuminating. It would be helpful to see the output from -ddump-if-trace as this will tell you why GHC is trying to load this interface file. Thanks,

Re: Help with build ordering issue

2018-02-26 Thread Ben Gamari
Sylvain Henry writes: > On 25/02/2018 21:30, Ben Gamari wrote: >> Hmm, I'm afraid that's not particularly illuminating. >> >> It would be helpful to see the output from -ddump-if-trace as this will >> tell you why GHC is trying to load this interface file. > > Thanks, it has been helpful. The rel

Re: Help with build ordering issue

2018-02-26 Thread Sylvain Henry
On 25/02/2018 21:30, Ben Gamari wrote: Hmm, I'm afraid that's not particularly illuminating. It would be helpful to see the output from -ddump-if-trace as this will tell you why GHC is trying to load this interface file. Thanks, it has been helpful. The relevant trace is: Need decl for mkNatu

Re: Help with build ordering issue

2018-02-25 Thread Ben Gamari
Sylvain Henry writes: > On 20/02/2018 03:25, Ben Gamari wrote: >> Sylvain Henry writes: >> >>> Hi, >>> >>> @Bodigrim is working on a patch (https://phabricator.haskell.org/D4212) >>> to fix #14170. >>> >>> The build fails because of interface file errors: "bad interface file" >>> for GHC.Natural

Re: Help with build ordering issue

2018-02-20 Thread Sylvain Henry
On 20/02/2018 03:25, Ben Gamari wrote: Sylvain Henry writes: Hi, @Bodigrim is working on a patch (https://phabricator.haskell.org/D4212) to fix #14170. The build fails because of interface file errors: "bad interface file" for GHC.Natural and "failed to load interface" for GHC.Types. I su

Re: Help with build ordering issue

2018-02-19 Thread Ben Gamari
Sylvain Henry writes: > Hi, > > @Bodigrim is working on a patch (https://phabricator.haskell.org/D4212) > to fix #14170. > > The build fails because of interface file errors: "bad interface file" > for GHC.Natural and "failed to load interface" for GHC.Types. > > I suspect it is a wired-in modu