emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Compilation problem
Date: Mon, 10 Sep 2012 15:52:48 -0400	[thread overview]
Message-ID: <5986.1347306768@alphaville.americas.hpqcorp.net> (raw)
In-Reply-To: Message from Alan Schmitt <alan.schmitt@polytechnique.org> of "Mon, 10 Sep 2012 14:29:50 +0200." <m2pq5u2h8h.fsf@top.irisa.fr>

Alan Schmitt <alan.schmitt@polytechnique.org> wrote:

> Hello,
> 
> I cannot compile the current version of org-mode (from git): something
> fails during testing:
> 
> make test-dirty
> install -m 755 -d /var/folders/68/fvntfrw92y50gkk_67rkhsfw0000gn/T//tmp-orgtest
> TMPDIR=/var/folders/68/fvntfrw92y50gkk_67rkhsfw0000gn/T//tmp-orgtest /Applications/Emacs.app/Contents/MacOS/Emacs -batch -Q  --eval '(add-to-list '"'"'load-path "./lisp")' --eval '(add-to-list '"'"'load-path "./testing")'  -l org-install.el -l testing/org-test.el --eval '(require '"'"'ob-awk)' --eval '(require '"'"'ob-C)' --eval '(require '"'"'ob-fortran)' --eval '(require '"'"'ob-maxima)' --eval '(require '"'"'ob-lilypond)' --eval '(require '"'"'ob-octave)' --eval '(require '"'"'ob-python)' --eval '(require '"'"'ob-sh)'  --eval '(setq org-confirm-babel-evaluate nil)' -f org-test-run-batch-tests
> Symbol's function definition is void: org-export-define-backend
> make[1]: *** [test-dirty] Error 255
> 
> Here is my local.mk
> 
> EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs
> prefix=/Users/schmitta/.emacs.d/vendor
> SUDO =
> ORG_ADD_CONTRIB=org-checklist org-export org-e-*
> up2::
> 
> Is this a (known) bug?
> 

I can reproduce this. AFAIK, it's new - I stripped down the command line above and kept
getting the error until the -l org-install.el, so it's clearly something in org-install.el.
I modified the function org-make-org-install in org-fixup.el to add

(eval-when-compile (require 'org-export))

at the top of org-install.el and that did make the error go away, but Achim has the
last word on whether that's a good solution or not (probably needs to be conditional
on ORG_ADD_CONTRIB).

Even with that, ``make test'' failed later on with

,----
| ...
| OVERVIEW
| OVERVIEW
| Symbol's function definition is void: org-id-update-id-locations
| make: *** [test] Error 255
`----

I haven't chased that one down.

Nick

  parent reply	other threads:[~2012-09-10 19:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-10 12:29 Compilation problem Alan Schmitt
2012-09-10 19:45 ` Achim Gratz
2012-09-10 19:56   ` John Hendy
2012-09-11  6:29   ` Alan Schmitt
2012-09-10 19:52 ` Nick Dokos [this message]
2012-09-10 20:11   ` Achim Gratz
2012-09-10 20:14     ` Bastien
2012-09-10 20:21       ` Achim Gratz
2012-09-10 20:23         ` Bastien
2012-09-10 22:39           ` Jambunathan K
2012-09-18 13:22             ` Bastien
2012-09-18 13:28               ` Carsten Dominik
2012-09-18 14:23                 ` Bastien
2012-09-10 20:27         ` Nick Dokos
2012-09-11  6:32       ` Alan Schmitt
2012-09-18 14:29 ` Bastien
2012-09-18 15:39   ` Alan Schmitt
2012-09-18 20:00     ` Achim Gratz
2012-09-19  7:28       ` Alan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5986.1347306768@alphaville.americas.hpqcorp.net \
    --to=nicholas.dokos@hp.com \
    --cc=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).