qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] .cirrus.yml: Change winsymlinks to 'native'
@ 2022-07-19 16:12 Bin Meng
  2022-07-25  1:24 ` Bin Meng
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Bin Meng @ 2022-07-19 16:12 UTC (permalink / raw)
  To: Alex Bennée, Philippe Mathieu-Daudé, Thomas Huth,
	Yonggang Luo, qemu-devel
  Cc: Bin Meng

From: Bin Meng <bin.meng@windriver.com>

At present winsymlinks is set to 'nativestrict', and its behavior is:

  a) if native symlinks are enabled and <target> exists, creates
     <destination> as a native Windows symlink;
  b) else if native symlinks are not enabled or if <target> does
     not exist, 'ln -s' fails.

This causes the following error message was seen during the configure:

  "ln: failed to create symbolic link
  'x86_64-softmmu/qemu-system-x86_64.exe': No such file or directory"

Change winsymlinks to 'native' whose behavior is most similar to the
behavior of 'ln -s' on *nix, that is:

  a) if native symlinks are enabled, and whether <target> exists
     or not, creates <destination> as a native Windows symlink;
  b) else if native symlinks are not enabled, and whether <target>
     exists or not, 'ln -s' creates as a Windows shortcut file.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
---

 .cirrus.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.cirrus.yml b/.cirrus.yml
index 20843a420c..eac39024f2 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -10,7 +10,7 @@ windows_msys2_task:
     memory: 8G
   env:
     CIRRUS_SHELL: powershell
-    MSYS: winsymlinks:nativestrict
+    MSYS: winsymlinks:native
     MSYSTEM: MINGW64
     MSYS2_URL: https://github.com/msys2/msys2-installer/releases/download/2022-05-03/msys2-base-x86_64-20220503.sfx.exe
     MSYS2_FINGERPRINT: 0
-- 
2.34.1



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

* Re: [PATCH] .cirrus.yml: Change winsymlinks to 'native'
  2022-07-19 16:12 [PATCH] .cirrus.yml: Change winsymlinks to 'native' Bin Meng
@ 2022-07-25  1:24 ` Bin Meng
  2022-07-25  2:07   ` 罗勇刚(Yonggang Luo)
  2022-07-25  8:55 ` Thomas Huth
  2022-07-25 12:25 ` Alex Bennée
  2 siblings, 1 reply; 5+ messages in thread
From: Bin Meng @ 2022-07-25  1:24 UTC (permalink / raw)
  To: Alex Bennée, Philippe Mathieu-Daudé, Thomas Huth,
	Yonggang Luo, qemu-devel@nongnu.org Developers
  Cc: Bin Meng

On Wed, Jul 20, 2022 at 12:12 AM Bin Meng <bmeng.cn@gmail.com> wrote:
>
> From: Bin Meng <bin.meng@windriver.com>
>
> At present winsymlinks is set to 'nativestrict', and its behavior is:
>
>   a) if native symlinks are enabled and <target> exists, creates
>      <destination> as a native Windows symlink;
>   b) else if native symlinks are not enabled or if <target> does
>      not exist, 'ln -s' fails.
>
> This causes the following error message was seen during the configure:
>
>   "ln: failed to create symbolic link
>   'x86_64-softmmu/qemu-system-x86_64.exe': No such file or directory"
>
> Change winsymlinks to 'native' whose behavior is most similar to the
> behavior of 'ln -s' on *nix, that is:
>
>   a) if native symlinks are enabled, and whether <target> exists
>      or not, creates <destination> as a native Windows symlink;
>   b) else if native symlinks are not enabled, and whether <target>
>      exists or not, 'ln -s' creates as a Windows shortcut file.
>
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
> ---
>
>  .cirrus.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Ping?


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

* Re: [PATCH] .cirrus.yml: Change winsymlinks to 'native'
  2022-07-25  1:24 ` Bin Meng
@ 2022-07-25  2:07   ` 罗勇刚(Yonggang Luo)
  0 siblings, 0 replies; 5+ messages in thread
From: 罗勇刚(Yonggang Luo) @ 2022-07-25  2:07 UTC (permalink / raw)
  To: Bin Meng
  Cc: Alex Bennée, Philippe Mathieu-Daudé, Thomas Huth,
	qemu-devel@nongnu.org Developers, Bin Meng

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

On Mon, Jul 25, 2022 at 9:24 AM Bin Meng <bmeng.cn@gmail.com> wrote:
>
> On Wed, Jul 20, 2022 at 12:12 AM Bin Meng <bmeng.cn@gmail.com> wrote:
> >
> > From: Bin Meng <bin.meng@windriver.com>
> >
> > At present winsymlinks is set to 'nativestrict', and its behavior is:
> >
> >   a) if native symlinks are enabled and <target> exists, creates
> >      <destination> as a native Windows symlink;
> >   b) else if native symlinks are not enabled or if <target> does
> >      not exist, 'ln -s' fails.
> >
> > This causes the following error message was seen during the configure:
> >
> >   "ln: failed to create symbolic link
> >   'x86_64-softmmu/qemu-system-x86_64.exe': No such file or directory"
> >
> > Change winsymlinks to 'native' whose behavior is most similar to the
> > behavior of 'ln -s' on *nix, that is:
> >
> >   a) if native symlinks are enabled, and whether <target> exists
> >      or not, creates <destination> as a native Windows symlink;
> >   b) else if native symlinks are not enabled, and whether <target>
> >      exists or not, 'ln -s' creates as a Windows shortcut file.
> >
> > Signed-off-by: Bin Meng <bin.meng@windriver.com>
> > ---
> >
> >  .cirrus.yml | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
>
> Ping?


Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>


--
         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo

[-- Attachment #2: Type: text/html, Size: 2088 bytes --]

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

* Re: [PATCH] .cirrus.yml: Change winsymlinks to 'native'
  2022-07-19 16:12 [PATCH] .cirrus.yml: Change winsymlinks to 'native' Bin Meng
  2022-07-25  1:24 ` Bin Meng
@ 2022-07-25  8:55 ` Thomas Huth
  2022-07-25 12:25 ` Alex Bennée
  2 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2022-07-25  8:55 UTC (permalink / raw)
  To: Bin Meng, Alex Bennée, qemu-devel
  Cc: Bin Meng, Philippe Mathieu-Daudé, Yonggang Luo

On 19/07/2022 18.12, Bin Meng wrote:
> From: Bin Meng <bin.meng@windriver.com>
> 
> At present winsymlinks is set to 'nativestrict', and its behavior is:
> 
>    a) if native symlinks are enabled and <target> exists, creates
>       <destination> as a native Windows symlink;
>    b) else if native symlinks are not enabled or if <target> does
>       not exist, 'ln -s' fails.
> 
> This causes the following error message was seen during the configure:
> 
>    "ln: failed to create symbolic link
>    'x86_64-softmmu/qemu-system-x86_64.exe': No such file or directory"
> 
> Change winsymlinks to 'native' whose behavior is most similar to the
> behavior of 'ln -s' on *nix, that is:
> 
>    a) if native symlinks are enabled, and whether <target> exists
>       or not, creates <destination> as a native Windows symlink;
>    b) else if native symlinks are not enabled, and whether <target>
>       exists or not, 'ln -s' creates as a Windows shortcut file.
> 
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
> ---
> 
>   .cirrus.yml | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.cirrus.yml b/.cirrus.yml
> index 20843a420c..eac39024f2 100644
> --- a/.cirrus.yml
> +++ b/.cirrus.yml
> @@ -10,7 +10,7 @@ windows_msys2_task:
>       memory: 8G
>     env:
>       CIRRUS_SHELL: powershell
> -    MSYS: winsymlinks:nativestrict
> +    MSYS: winsymlinks:native
>       MSYSTEM: MINGW64
>       MSYS2_URL: https://github.com/msys2/msys2-installer/releases/download/2022-05-03/msys2-base-x86_64-20220503.sfx.exe
>       MSYS2_FINGERPRINT: 0

Acked-by: Thomas Huth <thuth@redhat.com>

Alex, if I've got that right, you're currently assembling a "testing" pull 
request - could you please pick up this patch for that, too? ... I currently 
don't have anything else pending right now, so I don't plan any new pull 
request soon.

  Thomas



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

* Re: [PATCH] .cirrus.yml: Change winsymlinks to 'native'
  2022-07-19 16:12 [PATCH] .cirrus.yml: Change winsymlinks to 'native' Bin Meng
  2022-07-25  1:24 ` Bin Meng
  2022-07-25  8:55 ` Thomas Huth
@ 2022-07-25 12:25 ` Alex Bennée
  2 siblings, 0 replies; 5+ messages in thread
From: Alex Bennée @ 2022-07-25 12:25 UTC (permalink / raw)
  To: Bin Meng
  Cc: Philippe Mathieu-Daudé, Thomas Huth, Yonggang Luo,
	qemu-devel, Bin Meng


Bin Meng <bmeng.cn@gmail.com> writes:

> From: Bin Meng <bin.meng@windriver.com>
>
> At present winsymlinks is set to 'nativestrict', and its behavior is:
>
>   a) if native symlinks are enabled and <target> exists, creates
>      <destination> as a native Windows symlink;
>   b) else if native symlinks are not enabled or if <target> does
>      not exist, 'ln -s' fails.
>
> This causes the following error message was seen during the configure:
>
>   "ln: failed to create symbolic link
>   'x86_64-softmmu/qemu-system-x86_64.exe': No such file or directory"
>
> Change winsymlinks to 'native' whose behavior is most similar to the
> behavior of 'ln -s' on *nix, that is:
>
>   a) if native symlinks are enabled, and whether <target> exists
>      or not, creates <destination> as a native Windows symlink;
>   b) else if native symlinks are not enabled, and whether <target>
>      exists or not, 'ln -s' creates as a Windows shortcut file.
>
> Signed-off-by: Bin Meng <bin.meng@windriver.com>

Queued to testing/next, thanks.

-- 
Alex Bennée


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

end of thread, other threads:[~2022-07-25 12:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-19 16:12 [PATCH] .cirrus.yml: Change winsymlinks to 'native' Bin Meng
2022-07-25  1:24 ` Bin Meng
2022-07-25  2:07   ` 罗勇刚(Yonggang Luo)
2022-07-25  8:55 ` Thomas Huth
2022-07-25 12:25 ` Alex Bennée

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).