Skip to contentSkip to conversation

azure: Use msys2 20210604 installer for Windows build

PATCH In review Bin Meng 2 participants 3 messages Jun 21, 2021 – Jun 22, 2021

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 azure: Use msys2 20210604 installer for Windows build

MSYS2 Windows build started to fail since yesterday (Jun 21):

checking keyring...
checking package integrity...
error: gcc-libs: signature from "David Macek <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
error: gcc: signature from "David Macek <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Switching to the latest installer (version 20210604) seems to fix it.

---

 .azure-pipelines.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.azure-pipelines.yml +1 -1
index 35ab7f30b2..221e600806 100644
@@ -16,7 +16,7 @@ jobs:
       vmImage: $(windows_vm)
     steps:
       - powershell: |
-          (New-Object Net.WebClient).DownloadFile("https://github.com/msys2/msys2-installer/releases/download/2020-07-20/msys2-base-x86_64-20200720.sfx.exe", "sfx.exe")
+          (New-Object Net.WebClient).DownloadFile("https://github.com/msys2/msys2-installer/releases/download/2021-06-04/msys2-base-x86_64-20210604.sfx.exe", "sfx.exe")
         displayName: 'Install MSYS2'
       - script: |
           sfx.exe -y -o%CD:~0,2%\
Signature · 1 line
2.25.1
Reviewed-by Tested-by on v1 1/1
#1 lore raw
Quoted 11 lines · Bin Meng

MSYS2 Windows build started to fail since yesterday (Jun 21):

checking keyring...
checking package integrity...
error: gcc-libs: signature from "David Macek <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
error: gcc: signature from "David Macek <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Quoted 3 lines

Switching to the latest installer (version 20210604) seems to fix it.

I had done the same and fired off a test build while this came in, so I'll take yours. Thanks!

Signature · 1 line
Tom
#2 lore raw
In reply to Bin Meng
Quoted 11 lines · Bin Meng

MSYS2 Windows build started to fail since yesterday (Jun 21):

checking keyring...
checking package integrity...
error: gcc-libs: signature from "David Macek <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
error: gcc: signature from "David Macek <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Quoted 5 lines

Switching to the latest installer (version 20210604) seems to fix it.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom