Closed pjljvandelaar closed 2 years ago
Have you updated your index with alr index --update-all
?
For future questions of this kind, I would recommend to use the "Discussions" area of this project.
Thanks for the answer!
I was not aware of the Discussions
area!
Unfortunately, that doesn't solve the problem:
PS C:\path\to\Renaissance-Ada\src\libraries\Rewriters> alr index --update-all
Already up to date.
PS C:\path\to\Renaissance-Ada\src\libraries\Rewriters> alr build
warn: Generating possibly incomplete environment because of missing dependencies
gnatcoll.gpr:254:07: warning: value "windows" is not used as label
Compile
[Ada] langkit_support-diagnostics.adb
[Ada] langkit_support-adalog-pure_relations.adb
...
Unfortunately, alr doesn't report anymore which dependencies are found and which are missing exactly.
The log file is created with alr build -vv -d log.txt
The log seems to be incomplete, as I don't see a definite error there. My download ends in line 3139.
Also, could you please paste here the output of alr with --solve
after running an alr update
?
@mosteo Indeed the log.txt file is incomplete.
I included a few lines after warning: value "windows" is not used as label
, since
that occurs after the warning warn: Generating possibly incomplete environment because of missing dependencies
in the earlier output (without the -vv flag).
I incorrected assumed that was enough ;-(
alr update
PS C:\path\to\Renaissance-Ada\src\libraries\Rewriters> alr update
Changes to dependency solution:
New solution is complete.
^ gnat 11.2.4 (gnat_native,upgraded from 11.2.3)
Do you want to proceed?
[Y] Yes [N] No (default is Yes) Y
Note: Deploying release rejuvenation=0.1.0...
Cloning into 'C:\path\to\Renaissance-Ada\src\libraries\Rewriters\alire\cache\dependencies\alr-krhv.tmp'...
remote: Enumerating objects: 339, done.
remote: Counting objects: 100% (339/339), done.Receiving objects: 1% (4/339)
remote: Compressing objects: 100% (240/240), done.
remote: Total 339 (delta 128), reused 286 (delta 82), pack-reused 0R
Receiving objects: 100% (339/339), 142.15 KiB | 1.75 MiB/s, done.
Resolving deltas: 100% (128/128), done.
PS C:\path\to\Renaissance-Ada\src\libraries\Rewriters> alr with --solve
Dependencies (direct):
libadalang^22.0.0
rejuvenation*
Dependencies (solution):
gnat=11.2.4 (gnat_native) (installed) (origin: binary_archive)
gnatcoll=22.0.0 (origin: source_archive)
gnatcoll_gmp=22.0.0 (origin: source_archive)
gnatcoll_iconv=22.0.0 (origin: source_archive)
langkit_support=22.0.0 (origin: source_archive)
libadalang=22.0.0 (origin: source_archive)
libgmp=6.2.1 (origin: system)
libgpr=22.0.0 (origin: source_archive)
libiconv=1.16.0 (origin: system)
rejuvenation=0.1.0 (origin: git)
xmlada=22.0.0 (origin: source_archive)
Dependencies (graph):
gnatcoll=22.0.0 --> libgpr=22.0.0 (~22.0.0)
gnatcoll_gmp=22.0.0 --> gnatcoll=22.0.0 (~22.0.0)
gnatcoll_gmp=22.0.0 --> libgmp=6.2.1 (*)
gnatcoll_iconv=22.0.0 --> gnatcoll=22.0.0 (~22.0.0)
gnatcoll_iconv=22.0.0 --> libiconv=1.16.0 (*)
langkit_support=22.0.0 --> gnatcoll=22.0.0 (^22)
langkit_support=22.0.0 --> gnatcoll_iconv=22.0.0 (^22)
libadalang=22.0.0 --> gnatcoll=22.0.0 (^22)
libadalang=22.0.0 --> gnatcoll_gmp=22.0.0 (^22)
libadalang=22.0.0 --> gnatcoll_iconv=22.0.0 (^22)
libadalang=22.0.0 --> langkit_support=22.0.0 (^22)
libgpr=22.0.0 --> gnat=11.2.4 (gnat_native) (/=2020)
libgpr=22.0.0 --> xmlada=22.0.0 (~22.0.0)
rejuvenation=0.1.0 --> libadalang=22.0.0 (^22.0.0)
rewriters=0.0.0 --> libadalang=22.0.0 (^22.0.0)
rewriters=0.0.0 --> rejuvenation=0.1.0 (*)
xmlada=22.0.0 --> gnat=11.2.4 (gnat_native) (>=11)
After these instructions, I was no longer able to reproduce the issue with alr build
.
Ah, I understand. I was looking for a more "compilation failed/alr errored" kind of error.
For the record, what was happening was:
rejuvenation
was not in your local index.
alr
knows you're missing required dependenciesalr index --update-all
, rejuvenation
was available but at present alr
does not automatically attempt to retry looking for a solution after such an update.
alr update
was needed. This found rejuvenation
for the solution.
Dear Alire developers,
I recently added the rejuvenation crate to the archive. I can already find it on alire website: https://alire.ada.dev/crates/rejuvenation However, I still get
Are these systems not connected? If so, how long can I have to wait? If not, what went wrong?
Greetings, Pierre