Bug 822487 - Improve CLOBBER instructions and note how to bypass it. r=gps, 1stpatch=bgirard@mozilla.com
authorJustin Dolske <dolske@mozilla.com>
Wed, 02 Jan 2013 16:14:24 -0800
changeset 117399 0c6811802c54b038c885129ee2daa068b205cc8f
parent 117398 fcab6193a0fabbf59e74f76004e70db9b8e69809
child 117400 a38fd747831ae53ea494b0638344071c4ebbf68e
push id24101
push usereakhgari@mozilla.com
push dateFri, 04 Jan 2013 17:24:40 +0000
treeherdermozilla-central@259982750c29 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs822487
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 822487 - Improve CLOBBER instructions and note how to bypass it. r=gps, 1stpatch=bgirard@mozilla.com
configure.in
--- a/configure.in
+++ b/configure.in
@@ -124,18 +124,26 @@ fi
 MOZ_BUILD_ROOT=`pwd`
 
 dnl Do not allow building if a clobber is required
 dnl ==============================================================
 dnl TODO Make this better, ideally this would clobber automaticially
 if test -e $_objdir/CLOBBER; then
   if test $_topsrcdir/CLOBBER -nt $_objdir/CLOBBER; then
     echo "	***"
-    echo "	*	CLOBBER has been modified indicating a clobber is required:"
+    echo "	*	The CLOBBER file has been updated, indicating that an incremental build"
+    echo "	*	since your last build will probably not work. A full build is required."
+    echo "	*	The change that caused this is:"
     cat $_topsrcdir/CLOBBER | sed '/^#/d' | sed 's/^/	*	/'
+    echo "	*	"
+    echo "	*	The easiest way to fix this is to manually delete your objdir:"
+    echo "	*	rm -rf $_objdir"
+    echo "	*	"
+    echo "	*	Or, if you know this clobber doesn't apply to you, it can be ignored with:"
+    echo "	*	cp '$_topsrcdir/CLOBBER' $_objdir"
     echo "	***"
     exit 1
     break;
   fi
 else
   touch $_objdir/CLOBBER
 fi