* Invalid read syntax errors compiling orgmode from git repository
[not found] <87zgpvu3qf.fsf.ref@pacbell.net>
@ 2021-11-23 0:01 ` JG
2021-11-23 4:54 ` Kyle Meyer
0 siblings, 1 reply; 4+ messages in thread
From: JG @ 2021-11-23 0:01 UTC (permalink / raw)
To: orgmode
[-- Attachment #1: Type: text/plain, Size: 2656 bytes --]
Hi everyone, I was working to compile orgmode in a fresh Ubuntu 21.10 VM from
the git repository. My steps are this:
1. Clone and compile emacs from
https://git.savannah.gnu.org/git/emacs.git
The git log -1 line reads currently
commit 9ceb3070e34ad8a54184fd0deda477bf5ff77000 (HEAD -> master, origin/master, origin/HEAD)
2. Set this emacs as the one available in my path.
3. Clone and attempt to compile orgmode from
https://git.savannah.gnu.org/git/emacs/org-mode.git
The git -1 line reads currently
commit 4514a324c86a408951a0553a390a01981d61c367 (HEAD -> main, origin/main, origin/HEAD)
When running make in the orgmode directory it fails with the following
trace:
emacs -Q -batch --eval '(setq vc-handled-backends nil org-startup-folded nil org-element-cache-persistent nil)' \
--eval '(add-to-list `load-path "../lisp")' \
--eval '(load "../mk/org-fixup.el")' \
--eval '(org-make-manuals)'
Loading /home/etest/org-mode/mk/org-fixup.el (source)...
Debugger entered--Lisp error: (invalid-read-syntax ")" 1 0)
read(#<buffer *load*-671101>)
eval-buffer(#<buffer *load*-671101> nil "/home/etest/org-mode/lisp/org.el" nil t) ; Reading at buffer position 659072
load-with-code-conversion("/home/etest/org-mode/lisp/org.el" "/home/etest/org-mode/lisp/org.el" nil t)
require(org)
eval-buffer(#<buffer *load*-229799> nil "/home/etest/org-mode/lisp/org-element.el" nil t) ; Reading at buffer position 2546
load-with-code-conversion("/home/etest/org-mode/lisp/org-element.el" "/home/etest/org-mode/lisp/org-element.el" nil t)
require(org-element)
eval-buffer(#<buffer *load*-962270> nil "/home/etest/org-mode/lisp/ox.el" nil t) ; Reading at buffer position 3143
load-with-code-conversion("/home/etest/org-mode/lisp/ox.el" "/home/etest/org-mode/lisp/ox.el" nil t)
require(ox)
eval-buffer(#<buffer *load*> nil "/home/etest/org-mode/lisp/ox-texinfo.el" nil t) ; Reading at buffer position 1089
load-with-code-conversion("/home/etest/org-mode/lisp/ox-texinfo.el" "/home/etest/org-mode/lisp/ox-texinfo.el" nil t)
require(ox-texinfo)
org-make-manuals()
eval((org-make-manuals) t)
command-line-1(("--eval" "(setq vc-handled-backends nil org-startup-folded n..." "--eval" "(add-to-list `load-path \"../lisp\")" "--eval" "(load \"../mk/org-fixup.el\")" "--eval" "(org-make-manuals)"))
command-line()
normal-top-level()
make[1]: *** [Makefile:31: org.texi] Error 255
make[1]: Leaving directory '/home/etest/org-mode/doc'
make: *** [mk/targets.mk:127: info] Error 2
I have attached a text file of the full make run showing the same Error
invalid read syntax for a large number of other files.
[-- Attachment #2: orgmake.txt --]
[-- Type: text/plain, Size: 15065 bytes --]
make -C doc clean; make -C lisp clean;
make[1]: Entering directory '/home/etest/org-mode/doc'
rm -f *.pdf *.html *.info *_letter.tex org-version.inc org-version.tex \
*.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs *.toc \
*.tp *.tps *.vr *.vrs *.log *.ps
make[1]: Leaving directory '/home/etest/org-mode/doc'
make[1]: Entering directory '/home/etest/org-mode/lisp'
rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc org-install.elc
rm -f *.elc
make[1]: Leaving directory '/home/etest/org-mode/lisp'
make -C lisp compile
make[1]: Entering directory '/home/etest/org-mode/lisp'
rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc org-install.elc
org-version: 9.5.1 (release_9.5.1-187-g4514a3)
Loading /home/etest/org-mode/lisp/org-compat.el (source)...
Loading /home/etest/org-mode/mk/org-fixup.el (source)...
org-loaddefs: 9.5.1 (release_9.5.1-187-g4514a3)
Loading /home/etest/org-mode/lisp/org-compat.el (source)...
Loading /home/etest/org-mode/mk/org-fixup.el (source)...
make compile-dirall
make[2]: Entering directory '/home/etest/org-mode/lisp'
==================== dirall ====================
Checking /home/etest/org-mode/lisp...
Compiling /home/etest/org-mode/lisp/ob-C.el...
Compiling /home/etest/org-mode/lisp/ob-R.el...
Compiling /home/etest/org-mode/lisp/ob-awk.el...
Compiling /home/etest/org-mode/lisp/ob-calc.el...
Compiling /home/etest/org-mode/lisp/ob-clojure.el...
Compiling /home/etest/org-mode/lisp/ob-comint.el...
Compiling /home/etest/org-mode/lisp/ob-core.el...
Compiling /home/etest/org-mode/lisp/ob-css.el...
Compiling /home/etest/org-mode/lisp/ob-ditaa.el...
Compiling /home/etest/org-mode/lisp/ob-dot.el...
Compiling /home/etest/org-mode/lisp/ob-emacs-lisp.el...
Compiling /home/etest/org-mode/lisp/ob-eshell.el...
Compiling /home/etest/org-mode/lisp/ob-eval.el...
Compiling /home/etest/org-mode/lisp/ob-exp.el...
Compiling /home/etest/org-mode/lisp/ob-forth.el...
Compiling /home/etest/org-mode/lisp/ob-fortran.el...
Compiling /home/etest/org-mode/lisp/ob-gnuplot.el...
Compiling /home/etest/org-mode/lisp/ob-groovy.el...
Compiling /home/etest/org-mode/lisp/ob-haskell.el...
Compiling /home/etest/org-mode/lisp/ob-java.el...
Compiling /home/etest/org-mode/lisp/ob-js.el...
Compiling /home/etest/org-mode/lisp/ob-julia.el...
Compiling /home/etest/org-mode/lisp/ob-latex.el...
Compiling /home/etest/org-mode/lisp/ob-lilypond.el...
Compiling /home/etest/org-mode/lisp/ob-lisp.el...
Compiling /home/etest/org-mode/lisp/ob-lob.el...
Compiling /home/etest/org-mode/lisp/ob-lua.el...
Compiling /home/etest/org-mode/lisp/ob-makefile.el...
Compiling /home/etest/org-mode/lisp/ob-matlab.el...
Compiling /home/etest/org-mode/lisp/ob-maxima.el...
Compiling /home/etest/org-mode/lisp/ob-ocaml.el...
Compiling /home/etest/org-mode/lisp/ob-octave.el...
Compiling /home/etest/org-mode/lisp/ob-org.el...
Compiling /home/etest/org-mode/lisp/ob-perl.el...
Compiling /home/etest/org-mode/lisp/ob-plantuml.el...
Compiling /home/etest/org-mode/lisp/ob-processing.el...
Compiling /home/etest/org-mode/lisp/ob-python.el...
Compiling /home/etest/org-mode/lisp/ob-ref.el...
Compiling /home/etest/org-mode/lisp/ob-ruby.el...
Compiling /home/etest/org-mode/lisp/ob-sass.el...
Compiling /home/etest/org-mode/lisp/ob-scheme.el...
Compiling /home/etest/org-mode/lisp/ob-screen.el...
Compiling /home/etest/org-mode/lisp/ob-sed.el...
Compiling /home/etest/org-mode/lisp/ob-shell.el...
Compiling /home/etest/org-mode/lisp/ob-sql.el...
Compiling /home/etest/org-mode/lisp/ob-sqlite.el...
Compiling /home/etest/org-mode/lisp/ob-table.el...
Compiling /home/etest/org-mode/lisp/ob-tangle.el...
Compiling /home/etest/org-mode/lisp/ob.el...
Compiling /home/etest/org-mode/lisp/oc-basic.el...
Compiling /home/etest/org-mode/lisp/oc-biblatex.el...
Compiling /home/etest/org-mode/lisp/oc-bibtex.el...
Compiling /home/etest/org-mode/lisp/oc-csl.el...
Compiling /home/etest/org-mode/lisp/oc-natbib.el...
Compiling /home/etest/org-mode/lisp/oc.el...
Compiling /home/etest/org-mode/lisp/ol-bbdb.el...
Compiling /home/etest/org-mode/lisp/ol-bibtex.el...
Compiling /home/etest/org-mode/lisp/ol-docview.el...
Compiling /home/etest/org-mode/lisp/ol-doi.el...
Compiling /home/etest/org-mode/lisp/ol-eshell.el...
Compiling /home/etest/org-mode/lisp/ol-eww.el...
Compiling /home/etest/org-mode/lisp/ol-gnus.el...
Compiling /home/etest/org-mode/lisp/ol-info.el...
Compiling /home/etest/org-mode/lisp/ol-irc.el...
Compiling /home/etest/org-mode/lisp/ol-man.el...
Compiling /home/etest/org-mode/lisp/ol-mhe.el...
Compiling /home/etest/org-mode/lisp/ol-rmail.el...
Compiling /home/etest/org-mode/lisp/ol-w3m.el...
Compiling /home/etest/org-mode/lisp/ol.el...
Compiling /home/etest/org-mode/lisp/org-agenda.el...
In toplevel form:
org-agenda.el:50:1: Error: Invalid read syntax: ")", 50, 14
Compiling /home/etest/org-mode/lisp/org-archive.el...
In toplevel form:
org-archive.el:31:1: Error: Invalid read syntax: ")", 31, 14
Compiling /home/etest/org-mode/lisp/org-attach-git.el...
In toplevel form:
org-attach-git.el:32:1: Error: Invalid read syntax: ")", 32, 21
Compiling /home/etest/org-mode/lisp/org-attach.el...
In toplevel form:
org-attach.el:38:1: Error: Invalid read syntax: ")", 38, 14
Compiling /home/etest/org-mode/lisp/org-capture.el...
In toplevel form:
org-capture.el:51:1: Error: Invalid read syntax: ")", 51, 14
Compiling /home/etest/org-mode/lisp/org-clock.el...
In toplevel form:
org-clock.el:32:1: Error: Invalid read syntax: ")", 32, 14
Compiling /home/etest/org-mode/lisp/org-colview.el...
In toplevel form:
org-colview.el:32:1: Error: Invalid read syntax: ")", 32, 14
Compiling /home/etest/org-mode/lisp/org-compat.el...
Compiling /home/etest/org-mode/lisp/org-crypt.el...
Compiling /home/etest/org-mode/lisp/org-ctags.el...
In toplevel form:
org-ctags.el:141:1: Error: Invalid read syntax: ")", 141, 14
Compiling /home/etest/org-mode/lisp/org-datetree.el...
In toplevel form:
org-datetree.el:33:1: Error: Invalid read syntax: ")", 33, 14
Compiling /home/etest/org-mode/lisp/org-duration.el...
Compiling /home/etest/org-mode/lisp/org-element.el...
In toplevel form:
org-element.el:65:1: Error: Invalid read syntax: ")", 65, 14
Compiling /home/etest/org-mode/lisp/org-entities.el...
Compiling /home/etest/org-mode/lisp/org-faces.el...
Compiling /home/etest/org-mode/lisp/org-feed.el...
In toplevel form:
org-feed.el:91:1: Error: Invalid read syntax: ")", 91, 14
Compiling /home/etest/org-mode/lisp/org-footnote.el...
Compiling /home/etest/org-mode/lisp/org-goto.el...
In toplevel form:
org-goto.el:25:1: Error: Invalid read syntax: ")", 25, 14
Compiling /home/etest/org-mode/lisp/org-habit.el...
In toplevel form:
org-habit.el:32:1: Error: Invalid read syntax: ")", 32, 14
Compiling /home/etest/org-mode/lisp/org-id.el...
In toplevel form:
org-id.el:73:1: Error: Invalid read syntax: ")", 73, 14
Compiling /home/etest/org-mode/lisp/org-indent.el...
In toplevel form:
org-indent.el:41:1: Error: Invalid read syntax: ")", 41, 14
Compiling /home/etest/org-mode/lisp/org-inlinetask.el...
In toplevel form:
org-inlinetask.el:81:1: Error: Invalid read syntax: ")", 81, 14
Compiling /home/etest/org-mode/lisp/org-install.el...
Compiling /home/etest/org-mode/lisp/org-keys.el...
Compiling /home/etest/org-mode/lisp/org-lint.el...
In toplevel form:
org-lint.el:111:1: Error: Invalid read syntax: ")", 111, 21
Compiling /home/etest/org-mode/lisp/org-list.el...
Compiling /home/etest/org-mode/lisp/org-loaddefs.el...
Compiling /home/etest/org-mode/lisp/org-macro.el...
Compiling /home/etest/org-mode/lisp/org-macs.el...
Compiling /home/etest/org-mode/lisp/org-mobile.el...
In toplevel form:
org-mobile.el:35:1: Error: Invalid read syntax: ")", 35, 14
Compiling /home/etest/org-mode/lisp/org-mouse.el...
In toplevel form:
org-mouse.el:139:1: Error: Invalid read syntax: ")", 139, 14
Compiling /home/etest/org-mode/lisp/org-num.el...
In toplevel form:
org-num.el:66:1: Error: Invalid read syntax: ")", 66, 14
Compiling /home/etest/org-mode/lisp/org-pcomplete.el...
Compiling /home/etest/org-mode/lisp/org-persist.el...
In toplevel form:
org-persist.el:31:1: Error: Invalid read syntax: ")", 31, 17
Compiling /home/etest/org-mode/lisp/org-plot.el...
In toplevel form:
org-plot.el:35:1: Error: Invalid read syntax: ")", 35, 14
Compiling /home/etest/org-mode/lisp/org-protocol.el...
In toplevel form:
org-protocol.el:132:1: Error: Invalid read syntax: ")", 132, 14
Compiling /home/etest/org-mode/lisp/org-refile.el...
In toplevel form:
org-refile.el:29:1: Error: Invalid read syntax: ")", 29, 14
Compiling /home/etest/org-mode/lisp/org-src.el...
Compiling /home/etest/org-mode/lisp/org-table.el...
Compiling /home/etest/org-mode/lisp/org-tempo.el...
In toplevel form:
org-tempo.el:43:1: Error: Invalid read syntax: ")", 43, 14
Compiling /home/etest/org-mode/lisp/org-timer.el...
In toplevel form:
org-timer.el:39:1: Error: Invalid read syntax: ")", 39, 20
Compiling /home/etest/org-mode/lisp/org-version.el...
Compiling /home/etest/org-mode/lisp/org.el...
In org-display-inline-image--width:
org.el:16869:20: Warning: string-match-p called with 1 argument, but requires
2-3
org.el:16869:20: Warning: value returned from (car org-image-actual-width) is
unused
org.el:16869:20: Warning: value returned from (/ (string-to-number attr-width)
100.0) is unused
org.el:16869:20: Warning: value returned from (string-to-number attr-width) is
unused
org.el:16869:20: Warning: value returned from (car org-image-actual-width) is
unused
org.el:16869:20: Warning: value returned from (/ (string-to-number attr-width)
100.0) is unused
org.el:16869:20: Warning: value returned from (string-to-number attr-width) is
unused
org.el:16869:20: Warning: value returned from (round (* width
(window-pixel-width) (/ (or (and (and (boundp 'visual-fill-column-mode)
visual-fill-column-mode) (or visual-fill-column-width auto-fill-function))
(if auto-fill-function (progn fill-column)) (- (window-text-width)
(line-number-display-width))) (float (window-total-width))))) is unused
org.el:16869:20: Warning: value returned from (car org-image-actual-width) is
unused
org.el:16869:20: Warning: value returned from (/ (string-to-number attr-width)
100.0) is unused
org.el:16869:20: Warning: value returned from (string-to-number attr-width) is
unused
org.el:16869:20: Warning: value returned from (round (* (* width
(window-pixel-width)) (/ (or (and (and (boundp 'visual-fill-column-mode)
visual-fill-column-mode) (or visual-fill-column-width auto-fill-function))
(if auto-fill-function fill-column) (- (window-text-width)
(line-number-display-width))) (float (window-total-width))))) is unused
org.el:16869:20: Warning: ‘(numberp org-image-actual-width)’ is a malformed
function
org.el:16875:24: Warning: reference to free variable ‘width’
org.el:16887:32: Warning: ‘t’ called as a function
org.el:16891:12: Error: Invalid read syntax: ")", 16891, 12
Compiling /home/etest/org-mode/lisp/ox-ascii.el...
In toplevel form:
ox-ascii.el:31:1: Error: Invalid read syntax: ")", 31, 13
Compiling /home/etest/org-mode/lisp/ox-beamer.el...
In toplevel form:
ox-beamer.el:34:1: Error: Invalid read syntax: ")", 34, 19
Compiling /home/etest/org-mode/lisp/ox-html.el...
In toplevel form:
ox-html.el:36:1: Error: Invalid read syntax: ")", 36, 13
Compiling /home/etest/org-mode/lisp/ox-icalendar.el...
In toplevel form:
ox-icalendar.el:36:1: Error: Invalid read syntax: ")", 36, 21
Compiling /home/etest/org-mode/lisp/ox-koma-letter.el...
In toplevel form:
ox-koma-letter.el:169:1: Error: Invalid read syntax: ")", 169, 19
Compiling /home/etest/org-mode/lisp/ox-latex.el...
In toplevel form:
ox-latex.el:30:1: Error: Invalid read syntax: ")", 30, 13
Compiling /home/etest/org-mode/lisp/ox-man.el...
In toplevel form:
ox-man.el:41:1: Error: Invalid read syntax: ")", 41, 13
Compiling /home/etest/org-mode/lisp/ox-md.el...
In toplevel form:
ox-md.el:33:1: Error: Invalid read syntax: ")", 33, 18
Compiling /home/etest/org-mode/lisp/ox-odt.el...
In toplevel form:
ox-odt.el:32:1: Error: Invalid read syntax: ")", 32, 13
Compiling /home/etest/org-mode/lisp/ox-org.el...
In toplevel form:
ox-org.el:28:1: Error: Invalid read syntax: ")", 28, 13
Compiling /home/etest/org-mode/lisp/ox-publish.el...
In toplevel form:
ox-publish.el:43:1: Error: Invalid read syntax: ")", 43, 13
Compiling /home/etest/org-mode/lisp/ox-texinfo.el...
In toplevel form:
ox-texinfo.el:30:1: Error: Invalid read syntax: ")", 30, 13
Compiling /home/etest/org-mode/lisp/ox.el...
In toplevel form:
ox.el:80:1: Error: Invalid read syntax: ")", 80, 22
Done (Total of 82 files compiled, 40 failed, 3 skipped)
make[2]: Leaving directory '/home/etest/org-mode/lisp'
make[1]: Leaving directory '/home/etest/org-mode/lisp'
make -C doc info
make[1]: Entering directory '/home/etest/org-mode/doc'
emacs -Q -batch --eval '(setq vc-handled-backends nil org-startup-folded nil org-element-cache-persistent nil)' \
--eval '(add-to-list `load-path "../lisp")' \
--eval '(load "../mk/org-fixup.el")' \
--eval '(org-make-manuals)'
Loading /home/etest/org-mode/mk/org-fixup.el (source)...
Debugger entered--Lisp error: (invalid-read-syntax ")" 1 0)
read(#<buffer *load*-671101>)
eval-buffer(#<buffer *load*-671101> nil "/home/etest/org-mode/lisp/org.el" nil t) ; Reading at buffer position 659072
load-with-code-conversion("/home/etest/org-mode/lisp/org.el" "/home/etest/org-mode/lisp/org.el" nil t)
require(org)
eval-buffer(#<buffer *load*-229799> nil "/home/etest/org-mode/lisp/org-element.el" nil t) ; Reading at buffer position 2546
load-with-code-conversion("/home/etest/org-mode/lisp/org-element.el" "/home/etest/org-mode/lisp/org-element.el" nil t)
require(org-element)
eval-buffer(#<buffer *load*-962270> nil "/home/etest/org-mode/lisp/ox.el" nil t) ; Reading at buffer position 3143
load-with-code-conversion("/home/etest/org-mode/lisp/ox.el" "/home/etest/org-mode/lisp/ox.el" nil t)
require(ox)
eval-buffer(#<buffer *load*> nil "/home/etest/org-mode/lisp/ox-texinfo.el" nil t) ; Reading at buffer position 1089
load-with-code-conversion("/home/etest/org-mode/lisp/ox-texinfo.el" "/home/etest/org-mode/lisp/ox-texinfo.el" nil t)
require(ox-texinfo)
org-make-manuals()
eval((org-make-manuals) t)
command-line-1(("--eval" "(setq vc-handled-backends nil org-startup-folded n..." "--eval" "(add-to-list `load-path \"../lisp\")" "--eval" "(load \"../mk/org-fixup.el\")" "--eval" "(org-make-manuals)"))
command-line()
normal-top-level()
make[1]: *** [Makefile:31: org.texi] Error 255
make[1]: Leaving directory '/home/etest/org-mode/doc'
make: *** [mk/targets.mk:127: info] Error 2
^ permalink raw reply [flat|nested] 4+ messages in thread