GNU bug report logs - #50457
27.1; 'ada-mode'

Previous Next

Package: emacs;

Reported by: Christophe <ch.bollard <at> laposte.net>

Date: Tue, 7 Sep 2021 17:38:02 UTC

Severity: normal

Tags: moreinfo

Found in version 27.1

Done: Stephen Leake <stephen_leake <at> stephe-leake.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50457 in the body.
You can then email your comments to 50457 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#50457; Package emacs. (Tue, 07 Sep 2021 17:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christophe <ch.bollard <at> laposte.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 07 Sep 2021 17:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christophe <ch.bollard <at> laposte.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.1; 'ada-mode'
Date: Tue, 07 Sep 2021 19:35:41 +0200
Hello, since I upgrade from emacs 26.1 to emacs 27.1 I am not able anymore to
open an ada source file (or create one).
I get that error:
Debugger entered--Lisp error: (error "ada_mode_wisi_lr1_parse not found on
‘exec-path’; ...")

I have the same configuration I had in my emacs 26.1 init file:

(use-package ada-mode
    :ensure t
    :init
    )
I am not able to find on the net information about a such issue.
I even try to run build.sh in .emacs.d/elpa/ada-modexxxxx/ as indicate in the
error message but that's impossible too (and not necssary in older version)

 signal(error ("ada_mode_wisi_lr1_parse not found on ‘exec-path’; ..."))
 error("%s not found on `exec-path'; run 'build.sh' in the..." "ada_mode_wisi_lr1_parse")



In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2021-03-28, modified by Debian built on x86-conova-01
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Recent messages:
Loading em-glob...done
Loading em-hist...done
Loading em-ls...done
Loading em-prompt...done
Loading em-script...done
Loading em-unix...done
Searching for ‘my_hello’....
(New file)
Entering debugger...
Making completion list...

Configured using:
 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --enable-libsystemd --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu
 --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man
 --enable-libsystemd --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils --with-cairo --with-x=yes
 --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
 -ffile-prefix-map=/build/emacs-LlFm6W/emacs-27.1+1=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER
LCMS2 GMP

Important settings:
  value of $LANG: fr_FR.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Debugger

Minor modes in effect:
  pyvenv-mode: t
  shell-dirtrack-mode: t
  show-paren-mode: t
  global-company-mode: t
  company-mode: t
  global-flycheck-mode: t
  xclip-mode: t
  global-subword-mode: t
  subword-mode: t
  display-time-mode: t
  display-battery-mode: t
  electric-pair-mode: t
  server-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  auto-fill-function: do-auto-fill
  transient-mark-mode: t

Load-path shadows:
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/tex-site hides /usr/share/emacs/site-lisp/tex-site
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/auctex hides /usr/share/emacs/site-lisp/auctex
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/preview hides /usr/share/auctex/preview
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/font-latex hides /usr/share/auctex/font-latex
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/tex-buf hides /usr/share/auctex/tex-buf
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/tex hides /usr/share/auctex/tex
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/tex-style hides /usr/share/auctex/tex-style
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/bib-cite hides /usr/share/auctex/bib-cite
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/multi-prompt hides /usr/share/auctex/multi-prompt
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/context hides /usr/share/auctex/context
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/context-nl hides /usr/share/auctex/context-nl
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/tex-mik hides /usr/share/auctex/tex-mik
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/tex-bar hides /usr/share/auctex/tex-bar
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/tex-font hides /usr/share/auctex/tex-font
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/latex hides /usr/share/auctex/latex
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/tex-fold hides /usr/share/auctex/tex-fold
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/latex-flymake hides /usr/share/auctex/latex-flymake
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/tex-jp hides /usr/share/auctex/tex-jp
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/plain-tex hides /usr/share/auctex/plain-tex
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/tex-ispell hides /usr/share/auctex/tex-ispell
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/texmathp hides /usr/share/auctex/texmathp
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/toolbar-x hides /usr/share/auctex/toolbar-x
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/context-en hides /usr/share/auctex/context-en
/home/mutenroshii/.emacs.d/elpa/auctex-13.0.14/tex-info hides /usr/share/auctex/tex-info

Features:
(shadow mailalias emacsbug sendmail cl-print debug backtrace em-unix em-script
em-prompt em-ls em-hist em-pred em-glob em-dirs esh-var em-cmpl em-basic
em-banner em-alias esh-mode flyspell ispell .emacs programmation ac-geiser
geiser-guile info-look geiser geiser-repl geiser-image geiser-company
geiser-doc geiser-menu geiser-edit geiser-completion geiser-autodoc geiser-eval
geiser-connection tq geiser-syntax scheme geiser-log geiser-popup view
py-autopep8 yasnippet highlight-indentation flymake-proc flymake warnings elpy
elpy-rpc pyvenv elpy-shell elpy-profile elpy-django s elpy-refactor diff-mode
easy-mmode python tramp-sh tramp tramp-loaddefs trampver tramp-integration
tramp-compat shell pcomplete parse-time iso8601 ls-lisp grep files-x blacken
jedi jedi-core python-environment epc ctable concurrent deferred auto-complete
popup virtualenv ada-mode align ada-skel wisi-skel ada-process
wisi-process-parse ada-indent-user-options ada-core wisi-prj wisi wisi-fringe
wisi-parse-common semantic/lex semantic/fw mode-local uniquify-files find-file
compile skeleton paren company-oddmuse company-keywords company-etags etags
fileloop xref project company-gtags company-dabbrev-code company-dabbrev
company-files company-clang company-capf company-cmake company-semantic
company-template company-bbdb company pcase flycheck find-func rx dash
elfeed-show elfeed-search bookmark pp shr svg dom elfeed-csv elfeed elfeed-curl
elfeed-log elfeed-db elfeed-lib thingatpt avl-tree generator url-queue
xml-query xml em-term eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg
esh-module esh-groups esh-util ido cus-edit cus-start cus-load wid-edit xclip
linum cap-words superword subword time battery sr-speedbar speedbar sb-image
ezimage dframe elec-pair multi-term advice term disp-table comint ansi-color
ehelp edmacro kmacro akira-theme exec-path-from-shell cl-extra
use-package-ensure use-package-core server mm-archive message dired
dired-loaddefs format-spec rfc822 mml mml-sec epa derived gnus-util rmail
rmail-loaddefs text-property-search time-date mailabbrev gmm-utils mailheader
mm-decode mm-bodies mm-encode mail-utils gnutls network-stream url-http
mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc
puny url-cache url-auth url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util mailcap epg epg-config finder-inf
preview-latex tex-site geiser-impl help-fns radix-tree help-mode geiser-custom
geiser-base ring info package easymenu browse-url url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json
subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs
cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese composite
charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev
obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule custom
widget hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 487188 16532)
 (symbols 48 32122 3)
 (strings 32 157481 7036)
 (string-bytes 1 4366425)
 (vectors 16 50048)
 (vector-slots 8 585858 25776)
 (floats 8 200 187)
 (intervals 56 1559 108)
 (buffers 1000 13))


-- 
Christophe BOLLARD




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50457; Package emacs. (Tue, 07 Sep 2021 18:24:02 GMT) Full text and rfc822 format available.

Message #8 received at 50457 <at> debbugs.gnu.org (full text, mbox):

From: Christophe <ch.bollard <at> laposte.net>
To: 50457 <at> debbugs.gnu.org
Subject: 'ada-mode'
Date: Tue, 07 Sep 2021 20:22:54 +0200
Hello,
afer the error message appear, if I try to open the source file again, and I
try to run ada-mode (M-x ada-mode) the same error message appear.
(I can compile with M-x compile / C-c C-m)

-- 
Christophe BOLLARD




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50457; Package emacs. (Wed, 08 Sep 2021 07:04:02 GMT) Full text and rfc822 format available.

Message #11 received at 50457 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Christophe <ch.bollard <at> laposte.net>
Cc: 50457 <at> debbugs.gnu.org, Stephen Leake <stephen_leake <at> stephe-leake.org>
Subject: Re: bug#50457: 27.1; 'ada-mode'
Date: Wed, 08 Sep 2021 09:03:19 +0200
Christophe <ch.bollard <at> laposte.net> writes:

> Hello, since I upgrade from emacs 26.1 to emacs 27.1 I am not able anymore to
> open an ada source file (or create one).
> I get that error:
> Debugger entered--Lisp error: (error "ada_mode_wisi_lr1_parse not found on
> ‘exec-path’; ...")

It sounds like ada-mode isn't able to find this executable (which I
guess the package should build)?  I've added Stephen to the CCs; perhaps
he know what's going on here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50457; Package emacs. (Wed, 08 Sep 2021 08:56:02 GMT) Full text and rfc822 format available.

Message #14 received at 50457 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: Christophe <ch.bollard <at> laposte.net>
Cc: 50457 <at> debbugs.gnu.org
Subject: Re: bug#50457: 27.1; 'ada-mode'
Date: Wed, 08 Sep 2021 01:55:20 -0700
Christophe <ch.bollard <at> laposte.net> writes:

> I even try to run build.sh in .emacs.d/elpa/ada-modexxxxx/ as indicate in the
> error message but that's impossible too (and not necssary in older
> version)

What error message do you get when you try to run build.sh?

The assumption is that if you are using ada-mode, you can compile Ada
code.

There is more information about this in the ada-mode user guide:

~/.emacs.d/elpa/ada-mode-7.1.8/ada-mode.info

-- 
-- Stephe




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50457; Package emacs. (Wed, 08 Sep 2021 11:21:02 GMT) Full text and rfc822 format available.

Message #17 received at 50457 <at> debbugs.gnu.org (full text, mbox):

From: Christophe <ch.bollard <at> laposte.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 50457 <at> debbugs.gnu.org, stephen_leake <at> stephe-leake.org
Subject: Re: bug#50457: 27.1; 'ada-mode'
Date: Wed, 08 Sep 2021 13:20:04 +0200
Hello, and thanks to take care about.
I tried to run the build script in the ada-mode-7.1.8 directory, but:

"
gen_emacs_wisi_lr_parse.ads:37:53: missing ";"
gen_emacs_wisi_lr_parse.ads:37:66: generic private child packages not permitted
gen_emacs_wisi_lr_parse.ads:37:66: subprogram specification expected
...
schema-validators.ads:914:28: "XML_Grammars" is undefined
schema-validators.ads:914:28: possible misspelling of "XML_Grammar"
schema-validators.ads:916:19: "XML_Grammars" is undefined
schema-validators.ads:916:19: possible misspelling of "XML_Grammar"

   compilation of ada_mode_wisi_lalr_parse.ads failed
   compilation of ada_mode_wisi_lr1_parse.ads failed
   compilation of run_ada_lalr_parse.ads failed
   compilation of run_ada_lr1_parse.ads failed
   compilation of gpr_mode_wisi_parse.ads failed
   compilation of run_gpr_parse.ads failed
   compilation of gpr_query.adb failed

gprbuild: *** compilation phase failed
"
(I cut a lot the message above)
At this point I don't know what I can do.

-- 
Christophe BOLLARD




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50457; Package emacs. (Thu, 09 Sep 2021 06:05:01 GMT) Full text and rfc822 format available.

Message #20 received at 50457 <at> debbugs.gnu.org (full text, mbox):

From: Christophe <ch.bollard <at> laposte.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 50457 <at> debbugs.gnu.org, stephen_leake <at> stephe-leake.org
Subject: Re: bug#50457: 27.1; 'ada-mode'
Date: Thu, 09 Sep 2021 08:04:32 +0200
When I run .build.sh I get this error:

Compile
   [Ada]          ada_mode_wisi_lalr_parse.ads
   [Ada]          ada_mode_wisi_lr1_parse.ads
   [Ada]          run_ada_lalr_parse.ads
   [Ada]          run_ada_lr1_parse.ads
   [Ada]          gpr_mode_wisi_parse.ads
   [Ada]          run_gpr_parse.ads
   [Ada]          gpr_query.adb
   [C]            wisitoken_grammar_re2c.c
gen_emacs_wisi_lr_parse.ads:37:53: missing ";"
gen_emacs_wisi_lr_parse.ads:37:66: generic private child packages not permitted
gen_emacs_wisi_lr_parse.ads:37:66: subprogram specification expected
gen_emacs_wisi_lr_parse.ads:37:66: compilation unit expected
gen_emacs_wisi_lr_parse.ads:47:04: misplaced "with"
gen_emacs_wisi_lr_parse.ads:47:09: reserved word "procedure" cannot be used as identifier
gen_emacs_wisi_lr_parse.ads:47:18: missing ";"
gen_emacs_wisi_lr_parse.ads:47:19: compilation unit expected
gen_emacs_wisi_lr_text_rep_parse.ads:30:53: missing ";"
gen_emacs_wisi_lr_text_rep_parse.ads:30:66: generic private child packages not permitted
gen_emacs_wisi_lr_text_rep_parse.ads:30:66: subprogram specification expected
gen_emacs_wisi_lr_text_rep_parse.ads:30:66: compilation unit expected
gen_emacs_wisi_lr_text_rep_parse.ads:41:04: misplaced "with"
gen_emacs_wisi_lr_text_rep_parse.ads:41:09: reserved word "procedure" cannot be used as identifier
gen_emacs_wisi_lr_text_rep_parse.ads:41:18: missing ";"
gen_emacs_wisi_lr_text_rep_parse.ads:41:19: compilation unit expected
gen_run_wisi_lr_parse.ads:27:52: missing ";"
gen_run_wisi_lr_parse.ads:27:65: generic private child packages not permitted
gen_run_wisi_lr_parse.ads:27:65: subprogram specification expected
gen_run_wisi_lr_parse.ads:27:65: compilation unit expected
gen_run_wisi_lr_parse.ads:34:04: misplaced "with"
gen_run_wisi_lr_parse.ads:34:09: reserved word "procedure" cannot be used as identifier
gen_run_wisi_lr_parse.ads:34:18: missing ";"
gen_run_wisi_lr_parse.ads:34:19: compilation unit expected
gen_emacs_wisi_lr_parse.ads:37:53: missing ";"
gen_emacs_wisi_lr_parse.ads:37:66: generic private child packages not permitted
gen_emacs_wisi_lr_parse.ads:37:66: subprogram specification expected
gen_emacs_wisi_lr_parse.ads:37:66: compilation unit expected
gen_emacs_wisi_lr_parse.ads:47:04: misplaced "with"
gen_emacs_wisi_lr_parse.ads:47:09: reserved word "procedure" cannot be used as identifier
gen_emacs_wisi_lr_parse.ads:47:18: missing ";"
gen_emacs_wisi_lr_parse.ads:47:19: compilation unit expected
gen_run_wisi_lr_parse.ads:27:52: missing ";"
gen_run_wisi_lr_parse.ads:27:65: generic private child packages not permitted
gen_run_wisi_lr_parse.ads:27:65: subprogram specification expected
gen_run_wisi_lr_parse.ads:27:65: compilation unit expected
gen_run_wisi_lr_parse.ads:34:04: misplaced "with"
gen_run_wisi_lr_parse.ads:34:09: reserved word "procedure" cannot be used as identifier
gen_run_wisi_lr_parse.ads:34:18: missing ";"
gen_run_wisi_lr_parse.ads:34:19: compilation unit expected
gen_run_wisi_lr_text_rep_parse.ads:27:52: missing ";"
gen_run_wisi_lr_text_rep_parse.ads:27:65: generic private child packages not permitted
gen_run_wisi_lr_text_rep_parse.ads:27:65: subprogram specification expected
gen_run_wisi_lr_text_rep_parse.ads:27:65: compilation unit expected
gen_run_wisi_lr_text_rep_parse.ads:35:04: misplaced "with"
gen_run_wisi_lr_text_rep_parse.ads:35:09: reserved word "procedure" cannot be used as identifier
gen_run_wisi_lr_text_rep_parse.ads:35:18: missing ";"
gen_run_wisi_lr_text_rep_parse.ads:35:19: compilation unit expected
sax-pointers.ads:57:58: missing ";"
sax-pointers.ads:57:71: generic private child packages not permitted
sax-pointers.ads:57:71: subprogram specification expected
sax-pointers.ads:62:46: "Encapsulated" is not visible
sax-pointers.ads:62:46: non-visible (private) declaration at gnatcoll-refcount.ads:345, instance at gnatcoll-sql.ads:1181
sax-pointers.ads:62:46: non-visible declaration at gnatcoll-refcount.ads:345
sax-pointers.ads:62:46: non-visible declaration at gpr.ads:2050
sax-pointers.ads:64:33: "Encapsulated" is not visible
sax-pointers.ads:64:33: non-visible (private) declaration at gnatcoll-refcount.ads:345, instance at gnatcoll-sql.ads:1181
sax-pointers.ads:64:33: non-visible declaration at gnatcoll-refcount.ads:345
sax-pointers.ads:64:33: non-visible declaration at gpr.ads:2050
sax-pointers.ads:65:40: "Encapsulated" is not visible
sax-pointers.ads:65:40: non-visible (private) declaration at gnatcoll-refcount.ads:345, instance at gnatcoll-sql.ads:1181
sax-pointers.ads:65:40: non-visible declaration at gnatcoll-refcount.ads:345
sax-pointers.ads:65:40: non-visible declaration at gpr.ads:2050
sax-utils.ads:171:53: "Smart_Pointers" is not the name of a generic package
sax-utils.ads:174:28: "Symbol_Table_Pointers" is undefined
sax-utils.ads:177:24: "Symbol_Table_Pointers" is undefined
schema-validators.ads:912:44: "Smart_Pointers" is not the name of a generic package
schema-validators.ads:914:28: "XML_Grammars" is undefined
schema-validators.ads:914:28: possible misspelling of "XML_Grammar"
schema-validators.ads:916:19: "XML_Grammars" is undefined
schema-validators.ads:916:19: possible misspelling of "XML_Grammar"

   compilation of ada_mode_wisi_lalr_parse.ads failed
   compilation of ada_mode_wisi_lr1_parse.ads failed
   compilation of run_ada_lalr_parse.ads failed
   compilation of run_ada_lr1_parse.ads failed
   compilation of gpr_mode_wisi_parse.ads failed
   compilation of run_gpr_parse.ads failed
   compilation of gpr_query.adb failed

gprbuild: *** compilation phase failed


so I installed the GNAT compiler 2021 from the ada core site, added the follwoing
line to my init file:
(setq gpr-query-env '("LD_LIBRARY_PATH=$HOME/opt/GNAT/2021/lib64"))
tried to install xrf:
- unzip gnatcoll-db-master.zip
- cd gnatcoll-db-master
- cd gnatcoll_db2ada
- make & make install
But when I try to build and install xref:
- cd xref
- make
I get this error:

gprbuild -p -m --target=x86_64-linux-gnu  -j0 -XGNATCOLL_VERSION=0.0 -XBUILD=PROD  -XLIBRARY_TYPE=static -XXMLADA_BUILD=static -XGPR_BUILD=static \
	gnatcoll_xref.gpr
gnatcoll_xref.gpr:48:52: unknown variable "So_Ext"
gprbuild: "gnatcoll_xref.gpr" processing failed
make: *** [Makefile:117 : build-static] Erreur 4


I do not know what I can do, for now.

-- 
Christophe BOLLARD




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50457; Package emacs. (Thu, 09 Sep 2021 13:51:03 GMT) Full text and rfc822 format available.

Message #23 received at 50457 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: Christophe <ch.bollard <at> laposte.net>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 50457 <at> debbugs.gnu.org
Subject: Re: bug#50457: 27.1; 'ada-mode'
Date: Thu, 09 Sep 2021 06:49:52 -0700
Christophe <ch.bollard <at> laposte.net> writes:

> Hello, and thanks to take care about.
> I tried to run the build script in the ada-mode-7.1.8 directory, but:
>
> "
> gen_emacs_wisi_lr_parse.ads:37:53: missing ";"
> gen_emacs_wisi_lr_parse.ads:37:66: generic private child packages not permitted
> gen_emacs_wisi_lr_parse.ads:37:66: subprogram specification expected

This is a bug in the version of GNAT you are using. Install GNAT
Community 2021 from https://www.adacore.com/download.

Also see the Install section in ~/.emacs.d/elpa/ada-mode-7.1.8/ada-mode.info.

-- 
-- Stephe




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50457; Package emacs. (Thu, 09 Sep 2021 13:52:01 GMT) Full text and rfc822 format available.

Message #26 received at 50457 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: Christophe <ch.bollard <at> laposte.net>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 50457 <at> debbugs.gnu.org
Subject: Re: [SPAM UNSURE] Re: bug#50457: 27.1; 'ada-mode'
Date: Thu, 09 Sep 2021 06:51:18 -0700
Christophe <ch.bollard <at> laposte.net> writes:

> so I installed the GNAT compiler 2021 from the ada core site, added the follwoing
> line to my init file:
> (setq gpr-query-env '("LD_LIBRARY_PATH=$HOME/opt/GNAT/2021/lib64"))

ok

> tried to install xrf:
> - unzip gnatcoll-db-master.zip

Don't use the master branch; use the one that is the same version as the compiler.


-- 
-- Stephe




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50457; Package emacs. (Fri, 10 Sep 2021 06:52:02 GMT) Full text and rfc822 format available.

Message #29 received at 50457 <at> debbugs.gnu.org (full text, mbox):

From: Christophe <ch.bollard <at> laposte.net>
To: Stephen Leake <stephen_leake <at> stephe-leake.org>
Cc: larsi <at> gnus.org, 50457 <at> debbugs.gnu.org
Subject: Re: [SPAM UNSURE] Re: bug#50457: 27.1; 'ada-mode'
Date: Fri, 10 Sep 2021 08:51:05 +0200
Even with the same version as the compiler that no work.
I won't waste your time longer, I'll find another way to open and edit an ada
source file with emacs.
Thanks.

-- 
Christophe BOLLARD




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50457; Package emacs. (Sat, 11 Sep 2021 05:10:02 GMT) Full text and rfc822 format available.

Message #32 received at 50457 <at> debbugs.gnu.org (full text, mbox):

From: Christophe <ch.bollard <at> laposte.net>
To: Stephen Leake <stephen_leake <at> stephe-leake.org>
Cc: larsi <at> gnus.org, 50457 <at> debbugs.gnu.org
Subject: Re: [SPAM UNSURE] Re: bug#50457: 27.1; 'ada-mode'
Date: Sat, 11 Sep 2021 07:08:49 +0200
I'm sorry but in fact I do not understand, why the built-in package was remove,
and replaced by an elpa package you have to build an have to manage dependencies.
It's pretty like I type apt install emacs and if I run emacs that not works
because I not built it and I have to search different dependencies.
Maybe I am weird but that seems odd to me.
Best regards.

-- 
Christophe BOLLARD




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50457; Package emacs. (Sat, 25 Sep 2021 18:18:01 GMT) Full text and rfc822 format available.

Message #35 received at 50457 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Christophe <ch.bollard <at> laposte.net>
Cc: larsi <at> gnus.org, Stephen Leake <stephen_leake <at> stephe-leake.org>,
 50457 <at> debbugs.gnu.org
Subject: Re: bug#50457: 27.1; 'ada-mode'
Date: Sat, 25 Sep 2021 11:17:18 -0700
Christophe <ch.bollard <at> laposte.net> writes:

> Even with the same version as the compiler that no work.
> I won't waste your time longer, I'll find another way to open and edit an ada
> source file with emacs.
> Thanks.

What is the status here?  Are there any outstanding issues that need to
be fixed in ada-mode, or should this bug report be closed?




Added tag(s) moreinfo. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sat, 25 Sep 2021 18:18:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50457; Package emacs. (Sat, 25 Sep 2021 22:47:01 GMT) Full text and rfc822 format available.

Message #40 received at 50457 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 50457 <at> debbugs.gnu.org, Christophe <ch.bollard <at> laposte.net>, larsi <at> gnus.org
Subject: Re: [SPAM UNSURE] Re: bug#50457: 27.1; 'ada-mode'
Date: Sat, 25 Sep 2021 15:46:41 -0700
Stefan Kangas <stefan <at> marxist.se> writes:

> Christophe <ch.bollard <at> laposte.net> writes:
>
>> Even with the same version as the compiler that no work.
>> I won't waste your time longer, I'll find another way to open and edit an ada
>> source file with emacs.
>> Thanks.
>
> What is the status here?  Are there any outstanding issues that need to
> be fixed in ada-mode, or should this bug report be closed?

There is nothing to be fixed in ada-mode. Debian could distribute a
binary for the missing executable.

-- 
-- Stephe




Reply sent to Stephen Leake <stephen_leake <at> stephe-leake.org>:
You have taken responsibility. (Sat, 25 Sep 2021 22:48:02 GMT) Full text and rfc822 format available.

Notification sent to Christophe <ch.bollard <at> laposte.net>:
bug acknowledged by developer. (Sat, 25 Sep 2021 22:48:02 GMT) Full text and rfc822 format available.

Message #45 received at 50457-close <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 50457-close <at> debbugs.gnu.org
Subject: nothing to fix
Date: Sat, 25 Sep 2021 15:47:43 -0700
-- 
-- Stephe




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50457; Package emacs. (Sat, 25 Sep 2021 22:55:01 GMT) Full text and rfc822 format available.

Message #48 received at 50457-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Stephen Leake <stephen_leake <at> stephe-leake.org>
Cc: Christophe <ch.bollard <at> laposte.net>, larsi <at> gnus.org,
 50457-done <at> debbugs.gnu.org
Subject: Re: [SPAM UNSURE] Re: bug#50457: 27.1; 'ada-mode'
Date: Sat, 25 Sep 2021 15:54:33 -0700
Stephen Leake <stephen_leake <at> stephe-leake.org> writes:

> There is nothing to be fixed in ada-mode. Debian could distribute a
> binary for the missing executable.

Thanks.  I'm therefore closing this bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 24 Oct 2021 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 185 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.