unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50457: 27.1; 'ada-mode'
@ 2021-09-07 17:35 Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-07 18:22 ` bug#50457: 'ada-mode' Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-09-07 17:35 UTC (permalink / raw)
  To: 50457


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





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#50457: 'ada-mode'
  2021-09-07 17:35 bug#50457: 27.1; 'ada-mode' Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-09-07 18:22 ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-08  7:03 ` bug#50457: 27.1; 'ada-mode' Lars Ingebrigtsen
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 14+ messages in thread
From: Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-09-07 18:22 UTC (permalink / raw)
  To: 50457

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





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#50457: 27.1; 'ada-mode'
  2021-09-07 17:35 bug#50457: 27.1; 'ada-mode' Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-07 18:22 ` bug#50457: 'ada-mode' Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-09-08  7:03 ` Lars Ingebrigtsen
  2021-09-08 11:20   ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-09  6:04   ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-08  8:55 ` Stephen Leake
  2021-09-25 22:47 ` bug#50457: nothing to fix Stephen Leake
  3 siblings, 2 replies; 14+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-08  7:03 UTC (permalink / raw)
  To: Christophe; +Cc: 50457, Stephen Leake

Christophe <ch.bollard@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





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#50457: 27.1; 'ada-mode'
  2021-09-07 17:35 bug#50457: 27.1; 'ada-mode' Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-07 18:22 ` bug#50457: 'ada-mode' Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-08  7:03 ` bug#50457: 27.1; 'ada-mode' Lars Ingebrigtsen
@ 2021-09-08  8:55 ` Stephen Leake
  2021-09-25 22:47 ` bug#50457: nothing to fix Stephen Leake
  3 siblings, 0 replies; 14+ messages in thread
From: Stephen Leake @ 2021-09-08  8:55 UTC (permalink / raw)
  To: Christophe; +Cc: 50457

Christophe <ch.bollard@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





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#50457: 27.1; 'ada-mode'
  2021-09-08  7:03 ` bug#50457: 27.1; 'ada-mode' Lars Ingebrigtsen
@ 2021-09-08 11:20   ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-09 13:49     ` Stephen Leake
  2021-09-09  6:04   ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 14+ messages in thread
From: Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-09-08 11:20 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 50457, stephen_leake

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





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#50457: 27.1; 'ada-mode'
  2021-09-08  7:03 ` bug#50457: 27.1; 'ada-mode' Lars Ingebrigtsen
  2021-09-08 11:20   ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-09-09  6:04   ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-09 13:51     ` bug#50457: [SPAM UNSURE] " Stephen Leake
  1 sibling, 1 reply; 14+ messages in thread
From: Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-09-09  6:04 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 50457, stephen_leake

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





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#50457: 27.1; 'ada-mode'
  2021-09-08 11:20   ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-09-09 13:49     ` Stephen Leake
  0 siblings, 0 replies; 14+ messages in thread
From: Stephen Leake @ 2021-09-09 13:49 UTC (permalink / raw)
  To: Christophe; +Cc: Lars Ingebrigtsen, 50457

Christophe <ch.bollard@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





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#50457: [SPAM UNSURE] Re: bug#50457: 27.1; 'ada-mode'
  2021-09-09  6:04   ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-09-09 13:51     ` Stephen Leake
  2021-09-10  6:51       ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-11  5:08       ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 14+ messages in thread
From: Stephen Leake @ 2021-09-09 13:51 UTC (permalink / raw)
  To: Christophe; +Cc: Lars Ingebrigtsen, 50457

Christophe <ch.bollard@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





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#50457: [SPAM UNSURE] Re: bug#50457: 27.1; 'ada-mode'
  2021-09-09 13:51     ` bug#50457: [SPAM UNSURE] " Stephen Leake
@ 2021-09-10  6:51       ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-09-25 18:17         ` Stefan Kangas
  2021-09-11  5:08       ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 14+ messages in thread
From: Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-09-10  6:51 UTC (permalink / raw)
  To: Stephen Leake; +Cc: larsi, 50457

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





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#50457: [SPAM UNSURE] Re: bug#50457: 27.1; 'ada-mode'
  2021-09-09 13:51     ` bug#50457: [SPAM UNSURE] " Stephen Leake
  2021-09-10  6:51       ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-09-11  5:08       ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 14+ messages in thread
From: Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-09-11  5:08 UTC (permalink / raw)
  To: Stephen Leake; +Cc: larsi, 50457

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





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#50457: 27.1; 'ada-mode'
  2021-09-10  6:51       ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-09-25 18:17         ` Stefan Kangas
  2021-09-25 22:46           ` bug#50457: [SPAM UNSURE] " Stephen Leake
  0 siblings, 1 reply; 14+ messages in thread
From: Stefan Kangas @ 2021-09-25 18:17 UTC (permalink / raw)
  To: Christophe; +Cc: larsi, Stephen Leake, 50457

Christophe <ch.bollard@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?





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#50457: [SPAM UNSURE] Re: bug#50457: 27.1; 'ada-mode'
  2021-09-25 18:17         ` Stefan Kangas
@ 2021-09-25 22:46           ` Stephen Leake
  2021-09-25 22:54             ` Stefan Kangas
  0 siblings, 1 reply; 14+ messages in thread
From: Stephen Leake @ 2021-09-25 22:46 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: larsi, 50457, Christophe

Stefan Kangas <stefan@marxist.se> writes:

> Christophe <ch.bollard@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





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#50457: nothing to fix
  2021-09-07 17:35 bug#50457: 27.1; 'ada-mode' Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
                   ` (2 preceding siblings ...)
  2021-09-08  8:55 ` Stephen Leake
@ 2021-09-25 22:47 ` Stephen Leake
  3 siblings, 0 replies; 14+ messages in thread
From: Stephen Leake @ 2021-09-25 22:47 UTC (permalink / raw)
  To: 50457-close


-- 
-- Stephe





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#50457: [SPAM UNSURE] Re: bug#50457: 27.1; 'ada-mode'
  2021-09-25 22:46           ` bug#50457: [SPAM UNSURE] " Stephen Leake
@ 2021-09-25 22:54             ` Stefan Kangas
  0 siblings, 0 replies; 14+ messages in thread
From: Stefan Kangas @ 2021-09-25 22:54 UTC (permalink / raw)
  To: Stephen Leake; +Cc: Christophe, larsi, 50457-done

Stephen Leake <stephen_leake@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.





^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-09-25 22:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-07 17:35 bug#50457: 27.1; 'ada-mode' Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-07 18:22 ` bug#50457: 'ada-mode' Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-08  7:03 ` bug#50457: 27.1; 'ada-mode' Lars Ingebrigtsen
2021-09-08 11:20   ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-09 13:49     ` Stephen Leake
2021-09-09  6:04   ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-09 13:51     ` bug#50457: [SPAM UNSURE] " Stephen Leake
2021-09-10  6:51       ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-25 18:17         ` Stefan Kangas
2021-09-25 22:46           ` bug#50457: [SPAM UNSURE] " Stephen Leake
2021-09-25 22:54             ` Stefan Kangas
2021-09-11  5:08       ` Christophe via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-08  8:55 ` Stephen Leake
2021-09-25 22:47 ` bug#50457: nothing to fix Stephen Leake

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).