Windows 10 Pro, running as a standard user.
Running Stock Alire: 1.0.0
PS D:\dev\ada\open_source> alr get libadalang
o Solving dependencies...... Looking for external crate: libgmp... warning: database file for 'ucrt64' does not exist (use '-Sy' to download)
warning: database file for 'clang64' does not exist (use '-Sy' to download)
O Solving dependencies...... Looking for external crate: libiconv... warning: database file for 'ucrt64' does not exist (use '-Sy' to download)
warning: database file for 'clang64' does not exist (use '-Sy' to download)
##################################################################################################################################################################### 100.0%##################################################################################################################################################################### 100.0%
The system package 'mingw-w64-x86_64-gmp' is about to be installed.
This action might require admin privileges and impact your system installation.
Do you want Alire to install this system package?
[Y] Yes [N] No [A] Always (default is Yes)
Using default: Yes
warning: database file for 'ucrt64' does not exist (use '-Sy' to download)
warning: database file for 'clang64' does not exist (use '-Sy' to download)
error: failed to prepare transaction (could not find database)
ERROR: Command ["pacman", "--needed", "--noconfirm", "-S", "mingw-w64-x86_64-gmp"] exited with code 1
I fixed this directly via mingw but Alire should probably handle this itself:
Paul@dragon MINGW32 ~
$ pacman --needed --noconfirm -Sy mingw-w64-x86_64-gmp
:: Synchronizing package databases...
mingw32 1186.1 KiB 884 KiB/s 00:01 [#####################################] 100%
mingw32.sig 566.0 B 0.00 B/s 00:00 [#####################################] 100%
mingw64 1192.2 KiB 2017 KiB/s 00:01 [#####################################] 100%
mingw64.sig 566.0 B 0.00 B/s 00:00 [#####################################] 100%
ucrt64 1447.1 KiB 1204 KiB/s 00:01 [#####################################] 100%
ucrt64.sig 566.0 B 0.00 B/s 00:00 [#####################################] 100%
clang64 1046.1 KiB 1746 KiB/s 00:01 [#####################################] 100%
clang64.sig 566.0 B 0.00 B/s 00:00 [#####################################] 100%
msys 362.3 KiB 610 KiB/s 00:01 [#####################################] 100%
msys.sig 566.0 B 0.00 B/s 00:00 [#####################################] 100%
resolving dependencies...
looking for conflicting packages...
Packages (1) mingw-w64-x86_64-gmp-6.2.1-2
Total Download Size: 0.49 MiB
Total Installed Size: 2.21 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
mingw-w64-x86_64-gmp-6.2.1-2-any 501.1 KiB 1121 KiB/s 00:00 [#####################################] 100%
(1/1) checking keys in keyring [#####################################] 100%
(1/1) checking package integrity [#####################################] 100%
(1/1) loading package files [#####################################] 100%
(1/1) checking for file conflicts [#####################################] 100%
(1/1) checking available disk space [#####################################] 100%
:: Processing package changes...
(1/1) installing mingw-w64-x86_64-gmp [#####################################] 100%
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too