summaryrefslogtreecommitdiff
path: root/INSTALL.REPO
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2017-05-06 16:20:57 -0400
committerNoam Postavsky <npostavs@gmail.com>2017-05-06 16:28:54 -0400
commit5772b920f40a8c9f0a5266caf8d0f4729f6d2c13 (patch)
tree7b30fceb89cb1bf3c6e310b3c4ce4e1823735fba /INSTALL.REPO
parentb104d764216026d77680a79993a051725e5ab94c (diff)
downloademacs-5772b920f40a8c9f0a5266caf8d0f4729f6d2c13.tar.gz
; INSTALL.REPO: Mention cases that 'make bootstrap' can't handle (Bug#26246).
Diffstat (limited to 'INSTALL.REPO')
-rw-r--r--INSTALL.REPO17
1 files changed, 15 insertions, 2 deletions
diff --git a/INSTALL.REPO b/INSTALL.REPO
index 1b56b0b9347..ce346bb246c 100644
--- a/INSTALL.REPO
+++ b/INSTALL.REPO
@@ -50,8 +50,21 @@ To update loaddefs.el (and similar files), do:
$ make autoloads
If either of the above partial procedures fails, try 'make bootstrap'.
-If CPU time is not an issue, 'make bootstrap' is the most thorough way
-to rebuild, and avoid any spurious problems.
+If CPU time is not an issue, 'make bootstrap' is a more thorough way
+to rebuild, avoiding spurious problems.
+
+Occasionally, there are changes that 'make bootstrap' won't be able to
+handle. The most thorough cleaning can be achieved by 'git clean -fx'
+which will leave you with only files from the git repository. Here
+are some faster methods for a couple of particular error cases:
+
+ /usr/bin/m4:aclocal.m4:9: cannot open `m4/count-leading-zeros.m4': No such file or directory
+
+This can be fixed with 'rm aclocal.m4'.
+
+ make: *** No rule to make target 'lib/Makefile.am', needed by 'lib/Makefile.in'
+
+This can be fixed with 'rm lib/Makefile Makefile'.
Because the repository version of Emacs is a work in progress, it will
sometimes fail to build. Please wait a day or so (and check the