Skip to contentSkip to conversation

package/qemu: bump to version 6.2.0

PATCH Applied Cédric Le Goater 4 participants 9 messages Jan 3, 2022 – Jan 6, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/qemu: bump to version 6.2.0

Remove uclibc workaround which was deprecated by upstream :
commit a30bfaa7bd1f ("linux-user/host/arm: Populate host_signal.h")

Remove upstream patches :
commit 304332039014 ("block/export/fuse.c: fix musl build") commit 28031d5c7427 ("block/export/fuse.c: fix fuse-lseek on uclibc or musl")

---
 ...age-of-mcontext-structure-on-ARM-uCl.patch | 35 -------------
 ...e.c-fix-fuse-lseek-on-uclibc-or-musl.patch | 44 -----------------
 ...4-block-export-fuse.c-fix-musl-build.patch | 49 -------------------
 package/qemu/qemu.hash                        |  2 +-
 package/qemu/qemu.mk                          |  2 +-
 5 files changed, 2 insertions(+), 130 deletions(-)
 delete mode 100644 package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch
 delete mode 100644 package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch
 delete mode 100644 package/qemu/0004-block-export-fuse.c-fix-musl-build.patch
package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch deleted +0 -35
deleted file mode 100644
index 6db4e8bc923e..000000000000
@@ -1,35 +0,0 @@
-From 923d25365fbdff17fa4c8c2883960be07c3dad56 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <[email protected]>
-Date: Fri, 5 May 2017 09:07:15 +0200
-Subject: [PATCH] user-exec: fix usage of mcontext structure on ARM/uClibc
-
-user-exec.c has some conditional code to decide how to use the
-mcontext structure. Unfortunately, since uClibc defines __GLIBC__, but
-with old versions of __GLIBC__ and __GLIBC_MINOR__, an old code path
-gets used, which doesn't apply to uClibc.
-
-Fix this by excluding __UCLIBC__, which ensures we fall back to the
-general case of using uc_mcontext.arm_pc, which works fine with
-uClibc.
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- accel/tcg/user-exec.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c
-index 4ebe25461a..0496674fbd 100644
---- a/accel/tcg/user-exec.c
-+++ b/accel/tcg/user-exec.c
-@@ -540,7 +540,7 @@ int cpu_signal_handler(int host_signum, void *pinfo,
- 
- #if defined(__NetBSD__)
-     pc = uc->uc_mcontext.__gregs[_REG_R15];
--#elif defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 3))
-+#elif defined(__GLIBC__) && !defined(__UCLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 3))
-     pc = uc->uc_mcontext.gregs[R15];
- #else
-     pc = uc->uc_mcontext.arm_pc;
--- 
-2.25.3
-
package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch deleted +0 -44

44 lines not on this page · raw message

package/qemu/0004-block-export-fuse.c-fix-musl-build.patch deleted +0 -49

49 lines not on this page · raw message

package/qemu/qemu.hash +1 -1
index 0613fce49367..9411832384ba 100644
@@ -1,4 +1,4 @@
 # Locally computed, tarball verified with GPG signature
-sha256  eebc089db3414bbeedf1e464beda0a7515aad30f73261abc246c9b27503a3c96  qemu-6.1.0.tar.xz
+sha256  68e15d8e45ac56326e0b9a4afa8b49a3dfe8aba3488221d098c84698bca65b45  qemu-6.2.0.tar.xz
 sha256  6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100  COPYING
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB
package/qemu/qemu.mk +1 -1
index 919aef6599f1..97f9f885a18a 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-QEMU_VERSION = 6.1.0
+QEMU_VERSION = 6.2.0
 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz
 QEMU_SITE = http://download.qemu.org
 QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Cédric, All,

On 2022-01-03 17:58 +0100, Cédric Le Goater spake thusly:

Quoted 8 lines

Remove uclibc workaround which was deprecated by upstream :
commit a30bfaa7bd1f ("linux-user/host/arm: Populate host_signal.h")

Remove upstream patches :
commit 304332039014 ("block/export/fuse.c: fix musl build") commit 28031d5c7427 ("block/export/fuse.c: fix fuse-lseek on uclibc or musl")

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 187 lines
---
 ...age-of-mcontext-structure-on-ARM-uCl.patch | 35 -------------
 ...e.c-fix-fuse-lseek-on-uclibc-or-musl.patch | 44 -----------------
 ...4-block-export-fuse.c-fix-musl-build.patch | 49 -------------------
 package/qemu/qemu.hash                        |  2 +-
 package/qemu/qemu.mk                          |  2 +-
 5 files changed, 2 insertions(+), 130 deletions(-)
 delete mode 100644 package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch
 delete mode 100644 package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch
 delete mode 100644 package/qemu/0004-block-export-fuse.c-fix-musl-build.patch
package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch deleted +0 -35
deleted file mode 100644
index 6db4e8bc923e..000000000000
@@ -1,35 +0,0 @@
-From 923d25365fbdff17fa4c8c2883960be07c3dad56 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <[email protected]>
-Date: Fri, 5 May 2017 09:07:15 +0200
-Subject: [PATCH] user-exec: fix usage of mcontext structure on ARM/uClibc
-
-user-exec.c has some conditional code to decide how to use the
-mcontext structure. Unfortunately, since uClibc defines __GLIBC__, but
-with old versions of __GLIBC__ and __GLIBC_MINOR__, an old code path
-gets used, which doesn't apply to uClibc.
-
-Fix this by excluding __UCLIBC__, which ensures we fall back to the
-general case of using uc_mcontext.arm_pc, which works fine with
-uClibc.
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- accel/tcg/user-exec.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c
-index 4ebe25461a..0496674fbd 100644
---- a/accel/tcg/user-exec.c
-+++ b/accel/tcg/user-exec.c
-@@ -540,7 +540,7 @@ int cpu_signal_handler(int host_signum, void *pinfo,
- 
- #if defined(__NetBSD__)
-     pc = uc->uc_mcontext.__gregs[_REG_R15];
--#elif defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 3))
-+#elif defined(__GLIBC__) && !defined(__UCLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 3))
-     pc = uc->uc_mcontext.gregs[R15];
- #else
-     pc = uc->uc_mcontext.arm_pc;
--- 
-2.25.3
-
package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch deleted +0 -44
deleted file mode 100644
index 50762055bf18..000000000000
@@ -1,44 +0,0 @@
-From 8c3fcbf23fe31cf56f21ce1737bf22fe65fc553b Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Fri, 27 Aug 2021 23:40:01 +0200
-Subject: [PATCH] block/export/fuse.c: fix fuse-lseek on uclibc or musl
-
-Include linux/fs.h to avoid the following build failure on uclibc or
-musl raised since version 6.0.0:
-
-../block/export/fuse.c: In function 'fuse_lseek':
-../block/export/fuse.c:641:19: error: 'SEEK_HOLE' undeclared (first use in this function)
-  641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
-      |                   ^~~~~~~~~
-../block/export/fuse.c:641:19: note: each undeclared identifier is reported only once for each function it appears in
-../block/export/fuse.c:641:42: error: 'SEEK_DATA' undeclared (first use in this function); did you mean 'SEEK_SET'?
-  641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
-      |                                          ^~~~~~~~~
-      |                                          SEEK_SET
-
-Fixes:
- - http://autobuild.buildroot.org/results/33c90ebf04997f4d3557cfa66abc9cf9a3076137
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Upstream status: https://patchwork.ozlabs.org/project/qemu-devel/patch/[email protected]/]
----
- block/export/fuse.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/block/export/fuse.c b/block/export/fuse.c
-index fc7b07d2b5..2e3bf8270b 100644
---- a/block/export/fuse.c
-+++ b/block/export/fuse.c
-@@ -31,6 +31,9 @@
- #include <fuse.h>
- #include <fuse_lowlevel.h>
- 
-+#ifdef __linux__
-+#include <linux/fs.h>
-+#endif
- 
- /* Prevent overly long bounce buffer allocations */
- #define FUSE_MAX_BOUNCE_BYTES (MIN(BDRV_REQUEST_MAX_BYTES, 64 * 1024 * 1024))
--- 
-2.32.0
-
package/qemu/0004-block-export-fuse.c-fix-musl-build.patch deleted +0 -49
deleted file mode 100644
index 4856821843fc..000000000000
@@ -1,49 +0,0 @@
-From 304332039014679b809f606e2f227ee0fc43a451 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Fri, 22 Oct 2021 11:52:09 +0200
-Subject: [PATCH] block/export/fuse.c: fix musl build
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Include linux/falloc.h if CONFIG_FALLOCATE_ZERO_RANGE is defined to fix
-https://gitlab.com/qemu-project/qemu/-/commit/50482fda98bd62e072c30b7ea73c985c4e9d9bbb
-and avoid the following build failure on musl:
-
-../block/export/fuse.c: In function 'fuse_fallocate':
-../block/export/fuse.c:643:21: error: 'FALLOC_FL_ZERO_RANGE' undeclared (first use in this function)
-  643 |     else if (mode & FALLOC_FL_ZERO_RANGE) {
-      |                     ^~~~~~~~~~~~~~~~~~~~
-
-Fixes:
- - http://autobuild.buildroot.org/results/be24433a429fda681fb66698160132c1c99bc53b
-
-Fixes: 50482fda98b ("block/export/fuse.c: fix musl build")
-Signed-off-by: Fabrice Fontaine <[email protected]>
-Message-Id: <[email protected]>
-Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
-Signed-off-by: Kevin Wolf <[email protected]>
-[Retrieved from:
-https://gitlab.com/qemu-project/qemu/-/commit/304332039014679b809f606e2f227ee0fc43a451]
----
- block/export/fuse.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/block/export/fuse.c b/block/export/fuse.c
-index 2e3bf8270b..823c126d23 100644
---- a/block/export/fuse.c
-+++ b/block/export/fuse.c
-@@ -31,6 +31,10 @@
- #include <fuse.h>
- #include <fuse_lowlevel.h>
- 
-+#if defined(CONFIG_FALLOCATE_ZERO_RANGE)
-+#include <linux/falloc.h>
-+#endif
-+
- #ifdef __linux__
- #include <linux/fs.h>
- #endif
--- 
-GitLab
-
package/qemu/qemu.hash +1 -1
index 0613fce49367..9411832384ba 100644
@@ -1,4 +1,4 @@
 # Locally computed, tarball verified with GPG signature
-sha256  eebc089db3414bbeedf1e464beda0a7515aad30f73261abc246c9b27503a3c96  qemu-6.1.0.tar.xz
+sha256  68e15d8e45ac56326e0b9a4afa8b49a3dfe8aba3488221d098c84698bca65b45  qemu-6.2.0.tar.xz
 sha256  6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100  COPYING
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB
package/qemu/qemu.mk +1 -1
index 919aef6599f1..97f9f885a18a 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-QEMU_VERSION = 6.1.0
+QEMU_VERSION = 6.2.0
 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz
 QEMU_SITE = http://download.qemu.org
 QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Cédric Le Goater

Hi Cédric, All,

Le 03/01/2022 à 17:58, Cédric Le Goater a écrit :

Quoted 8 lines

Remove uclibc workaround which was deprecated by upstream :
commit a30bfaa7bd1f ("linux-user/host/arm: Populate host_signal.h")

Remove upstream patches :
commit 304332039014 ("block/export/fuse.c: fix musl build") commit 28031d5c7427 ("block/export/fuse.c: fix fuse-lseek on uclibc or musl")

I did a similar commit to test all qemu defconfig in gitlab-ci:

https://gitlab.com/kubu93/buildroot/-/pipelines/438162421

No problem detected so far, I was investigating why the s390x defconfig failed for me...

It would be great if you can do a runtime test in gitlab and add the link in the commit log.

Quoted 173 lines
---
 ...age-of-mcontext-structure-on-ARM-uCl.patch | 35 -------------
 ...e.c-fix-fuse-lseek-on-uclibc-or-musl.patch | 44 -----------------
 ...4-block-export-fuse.c-fix-musl-build.patch | 49 -------------------
 package/qemu/qemu.hash                        |  2 +-
 package/qemu/qemu.mk                          |  2 +-
 5 files changed, 2 insertions(+), 130 deletions(-)
 delete mode 100644 package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch
 delete mode 100644 package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch
 delete mode 100644 package/qemu/0004-block-export-fuse.c-fix-musl-build.patch
package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch deleted +0 -35
deleted file mode 100644
index 6db4e8bc923e..000000000000
@@ -1,35 +0,0 @@
-From 923d25365fbdff17fa4c8c2883960be07c3dad56 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <[email protected]>
-Date: Fri, 5 May 2017 09:07:15 +0200
-Subject: [PATCH] user-exec: fix usage of mcontext structure on ARM/uClibc
-
-user-exec.c has some conditional code to decide how to use the
-mcontext structure. Unfortunately, since uClibc defines __GLIBC__, but
-with old versions of __GLIBC__ and __GLIBC_MINOR__, an old code path
-gets used, which doesn't apply to uClibc.
-
-Fix this by excluding __UCLIBC__, which ensures we fall back to the
-general case of using uc_mcontext.arm_pc, which works fine with
-uClibc.
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- accel/tcg/user-exec.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c
-index 4ebe25461a..0496674fbd 100644
---- a/accel/tcg/user-exec.c
-+++ b/accel/tcg/user-exec.c
-@@ -540,7 +540,7 @@ int cpu_signal_handler(int host_signum, void *pinfo,
- 
- #if defined(__NetBSD__)
-     pc = uc->uc_mcontext.__gregs[_REG_R15];
--#elif defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 3))
-+#elif defined(__GLIBC__) && !defined(__UCLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 3))
-     pc = uc->uc_mcontext.gregs[R15];
- #else
-     pc = uc->uc_mcontext.arm_pc;
--- 
-2.25.3
-
package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch deleted +0 -44
deleted file mode 100644
index 50762055bf18..000000000000
@@ -1,44 +0,0 @@
-From 8c3fcbf23fe31cf56f21ce1737bf22fe65fc553b Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Fri, 27 Aug 2021 23:40:01 +0200
-Subject: [PATCH] block/export/fuse.c: fix fuse-lseek on uclibc or musl
-
-Include linux/fs.h to avoid the following build failure on uclibc or
-musl raised since version 6.0.0:
-
-../block/export/fuse.c: In function 'fuse_lseek':
-../block/export/fuse.c:641:19: error: 'SEEK_HOLE' undeclared (first use in this function)
-  641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
-      |                   ^~~~~~~~~
-../block/export/fuse.c:641:19: note: each undeclared identifier is reported only once for each function it appears in
-../block/export/fuse.c:641:42: error: 'SEEK_DATA' undeclared (first use in this function); did you mean 'SEEK_SET'?
-  641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
-      |                                          ^~~~~~~~~
-      |                                          SEEK_SET
-
-Fixes:
- - http://autobuild.buildroot.org/results/33c90ebf04997f4d3557cfa66abc9cf9a3076137
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Upstream status: https://patchwork.ozlabs.org/project/qemu-devel/patch/[email protected]/]
----
- block/export/fuse.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/block/export/fuse.c b/block/export/fuse.c
-index fc7b07d2b5..2e3bf8270b 100644
---- a/block/export/fuse.c
-+++ b/block/export/fuse.c
-@@ -31,6 +31,9 @@
- #include <fuse.h>
- #include <fuse_lowlevel.h>
- 
-+#ifdef __linux__
-+#include <linux/fs.h>
-+#endif
- 
- /* Prevent overly long bounce buffer allocations */
- #define FUSE_MAX_BOUNCE_BYTES (MIN(BDRV_REQUEST_MAX_BYTES, 64 * 1024 * 1024))
--- 
-2.32.0
-
package/qemu/0004-block-export-fuse.c-fix-musl-build.patch deleted +0 -49
deleted file mode 100644
index 4856821843fc..000000000000
@@ -1,49 +0,0 @@
-From 304332039014679b809f606e2f227ee0fc43a451 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Fri, 22 Oct 2021 11:52:09 +0200
-Subject: [PATCH] block/export/fuse.c: fix musl build
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Include linux/falloc.h if CONFIG_FALLOCATE_ZERO_RANGE is defined to fix
-https://gitlab.com/qemu-project/qemu/-/commit/50482fda98bd62e072c30b7ea73c985c4e9d9bbb
-and avoid the following build failure on musl:
-
-../block/export/fuse.c: In function 'fuse_fallocate':
-../block/export/fuse.c:643:21: error: 'FALLOC_FL_ZERO_RANGE' undeclared (first use in this function)
-  643 |     else if (mode & FALLOC_FL_ZERO_RANGE) {
-      |                     ^~~~~~~~~~~~~~~~~~~~
-
-Fixes:
- - http://autobuild.buildroot.org/results/be24433a429fda681fb66698160132c1c99bc53b
-
-Fixes: 50482fda98b ("block/export/fuse.c: fix musl build")
-Signed-off-by: Fabrice Fontaine <[email protected]>
-Message-Id: <[email protected]>
-Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
-Signed-off-by: Kevin Wolf <[email protected]>
-[Retrieved from:
-https://gitlab.com/qemu-project/qemu/-/commit/304332039014679b809f606e2f227ee0fc43a451]
----
- block/export/fuse.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/block/export/fuse.c b/block/export/fuse.c
-index 2e3bf8270b..823c126d23 100644
---- a/block/export/fuse.c
-+++ b/block/export/fuse.c
-@@ -31,6 +31,10 @@
- #include <fuse.h>
- #include <fuse_lowlevel.h>
- 
-+#if defined(CONFIG_FALLOCATE_ZERO_RANGE)
-+#include <linux/falloc.h>
-+#endif
-+
- #ifdef __linux__
- #include <linux/fs.h>
- #endif
--- 
-GitLab
-
package/qemu/qemu.hash +1 -1
index 0613fce49367..9411832384ba 100644
@@ -1,4 +1,4 @@
 # Locally computed, tarball verified with GPG signature
-sha256  eebc089db3414bbeedf1e464beda0a7515aad30f73261abc246c9b27503a3c96  qemu-6.1.0.tar.xz
+sha256  68e15d8e45ac56326e0b9a4afa8b49a3dfe8aba3488221d098c84698bca65b45  qemu-6.2.0.tar.xz
 sha256  6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100  COPYING
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB
package/qemu/qemu.mk +0 -0
index 919aef6599f1..97f9f885a18a 100644

package/qemu/qemu.mk line 10

Quoted 8 lines
package/qemu/qemu.mk +1 -1
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-QEMU_VERSION = 6.1.0
+QEMU_VERSION = 6.2.0
 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz
 QEMU_SITE = http://download.qemu.org
 QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c

Please check qemu configure options while doing a version bump, there are a lot of new option added:

https://gitlab.com/kubu93/buildroot/-/commit/bb7e076c0e8960de81f664a138b33a3d736cdd0e

Best regards,
Romain
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
Quoted 14 lines · Romain Naour

Hi Cédric, All,

Le 03/01/2022 à 17:58, Cédric Le Goater a écrit :

Quoted 8 lines

Remove uclibc workaround which was deprecated by upstream :
commit a30bfaa7bd1f ("linux-user/host/arm: Populate host_signal.h")

Remove upstream patches :
commit 304332039014 ("block/export/fuse.c: fix musl build") commit 28031d5c7427 ("block/export/fuse.c: fix fuse-lseek on uclibc or musl")

I did a similar commit to test all qemu defconfig in gitlab-ci:

Quoted 7 lines

https://gitlab.com/kubu93/buildroot/-/pipelines/438162421

No problem detected so far, I was investigating why the s390x defconfig failed for me...

It would be great if you can do a runtime test in gitlab and add the link in the commit log.

I did a few runs with test branches but I didn't find a way to run only the qemu board boot tests. How did you do that ?

Quoted 175 lines
Quoted 175 lines
---
  ...age-of-mcontext-structure-on-ARM-uCl.patch | 35 -------------
  ...e.c-fix-fuse-lseek-on-uclibc-or-musl.patch | 44 -----------------
  ...4-block-export-fuse.c-fix-musl-build.patch | 49 -------------------
  package/qemu/qemu.hash                        |  2 +-
  package/qemu/qemu.mk                          |  2 +-
  5 files changed, 2 insertions(+), 130 deletions(-)

delete mode 100644 package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch delete mode 100644 package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch delete mode 100644 package/qemu/0004-block-export-fuse.c-fix-musl-build.patch

package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch deleted +0 -35
deleted file mode 100644
index 6db4e8bc923e..000000000000
@@ -1,35 +0,0 @@
-From 923d25365fbdff17fa4c8c2883960be07c3dad56 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <[email protected]>
-Date: Fri, 5 May 2017 09:07:15 +0200
-Subject: [PATCH] user-exec: fix usage of mcontext structure on ARM/uClibc
-
-user-exec.c has some conditional code to decide how to use the
-mcontext structure. Unfortunately, since uClibc defines __GLIBC__, but
-with old versions of __GLIBC__ and __GLIBC_MINOR__, an old code path
-gets used, which doesn't apply to uClibc.
-
-Fix this by excluding __UCLIBC__, which ensures we fall back to the
-general case of using uc_mcontext.arm_pc, which works fine with
-uClibc.
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- accel/tcg/user-exec.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c
-index 4ebe25461a..0496674fbd 100644
---- a/accel/tcg/user-exec.c
-+++ b/accel/tcg/user-exec.c
-@@ -540,7 +540,7 @@ int cpu_signal_handler(int host_signum, void *pinfo,
-
- #if defined(__NetBSD__)
-     pc = uc->uc_mcontext.__gregs[_REG_R15];
--#elif defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 3))
-+#elif defined(__GLIBC__) && !defined(__UCLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 3))
-     pc = uc->uc_mcontext.gregs[R15];
- #else
-     pc = uc->uc_mcontext.arm_pc;
---
-2.25.3
-
package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch deleted +0 -44
deleted file mode 100644
index 50762055bf18..000000000000
@@ -1,44 +0,0 @@
-From 8c3fcbf23fe31cf56f21ce1737bf22fe65fc553b Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Fri, 27 Aug 2021 23:40:01 +0200
-Subject: [PATCH] block/export/fuse.c: fix fuse-lseek on uclibc or musl
-
-Include linux/fs.h to avoid the following build failure on uclibc or
-musl raised since version 6.0.0:
-
-../block/export/fuse.c: In function 'fuse_lseek':
-../block/export/fuse.c:641:19: error: 'SEEK_HOLE' undeclared (first use in this function)
-  641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
-      |                   ^~~~~~~~~
-../block/export/fuse.c:641:19: note: each undeclared identifier is reported only once for each function it appears in
-../block/export/fuse.c:641:42: error: 'SEEK_DATA' undeclared (first use in this function); did you mean 'SEEK_SET'?
-  641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
-      |                                          ^~~~~~~~~
-      |                                          SEEK_SET
-
-Fixes:
- - http://autobuild.buildroot.org/results/33c90ebf04997f4d3557cfa66abc9cf9a3076137
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Upstream status: https://patchwork.ozlabs.org/project/qemu-devel/patch/[email protected]/]
----
- block/export/fuse.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/block/export/fuse.c b/block/export/fuse.c
-index fc7b07d2b5..2e3bf8270b 100644
---- a/block/export/fuse.c
-+++ b/block/export/fuse.c
-@@ -31,6 +31,9 @@
- #include <fuse.h>
- #include <fuse_lowlevel.h>
-
-+#ifdef __linux__
-+#include <linux/fs.h>
-+#endif
-
- /* Prevent overly long bounce buffer allocations */
- #define FUSE_MAX_BOUNCE_BYTES (MIN(BDRV_REQUEST_MAX_BYTES, 64 * 1024 * 1024))
---
-2.32.0
-
package/qemu/0004-block-export-fuse.c-fix-musl-build.patch deleted +0 -49
deleted file mode 100644
index 4856821843fc..000000000000
@@ -1,49 +0,0 @@
-From 304332039014679b809f606e2f227ee0fc43a451 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Fri, 22 Oct 2021 11:52:09 +0200
-Subject: [PATCH] block/export/fuse.c: fix musl build
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Include linux/falloc.h if CONFIG_FALLOCATE_ZERO_RANGE is defined to fix
-https://gitlab.com/qemu-project/qemu/-/commit/50482fda98bd62e072c30b7ea73c985c4e9d9bbb
-and avoid the following build failure on musl:
-
-../block/export/fuse.c: In function 'fuse_fallocate':
-../block/export/fuse.c:643:21: error: 'FALLOC_FL_ZERO_RANGE' undeclared (first use in this function)
-  643 |     else if (mode & FALLOC_FL_ZERO_RANGE) {
-      |                     ^~~~~~~~~~~~~~~~~~~~
-
-Fixes:
- - http://autobuild.buildroot.org/results/be24433a429fda681fb66698160132c1c99bc53b
-
-Fixes: 50482fda98b ("block/export/fuse.c: fix musl build")
-Signed-off-by: Fabrice Fontaine <[email protected]>
-Message-Id: <[email protected]>
-Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
-Signed-off-by: Kevin Wolf <[email protected]>
-[Retrieved from:
-https://gitlab.com/qemu-project/qemu/-/commit/304332039014679b809f606e2f227ee0fc43a451]
----
- block/export/fuse.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/block/export/fuse.c b/block/export/fuse.c
-index 2e3bf8270b..823c126d23 100644
---- a/block/export/fuse.c
-+++ b/block/export/fuse.c
-@@ -31,6 +31,10 @@
- #include <fuse.h>
- #include <fuse_lowlevel.h>
-
-+#if defined(CONFIG_FALLOCATE_ZERO_RANGE)
-+#include <linux/falloc.h>
-+#endif
-+
- #ifdef __linux__
- #include <linux/fs.h>
- #endif
---
-GitLab
-
package/qemu/qemu.hash +1 -1
index 0613fce49367..9411832384ba 100644
@@ -1,4 +1,4 @@
  # Locally computed, tarball verified with GPG signature
-sha256  eebc089db3414bbeedf1e464beda0a7515aad30f73261abc246c9b27503a3c96  qemu-6.1.0.tar.xz
+sha256  68e15d8e45ac56326e0b9a4afa8b49a3dfe8aba3488221d098c84698bca65b45  qemu-6.2.0.tar.xz
  sha256  6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100  COPYING
  sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB
package/qemu/qemu.mk +0 -0
index 919aef6599f1..97f9f885a18a 100644
@@ -4,7 +4,7 @@
  #
  ################################################################################
 
Quoted 9 lines

package/qemu/qemu.mk line 10

Quoted 6 lines
package/qemu/qemu.mk +1 -1
-QEMU_VERSION = 6.1.0
+QEMU_VERSION = 6.2.0
  QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz
  QEMU_SITE = http://download.qemu.org
  QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c

Please check qemu configure options while doing a version bump, there are a lot of new option added:

yes. QEMU is very much alive.

Quoted 1 line

https://gitlab.com/kubu93/buildroot/-/commit/bb7e076c0e8960de81f664a138b33a3d736cdd0e

I suppose you disable options to reduce compile time ?

Thanks,

C.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw

Hello,

Le 03/01/2022 à 22:26, Cédric Le Goater a écrit :

Quoted 17 lines · Romain Naour
Quoted 16 lines

Hi Cédric, All,

Le 03/01/2022 à 17:58, Cédric Le Goater a écrit :

Quoted 8 lines

Remove uclibc workaround which was deprecated by upstream :
   commit a30bfaa7bd1f ("linux-user/host/arm: Populate host_signal.h")

Remove upstream patches :
   commit 304332039014 ("block/export/fuse.c: fix musl build") commit 28031d5c7427 ("block/export/fuse.c: fix fuse-lseek on uclibc or musl")

I did a similar commit to test all qemu defconfig in gitlab-ci:

https://gitlab.com/kubu93/buildroot/-/pipelines/438162421

Quoted 8 lines
Quoted 5 lines

No problem detected so far, I was investigating why the s390x defconfig failed for me...

It would be great if you can do a runtime test in gitlab and add the link in the commit log.

I did a few runs with test branches but I didn't find a way to run only the qemu board boot tests. How did you do that ?

Ok, I'll try to find some time to document how to use gitlab for qemu testing (see also recent changes in gitlab-ci)

Unlike all other defconfig, qemu defconfigs are runtime tested in gitlab.

Create a test branch named: qemu-6.2.0-defconfigs-qemu

Where: "qemu-6.2.0" is a prefix, "-defconfigs-" trigger a pipeline for testing Buildroot defconfis and "qemu" is a pattern.

See:
https://gitlab.com/buildroot.org/buildroot/-/commit/65d2f04c012af492a9b9da04dfa3b3cbd20347f1

"pushing a branch called "<foo>-defconfigs-<pattern>" which will test all defconfigs whose name start with the pattern."

Quoted 213 lines

Quoted 202 lines
Quoted 202 lines

---

  ...age-of-mcontext-structure-on-ARM-uCl.patch | 35 -------------
  ...e.c-fix-fuse-lseek-on-uclibc-or-musl.patch | 44 -----------------
  ...4-block-export-fuse.c-fix-musl-build.patch | 49 -------------------
  package/qemu/qemu.hash                        |  2 +-
  package/qemu/qemu.mk                          |  2 +-
  5 files changed, 2 insertions(+), 130 deletions(-)

  delete mode 100644 package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch delete mode 100644 package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch delete mode 100644 package/qemu/0004-block-export-fuse.c-fix-musl-build.patch

diff --git
a/package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch b/package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch

deleted file mode 100644
index 6db4e8bc923e..000000000000
---
a/package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch +++ /dev/null

package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch deleted +0 -28
@@ -1,35 +0,0 @@
-From 923d25365fbdff17fa4c8c2883960be07c3dad56 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <[email protected]>
-Date: Fri, 5 May 2017 09:07:15 +0200
-Subject: [PATCH] user-exec: fix usage of mcontext structure on ARM/uClibc
-
-user-exec.c has some conditional code to decide how to use the
-mcontext structure. Unfortunately, since uClibc defines __GLIBC__, but
-with old versions of __GLIBC__ and __GLIBC_MINOR__, an old code path
-gets used, which doesn't apply to uClibc.
-
-Fix this by excluding __UCLIBC__, which ensures we fall back to the
-general case of using uc_mcontext.arm_pc, which works fine with
-uClibc.
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- accel/tcg/user-exec.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c
-index 4ebe25461a..0496674fbd 100644
---- a/accel/tcg/user-exec.c
-+++ b/accel/tcg/user-exec.c
-@@ -540,7 +540,7 @@ int cpu_signal_handler(int host_signum, void *pinfo,
-
- #if defined(__NetBSD__)
-     pc = uc->uc_mcontext.__gregs[_REG_R15];
--#elif defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 &&

__GLIBC_MINOR__ <= 3))
-+#elif defined(__GLIBC__) && !defined(__UCLIBC__) && (__GLIBC__ < 2 ||
(__GLIBC__ == 2 && __GLIBC_MINOR__ <= 3))
-     pc = uc->uc_mcontext.gregs[R15];
- #else
-     pc = uc->uc_mcontext.arm_pc;
---
-2.25.3
-
diff --git
a/package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch b/package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch

deleted file mode 100644
index 50762055bf18..000000000000
---
a/package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch +++ /dev/null

package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch deleted +0 -10
@@ -1,44 +0,0 @@
-From 8c3fcbf23fe31cf56f21ce1737bf22fe65fc553b Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Fri, 27 Aug 2021 23:40:01 +0200
-Subject: [PATCH] block/export/fuse.c: fix fuse-lseek on uclibc or musl
-
-Include linux/fs.h to avoid the following build failure on uclibc or
-musl raised since version 6.0.0:
-
-../block/export/fuse.c: In function 'fuse_lseek':
-../block/export/fuse.c:641:19: error: 'SEEK_HOLE' undeclared (first use in

this function)
-  641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
-      |                   ^~~~~~~~~ -../block/export/fuse.c:641:19: note: each undeclared identifier is reported only once for each function it appears in -../block/export/fuse.c:641:42: error: 'SEEK_DATA' undeclared (first use in this function); did you mean 'SEEK_SET'?
-  641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
-      |                                          ^~~~~~~~~
-      |                                          SEEK_SET

package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch deleted +0 -3
-
-Fixes:
- -

http://autobuild.buildroot.org/results/33c90ebf04997f4d3557cfa66abc9cf9a3076137

package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch deleted +0 -3
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Upstream status:

https://patchwork.ozlabs.org/project/qemu-devel/patch/[email protected]/]

----
- block/export/fuse.c | 3 +++
- 1 file changed, 3 insertions(+)

package/qemu/0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch deleted +0 -18
-
-diff --git a/block/export/fuse.c b/block/export/fuse.c
-index fc7b07d2b5..2e3bf8270b 100644
---- a/block/export/fuse.c
-+++ b/block/export/fuse.c
-@@ -31,6 +31,9 @@
- #include <fuse.h>
- #include <fuse_lowlevel.h>
-
-+#ifdef __linux__
-+#include <linux/fs.h>
-+#endif
-
- /* Prevent overly long bounce buffer allocations */
- #define FUSE_MAX_BOUNCE_BYTES (MIN(BDRV_REQUEST_MAX_BYTES, 64 * 1024 * 1024))
---
-2.32.0
-
package/qemu/0004-block-export-fuse.c-fix-musl-build.patch deleted +0 -14
deleted file mode 100644
index 4856821843fc..000000000000
@@ -1,49 +0,0 @@
-From 304332039014679b809f606e2f227ee0fc43a451 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Fri, 22 Oct 2021 11:52:09 +0200
-Subject: [PATCH] block/export/fuse.c: fix musl build
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Include linux/falloc.h if CONFIG_FALLOCATE_ZERO_RANGE is defined to fix
-https://gitlab.com/qemu-project/qemu/-/commit/50482fda98bd62e072c30b7ea73c985c4e9d9bbb
 
-and avoid the following build failure on musl:
-
-../block/export/fuse.c: In function 'fuse_fallocate':
-../block/export/fuse.c:643:21: error: 'FALLOC_FL_ZERO_RANGE' undeclared

(first use in this function)
-  643 |     else if (mode & FALLOC_FL_ZERO_RANGE) { -      |                     ^~~~~~~~~~~~~~~~~~~~

package/qemu/0004-block-export-fuse.c-fix-musl-build.patch deleted +0 -3
-
-Fixes:
- -

http://autobuild.buildroot.org/results/be24433a429fda681fb66698160132c1c99bc53b

package/qemu/0004-block-export-fuse.c-fix-musl-build.patch deleted +0 -30
-
-Fixes: 50482fda98b ("block/export/fuse.c: fix musl build")
-Signed-off-by: Fabrice Fontaine <[email protected]>
-Message-Id: <[email protected]>
-Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
-Signed-off-by: Kevin Wolf <[email protected]>
-[Retrieved from:
-https://gitlab.com/qemu-project/qemu/-/commit/304332039014679b809f606e2f227ee0fc43a451]
 
----
- block/export/fuse.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/block/export/fuse.c b/block/export/fuse.c
-index 2e3bf8270b..823c126d23 100644
---- a/block/export/fuse.c
-+++ b/block/export/fuse.c
-@@ -31,6 +31,10 @@
- #include <fuse.h>
- #include <fuse_lowlevel.h>
-
-+#if defined(CONFIG_FALLOCATE_ZERO_RANGE)
-+#include <linux/falloc.h>
-+#endif
-+
- #ifdef __linux__
- #include <linux/fs.h>
- #endif
---
-GitLab
-
package/qemu/qemu.hash +0 -1
index 0613fce49367..9411832384ba 100644
@@ -1,4 +1,4 @@
   # Locally computed, tarball verified with GPG signature
-sha256  eebc089db3414bbeedf1e464beda0a7515aad30f73261abc246c9b27503a3c96 

qemu-6.1.0.tar.xz
+sha256  68e15d8e45ac56326e0b9a4afa8b49a3dfe8aba3488221d098c84698bca65b45 qemu-6.2.0.tar.xz
  sha256  6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100 COPYING
  sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB

package/qemu/qemu.mk +0 -0
index 919aef6599f1..97f9f885a18a 100644
@@ -4,7 +4,7 @@
   #


################################################################################
  -QEMU_VERSION = 6.1.0
+QEMU_VERSION = 6.2.0

Quoted 8 lines
Quoted 5 lines

  QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz
  QEMU_SITE = http://download.qemu.org
  QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c

Please check qemu configure options while doing a version bump, there are a lot of new option added:

Quoted 6 lines

yes. QEMU is very much alive.

Quoted 2 lines

https://gitlab.com/kubu93/buildroot/-/commit/bb7e076c0e8960de81f664a138b33a3d736cdd0e

I suppose you disable options to reduce compile time ?

I'm more concerned about qemu dependencies. host-qemu must avoid linking with libraries installed on the host (unpredictable build and runtime result).

Best regards,
Romain

Quoted 4 lines

Thanks,

C.

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw

Hello,

Quoted 4 lines

Unlike all other defconfig, qemu defconfigs are runtime tested in gitlab.

Create a test branch named: qemu-6.2.0-defconfigs-qemu

Quoted 8 lines

Where: "qemu-6.2.0" is a prefix, "-defconfigs-" trigger a pipeline for testing Buildroot defconfis and "qemu" is a pattern.

See:
https://gitlab.com/buildroot.org/buildroot/-/commit/65d2f04c012af492a9b9da04dfa3b3cbd20347f1

"pushing a branch called "<foo>-defconfigs-<pattern>" which will test all defconfigs whose name start with the pattern."

That looks simple enough. Something is going wrong though :

https://gitlab.com/legoater/buildroot/-/jobs/1937752353

Am I missing something ?

Thanks,

C.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#6 lore raw

Le 03/01/2022 à 23:20, Cédric Le Goater a écrit :

Quoted 12 lines

Hello,

Quoted 11 lines

Unlike all other defconfig, qemu defconfigs are runtime tested in gitlab.

Create a test branch named: qemu-6.2.0-defconfigs-qemu

Where: "qemu-6.2.0" is a prefix, "-defconfigs-" trigger a pipeline for testing Buildroot defconfis and "qemu" is a pattern.

See:
https://gitlab.com/buildroot.org/buildroot/-/commit/65d2f04c012af492a9b9da04dfa3b3cbd20347f1

Quoted 8 lines
Quoted 2 lines

"pushing a branch called "<foo>-defconfigs-<pattern>" which will test all defconfigs whose name start with the pattern."

That looks simple enough. Something is going wrong though :

  https://gitlab.com/legoater/buildroot/-/jobs/1937752353

Am I missing something ?

humm, maybe there is weakness in the script when foo is "qemu-6.2.0"

                                                             ^

Try again with something else like qemu_6.2.0-defconfigs-qemu

Best regards,
Romain

Quoted 4 lines

Thanks,

C.

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#7 lore raw

Hello,

Quoted 18 lines · Romain Naour

Le 03/01/2022 à 23:20, Cédric Le Goater a écrit :

Quoted 17 lines

Hello,

Quoted 7 lines

Unlike all other defconfig, qemu defconfigs are runtime tested in gitlab.

Create a test branch named: qemu-6.2.0-defconfigs-qemu

Where: "qemu-6.2.0" is a prefix, "-defconfigs-" trigger a pipeline for testing Buildroot defconfis and "qemu" is a pattern.

Quoted 6 lines

See:
https://gitlab.com/buildroot.org/buildroot/-/commit/65d2f04c012af492a9b9da04dfa3b3cbd20347f1

"pushing a branch called "<foo>-defconfigs-<pattern>" which will test all defconfigs whose name start with the pattern."

That looks simple enough. Something is going wrong though :

Quoted 7 lines
Quoted 3 lines

  https://gitlab.com/legoater/buildroot/-/jobs/1937752353

Am I missing something ?

humm, maybe there is weakness in the script when foo is "qemu-6.2.0"

                                                              ^

Try again with something else like qemu_6.2.0-defconfigs-qemu

Yes. That was it.

Thanks,

C.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#8 lore raw

Hello,

Le 04/01/2022 à 10:05, Cédric Le Goater a écrit :

Quoted 24 lines

Hello,

Quoted 21 lines · Romain Naour

Le 03/01/2022 à 23:20, Cédric Le Goater a écrit :

Quoted 20 lines

Hello,

Quoted 7 lines

Unlike all other defconfig, qemu defconfigs are runtime tested in gitlab.

Create a test branch named: qemu-6.2.0-defconfigs-qemu

Where: "qemu-6.2.0" is a prefix, "-defconfigs-" trigger a pipeline for testing Buildroot defconfis and "qemu" is a pattern.

Quoted 7 lines

See:
https://gitlab.com/buildroot.org/buildroot/-/commit/65d2f04c012af492a9b9da04dfa3b3cbd20347f1

"pushing a branch called "<foo>-defconfigs-<pattern>" which will test all defconfigs whose name start with the pattern."

That looks simple enough. Something is going wrong though :

   https://gitlab.com/legoater/buildroot/-/jobs/1937752353

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Am I missing something ?

humm, maybe there is weakness in the script when foo is "qemu-6.2.0" ^ Try again with something else like qemu_6.2.0-defconfigs-qemu

Yes. That was it.

@Thomas: maybe ignore all characters before "-defconfigs":

sed 's%^.*-defconfigs-\(.*\)%\1%')sed 's%^.*-defconfigs-\(.*\)%\1%')

Best regards,
Romain

Quoted 8 lines

Thanks,

C.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot