From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF005C433B4 for ; Wed, 12 May 2021 04:58:26 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0AD3B61433 for ; Wed, 12 May 2021 04:58:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0AD3B61433 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:47998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lggwz-0004Lb-0L for qemu-devel@archiver.kernel.org; Wed, 12 May 2021 00:58:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lggvK-0003Aq-O8 for qemu-devel@nongnu.org; Wed, 12 May 2021 00:56:42 -0400 Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]:40567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lggvI-0006G1-2B for qemu-devel@nongnu.org; Wed, 12 May 2021 00:56:42 -0400 Received: by mail-il1-x130.google.com with SMTP id h6so19141390ila.7 for ; Tue, 11 May 2021 21:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=ZATmjx8HyBdx8/yFhjZtMP03GfLmn6C1WAnpXSP1eLo=; b=ozYc6NLYuyCQHjB8NEHb2VZTuChnuFyLAnquCxSaWJvVxkjgpMYi0LU/SiElfA04Wy 6NmqfIrdZMm3Xx4kXy/P9ZtAN5fn+/G5PY37sLA00+X+YssH+7/GA/a1zFgBAIjIA+D2 mxVz4dZWeaQsc+UnEyMqpmx1zgrxn9Ws7rd/Wj7lbNxAnwtmmH8yCD3CmDMyL1ldYKxs JWqag9Mi7QHIWHu51m+Wvyu2jAKdxZwXv4HQ98gLAsmF6uTA3AR1O+ObqRuc5periWAI coRL3SfFStIK7e7PRTlADvcCTn1Kq46ym9jcFzf+DDd0UZGhkiN7ArLjUzyC1krRNqJl QgUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=ZATmjx8HyBdx8/yFhjZtMP03GfLmn6C1WAnpXSP1eLo=; b=ozqD+BVcmEresUoXgRpHKANdtxsazE0DwyY66GG7HgptwM8Ne9T5hW+6wm/oLYc/9z 1YpbzZBELcdWCRpK/nTD2Og7vuw80/hXHsrEBmy0ilxc5sIz29jEiQaZYzDP9emXH34p obRU4kYewKcYcfu20AMwVI4+ukL/ieEkQ26PJv/FNGujNtzX+beQ8iSXvu2enSBiS+nz RsWlmCnDni4M2/t0sMDnrgwwYOypK3WpzAiSKvFpv87vqb17oVqP/NgCDVuNIRKJbvnq qyWLfjL4DtPNtS4nN0KtBR/mmRVQZwsnHQi5KQ4w8a2En93IlZ9cdqn6P4UdE/Grwc4D WeYQ== X-Gm-Message-State: AOAM530F1nK4jcG0EmtCHXomkfpBft1BP26fPBBZJd7FP3irBcZ1o4PO p6zWP8oyNChe9L4PtoFq2UO28wsmN2ZL3RfCRmY= X-Google-Smtp-Source: ABdhPJzrmsvrZbrrvr0iZMqxXOP407kec9DhGW6Yd8msMNdw9AwN9JRtciJW69AU0XW3vAMMkQ2dFTdJPjFJ6NsA2/I= X-Received: by 2002:a92:c884:: with SMTP id w4mr29264547ilo.186.1620795399074; Tue, 11 May 2021 21:56:39 -0700 (PDT) MIME-Version: 1.0 References: <20210504100223.25427-1-alex.bennee@linaro.org> <20210504100223.25427-30-alex.bennee@linaro.org> In-Reply-To: <20210504100223.25427-30-alex.bennee@linaro.org> From: =?UTF-8?B?572X5YuH5YiaKFlvbmdnYW5nIEx1byk=?= Date: Wed, 12 May 2021 12:56:27 +0800 Message-ID: Subject: Re: [PATCH v2 29/30] cirrus.yml: Fix the MSYS2 task To: =?UTF-8?B?QWxleCBCZW5uw6ll?= Content-Type: multipart/alternative; boundary="00000000000003f9d805c21ad6c4" Received-SPF: pass client-ip=2607:f8b0:4864:20::130; envelope-from=luoyonggang@gmail.com; helo=mail-il1-x130.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: luoyonggang@gmail.com Cc: Fam Zheng , Thomas Huth , =?UTF-8?Q?Daniel_P=2E_Berrang=C3=A9?= , qemu-level , =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= , Ed Maste , Stefan Hajnoczi , Cleber Rosa , Paolo Bonzini , Li-Wen Hsu , Aurelien Jarno Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --00000000000003f9d805c21ad6c4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Yonggang Luo On Tue, May 4, 2021 at 6:09 PM Alex Benn=C3=A9e wr= ote: > > From: Thomas Huth > > The MSYS2 task in the Cirrus-CI is currently failing with error messages > like this: > > warning: database file for 'ucrt64' does not exist (use '-Sy' to download) > :: Starting core system upgrade... > there is nothing to do > :: Starting full system upgrade... > error: failed to prepare transaction (could not find database) > > Seems like it can be fixed by switching to a newer release and by refreshing > the database one more time after changing the /etc/pacman.conf file. > > Signed-off-by: Thomas Huth > Signed-off-by: Alex Benn=C3=A9e > Message-Id: <20210427185524.281883-1-thuth@redhat.com> > --- > .cirrus.yml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/.cirrus.yml b/.cirrus.yml > index f53c519447..f4bf49b704 100644 > --- a/.cirrus.yml > +++ b/.cirrus.yml > @@ -67,7 +67,7 @@ windows_msys2_task: > CIRRUS_SHELL: powershell > MSYS: winsymlinks:nativestrict > MSYSTEM: MINGW64 > - MSYS2_URL: https://github.com/msys2/msys2-installer/releases/download/2021-01-05/msys2= -base-x86_64-20210105.sfx.exe > + MSYS2_URL: https://github.com/msys2/msys2-installer/releases/download/2021-04-19/msys2= -base-x86_64-20210419.sfx.exe > MSYS2_FINGERPRINT: 0 > MSYS2_PACKAGES: " > diffutils git grep make pkg-config sed > @@ -130,7 +130,7 @@ windows_msys2_task: > taskkill /F /FI "MODULES eq msys-2.0.dll" > tasklist > C:\tools\msys64\usr\bin\bash.exe -lc "mv -f /etc/pacman.conf.pacnew /etc/pacman.conf || true" > - C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -Suu --overwrite=3D*" > + C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -Syuu --overwrite=3D*" > Write-Output "Core install time taken: $((Get-Date).Subtract($start_time))" > $start_time =3D Get-Date > > -- > 2.20.1 > -- =E6=AD=A4=E8=87=B4 =E7=A4=BC =E7=BD=97=E5=8B=87=E5=88=9A Yours sincerely, Yonggang Luo --00000000000003f9d805c21ad6c4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>

On Tue, May 4, 2021 at 6:= 09 PM Alex Benn=C3=A9e <alex.b= ennee@linaro.org> wrote:
>
> From: Thomas Huth <thuth@redhat.com>
>
> The= MSYS2 task in the Cirrus-CI is currently failing with error messages
&g= t; like this:
>
> =C2=A0warning: database file for 'ucrt64&= #39; does not exist (use '-Sy' to download)
> =C2=A0:: Starti= ng core system upgrade...
> =C2=A0 there is nothing to do
> =C2= =A0:: Starting full system upgrade...
> =C2=A0error: failed to prepar= e transaction (could not find database)
>
> Seems like it can b= e fixed by switching to a newer release and by refreshing
> the datab= ase one more time after changing the /etc/pacman.conf file.
>
>= Signed-off-by: Thomas Huth <thuth@r= edhat.com>
> Signed-off-by: Alex Benn=C3=A9e <alex.bennee@linaro.org>
> Message= -Id: <202104= 27185524.281883-1-thuth@redhat.com>
> ---
> =C2=A0.cirru= s.yml | 4 ++--
> =C2=A01 file changed, 2 insertions(+), 2 deletions(-= )
>
> diff --git a/.cirrus.yml b/.cirrus.yml
> index f53c= 519447..f4bf49b704 100644
> --- a/.cirrus.yml
> +++ b/.cirrus.y= ml
> @@ -67,7 +67,7 @@ windows_msys2_task:
> =C2=A0 =C2=A0 =C2= =A0CIRRUS_SHELL: powershell
> =C2=A0 =C2=A0 =C2=A0MSYS: winsymlinks:n= ativestrict
> =C2=A0 =C2=A0 =C2=A0MSYSTEM: MINGW64
> - =C2=A0 = =C2=A0MSYS2_URL: https://github.c= om/msys2/msys2-installer/releases/download/2021-01-05/msys2-base-x86_64-202= 10105.sfx.exe
> + =C2=A0 =C2=A0MSYS2_URL: https://github.com/msys2/msys2-installer/releases/downlo= ad/2021-04-19/msys2-base-x86_64-20210419.sfx.exe
> =C2=A0 =C2=A0 = =C2=A0MSYS2_FINGERPRINT: 0
> =C2=A0 =C2=A0 =C2=A0MSYS2_PACKAGES: &quo= t;
> =C2=A0 =C2=A0 =C2=A0 =C2=A0diffutils git grep make pkg-config se= d
> @@ -130,7 +130,7 @@ windows_msys2_task:
> =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0taskkill /F /FI "MODULES eq msys-2.0.dll"
>= ; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tasklist
> =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0C:\tools\msys64\usr\bin\bash.exe -lc "mv -f /etc/pacman.c= onf.pacnew /etc/pacman.conf || true"
> - =C2=A0 =C2=A0 =C2=A0 = =C2=A0C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -Suu --= overwrite=3D*"
> + =C2=A0 =C2=A0 =C2=A0 =C2=A0C:\tools\msys64\us= r\bin\bash.exe -lc "pacman --noconfirm -Syuu --overwrite=3D*"
= > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Write-Output "Core install time= taken: $((Get-Date).Subtract($start_time))"
> =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0$start_time =3D Get-Date
>
> --
> 2.20.1=
>


--
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E6=AD=A4=E8=87= =B4
=E7=A4=BC
=E7=BD=97=E5=8B=87=E5=88=9A
Yours
=C2=A0 =C2=A0 s= incerely,
Yonggang Luo
--00000000000003f9d805c21ad6c4--