-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Impossible to install any crate with alr #1714
Comments
Some paths 'i've removed for security reasons & replaced by disappeared from the issue.. |
Could you show the output of Things to try: are you in a folder with write permissions when running that? You could try to build alr from sources (tag v2.0.1) and see if that one works as intended. To build, from the repo root, just run |
a) "Could you show the output of sudo apt show alire? Just to find the maintainer on Debian." $ sudo apt show alire b) " Things to try: are you in a folder with write permissions when running that?" c) "You could try to build alr from sources (tag v2.0.1) and see if that one works as intended. To build, from the repo root, just run dev/build.sh, no need to use another alr." After cloning on my machine, result is as follow : dubois@pc:/media/4To/Donnees/Courrier/020-Ada/X-Bibliotheque/alire$ ./dev/build.sh |
Thanks for the feedback. To be able to build, you need clone with submodules. Now that you've already cloned, it's a matter of |
Hi Alejandro, ---===------ dubois@pc:/media/4To/Donnees/Courrier/020-Ada/X-Bibliotheque$ cd alire
---===------------------- $ ---===--------------------- |
Unless you've put the built alire in your path or done some copies not shown in the log, the line:
is using the old Indeed yours is the first report about this trouble, but I don't know of people using the old |
I removed the old version & tried with yours new version : -If you agree, we may close the ticket incident because, at least for me, there is no more interest to investigate about an old version. |
Good to know the new version is working for you. @stcarrez pinging you in case you weren't aware. |
Checklist
alr version
.Describe the bug
-Impossible to build any crate.
It's a new & fresh Ubuntu 24.04 system on AMD 64 Ryzen 7, 8 processors with 16 Go.
-Ada was installed successfully with :
$ sudo apt install gnat-13 (1st trial with gnat-14, removed).
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
After successfull installation with :
$ sudo apt install alire
All crates installation breaks on :
$ alr get --build hello
error: Unexpected property count: 0
error: alr encountered an unexpected error, re-run with -d for details.
$
Nb : same with gtkada
alr
version$ alr version
APPLICATION
alr version: 1.2.1
libalire version: 1.2.1
compilation date: 2024-04-01 06:32:13
compiler version: 13.2.0
CONFIGURATION
config folder: /home/dubois/.config/alire
force flag: FALSE
non-interactive flag: FALSE
community index branch: stable-1.2.1
compatible index versions: ^1.1 & <=1.2.1
indexes folder: /home/dubois/.config/alire/indexes
indexes metadata: OK
index #1: (community) git+https://github.com/alire-project/alire-index#stable-1.2.1
toolchain assistant: enabled
tool #1 gnat: not configured
tool #2 gprbuild: not configured
WORKSPACE
root status: OUTSIDE
root release: N/A
root load error: N/A
root folder: N/A
current folder:
SYSTEM
distribution: UBUNTU
host-arch: X86_64
os: LINUX
target: NATIVE
toolchain: SYSTEM
word-size: BITS_64
$
alr
logs$ alr -vv -d get --build hello
-> Config file is not readable or doesn't exist: '/home/dubois/.config/alire/config.toml'
-->> Looking for alire metadata at:
-->> Looking for alire metadata at:
-->> Looking for alire metadata at:
-->> Looking for alire metadata at:
-->> Looking for alire metadata at: /media/4To
-->> Looking for alire metadata at: /media
-->> Looking for alire metadata at: /
-->> Root directory reached without finding alire metadata
-> Using default value for configuration 'distribution.disable_detection': 'FALSE'
-->> Registering variable for expressions: distribution
-->> Registering variable for expressions: os
-->> Registering variable for expressions: toolchain
-->> Registering variable for expressions: word-size
-->> Registering variable for expressions: host-arch
-->> alr platform configured
-->> Begin command line:
-->> Arg 0 (len 3): alr
-->> Arg 1 (len 3): -vv
-->> Arg 2 (len 2): -d
-->> Arg 3 (len 3): get
-->> Arg 4 (len 7): --build
-->> Arg 5 (len 5): hello
-->> End command line.
-->> Color output enabled
debug: Looking for indexes at /home/dubois/.config/alire/indexes
detail: Found 1 indexes
debug: Reusing cached set of indexes
detail: Loading index found at /home/dubois/.config/alire/indexes/community/repo/index
detail: Loading full catalog from /home/dubois/.config/alire/indexes/community/repo/index
detail: Using default value for configuration 'warning.old_index': 'TRUE'
debug: Entering folder: /home/dubois/.config/alire/indexes/community/repo
detail: Spawning: ["git", "branch"] > GNAT-TEMP-000001.TMP
debug: Command exited with valid code: 0
debug: Going back to folder: /media/4To/Donnees/Courrier/020-Ada/X-Bibliotheque
debug: Traversing folder: /home/dubois/.config/alire/indexes/community/repo/index
debug: Traversing folder: /home/dubois/.config/alire/indexes/community/repo/index/ar
debug: Traversing folder: /home/dubois/.config/alire/indexes/community/repo/index/ar/are
debug: Checking manifest candidate file: /home/dubois/.config/alire/indexes/community/repo/index/ar/are/are-1.1.0.toml
debug: Entering folder: /home/dubois/.config/alire/indexes/community/repo/index/ar/are
debug: Loading are 1.1.0 from /home/dubois/.config/alire/indexes/community/repo/index/ar/are/are-1.1.0.toml
debug: Loading release are=0.0.0
debug: Compiling email pattern...: ^[!--/-
][!-]@([:alnum:]{0,61}[[:alnum:]])(.([:alnum:]{0,61}[[:alnum:]])){1,85}$debug: Compiling named email pattern...: ^[^<]+ <[!--/-
][!-]@([:alnum:]{0,61}[[:alnum:]])(.([:alnum:]{0,61}[[:alnum:]])){1,85}>$debug: Going back to folder:
debug: ---8<--- Exception dump begin ---8<---
debug: CONSTRAINT_ERROR
debug: Unexpected property count: 0
debug: raised CONSTRAINT_ERROR : Unexpected property count: 0
[/usr/bin/alr]
0x64140c803795
0x64140c805934
0x64140c804e0c
0x64140c8ce5b8
0x64140c8ccafe
0x64140c3e713c
[/lib/x86_64-linux-gnu/libgnat-13.so]
0x76a1f2d75087
[/usr/bin/alr]
0x64140c3e7591
0x64140c3e722e
[/lib/x86_64-linux-gnu/libgnat-13.so]
0x76a1f2d75087
[/usr/bin/alr]
0x64140c3e7591
0x64140c3e722e
[/lib/x86_64-linux-gnu/libgnat-13.so]
0x76a1f2d75087
[/usr/bin/alr]
0x64140c3e7591
0x64140c8cac52
0x64140c589b69
0x64140c584746
0x64140c5815a0
0x64140c17cc86
0x64140c0ec9cb
0x64140c173980
0x64140c17f370
0x64140c07b02e
0x64140c07d789
[/lib/x86_64-linux-gnu/libc.so.6]
0x76a1f282a1c8
0x76a1f282a289
[/usr/bin/alr]
0x64140c07aef3
0xfffffffffffffffe
debug: --->8--- Exception dump end ----->8---
stderr: CONSTRAINT_ERROR
stderr: Unexpected property count: 0
stderr: raised CONSTRAINT_ERROR : Unexpected property count: 0
[/usr/bin/alr]
0x64140c803795
0x64140c805934
0x64140c804e0c
0x64140c8ce5b8
0x64140c8ccafe
0x64140c3e713c
[/lib/x86_64-linux-gnu/libgnat-13.so]
0x76a1f2d75087
[/usr/bin/alr]
0x64140c3e7591
0x64140c3e722e
[/lib/x86_64-linux-gnu/libgnat-13.so]
0x76a1f2d75087
[/usr/bin/alr]
0x64140c3e7591
0x64140c3e722e
[/lib/x86_64-linux-gnu/libgnat-13.so]
0x76a1f2d75087
[/usr/bin/alr]
0x64140c3e7591
0x64140c8cac52
0x64140c589b69
0x64140c584746
0x64140c5815a0
0x64140c17cc86
0x64140c0ec9cb
0x64140c173980
0x64140c17f370
0x64140c07b02e
0x64140c07d789
[/lib/x86_64-linux-gnu/libc.so.6]
0x76a1f282a1c8
0x76a1f282a289
[/usr/bin/alr]
0x64140c07aef3
0xfffffffffffffffe
error: Unexpected property count: 0
error: alr encountered an unexpected error, re-run with -d for details.
$
The text was updated successfully, but these errors were encountered: