"No entry for "Haskell CPP command"" error with testsuite

I'm trying to run the testsuite in my symlinked build tree, but keep getting this error: [killy@xerxes : /dane/projekty/ghc/build] make test make -C testsuite/tests CLEANUP=1 OUTPUT_SUMMARY=../../testsuite_summary.txt fast make[1]: Wejście do katalogu `/dane/projekty/ghc/build/testsuite/tests' ../mk/boilerplate.mk:168: ../mk/ghcconfig_dane_projekty_ghc_build_inplace_bin_ghc-stage2.mk: No such file or directory "/dane/projekty/ghc/build/inplace/bin/ghc-stage2" --make -o ../mk/ghc-config ../mk/ghc-config.hs No entry for "Haskell CPP command" in "/dane/projekty/ghc/build/inplace/lib/settings" make[1]: *** [../mk/ghc-config] Error 1 make[1]: Leaving directory `/dane/projekty/ghc/build/testsuite/tests' make: *** [test] Error 2 Help? Janek

The error is probably related to: https://phabricator.haskell.org/D26
Adam Sandberg Ericsson
On Thu, Jul 3, 2014 at 8:44 AM, Jan Stolarek
I'm trying to run the testsuite in my symlinked build tree, but keep getting this error:
[killy@xerxes : /dane/projekty/ghc/build] make test make -C testsuite/tests CLEANUP=1 OUTPUT_SUMMARY=../../testsuite_summary.txt fast make[1]: Wejście do katalogu `/dane/projekty/ghc/build/testsuite/tests' ../mk/boilerplate.mk:168: ../mk/ ghcconfig_dane_projekty_ghc_build_inplace_bin_ghc-stage2.mk: No such file or directory "/dane/projekty/ghc/build/inplace/bin/ghc-stage2" --make -o ../mk/ghc-config ../mk/ghc-config.hs No entry for "Haskell CPP command" in "/dane/projekty/ghc/build/inplace/lib/settings" make[1]: *** [../mk/ghc-config] Error 1 make[1]: Leaving directory `/dane/projekty/ghc/build/testsuite/tests' make: *** [test] Error 2
Help?
Janek _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Did you do a make maintainer-clean ; perl boot ; ./configure
After you pulled the new changes? It patched the build system so you have
to do the above. Can't reuse a previous build
On Thursday, July 3, 2014, Jan Stolarek
I'm trying to run the testsuite in my symlinked build tree, but keep getting this error:
[killy@xerxes : /dane/projekty/ghc/build] make test make -C testsuite/tests CLEANUP=1 OUTPUT_SUMMARY=../../testsuite_summary.txt fast make[1]: Wejście do katalogu `/dane/projekty/ghc/build/testsuite/tests' ../mk/boilerplate.mk:168: ../mk/ ghcconfig_dane_projekty_ghc_build_inplace_bin_ghc-stage2.mk: No such file or directory "/dane/projekty/ghc/build/inplace/bin/ghc-stage2" --make -o ../mk/ghc-config ../mk/ghc-config.hs No entry for "Haskell CPP command" in "/dane/projekty/ghc/build/inplace/lib/settings" make[1]: *** [../mk/ghc-config] Error 1 make[1]: Leaving directory `/dane/projekty/ghc/build/testsuite/tests' make: *** [test] Error 2
Help?
Janek _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org javascript:; http://www.haskell.org/mailman/listinfo/ghc-devs

yay! :)
(i spent quite a bit of time working on that patch, so you scared me
initially)
On Thu, Jul 3, 2014 at 11:39 AM, Jan Stolarek
Did you do a make maintainer-clean ; perl boot ; ./configure After you pulled the new changes? It patched the build system so you have to do the above. Can't reuse a previous build I guess that was it. Did a clean build and all is fine.
Janek

I wonder if we should have some magic variable in the build system that induces a full rebuild, so if you push a patch which requires a rebuild you can bump the variable and let it know. Edward Excerpts from Carter Schonwald's message of 2014-07-03 17:20:44 +0100:
yay! :) (i spent quite a bit of time working on that patch, so you scared me initially)
On Thu, Jul 3, 2014 at 11:39 AM, Jan Stolarek
wrote: Did you do a make maintainer-clean ; perl boot ; ./configure After you pulled the new changes? It patched the build system so you have to do the above. Can't reuse a previous build I guess that was it. Did a clean build and all is fine.
Janek

I think this particular case can be solved by making configure
depend on configure.ac and aclocal.m4.
Peter
On 03.07.2014, at 18:28, Edward Z. Yang
I wonder if we should have some magic variable in the build system that induces a full rebuild, so if you push a patch which requires a rebuild you can bump the variable and let it know.
Edward
Excerpts from Carter Schonwald's message of 2014-07-03 17:20:44 +0100:
yay! :) (i spent quite a bit of time working on that patch, so you scared me initially)
On Thu, Jul 3, 2014 at 11:39 AM, Jan Stolarek
wrote: Did you do a make maintainer-clean ; perl boot ; ./configure After you pulled the new changes? It patched the build system so you have to do the above. Can't reuse a previous build I guess that was it. Did a clean build and all is fine.
Janek
ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
participants (5)
-
Adam Sandberg Ericsson
-
Carter Schonwald
-
Edward Z. Yang
-
Jan Stolarek
-
Peter Trommler