Re: [oe] [meta-python][kirkstone][PATCH] python3-pyyaml-include: Drop pytest --automake
Ping. Thanks, On 4/30/24 16:53, Yu, Mingli wrote: From: Mingli Yu The python3-unittest-automake-output is not supported [1], so drop "pytest --automake". [1] https://lore.kernel.org/all/20240327072236.2221619-1-mingli...@windriver.com/T/#mda91919809cf156aba24f099bef65142067cd318 Signed-off-by: Mingli Yu --- .../recipes-devtools/python/python3-pyyaml-include/run-ptest| 2 +- .../recipes-devtools/python/python3-pyyaml-include_1.4.1.bb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest b/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest index 8d2017d39..3385d6893 100755 --- a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest @@ -1,3 +1,3 @@ #!/bin/sh -pytest --automake +pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.4.1.bb b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.4.1.bb index 6768e959f..b60a0f9c8 100644 --- a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.4.1.bb @@ -24,6 +24,5 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ python3-pytest \ -python3-unittest-automake-output \ " -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#110409): https://lists.openembedded.org/g/openembedded-devel/message/110409 Mute This Topic: https://lists.openembedded.org/mt/106128397/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [PATCH 2/3] recipes: Switch away from S = WORKDIR
Make it dependent on UNPACKDIR instead Signed-off-by: Khem Raj --- .../faenza-icon-theme/faenza-icon-theme_1.3.bb | 3 ++- .../gtksourceview-classic-light_1.0.bb | 7 --- .../recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb | 3 ++- .../initrdscripts/initramfs-debug_1.0.bb| 5 +++-- .../recipes-support/nuttcp/nuttcp_8.2.2.bb | 7 --- meta-oe/recipes-benchmark/linpack/linpack_1.0.bb| 3 ++- .../recipes-benchmark/whetstone/whetstone_1.2.bb| 5 +++-- .../recipes-bsp/lm_sensors/lmsensors-config_1.0.bb | 13 +++-- meta-oe/recipes-bsp/pointercal/pointercal_0.0.bb| 3 ++- .../proxy-libintl/proxy-libintl_20100902.bb | 7 --- meta-oe/recipes-core/usleep/usleep_1.2.bb | 7 --- .../systemd/nativesdk-systemd-systemctl.bb | 5 +++-- .../recipes-graphics/ttf-fonts/ttf-google-fira.bb | 3 ++- .../ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb | 3 ++- .../recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb | 3 ++- meta-oe/recipes-support/fbset/fbset-modes.bb| 6 -- meta-oe/recipes-support/libjs/libjs-jquery_3.3.1.bb | 3 ++- meta-oe/recipes-support/nmon/nmon_16m.bb| 3 ++- meta-oe/recipes-support/pxaregs/pxaregs_1.14.bb | 3 ++- meta-oe/recipes-test/testfloat/testfloat_3e.bb | 3 ++- 20 files changed, 58 insertions(+), 37 deletions(-) diff --git a/meta-gnome/recipes-gnome/faenza-icon-theme/faenza-icon-theme_1.3.bb b/meta-gnome/recipes-gnome/faenza-icon-theme/faenza-icon-theme_1.3.bb index 12d344bff5..5db9457122 100644 --- a/meta-gnome/recipes-gnome/faenza-icon-theme/faenza-icon-theme_1.3.bb +++ b/meta-gnome/recipes-gnome/faenza-icon-theme/faenza-icon-theme_1.3.bb @@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" inherit allarch gtk-icon-cache -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${BPN}/${BPN}_${PV}.zip; SRC_URI[sha256sum] = "d4486fda0413f8a81a87e0dd2329f50f2a8a7cb4147b48cf147f0160add8174a" diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview-classic-light_1.0.bb b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview-classic-light_1.0.bb index 4e1e434314..9d46b43c42 100644 --- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview-classic-light_1.0.bb +++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview-classic-light_1.0.bb @@ -6,13 +6,14 @@ inherit allarch SRC_URI = "file://classic-light.xml" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" do_install() { install -d ${D}${datadir}/gtksourceview-3.0/styles -install -m 0644 ${WORKDIR}/classic-light.xml ${D}${datadir}/gtksourceview-3.0/styles/ +install -m 0644 ${UNPACKDIR}/classic-light.xml ${D}${datadir}/gtksourceview-3.0/styles/ install -d ${D}${datadir}/gtksourceview-4/styles -install -m 0644 ${WORKDIR}/classic-light.xml ${D}${datadir}/gtksourceview-4/styles/ +install -m 0644 ${UNPACKDIR}/classic-light.xml ${D}${datadir}/gtksourceview-4/styles/ } FILES:${PN} = " \ diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb index 2dce19c6be..d8134b228c 100644 --- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb +++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb @@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda SRC_URI = "file://icon.xpm" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" do_install:prepend () { echo '# /boot/boot.cfg - KEXECBOOT configuration file. diff --git a/meta-initramfs/recipes-core/initrdscripts/initramfs-debug_1.0.bb b/meta-initramfs/recipes-core/initrdscripts/initramfs-debug_1.0.bb index 4c06346570..c2b3faddda 100644 --- a/meta-initramfs/recipes-core/initrdscripts/initramfs-debug_1.0.bb +++ b/meta-initramfs/recipes-core/initrdscripts/initramfs-debug_1.0.bb @@ -3,10 +3,11 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRC_URI = "file://init-debug.sh" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" do_install() { -install -m 0755 ${WORKDIR}/init-debug.sh ${D}/init +install -m 0755 ${UNPACKDIR}/init-debug.sh ${D}/init } inherit allarch diff --git a/meta-networking/recipes-support/nuttcp/nuttcp_8.2.2.bb b/meta-networking/recipes-support/nuttcp/nuttcp_8.2.2.bb index 115b51e96c..b02f775a55 100644 --- a/meta-networking/recipes-support/nuttcp/nuttcp_8.2.2.bb +++ b/meta-networking/recipes-support/nuttcp/nuttcp_8.2.2.bb @@ -18,7 +18,8 @@ SRC_URI = "http://nuttcp.net/${BPN}/beta/${BP}.c \ SRC_URI[md5sum] = "d3c92c4d2f261221193c3726c1b9a42f" SRC_URI[sha256sum] = "8c5595bcd27c2fd66831be74c390df078cfb1870aa427f2511ac2586d236c8a1" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR =
[oe] [PATCH 3/3] python3-pyruvate: Adjust for WORKDIR -> UNPACKDIR changes
Signed-off-by: Khem Raj --- .../python/python3-pyruvate_1.2.1.bb | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb b/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb index 2807c054d9..297eecad0e 100644 --- a/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb @@ -9,16 +9,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI += "\ git://gitlab.com/tschorr/pyruvate.git;protocol=https;branch=main \ - file://0001-linux.rs-Define-consts-for-rv32-architecture.patch;patchdir=../cargo_home/bitbake/nix-0.23.2/ \ - file://0001-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ - file://0001-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ - file://0001-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ - file://0001-musl-Define-O_LARGEFILE-for-riscv32.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ - file://0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ + file://0001-linux.rs-Define-consts-for-rv32-architecture.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/nix-0.23.2/ \ + file://0001-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ + file://0001-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ + file://0001-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ + file://0001-musl-Define-O_LARGEFILE-for-riscv32.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ + file://0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ " SRCREV = "57db64c9f65ced05c71b8d786c1cedfaa2991597" -SRC_URI:append:mips = " file://0001-check-for-mips-targets-for-stat.st_dev-definitions.patch;patchdir=../cargo_home/bitbake/libsystemd-0.5.0/" +SRC_URI:append:mips = " file://0001-check-for-mips-targets-for-stat.st_dev-definitions.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libsystemd-0.5.0/" S = "${WORKDIR}/git" -- 2.45.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#110407): https://lists.openembedded.org/g/openembedded-devel/message/110407 Mute This Topic: https://lists.openembedded.org/mt/106124574/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 1/2] malcontent-ui: add malcontent to RDEPENDS
If libmalcontent-ui links with libmalcontent, then the malcontent-ui recipe should have a DEPENDS on malcontent, and you should not need to add an explicit RDEPENDS:${PN} for it (just as Martin wrote). The reason I guess that you get that error is because I believe the malcontent-ui recipe has actually built libmalcontent itself (given that both recipes use the same source code) rather than using the one produced by the malcontent recipe (which malcontent-ui doesn't depend on...) Would it be an option to just have one recipe that builds both libraries and then packages them in different packages? Also (since I now looked at the recipes), I would strongly recommend not to do: FILES:${PN} = "${bindir} ${libdir} ${datadir}" as you do in the malcontent-ui recipe, or: FILES:${PN} += "${libdir} ${datadir}" as you do in the malcontent recipe. Resetting FILES:${PN} (as in the first case) is always a source of problems and can easily lead to incorrect packaging of files. And for ${libdir} and ${datadir}, be more specific with what paths you are actually adding. //Peter From: openembedded-devel@lists.openembedded.org On Behalf Of Markus Volk Sent: den 13 maj 2024 23:04 To: Martin Jansa Cc: f_...@t-online.de; openembedded-devel@lists.openembedded.org Subject: Re: [oe] [meta-oe][PATCH 1/2] malcontent-ui: add malcontent to RDEPENDS On Mon, May 13 2024 at 10:30:31 PM +02:00:00, Martin Jansa mailto:martin.ja...@gmail.com>> wrote: If libmalcontent-ui-1.so.1 links with libmalcontent-0.so.0 then this should be build-time DEPENDS (and then shlibs code in do_package will automatically add malcontent to RDEPENDS. This error is caused by adding malcontent to the DEPENDS field in PACKAGECONFIG like I did in gnome-control-center. After enabling this in my build the error occurred. But in the end this RDPEND is not wrong I guess? I've split the package in two and without this RDEPEND it would be possible to install libmalcontent-ui without libmalcontent which would then be broken -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#110405): https://lists.openembedded.org/g/openembedded-devel/message/110405 Mute This Topic: https://lists.openembedded.org/mt/106081394/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][scarthgap][PATCH 1/2] python3-twisted: remove obsolete python3-twisted-flow
On Tue, May 14, 2024 at 03:38 PM, Mark Hatle wrote: > > I see this change made it into meta-openembedded master. But hasn't been > pushed to scarthgap yet. > > I've having a problem with this recipe in scarthgap, and so far it looks > like these two changes do fix the problem I'm having. > > The two commits I cherry-picked back to scarthgap and tested are: > > bd1b5cde348dbc20e3d332de69617a8a95fe5ff3 - python3-twisted: prepend split > PACKAGES > > 3fd6f0feec002c85df23b37c04d745a43674ee66 - python3-twisted: remove > obsolete python3-twisted-flow > > This resolves the issue I was having. > > --Mark Hi Mark, thanks for confirming the fix. The issue unfortunately wasn't found until just after the initial scarthgap release. If anyone is to blame it's me, though I've updated my testing setup moving forward so this won't happen again when sending patches upstream (I forgot to test 'installing' the package into the minimal image so didn't get the proper error message). It's my understanding that this will only get merged into scarthgap in the next release (5.0.1) which happens about 1 once a month. According to the Yocto Project status from yesterday, 5.0.1 is in QA. Best regards, Gudni -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#110404): https://lists.openembedded.org/g/openembedded-devel/message/110404 Mute This Topic: https://lists.openembedded.org/mt/105945946/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [PATCH] opentelemetry-cpp: add opentelemtry recipe
On Wed, 2024-05-15 at 00:20 -0500, Abhilash Raju wrote: > An Observability framework to create and manage telemetry data such > as > traces, metrics, and logs > > Signed-off-by: Abhilash Raju > --- > .../opentelemetry/opentelemetry-cpp_1.15.0.bb | 17 > + > 1 file changed, 17 insertions(+) > create mode 100644 meta-oe/recipes- > support/opentelemetry/opentelemetry-cpp_1.15.0.bb > > diff --git a/meta-oe/recipes-support/opentelemetry/opentelemetry- > cpp_1.15.0.bb b/meta-oe/recipes-support/opentelemetry/opentelemetry- > cpp_1.15.0.bb > new file mode 100644 > index 0..85df5be82 > --- /dev/null > +++ b/meta-oe/recipes-support/opentelemetry/opentelemetry- > cpp_1.15.0.bb > @@ -0,0 +1,17 @@ > +SUMMARY = "Open Telemetry Library" > +DESCRIPTION = "An Observability framework to create and manage > telemetry data \ > +such as traces, metrics, and logs." > +HOMEPAGE = "https://github.com/open-telemetry/opentelemetry-cpp; > +SECTION = "libs" > +LICENSE = "Apache-2.0" > +LIC_FILES_CHKSUM = > "file://${S}/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" ${S} shouldn't be needed here. > + > +DEPENDS = "nlohmann-json" > + > +SRC_URI = > "https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tag > s/v${PV}.tar.gz" > +SRC_URI[sha256sum] = > "69b0fef380658e15be9d817bfcb32e3f5de96da652bcdce77b4e750ed8beddee" > + > +S = "${WORKDIR}/opentelemetry-cpp-${PV}" This is default so shouldn't be needed. https://git.yoctoproject.org/poky/tree/meta/conf/bitbake.conf#n411 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#110403): https://lists.openembedded.org/g/openembedded-devel/message/110403 Mute This Topic: https://lists.openembedded.org/mt/106109161/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-