HEAD doesn't build: No rule to make target 'TcTypeNats.hs'

Jan Stolarek jan.stolarek at p.lodz.pl
Fri Sep 13 16:11:14 UTC 2013


I recall that David solved his problem by pulling a fresh tree from main repo. So it was fault of his tree, not your patch.

Janek

----- Oryginalna wiadomość -----
Od: "Iavor Diatchki" <iavor.diatchki at gmail.com>
Do: "David Luposchainsky" <dluposchainsky at googlemail.com>, ghc-devs at haskell.org
Wysłane: piątek, 13 wrzesień 2013 17:07:41
Temat: Re: HEAD doesn't build: No rule to make target 'TcTypeNats.hs'

Hm, sorry about that---it validated fine on my machine.  I'll kick off a fresh build, perhaps I need to register the new module somewhere besides the cabal file?  Btw, were you building from scratch, or rebuilding an existing GHC?  I find that sometimes I need to `make clean` to get all the dependencies to be computed correctly. 


On Fri, Sep 13, 2013 at 4:12 AM, David Luposchainsky < dluposchainsky at googlemail.com > wrote: 


It seems the recent commit 1f77a53 [1] introduced changes the build 
system isn't prepared for. ad15c2b builds just fine, but the mentioned 
commit introduces a make error, 

> make[1]: *** No rule to make target 
> `compiler/stage1/build/TcTypeNats.hs', needed by 
> `compiler/stage1/build/.depend-v.haskell'.  Stop. 

Since that's a rather large patch, I'm not sure how to fix it (or 
whether it really just is the build system that fails and not more). 


[1]: 
https://github.com/ghc/ghc/commit/1f77a5341cbd6649a6bc2af868002728cd79b9d7 
_______________________________________________ 
ghc-devs mailing list 
ghc-devs at haskell.org 
http://www.haskell.org/mailman/listinfo/ghc-devs 


_______________________________________________
ghc-devs mailing list
ghc-devs at haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs



More information about the ghc-devs mailing list