RE: Hadrian: Suddenly a full build fails with: Rules may not be recursive

2019-06-22 Thread Andrey Mokhov
Hi all, > I think this is because `--configure` is currently broken > https://gitlab.haskell.org/ghc/ghc/issues/16809. You can work around by > running bootstrap and configure manually for now. Here is a merge request with a fix: https://gitlab.haskell.org/ghc/ghc/merge_requests/1255 Cheers,

Re: Hadrian: Suddenly a full build fails with: Rules may not be recursive

2019-06-21 Thread Shayne Fletcher via ghc-devs
I think this is because `--configure` is currently broken https://gitlab.haskell.org/ghc/ghc/issues/16809. You can work around by running bootstrap and configure manually for now. On Fri, Jun 21, 2019 at 12:55 PM Roland Senn wrote: > Hi, > > Suddenly I'm unable to build! As usual, I did: > >

Re: Hadrian: Suddenly a full build fails with: Rules may not be recursive

2019-06-21 Thread Shayne Fletcher via ghc-devs
Sorry @Matthew Pickering . Fired off my response before I saw yours! On Fri, Jun 21, 2019 at 1:55 PM Shayne Fletcher wrote: > I think this is because `--configure` is currently broken > https://gitlab.haskell.org/ghc/ghc/issues/16809. You can work around by > running bootstrap and configure

Re: Hadrian: Suddenly a full build fails with: Rules may not be recursive

2019-06-21 Thread Brandon Allbery
"-c" is a bad option that conflates configuration and build, and leads to this when certain kinds of configuration changes happen and alter the build rules that are already running. Stop using "-c" and reconfigure properly (./boot etc.). Yes, it's "convenient", right up until this happens. And

Re: Hadrian: Suddenly a full build fails with: Rules may not be recursive

2019-06-21 Thread Matthew Pickering
The -c flag is broken. Run ./boot and ./configure manually and then it should work (without -c) Cheers, Matt On Fri, Jun 21, 2019 at 5:55 PM Roland Senn wrote: > > Hi, > > Suddenly I'm unable to build! As usual, I did: > > git pull upstream master --recurse-submodules=yes > git submodule

Hadrian: Suddenly a full build fails with: Rules may not be recursive

2019-06-21 Thread Roland Senn
Hi, Suddenly I'm unable to build! As usual, I did: git pull upstream master --recurse-submodules=yes git submodule update --init --recursive $ hadrian/build.sh clean Up to date | Removing Hadrian files... | Remove directory _build/stage0 | Remove directory _build/stage1 | Remove directory