[yocto] [meta-java][PATCH] README: move to yocto-patches mailing list

2024-04-06 Thread Tim Orling
Since the definitive, canonical repository remains
https://git.yoctoproject.org/meta-java the official
mailing list should remain in the yoctoproject.org
domain. Move to the new yocto-patc...@lists.yoctoproject.org.

Signed-off-by: Tim Orling 
---
 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README b/README
index 8c55a41..9c987fb 100644
--- a/README
+++ b/README
@@ -67,7 +67,7 @@ Known Limitations/Bugs
++-+-+-+
 
 If you encounter any other problems or bugs please report them to our mailing
-list at openembedded-devel@lists.openembedded.org.
+list at yocto-patc...@lists.yoctoproject.org.
 
 Usage instructions
 --
-- 
2.43.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62890): https://lists.yoctoproject.org/g/yocto/message/62890
Mute This Topic: https://lists.yoctoproject.org/mt/105375987/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH] python3-bleak: enable ptest and add missing runtime dependency

2024-04-06 Thread Alper Ak
> Hmm ok. So is this SRCREV corresponding to same release ? if so we are
> ok, otherwise perhaps adding +git to SRCREV would
> be appropriate

Yes, it's the same release.


Khem Raj , 6 Nis 2024 Cmt, 20:48 tarihinde şunu yazdı:

> On Sat, Apr 6, 2024 at 7:13 AM Tim Orling  wrote:
> >
> >
> >
> > On Fri, Apr 5, 2024 at 10:34 PM Alper Ak 
> wrote:
> >>
> >> Sorry, I overlooked it. The tests directory was not present in the
> package downloaded with the default PYPI_SRC_URI value.
> >
> >
> > Unfortunately, many pypi.org tarballs exclude tests. So switching to
> git fetcher will make sense in those cases.
>
> Hmm ok. So is this SRCREV corresponding to same release ? if so we are
> ok, otherwise perhaps adding +git to SRCREV would
> be appropriate
>
> > Given the “xz backdoor” incident, we might decide to prefer git.
>
> Nah, that would not mitigate it
>
> >>
> >>
> >> Khem Raj , 6 Nis 2024 Cmt, 01:46 tarihinde şunu
> yazdı:
> >>>
> >>> On Fri, Apr 5, 2024 at 2:53 PM Alper Ak 
> wrote:
> >>> >
> >>> > * Ptest tested on qemux86-64 and qemuarm64
> >>> >
> >>> > * Add ptest into PTESTS_FAST_META_PYTHON
> >>> >
> >>> > qemux86-64:
> >>> >
> >>> > Testsuite summary
> >>> > TOTAL: 14
> >>> > PASS: 14
> >>> > SKIP: 0
> >>> > XFAIL: 0
> >>> > FAIL: 0
> >>> > XPASS: 0
> >>> > ERROR: 0
> >>> > DURATION: 9
> >>> > END: /usr/lib/python3-bleak/ptest
> >>> > 2024-04-05T18:44
> >>> > STOP: ptest-runner
> >>> > TOTAL: 1 FAIL: 0
> >>> >
> >>> > qemuarm64:
> >>> >
> >>> > Testsuite summary
> >>> > TOTAL: 14
> >>> > PASS: 14
> >>> > SKIP: 0
> >>> > XFAIL: 0
> >>> > FAIL: 0
> >>> > XPASS: 0
> >>> > ERROR: 0
> >>> > DURATION: 8
> >>> > END: /usr/lib/python3-bleak/ptest
> >>> > 2024-04-05T21:15
> >>> > STOP: ptest-runner
> >>> > TOTAL: 1 FAIL: 0
> >>> >
> >>> > Signed-off-by: alperak 
> >>> > ---
> >>> >  .../ptest-packagelists-meta-python.inc|  1 +
> >>> >  .../python/python3-bleak/run-ptest|  3 ++
> >>> >  .../python/python3-bleak_0.21.1.bb| 29
> +++
> >>> >  3 files changed, 27 insertions(+), 6 deletions(-)
> >>> >  create mode 100644
> meta-python/recipes-devtools/python/python3-bleak/run-ptest
> >>> >
> >>> > diff --git
> a/meta-python/conf/include/ptest-packagelists-meta-python.inc
> b/meta-python/conf/include/ptest-packagelists-meta-python.inc
> >>> > index 2f7babe48..63f312b45 100644
> >>> > --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
> >>> > +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
> >>> > @@ -12,6 +12,7 @@ PTESTS_FAST_META_PYTHON = "\
> >>> >  python3-ansicolors \
> >>> >  python3-asgiref \
> >>> >  python3-aspectlib \
> >>> > +python3-bleak \
> >>> >  python3-blinker \
> >>> >  python3-cachetools \
> >>> >  python3-cbor2 \
> >>> > diff --git
> a/meta-python/recipes-devtools/python/python3-bleak/run-ptest
> b/meta-python/recipes-devtools/python/python3-bleak/run-ptest
> >>> > new file mode 100644
> >>> > index 0..8d2017d39
> >>> > --- /dev/null
> >>> > +++ b/meta-python/recipes-devtools/python/python3-bleak/run-ptest
> >>> > @@ -0,0 +1,3 @@
> >>> > +#!/bin/sh
> >>> > +
> >>> > +pytest --automake
> >>> > diff --git a/meta-python/recipes-devtools/python/
> python3-bleak_0.21.1.bb b/meta-python/recipes-devtools/python/
> python3-bleak_0.21.1.bb
> >>> > index 4a1fafb5d..96f3fcbcf 100644
> >>> > --- a/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
> >>> > +++ b/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
> >>> > @@ -3,14 +3,31 @@ HOMEPAGE = "https://github.com/hbldh/bleak;
> >>> >  LICENSE = "MIT"
> >>> >  LIC_FILES_CHKSUM =
> "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
> >>> >
> >>> > -SRC_URI[sha256sum] =
> "ec4a1a2772fb315b992cbaa1153070c7e26968a52b0e2727035f443a1af5c18f"
> >>> > +SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8"
> >>> > +PYPI_SRC_URI = "git://
> github.com/hbldh/bleak.git;protocol=https;branch=develop"
> >>>
> >>> why do we need this change if we are not bumping versions ?
> >>>
> >>> >
> >>> > -PYPI_PACKAGE = "bleak"
> >>> > +inherit pypi python_poetry_core ptest
> >>> >
> >>> > -inherit pypi python_poetry_core
> >>> > +S = "${WORKDIR}/git"
> >>> > +
> >>> > +SRC_URI += " \
> >>> > +   file://run-ptest \
> >>> > +"
> >>> > +
> >>> > +RDEPENDS:${PN}-ptest += " \
> >>> > +   python3-pytest \
> >>> > +   python3-pytest-asyncio \
> >>> > +   python3-unittest-automake-output \
> >>> > +"
> >>> > +
> >>> > +do_install_ptest() {
> >>> > +   install -d ${D}${PTEST_PATH}/tests
> >>> > +   cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
> >>> > +}
> >>> >
> >>> >  RDEPENDS:${PN} += " \
> >>> > -python3-core (>3.7) \
> >>> > -python3-async-timeout \
> >>> > -python3-dbus-fast \
> >>> > +   python3-core (>3.7) \
> >>> > +   python3-async-timeout \
> >>> > +   python3-dbus-fast \
> >>> > +   python3-xml \
> >>> >  "
> >>> > --
> >>> > 2.25.1
> >>> >
> >>> >
> >>> >
> >>> >
> >>
> >>
> >> 
> >>
>


Re: [oe] [meta-python][PATCH] python3-bleak: enable ptest and add missing runtime dependency

2024-04-06 Thread Khem Raj
On Sat, Apr 6, 2024 at 7:13 AM Tim Orling  wrote:
>
>
>
> On Fri, Apr 5, 2024 at 10:34 PM Alper Ak  wrote:
>>
>> Sorry, I overlooked it. The tests directory was not present in the package 
>> downloaded with the default PYPI_SRC_URI value.
>
>
> Unfortunately, many pypi.org tarballs exclude tests. So switching to git 
> fetcher will make sense in those cases.

Hmm ok. So is this SRCREV corresponding to same release ? if so we are
ok, otherwise perhaps adding +git to SRCREV would
be appropriate

> Given the “xz backdoor” incident, we might decide to prefer git.

Nah, that would not mitigate it

>>
>>
>> Khem Raj , 6 Nis 2024 Cmt, 01:46 tarihinde şunu yazdı:
>>>
>>> On Fri, Apr 5, 2024 at 2:53 PM Alper Ak  wrote:
>>> >
>>> > * Ptest tested on qemux86-64 and qemuarm64
>>> >
>>> > * Add ptest into PTESTS_FAST_META_PYTHON
>>> >
>>> > qemux86-64:
>>> >
>>> > Testsuite summary
>>> > TOTAL: 14
>>> > PASS: 14
>>> > SKIP: 0
>>> > XFAIL: 0
>>> > FAIL: 0
>>> > XPASS: 0
>>> > ERROR: 0
>>> > DURATION: 9
>>> > END: /usr/lib/python3-bleak/ptest
>>> > 2024-04-05T18:44
>>> > STOP: ptest-runner
>>> > TOTAL: 1 FAIL: 0
>>> >
>>> > qemuarm64:
>>> >
>>> > Testsuite summary
>>> > TOTAL: 14
>>> > PASS: 14
>>> > SKIP: 0
>>> > XFAIL: 0
>>> > FAIL: 0
>>> > XPASS: 0
>>> > ERROR: 0
>>> > DURATION: 8
>>> > END: /usr/lib/python3-bleak/ptest
>>> > 2024-04-05T21:15
>>> > STOP: ptest-runner
>>> > TOTAL: 1 FAIL: 0
>>> >
>>> > Signed-off-by: alperak 
>>> > ---
>>> >  .../ptest-packagelists-meta-python.inc|  1 +
>>> >  .../python/python3-bleak/run-ptest|  3 ++
>>> >  .../python/python3-bleak_0.21.1.bb| 29 +++
>>> >  3 files changed, 27 insertions(+), 6 deletions(-)
>>> >  create mode 100644 
>>> > meta-python/recipes-devtools/python/python3-bleak/run-ptest
>>> >
>>> > diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc 
>>> > b/meta-python/conf/include/ptest-packagelists-meta-python.inc
>>> > index 2f7babe48..63f312b45 100644
>>> > --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
>>> > +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
>>> > @@ -12,6 +12,7 @@ PTESTS_FAST_META_PYTHON = "\
>>> >  python3-ansicolors \
>>> >  python3-asgiref \
>>> >  python3-aspectlib \
>>> > +python3-bleak \
>>> >  python3-blinker \
>>> >  python3-cachetools \
>>> >  python3-cbor2 \
>>> > diff --git a/meta-python/recipes-devtools/python/python3-bleak/run-ptest 
>>> > b/meta-python/recipes-devtools/python/python3-bleak/run-ptest
>>> > new file mode 100644
>>> > index 0..8d2017d39
>>> > --- /dev/null
>>> > +++ b/meta-python/recipes-devtools/python/python3-bleak/run-ptest
>>> > @@ -0,0 +1,3 @@
>>> > +#!/bin/sh
>>> > +
>>> > +pytest --automake
>>> > diff --git a/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb 
>>> > b/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
>>> > index 4a1fafb5d..96f3fcbcf 100644
>>> > --- a/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
>>> > +++ b/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
>>> > @@ -3,14 +3,31 @@ HOMEPAGE = "https://github.com/hbldh/bleak;
>>> >  LICENSE = "MIT"
>>> >  LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
>>> >
>>> > -SRC_URI[sha256sum] = 
>>> > "ec4a1a2772fb315b992cbaa1153070c7e26968a52b0e2727035f443a1af5c18f"
>>> > +SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8"
>>> > +PYPI_SRC_URI = 
>>> > "git://github.com/hbldh/bleak.git;protocol=https;branch=develop"
>>>
>>> why do we need this change if we are not bumping versions ?
>>>
>>> >
>>> > -PYPI_PACKAGE = "bleak"
>>> > +inherit pypi python_poetry_core ptest
>>> >
>>> > -inherit pypi python_poetry_core
>>> > +S = "${WORKDIR}/git"
>>> > +
>>> > +SRC_URI += " \
>>> > +   file://run-ptest \
>>> > +"
>>> > +
>>> > +RDEPENDS:${PN}-ptest += " \
>>> > +   python3-pytest \
>>> > +   python3-pytest-asyncio \
>>> > +   python3-unittest-automake-output \
>>> > +"
>>> > +
>>> > +do_install_ptest() {
>>> > +   install -d ${D}${PTEST_PATH}/tests
>>> > +   cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
>>> > +}
>>> >
>>> >  RDEPENDS:${PN} += " \
>>> > -python3-core (>3.7) \
>>> > -python3-async-timeout \
>>> > -python3-dbus-fast \
>>> > +   python3-core (>3.7) \
>>> > +   python3-async-timeout \
>>> > +   python3-dbus-fast \
>>> > +   python3-xml \
>>> >  "
>>> > --
>>> > 2.25.1
>>> >
>>> >
>>> >
>>> >
>>
>>
>> 
>>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109835): 
https://lists.openembedded.org/g/openembedded-devel/message/109835
Mute This Topic: https://lists.openembedded.org/mt/105358066/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe][meta-oe][PATCH] composefs: add a new recipe

2024-04-06 Thread Khem Raj
also fails

stdio: ERROR: Nothing PROVIDES 'fuse3' (but
/home/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-oe/recipes-extended/composefs/composefs_1.0.3.bb
DEPENDS on or otherwise requires it)

this is because fuse3 is in meta-filesystem and meta-oe does not depend on it.

On Fri, Apr 5, 2024 at 6:03 PM Khem Raj  wrote:
>
> fails with latest musl
>
> https://errors.yoctoproject.org/Errors/Details/761688/
>
> On Fri, Apr 5, 2024 at 9:25 AM Fathi Boudra  wrote:
> >
> > Tools to handle creating and mounting composefs images
> >
> > Flexible mechanism to support read-only mountable filesystem trees,
> > stacking on top of Linux filesystem.
> >
> > It will allow to enable filesystem integrity by leveraging the stack:
> > ostree -> composefs -> fs-verity
> >
> > For reference:
> > https://github.com/containers/composefs?tab=readme-ov-file#filesystem-integrity
> > https://ostreedev.github.io/ostree/composefs/#using-composefs-with-ostree
> >
> > Signed-off-by: Fathi Boudra 
> > ---
> >  .../composefs/composefs_1.0.3.bb  | 20 +++
> >  1 file changed, 20 insertions(+)
> >  create mode 100644 meta-oe/recipes-extended/composefs/composefs_1.0.3.bb
> >
> > diff --git a/meta-oe/recipes-extended/composefs/composefs_1.0.3.bb 
> > b/meta-oe/recipes-extended/composefs/composefs_1.0.3.bb
> > new file mode 100644
> > index 00..ddc67d9b57
> > --- /dev/null
> > +++ b/meta-oe/recipes-extended/composefs/composefs_1.0.3.bb
> > @@ -0,0 +1,20 @@
> > +SUMMARY = "Tools to handle creating and mounting composefs images"
> > +HOMEPAGE = "https://github.com/containers/composefs;
> > +LICENSE = "GPL-3.0-or-later & LGPL-2.0-or-later & Apache-2.0"
> > +LIC_FILES_CHKSUM = "\
> > +file://BSD-2-Clause.txt;md5=121c8a0a8fa5961a26b7863034ebcce8 \
> > +file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
> > +file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \
> > +file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
> > +file://COPYINGv3;md5=d32239bcb673463ab874e80d47fae504 \
> > +file://LICENSE.Apache-2.0;md5=3b83ef96387f14655fc854ddc3c6bd57 \
> > +"
> > +DEPENDS = "fuse3 openssl"
> > +SRCREV = "2d5cdcb9176cfe4ccf1761ef6d78e1c48de35649"
> > +PV = "1.0.3"
> > +
> > +SRC_URI = 
> > "git://github.com/containers/composefs.git;protocol=https;branch=main"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +inherit autotools pkgconfig
> > --
> > 2.43.0
> >
> >
> > 
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109834): 
https://lists.openembedded.org/g/openembedded-devel/message/109834
Mute This Topic: https://lists.openembedded.org/mt/105351850/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH] python3-bleak: enable ptest and add missing runtime dependency

2024-04-06 Thread Tim Orling
On Fri, Apr 5, 2024 at 10:34 PM Alper Ak  wrote:

> Sorry, I overlooked it. The tests directory was not present in the package
> downloaded with the default PYPI_SRC_URI value.
>

Unfortunately, many pypi.org tarballs exclude tests. So switching to git
fetcher will make sense in those cases.
Given the “xz backdoor” incident, we might decide to prefer git.

>
> Khem Raj , 6 Nis 2024 Cmt, 01:46 tarihinde şunu yazdı:
>
>> On Fri, Apr 5, 2024 at 2:53 PM Alper Ak  wrote:
>> >
>> > * Ptest tested on qemux86-64 and qemuarm64
>> >
>> > * Add ptest into PTESTS_FAST_META_PYTHON
>> >
>> > qemux86-64:
>> >
>> > Testsuite summary
>> > TOTAL: 14
>> > PASS: 14
>> > SKIP: 0
>> > XFAIL: 0
>> > FAIL: 0
>> > XPASS: 0
>> > ERROR: 0
>> > DURATION: 9
>> > END: /usr/lib/python3-bleak/ptest
>> > 2024-04-05T18:44
>> > STOP: ptest-runner
>> > TOTAL: 1 FAIL: 0
>> >
>> > qemuarm64:
>> >
>> > Testsuite summary
>> > TOTAL: 14
>> > PASS: 14
>> > SKIP: 0
>> > XFAIL: 0
>> > FAIL: 0
>> > XPASS: 0
>> > ERROR: 0
>> > DURATION: 8
>> > END: /usr/lib/python3-bleak/ptest
>> > 2024-04-05T21:15
>> > STOP: ptest-runner
>> > TOTAL: 1 FAIL: 0
>> >
>> > Signed-off-by: alperak 
>> > ---
>> >  .../ptest-packagelists-meta-python.inc|  1 +
>> >  .../python/python3-bleak/run-ptest|  3 ++
>> >  .../python/python3-bleak_0.21.1.bb| 29 +++
>> >  3 files changed, 27 insertions(+), 6 deletions(-)
>> >  create mode 100644
>> meta-python/recipes-devtools/python/python3-bleak/run-ptest
>> >
>> > diff --git
>> a/meta-python/conf/include/ptest-packagelists-meta-python.inc
>> b/meta-python/conf/include/ptest-packagelists-meta-python.inc
>> > index 2f7babe48..63f312b45 100644
>> > --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
>> > +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
>> > @@ -12,6 +12,7 @@ PTESTS_FAST_META_PYTHON = "\
>> >  python3-ansicolors \
>> >  python3-asgiref \
>> >  python3-aspectlib \
>> > +python3-bleak \
>> >  python3-blinker \
>> >  python3-cachetools \
>> >  python3-cbor2 \
>> > diff --git
>> a/meta-python/recipes-devtools/python/python3-bleak/run-ptest
>> b/meta-python/recipes-devtools/python/python3-bleak/run-ptest
>> > new file mode 100644
>> > index 0..8d2017d39
>> > --- /dev/null
>> > +++ b/meta-python/recipes-devtools/python/python3-bleak/run-ptest
>> > @@ -0,0 +1,3 @@
>> > +#!/bin/sh
>> > +
>> > +pytest --automake
>> > diff --git a/meta-python/recipes-devtools/python/
>> python3-bleak_0.21.1.bb b/meta-python/recipes-devtools/python/
>> python3-bleak_0.21.1.bb
>> > index 4a1fafb5d..96f3fcbcf 100644
>> > --- a/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
>> > +++ b/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
>> > @@ -3,14 +3,31 @@ HOMEPAGE = "https://github.com/hbldh/bleak;
>> >  LICENSE = "MIT"
>> >  LIC_FILES_CHKSUM =
>> "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
>> >
>> > -SRC_URI[sha256sum] =
>> "ec4a1a2772fb315b992cbaa1153070c7e26968a52b0e2727035f443a1af5c18f"
>> > +SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8"
>> > +PYPI_SRC_URI = "git://
>> github.com/hbldh/bleak.git;protocol=https;branch=develop"
>>
>> why do we need this change if we are not bumping versions ?
>>
>> >
>> > -PYPI_PACKAGE = "bleak"
>> > +inherit pypi python_poetry_core ptest
>> >
>> > -inherit pypi python_poetry_core
>> > +S = "${WORKDIR}/git"
>> > +
>> > +SRC_URI += " \
>> > +   file://run-ptest \
>> > +"
>> > +
>> > +RDEPENDS:${PN}-ptest += " \
>> > +   python3-pytest \
>> > +   python3-pytest-asyncio \
>> > +   python3-unittest-automake-output \
>> > +"
>> > +
>> > +do_install_ptest() {
>> > +   install -d ${D}${PTEST_PATH}/tests
>> > +   cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
>> > +}
>> >
>> >  RDEPENDS:${PN} += " \
>> > -python3-core (>3.7) \
>> > -python3-async-timeout \
>> > -python3-dbus-fast \
>> > +   python3-core (>3.7) \
>> > +   python3-async-timeout \
>> > +   python3-dbus-fast \
>> > +   python3-xml \
>> >  "
>> > --
>> > 2.25.1
>> >
>> >
>> >
>> >
>>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109833): 
https://lists.openembedded.org/g/openembedded-devel/message/109833
Mute This Topic: https://lists.openembedded.org/mt/105358066/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCHv2] libjxl: add recipe

2024-04-06 Thread Martin Jansa
On Fri, Apr 5, 2024 at 5:18 PM Khem Raj  wrote:
>
> Can you try to comment out
>
>CXXFLAGS:append:arm = " -mfp16-format=ieee"
>
> for a test ?

Yes, that fixes the build on qemuarm.

> On Fri, Apr 5, 2024 at 12:13 AM Martin Jansa  wrote:
> >
> > qemuarm build log:
> > http://errors.yoctoproject.org/Errors/Details/761504/
> >
> > shows -mfpu=neon was already used.
> >
> > FAILED: lib/CMakeFiles/jxl_cms.dir/__/third_party/skcms/skcms.cc.o
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-g++
> > --sysroot=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot
> > -DFJXL_ENABLE_AVX512=0
> > -DHWY_DISABLED_TARGETS="(HWY_SSSE3|HWY_AVX3|HWY_AVX3_SPR|HWY_AVX3_ZEN4)"
> > -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\"
> > -D__TIME__=\"redacted\" -Djxl_cms_EXPORTS
> > -ITOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git
> > -ITOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms
> > -isystem 
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/build/lib/include
> > -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -D_TIME_BITS=64
> > -D_FILE_OFFSET_BITS=64
> > --sysroot=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot
> >  -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map
> > -fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git=/usr/src/debug/libjxl/0.10.2
> >  
> > -fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git=/usr/src/debug/libjxl/0.10.2
> >  
> > -fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/build=/usr/src/debug/libjxl/0.10.2
> >  
> > -fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/build=/usr/src/debug/libjxl/0.10.2
> >  
> > -fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot=
> >  
> > -fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot=
> >  
> > -fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot-native=
> >  -fvisibility-inlines-hidden -mfp16-format=ieee -fno-rtti -DNDEBUG
> > -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
> > -fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git=.
> > -funwind-tables -fno-omit-frame-pointer -Wno-builtin-macro-redefined
> > -Wall -fmerge-all-constants -fno-builtin-fwrite -fno-builtin-fread
> > -Wextra -Wc++11-compat -Warray-bounds -Wformat-security
> > -Wimplicit-fallthrough -Wno-register -Wno-unused-function
> > -Wno-unused-parameter -Wnon-virtual-dtor -Woverloaded-virtual -Wvla
> > -fsized-deallocation -fno-exceptions -fmath-errno
> > -DJPEGXL_ENABLE_SKCMS=1 -DHWY_STATIC_DEFINE -Wno-psabi -MD -MT
> > lib/CMakeFiles/jxl_cms.dir/__/third_party/skcms/skcms.cc.o -MF
> > lib/CMakeFiles/jxl_cms.dir/__/third_party/skcms/skcms.cc.o.d -o
> > lib/CMakeFiles/jxl_cms.dir/__/third_party/skcms/skcms.cc.o -c
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms/skcms.cc
> > In file included from
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms/skcms.cc:18:
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot-native/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/14.0.1/include/arm_neon.h:
> > In function 'baseline::F baseline::F_from_Half(U16)':
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot-native/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/14.0.1/include/arm_neon.h:7526:1:
> > error: inlining failed in call to 'always_inline' 'float32x4_t
> > vcvt_f32_f16(float16x4_t)': target specific option mismatch
> >  7526 | vcvt_f32_f16 (float16x4_t __a)
> >   | ^~~~
> > In file included from
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms/skcms.cc:2315:
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms/src/Transform_inl.h:155:24:
> > note: called from here
> >   155 | return vcvt_f32_f16((float16x4_t)half);
> >   |^~~
> >
> > On Fri, Apr 5, 2024 at 8:48 AM  wrote:
> > >
> > > Does this also happen if you add '-mfpu=neon' to CXXFLAGS ?
> > >
> > > On Fri, Apr 5 2024 at 07:54:47 AM +02:00:00, Martin Jansa 
> > >  wrote:
> > >
> > > I'm seeing build failure in 32bit arm builds (with multilib): 
> > > lib32-libjxl/0.10.2/recipe-sysroot-native/usr/lib/arm-oemllib32-linux-gnueabi/gcc/arm-oemllib32-linux-gnueabi/13.2.0/include/arm_neon.h:7526:1:
> > >  error: inlining failed in call to