diff mbox series

[meta-oe,1/2] libxmlb: update 0.3.10 -> 0.3.14

Message ID 20230908114242.1417439-1-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-oe,1/2] libxmlb: update 0.3.10 -> 0.3.14 | expand

Commit Message

Markus Volk Sept. 8, 2023, 11:42 a.m. UTC
This update is required for latest appstream release

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../libxmlb/{libxmlb_0.3.10.bb => libxmlb_0.3.14.bb}        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-gnome/libxmlb/{libxmlb_0.3.10.bb => libxmlb_0.3.14.bb} (86%)

Comments

Khem Raj Sept. 16, 2023, 3:54 p.m. UTC | #1
This is failing ptest run

You can reproduce it with

bitbake meta-oe-ptest-image-libxmlb
runqemu kvm meta-oe-ptest-image-libxmlb
ssh into qemu
cd /usr/lib/libxmlb/ptest
./run-ptest

ERROR:../git/src/xb-self-test.c:188:xb_common_content_type_func:
assertion failed (error == NULL): Failed to open file
?/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/libxmlb/0.3.14/git/data/test.desktop?:
No such file or directory (g-file-error-quark, 4)
not ok /libxmlb/common{content-type} -
ERROR:../git/src/xb-self-test.c:188:xb_common_content_type_func:
assertion failed (error == NULL): Failed to open file
?/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/libxmlb/0.3.14/git/data/test.desktop?:
No such file or directory (g-file-error-quark, 4)
Bail out!
FAIL: libxmlb/libxmlb.test (Child process killed by signal 6)
SUMMARY: total=1; passed=0; skipped=0; failed=1; user=0.0s;
system=0.0s; maxrss=5120
FAIL: libxmlb/libxmlb.test (Child process killed by signal 6)

On Fri, Sep 8, 2023 at 4:42 AM Markus Volk <f_l_k@t-online.de> wrote:
>
> This update is required for latest appstream release
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  .../libxmlb/{libxmlb_0.3.10.bb => libxmlb_0.3.14.bb}        | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>  rename meta-oe/recipes-gnome/libxmlb/{libxmlb_0.3.10.bb => libxmlb_0.3.14.bb} (86%)
>
> diff --git a/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb b/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.14.bb
> similarity index 86%
> rename from meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb
> rename to meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.14.bb
> index 61abd07fd..d46811124 100644
> --- a/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb
> +++ b/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.14.bb
> @@ -5,12 +5,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
>  SRC_URI = "git://github.com/hughsie/libxmlb.git;branch=main;protocol=https \
>             file://run-ptest \
>             "
> -SRCREV = "a6cac6a715d57c393bbddee4d0381ad943341af9"
> +SRCREV = "aa577b276adc66564f5777f9a522ca3bf0bfa65e"
>  S = "${WORKDIR}/git"
>
> -DEPENDS = "glib-2.0 xz"
> +DEPENDS = "glib-2.0 xz zstd"
>
> -inherit gobject-introspection gtk-doc meson ptest-gnome lib_package
> +inherit gobject-introspection gtk-doc meson ptest-gnome lib_package pkgconfig
>
>  PACKAGECONFIG ??= "\
>      ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
> --
> 2.41.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#104802): https://lists.openembedded.org/g/openembedded-devel/message/104802
> Mute This Topic: https://lists.openembedded.org/mt/101234583/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Khem Raj Sept. 16, 2023, 4 p.m. UTC | #2
We also see build QA hinting at this subsequent runtime error during build

WARNING: libxmlb-0.3.14-r0 do_package_qa: QA Issue: File
/usr/libexec/installed-tests/libxmlb/xb-self-test in package
libxmlb-ptest contains reference to TMPDIR [buildpaths]

On Sat, Sep 16, 2023 at 8:54 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> This is failing ptest run
>
> You can reproduce it with
>
> bitbake meta-oe-ptest-image-libxmlb
> runqemu kvm meta-oe-ptest-image-libxmlb
> ssh into qemu
> cd /usr/lib/libxmlb/ptest
> ./run-ptest
>
> ERROR:../git/src/xb-self-test.c:188:xb_common_content_type_func:
> assertion failed (error == NULL): Failed to open file
> ?/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/libxmlb/0.3.14/git/data/test.desktop?:
> No such file or directory (g-file-error-quark, 4)
> not ok /libxmlb/common{content-type} -
> ERROR:../git/src/xb-self-test.c:188:xb_common_content_type_func:
> assertion failed (error == NULL): Failed to open file
> ?/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/libxmlb/0.3.14/git/data/test.desktop?:
> No such file or directory (g-file-error-quark, 4)
> Bail out!
> FAIL: libxmlb/libxmlb.test (Child process killed by signal 6)
> SUMMARY: total=1; passed=0; skipped=0; failed=1; user=0.0s;
> system=0.0s; maxrss=5120
> FAIL: libxmlb/libxmlb.test (Child process killed by signal 6)
>
> On Fri, Sep 8, 2023 at 4:42 AM Markus Volk <f_l_k@t-online.de> wrote:
> >
> > This update is required for latest appstream release
> >
> > Signed-off-by: Markus Volk <f_l_k@t-online.de>
> > ---
> >  .../libxmlb/{libxmlb_0.3.10.bb => libxmlb_0.3.14.bb}        | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >  rename meta-oe/recipes-gnome/libxmlb/{libxmlb_0.3.10.bb => libxmlb_0.3.14.bb} (86%)
> >
> > diff --git a/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb b/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.14.bb
> > similarity index 86%
> > rename from meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb
> > rename to meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.14.bb
> > index 61abd07fd..d46811124 100644
> > --- a/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb
> > +++ b/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.14.bb
> > @@ -5,12 +5,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
> >  SRC_URI = "git://github.com/hughsie/libxmlb.git;branch=main;protocol=https \
> >             file://run-ptest \
> >             "
> > -SRCREV = "a6cac6a715d57c393bbddee4d0381ad943341af9"
> > +SRCREV = "aa577b276adc66564f5777f9a522ca3bf0bfa65e"
> >  S = "${WORKDIR}/git"
> >
> > -DEPENDS = "glib-2.0 xz"
> > +DEPENDS = "glib-2.0 xz zstd"
> >
> > -inherit gobject-introspection gtk-doc meson ptest-gnome lib_package
> > +inherit gobject-introspection gtk-doc meson ptest-gnome lib_package pkgconfig
> >
> >  PACKAGECONFIG ??= "\
> >      ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
> > --
> > 2.41.0
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#104802): https://lists.openembedded.org/g/openembedded-devel/message/104802
> > Mute This Topic: https://lists.openembedded.org/mt/101234583/1997914
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
Markus Volk Sept. 16, 2023, 5:54 p.m. UTC | #3
On Sat, Sep 16 2023 at 09:00:29 AM -07:00:00, Khem Raj 
<raj.khem@gmail.com> wrote:
> We also see build QA hinting at this subsequent runtime error during 
> build

I've added a patch that should address both issues. With this I was 
able to sucessfully run the ptest
diff mbox series

Patch

diff --git a/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb b/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.14.bb
similarity index 86%
rename from meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb
rename to meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.14.bb
index 61abd07fd..d46811124 100644
--- a/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb
+++ b/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.14.bb
@@ -5,12 +5,12 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
 SRC_URI = "git://github.com/hughsie/libxmlb.git;branch=main;protocol=https \
            file://run-ptest \
            "
-SRCREV = "a6cac6a715d57c393bbddee4d0381ad943341af9"
+SRCREV = "aa577b276adc66564f5777f9a522ca3bf0bfa65e"
 S = "${WORKDIR}/git"
 
-DEPENDS = "glib-2.0 xz"
+DEPENDS = "glib-2.0 xz zstd"
 
-inherit gobject-introspection gtk-doc meson ptest-gnome lib_package
+inherit gobject-introspection gtk-doc meson ptest-gnome lib_package pkgconfig
 
 PACKAGECONFIG ??= "\
     ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \