u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [RFC] CI: enforce packages upgrade for Msys2 on Windows
@ 2022-02-09  8:24 AKASHI Takahiro
  2022-02-09 12:28 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: AKASHI Takahiro @ 2022-02-09  8:24 UTC (permalink / raw)
  To: trini; +Cc: xypron.glpk, u-boot, AKASHI Takahiro

We need to install libgnutls-devel package to build the host tool,
mkeficapsule, and as of now, there seems to be a depencency conflict
in the current msys2 installer;

   :: installing libp11-kit (0.24.1-1) breaks dependency \
	'libp11-kit=0.23.22' required by p11-kit

To resolve this conflict, however, the initial "pacman -Syyuu" in
'tools_only_windows' job is not enough. Another "pacman -Su" will
enforce all the out-of-date packages being upgraded.
(Probably the first "-Syyuu" can be changed to "-Syu".)

See the installation steps in
  https://www.msys2.org/

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
---
 .azure-pipelines.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index eb8ec630a593..767b097f72fd 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -23,6 +23,7 @@ stages:
       - script: |
           sfx.exe -y -o%CD:~0,2%\
           %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Syyuu"
+          %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Su"
         displayName: 'Update MSYS2'
       - script: |
           %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm --needed -Sy make gcc bison flex diffutils openssl-devel libgnutls-devel libutil-linux-devel"
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [RFC] CI: enforce packages upgrade for Msys2 on Windows
  2022-02-09  8:24 [RFC] CI: enforce packages upgrade for Msys2 on Windows AKASHI Takahiro
@ 2022-02-09 12:28 ` Tom Rini
  2022-02-11 13:17   ` Heinrich Schuchardt
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2022-02-09 12:28 UTC (permalink / raw)
  To: AKASHI Takahiro, Bin Meng; +Cc: xypron.glpk, u-boot

[-- Attachment #1: Type: text/plain, Size: 1492 bytes --]

On Wed, Feb 09, 2022 at 05:24:23PM +0900, AKASHI Takahiro wrote:

> We need to install libgnutls-devel package to build the host tool,
> mkeficapsule, and as of now, there seems to be a depencency conflict
> in the current msys2 installer;
> 
>    :: installing libp11-kit (0.24.1-1) breaks dependency \
> 	'libp11-kit=0.23.22' required by p11-kit
> 
> To resolve this conflict, however, the initial "pacman -Syyuu" in
> 'tools_only_windows' job is not enough. Another "pacman -Su" will
> enforce all the out-of-date packages being upgraded.
> (Probably the first "-Syyuu" can be changed to "-Syu".)
> 
> See the installation steps in
>   https://www.msys2.org/
> 
> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
> ---
>  .azure-pipelines.yml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
> index eb8ec630a593..767b097f72fd 100644
> --- a/.azure-pipelines.yml
> +++ b/.azure-pipelines.yml
> @@ -23,6 +23,7 @@ stages:
>        - script: |
>            sfx.exe -y -o%CD:~0,2%\
>            %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Syyuu"
> +          %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Su"
>          displayName: 'Update MSYS2'
>        - script: |
>            %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm --needed -Sy make gcc bison flex diffutils openssl-devel libgnutls-devel libutil-linux-devel"

Seems reasonable to me.  Bin?

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC] CI: enforce packages upgrade for Msys2 on Windows
  2022-02-09 12:28 ` Tom Rini
@ 2022-02-11 13:17   ` Heinrich Schuchardt
  0 siblings, 0 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2022-02-11 13:17 UTC (permalink / raw)
  To: Tom Rini; +Cc: u-boot, AKASHI Takahiro, Bin Meng

On 2/9/22 13:28, Tom Rini wrote:
> On Wed, Feb 09, 2022 at 05:24:23PM +0900, AKASHI Takahiro wrote:
>
>> We need to install libgnutls-devel package to build the host tool,
>> mkeficapsule, and as of now, there seems to be a depencency conflict
>> in the current msys2 installer;
>>
>>     :: installing libp11-kit (0.24.1-1) breaks dependency \
>> 	'libp11-kit=0.23.22' required by p11-kit
>>
>> To resolve this conflict, however, the initial "pacman -Syyuu" in
>> 'tools_only_windows' job is not enough. Another "pacman -Su" will
>> enforce all the out-of-date packages being upgraded.
>> (Probably the first "-Syyuu" can be changed to "-Syu".)
>>
>> See the installation steps in
>>    https://www.msys2.org/
>>
>> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
>> ---
>>   .azure-pipelines.yml | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
>> index eb8ec630a593..767b097f72fd 100644
>> --- a/.azure-pipelines.yml
>> +++ b/.azure-pipelines.yml
>> @@ -23,6 +23,7 @@ stages:
>>         - script: |
>>             sfx.exe -y -o%CD:~0,2%\
>>             %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Syyuu"

The pacman man-page is available at
https://archlinux.org/pacman/pacman.8.html#SO

-S - synchronize packages
-y - refresh master package database
-yy - refresh all repositories
-u - upgrade all packages
-uu - allow downgrades

>> +          %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Su"
>>           displayName: 'Update MSYS2'
>>         - script: |
>>             %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm --needed -Sy make gcc bison flex diffutils openssl-devel libgnutls-devel libutil-linux-devel"
>
> Seems reasonable to me.  Bin?
>

With this patch Takahiro's mkeficapsule series builds. I rebased it to
let it be in front of the series.

https://github.com/u-boot/u-boot/pull/113#partial-pull-merging

Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-11 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09  8:24 [RFC] CI: enforce packages upgrade for Msys2 on Windows AKASHI Takahiro
2022-02-09 12:28 ` Tom Rini
2022-02-11 13:17   ` Heinrich Schuchardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).