From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Compilation problem Date: Mon, 10 Sep 2012 15:52:48 -0400 Message-ID: <5986.1347306768@alphaville.americas.hpqcorp.net> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBA2T-0003eC-Cw for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 15:53:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBA2P-00057d-4E for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 15:52:57 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:16287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBA2O-00057T-TO for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 15:52:53 -0400 In-Reply-To: Message from Alan Schmitt of "Mon, 10 Sep 2012 14:29:50 +0200." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alan Schmitt Cc: emacs-orgmode Alan Schmitt 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