GNU bug report logs -
#17292
24.3.90; ELPA : "make" makes an error compiling ada-build.el
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 19 Apr 2014 21:41:00 +0200
with message-id <87k3al150z.fsf <at> yahoo.fr>
and subject line Re: 24.3.90; ELPA : "make" makes an error compiling ada-build.el
has caused the debbugs.gnu.org bug report #17292,
regarding 24.3.90; ELPA : "make" makes an error compiling ada-build.el
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
17292: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17292
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi,
I cloned the elpa git repo, ran "make externals" and "make", then got:
In toplevel form:
packages/ada-mode/ada-build.el:41:1:Error: Cannot open load file: aucun fichier ou dossier de ce type, wisi-compat-24.2
make[1]: *** [packages/ada-mode/ada-build.elc] Erreur 1
make[1] : on quitte le répertoire « /home/youngfrog/sources/elpa »
make: *** [all-in-place] Erreur 2
I applied the following patch, but probably this is not the right way
since the workaround clearly worked around something. I'm CC-ing Stephen
Leake who committed that code.
diff --git a/packages/wisi/wisi.el b/packages/wisi/wisi.el
index 62302b7..33b71e9 100755
--- a/packages/wisi/wisi.el
+++ b/packages/wisi/wisi.el
@@ -145,11 +145,9 @@
(require 'cl-lib)
(require 'wisi-parse)
-;; WORKAROUND: for some reason, this condition doesn't work in batch mode!
-;; (when (and (= emacs-major-version 24)
-;; (= emacs-minor-version 2))
- (require 'wisi-compat-24.2)
-;;)
+(when (and (= emacs-major-version 24)
+ (= emacs-minor-version 2))
+ (require 'wisi-compat-24.2))
;;;; lexer
--
Nico.
[Message part 3 (message/rfc822, inline)]
Stephen Leake <stephen_leake <at> stephe-leake.org> writes:
> Nicolas Richard <theonewiththeevillook <at> yahoo.fr> writes:
>
>> I cloned the elpa git repo, ran "make externals" and "make", then got:
>
> I get:
>
> packages/ada-mode/ada-build.el:41:1:Error: Cannot open load file: wisi
Perhaps I have mixed the error messages from my different tries ? Not
sure.
Anyway, the error I reported is because wisi-compat did not exist in my
tree (sorry I did not state that clearly). My HEAD was at 0c8e3a1. I
updated my tree and the file now exists so I guess the error has
disappeared. I just tried : indeed, I don't have the error anymore (my
HEAD is 1905244ada36189d940fdf7e40d3498ae8917fed). I'm thus closing this
bug.
>> In toplevel form:
>> packages/ada-mode/ada-build.el:41:1:Error: Cannot open load file:
>> aucun fichier ou dossier de ce type, wisi-compat-24.2
>> make[1]: *** [packages/ada-mode/ada-build.elc] Erreur 1
>> make[1] : on quitte le répertoire « /home/youngfrog/sources/elpa »
>> make: *** [all-in-place] Erreur 2
>
> Apparently this make process does not take into account inter-package
> dependencies; ada-mode depends on wisi, and both were upgraded this
> morning.
The upgrade fixed the problem for me. Thanks.
> Do you have an older version of 'wisi' installed in ~/.emacs.d/elpa/?
> That would explain your symptom.
I don't, and I have a local patch so that ~/.emacs.d/elpa is not used
(see bug#17291) so it should not have interfered.
> Is there any way to indicate to the make process that it must build wisi
> first, and add it to the load path when building ada-mode?
IIUC, it does not necessarily byte-compile wisi first, but since the
build process invokes (package-initialize), wisi should still be
available (uncompiled) at the moment ada-mode is byte-compiled.
--
Nico.
This bug report was last modified 11 years and 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.