alire icon indicating copy to clipboard operation
alire copied to clipboard

Git installation problem

Open rkrabbenborg opened this issue 2 years ago • 1 comments

Hi,

we face next problem: PS C:\windows\system32> cd \esi PS C:\esi> cd Rejuvenation-Ada-main PS C:\esi\Rejuvenation-Ada-main> alr build Cloning into '/c/Users/nx021563/.config/alire/indexes/community/repo'... BUG: run-command.c:513: disabling cancellation: Invalid argument 0 [main] git 1550 cygwin_exception::open_stackdumpfile: Dumping stack trace to git.exe.stackdump ERROR: Could not add community index: Command ["git", "clone", "--recursive", "--progress", "https://github.com/alire-project/alire-index", "C:\Users\nx021563\.config\alire\indexes\community\repo"] exited with code 34304 PS C:\esi\Rejuvenation-Ada-main>

How to proceed?

rkrabbenborg avatar Apr 08 '22 08:04 rkrabbenborg

Hi @rkrabbenborg,

When an alr command fails you can run it again with -v to have more info about the problem (or even -vv for more details).

Users have reported issue with the --progress switch for git that could be the problem here. The switch has been removed from the development version of Alire, so you can give it a try.

Fabien-Chouteau avatar Apr 08 '22 08:04 Fabien-Chouteau