diff mbox series

[v3,01/10] gst-devtools: upgrade 1.24.12 -> 1.26.0

Message ID 20250331064844.2155-1-leimaohui@fujitsu.com
State New
Headers show
Series [v3,01/10] gst-devtools: upgrade 1.24.12 -> 1.26.0 | expand

Commit Message

Maohui Lei (Fujitsu) March 31, 2025, 6:48 a.m. UTC
Disable new meson option dots_viewer

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
---
 .../0001-connect-has-a-different-signature-on-musl.patch       | 2 +-
 .../{gst-devtools_1.24.12.bb => gst-devtools_1.26.0.bb}        | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.24.12.bb => gst-devtools_1.26.0.bb} (93%)

Comments

Mathieu Dubois-Briand March 31, 2025, 9:40 a.m. UTC | #1
On Mon Mar 31, 2025 at 8:48 AM CEST, leimaohui via lists.openembedded.org wrote:
> Disable new meson option dots_viewer
>
> Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
> ---

Hi Lei,

Thanks for your patch.

It looks like we get some new ptest issues on gstreamer when building on
the autobuilder:

Failed ptests:
{'gstreamer1.0': ['gstreamer/elements_queue.test']}

More details about the ptests failures can be seen here:

https://valkyrie.yocto.io/pub/non-release/20250331-52/testresults/qemux86-64-ptest/core-image-ptest-gstreamer1.0/

Can you have a look at these failures please?
Mathieu Dubois-Briand March 31, 2025, 9:45 a.m. UTC | #2
On Mon Mar 31, 2025 at 11:40 AM CEST, Mathieu Dubois-Briand wrote:
> On Mon Mar 31, 2025 at 8:48 AM CEST, leimaohui via lists.openembedded.org wrote:
> > Disable new meson option dots_viewer
> >
> > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
> > ---
>
> Hi Lei,
>
> Thanks for your patch.
>
> It looks like we get some new ptest issues on gstreamer when building on
> the autobuilder:
>
> Failed ptests:
> {'gstreamer1.0': ['gstreamer/elements_queue.test']}
>
> More details about the ptests failures can be seen here:
>
> https://valkyrie.yocto.io/pub/non-release/20250331-52/testresults/qemux86-64-ptest/core-image-ptest-gstreamer1.0/
>
> Can you have a look at these failures please?

It also looks like we get a building error, I'm not sure why it only
happens on some platforms:

ERROR: gstreamer1.0-1.26.0-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/qemuarmv5/build/build/tmp/work/armv5e-poky-linux-gnueabi/gstreamer1.0/1.26.0/temp/run.do_compile.99896' failed with exit code 1
...
| /srv/pokybuild/yocto-worker/qemuarmv5/build/build/tmp/work/armv5e-poky-linux-gnueabi/gstreamer1.0/1.26.0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/14.2.0/ld: gst/libgstreamer-1.0.so.0.2600.0.p/gstbuffer.c.o: in function `gst_atomic_int64_inc':
| /usr/src/debug/gstreamer1.0/1.26.0/gst/gstbuffer.c:180:(.text+0x38c8): undefined reference to `__atomic_fetch_add_8'
| collect2: error: ld returned 1 exit status

https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/1216
Richard Purdie April 1, 2025, 10:56 a.m. UTC | #3
On Mon, 2025-03-31 at 11:40 +0200, Mathieu Dubois-Briand via
lists.openembedded.org wrote:
> On Mon Mar 31, 2025 at 8:48 AM CEST, leimaohui via
> lists.openembedded.org wrote:
> > Disable new meson option dots_viewer
> > 
> > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
> > ---
> 
> Hi Lei,
> 
> Thanks for your patch.
> 
> It looks like we get some new ptest issues on gstreamer when building
> on
> the autobuilder:
> 
> Failed ptests:
> {'gstreamer1.0': ['gstreamer/elements_queue.test']}
> 
> More details about the ptests failures can be seen here:
> 
> https://valkyrie.yocto.io/pub/non-release/20250331-52/testresults/qemux86-64-ptest/core-image-ptest-gstreamer1.0/
> 
> Can you have a look at these failures please?

My builds passed with this in so it looks like an intermittent issue :(

Not sure if it is a new one or not.

Cheers,

Richard
Richard Purdie April 1, 2025, 10:57 a.m. UTC | #4
On Mon, 2025-03-31 at 11:45 +0200, Mathieu Dubois-Briand via
lists.openembedded.org wrote:
> On Mon Mar 31, 2025 at 11:40 AM CEST, Mathieu Dubois-Briand wrote:
> > On Mon Mar 31, 2025 at 8:48 AM CEST, leimaohui via
> > lists.openembedded.org wrote:
> > > Disable new meson option dots_viewer
> > > 
> > > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
> > > ---
> > 
> > Hi Lei,
> > 
> > Thanks for your patch.
> > 
> > It looks like we get some new ptest issues on gstreamer when
> > building on
> > the autobuilder:
> > 
> > Failed ptests:
> > {'gstreamer1.0': ['gstreamer/elements_queue.test']}
> > 
> > More details about the ptests failures can be seen here:
> > 
> > https://valkyrie.yocto.io/pub/non-release/20250331-52/testresults/qemux86-64-ptest/core-image-ptest-gstreamer1.0/
> > 
> > Can you have a look at these failures please?
> 
> It also looks like we get a building error, I'm not sure why it only
> happens on some platforms:
> 
> ERROR: gstreamer1.0-1.26.0-r0 do_compile: Execution of
> '/srv/pokybuild/yocto-worker/qemuarmv5/build/build/tmp/work/armv5e-
> poky-linux-gnueabi/gstreamer1.0/1.26.0/temp/run.do_compile.99896'
> failed with exit code 1
> ...
> > /srv/pokybuild/yocto-worker/qemuarmv5/build/build/tmp/work/armv5e-poky-linux-gnueabi/gstreamer1.0/1.26.0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/14.2.0/ld: gst/libgstreamer-1.0.so.0.2600.0.p/gstbuffer.c.o: in function `gst_atomic_int64_inc':
> > /usr/src/debug/gstreamer1.0/1.26.0/gst/gstbuffer.c:180:(.text+0x38c
> > 8): undefined reference to `__atomic_fetch_add_8'
> > collect2: error: ld returned 1 exit status
> 
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/1216
> 

This also passed in my testing so I'm a bit worried about this. We'll
likely now have valid sstate, just to complicate this.

Cheers,

Richard
Maohui Lei (Fujitsu) April 2, 2025, 1:26 a.m. UTC | #5
> -----Original Message-----
> From: Richard Purdie <richard.purdie@linuxfoundation.org>
> Sent: Tuesday, April 1, 2025 6:56 PM
> To: mathieu.dubois-briand@bootlin.com; Lei, Maohui/雷 茂慧
> <leimaohui@fujitsu.com>; Jose Quaresma <quaresma.jose@gmail.com>
> Cc: Anuj Mittal <anuj.mittal@intel.com>;
> openembedded-core@lists.openembedded.org; Joao Marcos Costa
> <joaomarcos.costa@bootlin.com>
> Subject: Re: [OE-core] [Patch v3 01/10] gst-devtools: upgrade 1.24.12 -> 1.26.0
> 
> On Mon, 2025-03-31 at 11:40 +0200, Mathieu Dubois-Briand via
> lists.openembedded.org wrote:
> > On Mon Mar 31, 2025 at 8:48 AM CEST, leimaohui via
> > lists.openembedded.org wrote:
> > > Disable new meson option dots_viewer
> > >
> > > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
> > > ---
> >
> > Hi Lei,
> >
> > Thanks for your patch.
> >
> > It looks like we get some new ptest issues on gstreamer when building
> > on the autobuilder:
> >
> > Failed ptests:
> > {'gstreamer1.0': ['gstreamer/elements_queue.test']}
> >
> > More details about the ptests failures can be seen here:
> >
> > https://valkyrie.yocto.io/pub/non-release/20250331-52/testresults/qemu
> > x86-64-ptest/core-image-ptest-gstreamer1.0/
> >
> > Can you have a look at these failures please?
> 
> My builds passed with this in so it looks like an intermittent issue :(
> 
> Not sure if it is a new one or not.

Yes, actually I have already run the gstreamer1.0 ptest before, and I will only submit the patch if its result is 'PASS'

So, anything I can do now?
> 
> Cheers,
> 
> Richard
Maohui Lei (Fujitsu) April 2, 2025, 2:04 a.m. UTC | #6
> -----Original Message-----
> From: Richard Purdie <rpurdie@rpsys.net>
> Sent: Tuesday, April 1, 2025 6:58 PM
> To: mathieu.dubois-briand@bootlin.com; Lei, Maohui/雷 茂慧
> <leimaohui@fujitsu.com>; Jose Quaresma <quaresma.jose@gmail.com>
> Cc: Anuj Mittal <anuj.mittal@intel.com>;
> openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [Patch v3 01/10] gst-devtools: upgrade 1.24.12 -> 1.26.0
> 
> On Mon, 2025-03-31 at 11:45 +0200, Mathieu Dubois-Briand via
> lists.openembedded.org wrote:
> > On Mon Mar 31, 2025 at 11:40 AM CEST, Mathieu Dubois-Briand wrote:
> > > On Mon Mar 31, 2025 at 8:48 AM CEST, leimaohui via
> > > lists.openembedded.org wrote:
> > > > Disable new meson option dots_viewer
> > > >
> > > > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
> > > > ---
> > >
> > > Hi Lei,
> > >
> > > Thanks for your patch.
> > >
> > > It looks like we get some new ptest issues on gstreamer when
> > > building on the autobuilder:
> > >
> > > Failed ptests:
> > > {'gstreamer1.0': ['gstreamer/elements_queue.test']}
> > >
> > > More details about the ptests failures can be seen here:
> > >
> > > https://valkyrie.yocto.io/pub/non-release/20250331-52/testresults/qe
> > > mux86-64-ptest/core-image-ptest-gstreamer1.0/
> > >
> > > Can you have a look at these failures please?
> >
> > It also looks like we get a building error, I'm not sure why it only
> > happens on some platforms:
> >
> > ERROR: gstreamer1.0-1.26.0-r0 do_compile: Execution of
> > '/srv/pokybuild/yocto-worker/qemuarmv5/build/build/tmp/work/armv5e-
> > poky-linux-gnueabi/gstreamer1.0/1.26.0/temp/run.do_compile.99896'
> > failed with exit code 1
> > ...
> > >
> /srv/pokybuild/yocto-worker/qemuarmv5/build/build/tmp/work/armv5e-poky
> -linux-gnueabi/gstreamer1.0/1.26.0/recipe-sysroot-native/usr/bin/arm-poky-li
> nux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi
> /14.2.0/ld: gst/libgstreamer-1.0.so.0.2600.0.p/gstbuffer.c.o: in function
> `gst_atomic_int64_inc':
> > > /usr/src/debug/gstreamer1.0/1.26.0/gst/gstbuffer.c:180:(.text+0x38c
> > > 8): undefined reference to `__atomic_fetch_add_8'
> > > collect2: error: ld returned 1 exit status
> >
> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/121
> > 6
> >
> 
> This also passed in my testing so I'm a bit worried about this. We'll likely now
> have valid sstate, just to complicate this.

I noticed this issue reproduced again in build
https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/1224

Since I don't know how to reproduce this issue, any suggestions now?

> 
> Cheers,
> 
> Richard
Maohui Lei (Fujitsu) April 2, 2025, 3 a.m. UTC | #7
> -----Original Message-----
> From: openembedded-core@lists.openembedded.org
> <openembedded-core@lists.openembedded.org> On Behalf Of leimaohui via
> lists.openembedded.org
> Sent: Wednesday, April 2, 2025 10:04 AM
> To: Richard Purdie <rpurdie@rpsys.net>; mathieu.dubois-briand@bootlin.com;
> Jose Quaresma <quaresma.jose@gmail.com>
> Cc: Anuj Mittal <anuj.mittal@intel.com>;
> openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [Patch v3 01/10] gst-devtools: upgrade 1.24.12 -> 1.26.0
> 
> 
> 
> > -----Original Message-----
> > From: Richard Purdie <rpurdie@rpsys.net>
> > Sent: Tuesday, April 1, 2025 6:58 PM
> > To: mathieu.dubois-briand@bootlin.com; Lei, Maohui/雷 茂慧
> > <leimaohui@fujitsu.com>; Jose Quaresma <quaresma.jose@gmail.com>
> > Cc: Anuj Mittal <anuj.mittal@intel.com>;
> > openembedded-core@lists.openembedded.org
> > Subject: Re: [OE-core] [Patch v3 01/10] gst-devtools: upgrade 1.24.12
> > -> 1.26.0
> >
> > On Mon, 2025-03-31 at 11:45 +0200, Mathieu Dubois-Briand via
> > lists.openembedded.org wrote:
> > > On Mon Mar 31, 2025 at 11:40 AM CEST, Mathieu Dubois-Briand wrote:
> > > > On Mon Mar 31, 2025 at 8:48 AM CEST, leimaohui via
> > > > lists.openembedded.org wrote:
> > > > > Disable new meson option dots_viewer
> > > > >
> > > > > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
> > > > > ---
> > > >
> > > > Hi Lei,
> > > >
> > > > Thanks for your patch.
> > > >
> > > > It looks like we get some new ptest issues on gstreamer when
> > > > building on the autobuilder:
> > > >
> > > > Failed ptests:
> > > > {'gstreamer1.0': ['gstreamer/elements_queue.test']}
> > > >
> > > > More details about the ptests failures can be seen here:
> > > >
> > > > https://valkyrie.yocto.io/pub/non-release/20250331-52/testresults/
> > > > qe mux86-64-ptest/core-image-ptest-gstreamer1.0/
> > > >
> > > > Can you have a look at these failures please?
> > >
> > > It also looks like we get a building error, I'm not sure why it only
> > > happens on some platforms:
> > >
> > > ERROR: gstreamer1.0-1.26.0-r0 do_compile: Execution of
> > > '/srv/pokybuild/yocto-worker/qemuarmv5/build/build/tmp/work/armv5e-
> > > poky-linux-gnueabi/gstreamer1.0/1.26.0/temp/run.do_compile.99896'
> > > failed with exit code 1
> > > ...
> > > >
> >
> /srv/pokybuild/yocto-worker/qemuarmv5/build/build/tmp/work/armv5e-poky
> > -linux-gnueabi/gstreamer1.0/1.26.0/recipe-sysroot-native/usr/bin/arm-p
> > oky-li
> > nux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gn
> > ueabi
> > /14.2.0/ld: gst/libgstreamer-1.0.so.0.2600.0.p/gstbuffer.c.o: in
> > function
> > `gst_atomic_int64_inc':
> > > > /usr/src/debug/gstreamer1.0/1.26.0/gst/gstbuffer.c:180:(.text+0x38
> > > > c
> > > > 8): undefined reference to `__atomic_fetch_add_8'
> > > > collect2: error: ld returned 1 exit status
> > >
> > > https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/1
> > > 21
> > > 6
> > >
> >
> > This also passed in my testing so I'm a bit worried about this. We'll
> > likely now have valid sstate, just to complicate this.
> 
> I noticed this issue reproduced again in build
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/1224
> 
> Since I don't know how to reproduce this issue, any suggestions now?

I have created a issue in upstream
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4338

I also noticed similar issue in other communities, hope this will help
https://github.com/NixOS/nix/pull/3114/files
https://github.com/matthewbauer/nix/commit/74b4737d8f0e1922ef5314a158271acf81cd79f8
> 
> >
> > Cheers,
> >
> > Richard
diff mbox series

Patch

diff --git a/meta/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch b/meta/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch
index b596f2ef9c..d7a3e2057a 100644
--- a/meta/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch
+++ b/meta/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch
@@ -1,4 +1,4 @@ 
-From 67809420230cd4fcc63069f78efdc90c7b4c4ee1 Mon Sep 17 00:00:00 2001
+From 9ed608c901955b0906aac102d5d7ab06accee60e Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Sun, 9 Sep 2018 17:38:10 -0700
 Subject: [PATCH] connect has a different signature on musl
diff --git a/meta/recipes-multimedia/gstreamer/gst-devtools_1.24.12.bb b/meta/recipes-multimedia/gstreamer/gst-devtools_1.26.0.bb
similarity index 93%
rename from meta/recipes-multimedia/gstreamer/gst-devtools_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/gst-devtools_1.26.0.bb
index 157cdc6bbb..dc54a7ab4b 100644
--- a/meta/recipes-multimedia/gstreamer/gst-devtools_1.24.12.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-devtools_1.26.0.bb
@@ -12,7 +12,7 @@  SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV}
            file://0001-connect-has-a-different-signature-on-musl.patch \
            "
 
-SRC_URI[sha256sum] = "4ef3dd12e5827068d6db7ad01876d1216a80717116c24a0d5b3b57fd7e3c3478"
+SRC_URI[sha256sum] = "eff33d7dc292bb074a2788ea887b6283398ffdefafa49fb7d08efe6658a65648"
 
 DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base"
 RRECOMMENDS:${PN} = "git"
@@ -37,6 +37,7 @@  EXTRA_OEMESON += " \
     -Ddoc=disabled \
     -Ddebug_viewer=disabled \
     -Dtests=disabled \
+    -Ddots_viewer=disabled \
     -Dvalidate=enabled \
     ${@gettext_oemeson(d)} \
 "