[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Opaque build failure in wisitoken_grammar_runtime.adb
From: |
Eric S. Londres |
Subject: |
Opaque build failure in wisitoken_grammar_runtime.adb |
Date: |
Mon, 04 Sep 2023 12:01:30 -0400 |
High, I am trying to run ./build.sh after installing from elpa. I have
alire which works for other projects. It gets through many files, before
failing at wisitoken_grammar_runtime.adb with no clear error message. A
second run of ./build.sh (to hide all the successful file compilations)
results in this:
---
ⓘ Building wisitoken/build/wisitoken_alire.gpr (1/2)...
gnatcoll.gpr:254:07: warning: value "windows" is not used as label
Compile
[Ada] wisitoken_config.ads
[Ada] wisitoken_grammar_runtime.adb
[Ada] wisitoken_grammar_editing.adb
[Ada] wisitoken_grammar_actions.adb
[Ada] wisitoken.adb
[Ada] wisitoken-wisi_ada.adb
[Ada] wisitoken-utf_8.adb
[Ada] wisitoken-text_io_trace.adb
[Ada] wisitoken-syntax_trees.adb
[Ada] wisitoken-syntax_trees-lr_utils.adb
[Ada] wisitoken-regexp.adb
[Ada] wisitoken-productions.adb
[Ada] wisitoken-parse.adb
[Ada] wisitoken-parse-tree_sitter.adb
[Ada] wisitoken-parse-packrat.adb
[Ada] wisitoken-parse-packrat-generated.adb
[Ada] wisitoken-parse-lr.adb
[Ada] wisitoken-parse-lr-parser_no_recover.adb
wisitoken_grammar_runtime.adb:197:13: warning: unreachable code [enabled
by default]
compilation of wisitoken_grammar_runtime.adb failed
gprbuild: *** compilation phase failed
error: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/
eric/.emacs.d/elpa/ada-mode-8.0.5/emacs_ada_mode_8.0.5_ecfdcfb4/alire/
cache/dependencies/wisitoken_4.1.0_f9cd282e/build/wisitoken_alire.gpr"]
exited with code 4
error: Compilation failed.
---
When I manually step into the directory and run alr -v build --release,
to try and get a better error message, I get this, which may or may not
be helpful:
---
/usr/bin/gcc -c -x ada -gnatA -gnat2020 -fstack-check -g -gnatfqQ -
gnatw.d -gnatwaBCeJL -O3 -fno-var-tracking-assignments -gnatn -
gnaty3abcefhiklnOprtx -gnatyM120 -gnatec=/tmp/GNAT-TEMP-000003.TMP -
gnatem=/tmp/GNAT-TEMP-000012.TMP /home/eric/.emacs.d/elpa/ada-
mode-8.0.5/emacs_ada_mode_8.0.5_ecfdcfb4/alire/cache/dependencies/
wisitoken_4.1.0_f9cd282e/wisitoken-bnf-generate_packrat.adb
wisitoken_grammar_runtime.adb:197:13: warning: unreachable code [enabled
by default]
wisitoken-followed_by.adb:222:07: warning: "Generate_Data" is not
modified, could be declared constant [-gnatwk]
compilation of wisitoken-followed_by.adb failed
compilation of wisitoken_grammar_runtime.adb failed
gprbuild: *** compilation phase failed
debug: Process errored with code 4
error: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/
eric/.emacs.d/elpa/ada-mode-8.0.5/emacs_ada_mode_8.0.5_ecfdcfb4/alire/
cache/dependencies/wisitoken_4.1.0_f9cd282e/build/wisitoken_alire.gpr"]
exited with code 4
debug: ---8<--- Exception dump begin ---8<---
debug: ALIRE.CHECKED_ERROR
debug: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/
eric/.emacs.d/elpa/ada-mode-8.0.5/emacs_ada_mode_8.0.5_ecfdcfb4/alire/
cache/dependencies/wisitoken_4.1.0_f9cd282e/build/wisitoken_alire.gpr"]
exited with code 4
debug: raised ALIRE.CHECKED_ERROR : alire-stored-error:1
[/usr/bin/alr]
0x564cb2297b29
0x564cb1f27a60
0x564cb21670a0
0x564cb216782a
0x564cb20c4aef
0x564cb20c2e3e
0x564cb20df8b9
0x564cb212b12e
0x564cb2129b4f
0x564cb20dfa37
0x564cb20c323d
0x564cb191494a
0x564cb191478d
0x564cb19b9aa9
0x564cb19c658b
0x564cb18ac0be
0x564cb18ae85c
[/usr/bin/..//lib/libc.so.6]
0x7fb2d6c27cce
0x7fb2d6c27d88
[/usr/bin/alr]
0x564cb18abf63
0xfffffffffffffffe
debug: --->8--- Exception dump end ----->8---
debug: Going back to folder: /home/eric/.emacs.d/elpa/ada-mode-8.0.5/
emacs_ada_mode_8.0.5_ecfdcfb4
error: Compilation failed.
detail: alr build unsuccessful
debug: ---8<--- Exception dump begin ---8<---
debug: ALR.COMMAND_FAILED
debug: Compilation failed.
debug: raised ALR.COMMAND_FAILED : alire-stored-error:2
[/usr/bin/alr]
0x564cb19c353f
0x564cb19147ee
0x564cb19b9aa9
0x564cb19c658b
0x564cb18ac0be
0x564cb18ae85c
[/usr/bin/..//lib/libc.so.6]
0x7fb2d6c27cce
0x7fb2d6c27d88
[/usr/bin/alr]
0x564cb18abf63
wish I had more specific feedback, but this is all I'm getting from alr.
signature.asc
Description: This is a digitally signed message part.
- Opaque build failure in wisitoken_grammar_runtime.adb,
Eric S. Londres <=