Re: [oe] [meta-filesystems][PATCH] e2tools: Add ptest
On Fri, Mar 1, 2024 at 12:20 PM Lyu, William wrote: > > > I am running into this error on some builders on AB > > > > stdio: ERROR: Task > > (/home/pokybuild/yocto-worker/meta-oe/build/meta/recipes-support/libexif/libexif_0.6.24.bb:do_package_qa) > > failed with exit code '1' > > stdio: ERROR: e2tools-0.1.0+git-r0 do_package_qa: QA Issue: > > /usr/lib/e2tools/ptest/git/.git/hooks/update.sample contained in > > package e2tools-ptest requires /usr/bin/sh, but no providers found in > > RDEPENDS:e2tools-ptest? [file-rdeps] > > File "update.sample" is from ".git" directory. I do not actually need this > file or anything from ".git" directory. I only need the source tree for ptest > to run. > > However, I am a bit confused about this QA issue because: > - I do not see any file that has "#!/usr/bin/sh". Even "update.sample" has > "#!/bin/sh" as the first line. There are files in the source tree (not > under ".git" directory) that have "#!/bin/sh" as the first line. > - "/bin/sh" is referring to the default POSIX shell, and the "bash" in the > RDEPENDS:e2tools-ptest should already fulfill this runtime dependency, > - I am not yet able to reproduce this issue using poky. I assume this is > because the QA Issue checker "file-rdeps" in poky do not check "sh" by > default (excerpt taken from "meta/classes-global/insane.bbclass"): > > if "file-rdeps" not in skip: > ignored_file_rdeps = set(['/bin/sh', '/usr/bin/env', > 'rtld(GNU_HASH)']) > if bb.utils.contains('DISTRO_FEATURES', 'usrmerge', True, False, d): > ignored_file_rdeps |= set(['/usr/bin/sh']) > if bb.data.inherits_class('nativesdk', d): > ignored_file_rdeps |= set(['/bin/bash', '/usr/bin/perl', 'perl']) > if bb.utils.contains('DISTRO_FEATURES', 'usrmerge', True, False, > d): > ignored_file_rdeps |= set(['/usr/bin/bash']) > > William what distro features do you have enabled ? perhaps try it with and without usermerge in DISTRO_FEATURES and rebuild this package after doing cleansstate to ensure its being rebuilt in both cases. > > > stdio: ERROR: e2tools-0.1.0+git-r0 do_package_qa: Fatal QA errors were > > found, failing task. > > stdio: ERROR: Logfile of failure stored in: > > /home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/e2tools/0.1.0+git/temp/log.do_package_qa.3114961 > > > > On Thu, Feb 22, 2024 at 5:56 AM Lyu, William via > > lists.openembedded.org > > wrote: > >> > >> From: William Lyu > >> > >> Signed-off-by: William Lyu > >> --- > >> .../recipes-utils/e2tools/e2tools_git.bb | 51 ++- > >> .../recipes-utils/e2tools/files/run-ptest | 5 ++ > >> 2 files changed, 54 insertions(+), 2 deletions(-) > >> create mode 100644 meta-filesystems/recipes-utils/e2tools/files/run-ptest > >> > >> diff --git a/meta-filesystems/recipes-utils/e2tools/e2tools_git.bb > >> b/meta-filesystems/recipes-utils/e2tools/e2tools_git.bb > >> index caf0025c8..a80b6f598 100644 > >> --- a/meta-filesystems/recipes-utils/e2tools/e2tools_git.bb > >> +++ b/meta-filesystems/recipes-utils/e2tools/e2tools_git.bb > >> @@ -9,17 +9,64 @@ SECTION = "base" > >> LICENSE = "GPL-2.0-only" > >> LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" > >> > >> -DEPENDS += "e2fsprogs" > >> +DEPENDS += "coreutils e2fsprogs" > >> > >> PV = "0.1.0+git" > >> > >> SRC_URI = " \ > >> git://github.com/e2tools/e2tools;protocol=https;branch=master \ > >> + file://run-ptest \ > >> " > >> + > >> SRCREV = "fd092754a6b65c3a769f74f888668c066f09c36d" > >> > >> S = "${WORKDIR}/git" > >> > >> -inherit autotools pkgconfig > >> +inherit autotools pkgconfig ptest > >> + > >> +do_configure:prepend() { > >> +git -C "${WORKDIR}/git" reset --hard HEAD > >> + > >> +# To install ptest for this package, special configuration needs to be > >> +# done before do_configure(). So, do_configure_ptest() which is > >> scheduled > >> +# after do_configure() cannot be used. > >> + > >> +# We only do special configuration if we are installing ptest for this > >> +# package. > >> +if [ "${@d.getVar('PTEST_ENABLED')}" -eq "1" ]; then > >> +# Since we guarantee run-time dependency when installing the > >> ptest for > >> +# this package, we do not need the check macros under section > >> "checks > >> +# for programs" in "configure.ac". Plus, these check macros set > >> the > >> +# ouput variables to incorrect values as these checks are > >> performed on > >> +# the host environment. Still, we need these variables outputted > >> from > >> +# these check macros. So, we insert the following lines to > >> manually > >> +# set these output variables to the correct value in > >> "configure.ac". > >> + > >> +# Note that HAVE_DD_COMMAND and HAVE_MKE2FS_COMMAND are only ever > >> used > >> +# in tests/Makefile-files which determines
Re: [oe] [meta-filesystems][PATCH] e2tools: Add ptest
> I am running into this error on some builders on AB > > stdio: ERROR: Task > (/home/pokybuild/yocto-worker/meta-oe/build/meta/recipes-support/libexif/libexif_0.6.24.bb:do_package_qa) > failed with exit code '1' > stdio: ERROR: e2tools-0.1.0+git-r0 do_package_qa: QA Issue: > /usr/lib/e2tools/ptest/git/.git/hooks/update.sample contained in > package e2tools-ptest requires /usr/bin/sh, but no providers found in > RDEPENDS:e2tools-ptest? [file-rdeps] File "update.sample" is from ".git" directory. I do not actually need this file or anything from ".git" directory. I only need the source tree for ptest to run. However, I am a bit confused about this QA issue because: - I do not see any file that has "#!/usr/bin/sh". Even "update.sample" has "#!/bin/sh" as the first line. There are files in the source tree (not under ".git" directory) that have "#!/bin/sh" as the first line. - "/bin/sh" is referring to the default POSIX shell, and the "bash" in the RDEPENDS:e2tools-ptest should already fulfill this runtime dependency, - I am not yet able to reproduce this issue using poky. I assume this is because the QA Issue checker "file-rdeps" in poky do not check "sh" by default (excerpt taken from "meta/classes-global/insane.bbclass"): if "file-rdeps" not in skip: ignored_file_rdeps = set(['/bin/sh', '/usr/bin/env', 'rtld(GNU_HASH)']) if bb.utils.contains('DISTRO_FEATURES', 'usrmerge', True, False, d): ignored_file_rdeps |= set(['/usr/bin/sh']) if bb.data.inherits_class('nativesdk', d): ignored_file_rdeps |= set(['/bin/bash', '/usr/bin/perl', 'perl']) if bb.utils.contains('DISTRO_FEATURES', 'usrmerge', True, False, d): ignored_file_rdeps |= set(['/usr/bin/bash']) William > stdio: ERROR: e2tools-0.1.0+git-r0 do_package_qa: Fatal QA errors were > found, failing task. > stdio: ERROR: Logfile of failure stored in: > /home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/e2tools/0.1.0+git/temp/log.do_package_qa.3114961 > > On Thu, Feb 22, 2024 at 5:56 AM Lyu, William via > lists.openembedded.org > wrote: >> >> From: William Lyu >> >> Signed-off-by: William Lyu >> --- >> .../recipes-utils/e2tools/e2tools_git.bb | 51 ++- >> .../recipes-utils/e2tools/files/run-ptest | 5 ++ >> 2 files changed, 54 insertions(+), 2 deletions(-) >> create mode 100644 meta-filesystems/recipes-utils/e2tools/files/run-ptest >> >> diff --git a/meta-filesystems/recipes-utils/e2tools/e2tools_git.bb >> b/meta-filesystems/recipes-utils/e2tools/e2tools_git.bb >> index caf0025c8..a80b6f598 100644 >> --- a/meta-filesystems/recipes-utils/e2tools/e2tools_git.bb >> +++ b/meta-filesystems/recipes-utils/e2tools/e2tools_git.bb >> @@ -9,17 +9,64 @@ SECTION = "base" >> LICENSE = "GPL-2.0-only" >> LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" >> >> -DEPENDS += "e2fsprogs" >> +DEPENDS += "coreutils e2fsprogs" >> >> PV = "0.1.0+git" >> >> SRC_URI = " \ >> git://github.com/e2tools/e2tools;protocol=https;branch=master \ >> + file://run-ptest \ >> " >> + >> SRCREV = "fd092754a6b65c3a769f74f888668c066f09c36d" >> >> S = "${WORKDIR}/git" >> >> -inherit autotools pkgconfig >> +inherit autotools pkgconfig ptest >> + >> +do_configure:prepend() { >> +git -C "${WORKDIR}/git" reset --hard HEAD >> + >> +# To install ptest for this package, special configuration needs to be >> +# done before do_configure(). So, do_configure_ptest() which is >> scheduled >> +# after do_configure() cannot be used. >> + >> +# We only do special configuration if we are installing ptest for this >> +# package. >> +if [ "${@d.getVar('PTEST_ENABLED')}" -eq "1" ]; then >> +# Since we guarantee run-time dependency when installing the ptest >> for >> +# this package, we do not need the check macros under section >> "checks >> +# for programs" in "configure.ac". Plus, these check macros set the >> +# ouput variables to incorrect values as these checks are performed >> on >> +# the host environment. Still, we need these variables outputted >> from >> +# these check macros. So, we insert the following lines to manually >> +# set these output variables to the correct value in "configure.ac". >> + >> +# Note that HAVE_DD_COMMAND and HAVE_MKE2FS_COMMAND are only ever >> used >> +# in tests/Makefile-files which determines whether to include the >> test >> +# cases. As for output variables CHMOD, DD, and MKE2FS, they only >> +# point to the programs which test cases need to run. Since these >> +# commands are guaranteed to be present due to RDEPENDS and are >> +# guaranteed to be accessible under PATH environment variable on the >> +# target, we only need to specify the name of these programs. >> + >> +perl -i -0777 -pe
[oe] [meta-oe][dunfell][PATCH] postgresql: Update to 12.18
Minor security and bugfix release. Fixes CVE-2024-0985: PostgreSQL non-owner REFRESH MATERIALIZED VIEW CONCURRENTLY executes arbitrary SQL Additional information is available in the release notes: https://www.postgresql.org/docs/release/12.18/ Signed-off-by: Matthias Schmitz --- .../postgresql/{postgresql_12.17.bb => postgresql_12.18.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-oe/recipes-dbs/postgresql/{postgresql_12.17.bb => postgresql_12.18.bb} (51%) diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_12.17.bb b/meta-oe/recipes-dbs/postgresql/postgresql_12.18.bb similarity index 51% rename from meta-oe/recipes-dbs/postgresql/postgresql_12.17.bb rename to meta-oe/recipes-dbs/postgresql/postgresql_12.18.bb index e9f9f50a2..44074a233 100644 --- a/meta-oe/recipes-dbs/postgresql/postgresql_12.17.bb +++ b/meta-oe/recipes-dbs/postgresql/postgresql_12.18.bb @@ -1,6 +1,6 @@ require postgresql.inc -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=c31f662bb2bfb3b4187fe9a53e0ffe7c" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=89afbb2d7716371015101c2b2cb4297a" SRC_URI += "\ file://not-check-libperl.patch \ @@ -8,4 +8,4 @@ SRC_URI += "\ file://0001-Improve-reproducibility.patch \ " -SRC_URI[sha256sum] = "93e8e1b23981d5f03c6c5763f77b28184c1ce4db7194fa466e2edb65d9c1c5f6" +SRC_URI[sha256sum] = "4f9919725d941ce9868e07fe1ed1d3a86748599b483386547583928b74c3918a" -- 2.39.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109083): https://lists.openembedded.org/g/openembedded-devel/message/109083 Mute This Topic: https://lists.openembedded.org/mt/104659865/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-networking][PATCH] drbd-utils: upgrade 9.22.0 -> 9.27.0
I see it failing to compile for riscv/clang-18 https://errors.yoctoproject.org/Errors/Details/755164/ On Thu, Feb 29, 2024 at 8:14 PM Xiangyu Chen wrote: > > From: Xiangyu Chen > > rebased patches: > 0001-drbd-utils-support-usrmerge.patch > 0001-drbdmon-add-LDFLAGS-when-linking.patch > > removed patches that already in upstream code repository > 0001-replace-off64_t-with-off_t.patch > 0002-drbdadm-drop-use-of-GLOB_MAGCHAR-use-strchr-heuristi.patch > > add keyutils depends > > Change log > == > 9.27.0 > * adjust,v9: retry for diskless primaries > * tests: sanitize env (e.g., TZ) > * drbdmeta: dump and restore the members field > 9.26.0 > * config,v9: new config option load-balance-paths > * config,v9: new config options rdma-ctrls-(snd|rcv)buf-size > * drbdadm,v9: fix segfault if proxy has no path > * drbd: increase maximum CPU mask size > * systemd: introduce drbd-graceful-shutdown.service > * drbdmeta,v9: fix regression, allow attach after offline resize > * drbdsetup,v9: add path established information to JSON status > * events2: terminate on module unload even under --poll > * events2: specif exit code if module unload > * docs: add spdx license file > * drbdmon: various smaller improvements > * drbdsetup,v9: support for TLS/kTLS > 9.25.0 > * drbdsetup,v9,show: fix meta disk format for json > * drbdmon: various updates > * build: fix RHEL6 spec builds > * drbdmeta: {hex,}dump superblock > * drbdmon: major rewrite > * build: gcc v12 cleanups > * misc: put locks into separate dir > * selinux: add fowner fsetsid, they dropped a global noaudit rule > 9.24.0 > * windrbd: various fixes > * v9: Support user-defined block-size > * doc,v9: improvements all over the place > * drbdadm,v9: implement drbdadm role > * drbdadm,v9: pass --verbose/--statistics to drbdsetup status > * drbd{adm,meta}: add repair-md subcommand > 9.23.1 > * drbdadm,v9,resync-after: fix too strict check > 9.23.0 > * drbdadm,v9,floating: fixup fake uname for 9.2.x strict_names=1 > * drbdadm,v9,parser: fixup globs, also rm GNU libc specific extensions > * drbdadm,v9,parser: allow via outside-address for NATed peers > > Signed-off-by: Xiangyu Chen > --- > .../0001-drbd-utils-support-usrmerge.patch| 17 ++-- > ...001-drbdmon-add-LDFLAGS-when-linking.patch | 14 +-- > .../0001-replace-off64_t-with-off_t.patch | 48 -- > ...-of-GLOB_MAGCHAR-use-strchr-heuristi.patch | 96 --- > ...d-utils_9.22.0.bb => drbd-utils_9.27.0.bb} | 8 +- > 5 files changed, 18 insertions(+), 165 deletions(-) > delete mode 100644 > meta-networking/recipes-support/drbd/drbd-utils/0001-replace-off64_t-with-off_t.patch > delete mode 100644 > meta-networking/recipes-support/drbd/drbd-utils/0002-drbdadm-drop-use-of-GLOB_MAGCHAR-use-strchr-heuristi.patch > rename meta-networking/recipes-support/drbd/{drbd-utils_9.22.0.bb => > drbd-utils_9.27.0.bb} (90%) > > diff --git > a/meta-networking/recipes-support/drbd/drbd-utils/0001-drbd-utils-support-usrmerge.patch > > b/meta-networking/recipes-support/drbd/drbd-utils/0001-drbd-utils-support-usrmerge.patch > index 4e1f68be09..27f0a9b54a 100644 > --- > a/meta-networking/recipes-support/drbd/drbd-utils/0001-drbd-utils-support-usrmerge.patch > +++ > b/meta-networking/recipes-support/drbd/drbd-utils/0001-drbd-utils-support-usrmerge.patch > @@ -1,4 +1,4 @@ > -From 69011c7227ad1aaf08d5ab28e46f85dac951c597 Mon Sep 17 00:00:00 2001 > +From 264ae7b062ac52a5545a8a562b51001f7ce7369d Mon Sep 17 00:00:00 2001 > From: Changqing Li > Date: Thu, 21 Apr 2022 17:22:35 +0800 > Subject: [PATCH] drbd-utils: support usermerge > @@ -21,10 +21,10 @@ Signed-off-by: Sakib Sajal > 10 files changed, 32 insertions(+), 32 deletions(-) > > diff --git a/configure.ac b/configure.ac > -index ae575586..3d7deeae 100644 > +index f1d69ea3..3289ac7d 100644 > --- a/configure.ac > +++ b/configure.ac > -@@ -180,7 +180,7 @@ AC_ARG_WITH(tmpfilesdir, > +@@ -183,7 +183,7 @@ AC_ARG_WITH(tmpfilesdir, > AC_SUBST(tmpfilesdir) > > # set default early > @@ -34,12 +34,12 @@ index ae575586..3d7deeae 100644 > test x"$with_udev" = xyes ; then > if test x"$PKG_CONFIG" != x; then > diff --git a/scripts/Makefile.in b/scripts/Makefile.in > -index fcd298e9..bab441a5 100644 > +index aca15a22..a1cd2ffe 100644 > --- a/scripts/Makefile.in > +++ b/scripts/Makefile.in > -@@ -88,11 +88,11 @@ ifeq ($(subst both,systemd,$(initscripttype)),systemd) > +@@ -91,11 +91,11 @@ ifeq ($(subst both,systemd,$(initscripttype)),systemd) > install -d $(DESTDIR)$(systemdunitdir) > - install -m 644 drbd.service $(DESTDIR)$(systemdunitdir)/ > + install -m 644 $(SYSTEMD_UNITS) $(DESTDIR)$(systemdunitdir)/ > install -m 644 $(SYSTEMD_TEMPLATES) $(DESTDIR)$(systemdunitdir)/ > - install -d $(DESTDIR)/lib/drbd/scripts > - install -m 755 drbd $(DESTDIR)/lib/drbd/scripts > @@ -110,7 +110,7 @@ index 96c599e7..c81e95a6 100644 > [Install] >
[oe] [[meta-filesystems]PATCH] fuse3: Make kmod as a recommendation instead of rdep for ptests
Signed-off-by: Khem Raj --- meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb index 7964621b58..2b0797a6f5 100644 --- a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb +++ b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb @@ -33,9 +33,9 @@ SRC_URI += " \ RDEPENDS:${PN}-ptest += " \ python3-pytest \ python3-looseversion \ -kernel-module-cuse \ bash \ " +RRECOMMENDS:${PN}-ptest += " kernel-module-cuse" do_install_ptest() { install -d ${D}${PTEST_PATH}/test -- 2.44.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109081): https://lists.openembedded.org/g/openembedded-devel/message/109081 Mute This Topic: https://lists.openembedded.org/mt/104670156/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-filesystems][PATCH 1/4] fuse3: Add missing runtime deps for ptests
On Fri, Mar 1, 2024 at 2:45 AM Martin Jansa wrote: > or is it typo cuse -> fuse? No > > On Fri, Mar 1, 2024 at 11:43 AM Martin Jansa > wrote: > > > > does it need virtual/kernel dependency now? > > > > in world build I've seen: > > ERROR: QA Issue: fuse3-ptest rdepends on kernel-module-cuse, but it > > isn't a build dependency? [build-deps] > > > > On Thu, Feb 22, 2024 at 9:58 PM Khem Raj wrote: > > > > > > Signed-off-by: Khem Raj > > > --- > > > meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb | 6 -- > > > 1 file changed, 4 insertions(+), 2 deletions(-) > > > > > > diff --git a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > > > index 5e532ba7ed..321851da5c 100644 > > > --- a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > > > +++ b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > > > @@ -29,8 +29,10 @@ SRC_URI += " \ > > > " > > > > > > RDEPENDS:${PN}-ptest += " \ > > > -python3-pytest \ > > > - bash \ > > > +python3-pytest \ > > > +python3-looseversion \ > > > +kernel-module-cuse \ > > > +bash \ > > > " > > > > > > do_install_ptest() { > > > -- > > > 2.43.2 > > > > > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109080): https://lists.openembedded.org/g/openembedded-devel/message/109080 Mute This Topic: https://lists.openembedded.org/mt/104516894/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-filesystems][PATCH 1/4] fuse3: Add missing runtime deps for ptests
On Fri, Mar 1, 2024 at 2:45 AM Martin Jansa wrote: > or is it typo cuse -> fuse? > > On Fri, Mar 1, 2024 at 11:43 AM Martin Jansa > wrote: > > > > does it need virtual/kernel dependency now? > > > > in world build I've seen: > > ERROR: QA Issue: fuse3-ptest rdepends on kernel-module-cuse, but it > > isn't a build dependency? [build-deps] Yeah this should be a recommends not rdepends > > > > > On Thu, Feb 22, 2024 at 9:58 PM Khem Raj wrote: > > > > > > Signed-off-by: Khem Raj > > > --- > > > meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb | 6 -- > > > 1 file changed, 4 insertions(+), 2 deletions(-) > > > > > > diff --git a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > > > index 5e532ba7ed..321851da5c 100644 > > > --- a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > > > +++ b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > > > @@ -29,8 +29,10 @@ SRC_URI += " \ > > > " > > > > > > RDEPENDS:${PN}-ptest += " \ > > > -python3-pytest \ > > > - bash \ > > > +python3-pytest \ > > > +python3-looseversion \ > > > +kernel-module-cuse \ > > > +bash \ > > > " > > > > > > do_install_ptest() { > > > -- > > > 2.43.2 > > > > > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109079): https://lists.openembedded.org/g/openembedded-devel/message/109079 Mute This Topic: https://lists.openembedded.org/mt/104516894/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-filesystems][PATCH] fuse3: use 4 spaces for indentation
* instead of mix of 8, 9 and 4 spaces Signed-off-by: Martin Jansa --- .../recipes-support/fuse/fuse3_3.16.2.bb | 56 ++- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb index 321851da5c..7964621b58 100644 --- a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb +++ b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb @@ -7,9 +7,11 @@ DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for userspac HOMEPAGE = "https://github.com/libfuse/libfuse; SECTION = "libs" LICENSE = "GPL-2.0-only & LGPL-2.0-only" -LIC_FILES_CHKSUM = "file://GPL2.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ -file://LGPL2.txt;md5=4fbd65380cdd255951079008b364516c \ -file://LICENSE;md5=a55c12a2d7d742ecb41ca9ae0a6ddc66" +LIC_FILES_CHKSUM = " \ +file://GPL2.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ +file://LGPL2.txt;md5=4fbd65380cdd255951079008b364516c \ +file://LICENSE;md5=a55c12a2d7d742ecb41ca9ae0a6ddc66 \ +" SRC_URI = "https://github.com/libfuse/libfuse/releases/download/fuse-${PV}/fuse-${PV}.tar.gz \ " @@ -25,7 +27,7 @@ CVE_PRODUCT = "fuse_project:fuse" inherit meson pkgconfig ptest SRC_URI += " \ -file://run-ptest \ +file://run-ptest \ " RDEPENDS:${PN}-ptest += " \ @@ -36,29 +38,29 @@ RDEPENDS:${PN}-ptest += " \ " do_install_ptest() { -install -d ${D}${PTEST_PATH}/test -install -d ${D}${PTEST_PATH}/example -install -d ${D}${PTEST_PATH}/util -cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ - -example_excutables=`find ${B}/example -type f -executable` -util_excutables=`find ${B}/util -type f -executable` -test_excutables=`find ${B}/test -type f -executable` - -for e in $example_excutables -do -cp -rf $e ${D}${PTEST_PATH}/example/ - done - -for e in $util_excutables -do -cp -rf $e ${D}${PTEST_PATH}/util/ -done - -for e in $test_excutables -do -cp -rf $e ${D}${PTEST_PATH}/test -done +install -d ${D}${PTEST_PATH}/test +install -d ${D}${PTEST_PATH}/example +install -d ${D}${PTEST_PATH}/util +cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ + +example_excutables=`find ${B}/example -type f -executable` +util_excutables=`find ${B}/util -type f -executable` +test_excutables=`find ${B}/test -type f -executable` + +for e in $example_excutables +do +cp -rf $e ${D}${PTEST_PATH}/example/ +done + +for e in $util_excutables +do +cp -rf $e ${D}${PTEST_PATH}/util/ +done + +for e in $test_excutables +do +cp -rf $e ${D}${PTEST_PATH}/test +done } DEPENDS = "udev" -- 2.44.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109078): https://lists.openembedded.org/g/openembedded-devel/message/109078 Mute This Topic: https://lists.openembedded.org/mt/104667062/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-oe][PATCH] openldap: upgrade 2.5.16 -> 2.6.7
ChangLog: https://www.openldap.org/software/release/changes.html * Drop PACKAGECONFIG[ndb] as it has been removed upstream[1][2]. [1] https://bugs.openldap.org/show_bug.cgi?id=9635 [2] https://git.openldap.org/openldap/openldap/-/commit/c6b43dcdc5d5ee60307564a64c276e5ad74af9c2 Signed-off-by: Yi Zhao --- .../{openldap_2.5.16.bb => openldap_2.6.7.bb} | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) rename meta-oe/recipes-support/openldap/{openldap_2.5.16.bb => openldap_2.6.7.bb} (94%) diff --git a/meta-oe/recipes-support/openldap/openldap_2.5.16.bb b/meta-oe/recipes-support/openldap/openldap_2.6.7.bb similarity index 94% rename from meta-oe/recipes-support/openldap/openldap_2.5.16.bb rename to meta-oe/recipes-support/openldap/openldap_2.6.7.bb index 8d13a4ddb..e807fdef1 100644 --- a/meta-oe/recipes-support/openldap/openldap_2.5.16.bb +++ b/meta-oe/recipes-support/openldap/openldap_2.6.7.bb @@ -21,7 +21,7 @@ SRC_URI = "http://www.openldap.org/software/download/OpenLDAP/openldap-release/$ file://0001-build-top.mk-unset-STRIP_OPTS.patch \ " -SRC_URI[sha256sum] = "546ba591822e8bb0e467d40c4d4a30f89d937c3a507fe83a578f582f6a211327" +SRC_URI[sha256sum] = "cd775f625c944ed78a3da18a03b03b08eea73c8aabc97b41bb336e9a10954930" DEPENDS = "util-linux groff-native" @@ -62,7 +62,7 @@ EXTRA_OECONF += "--enable-crypt" # The backend must be set by the configuration. This controls the # required database. # -# Backends="asyncmeta dnssrv ldap mdb meta ndb null passwd perl relay sock sql wt" +# Backends="asyncmeta dnssrv ldap mdb meta null passwd perl relay sock sql wt" # # Note that multiple backends can be built. The ldbm backend requires a # build-time choice of database API. To use the gdbm (or other) API the @@ -85,9 +85,6 @@ PACKAGECONFIG[mdb] = "--enable-mdb=yes,--enable-mdb=no," #--enable-meta enable metadirectory backend no|yes|mod no PACKAGECONFIG[meta] = "--enable-meta=mod,--enable-meta=no," -#--enable-ndb enable MySQL NDB Cluster backend no|yes|mod [no] -PACKAGECONFIG[ndb] = "--enable-ndb=mod,--enable-ndb=no," - #--enable-null enable null backend no|yes|mod no PACKAGECONFIG[null] = "--enable-null=mod,--enable-null=no," @@ -122,7 +119,7 @@ PACKAGECONFIG[dyngroup] = "--enable-dyngroup=mod,--enable-dyngroup=no," #--enable-proxycache Proxy Cache overlay no|yes|mod no PACKAGECONFIG[proxycache] = "--enable-proxycache=mod,--enable-proxycache=no," -FILES:${PN}-overlay-proxycache = "${md}/pcache-*.so.*" +FILES:${PN}-overlay-proxycache = "${md}/pcache.so.*" PACKAGES += "${PN}-overlay-proxycache" # Append URANDOM_DEVICE='/dev/urandom' to CPPFLAGS: @@ -215,7 +212,7 @@ INSANE_SKIP:${PN}-backend-passwd += "dev-so" python populate_packages:prepend () { backend_dir= d.expand('${libexecdir}/openldap') do_split_packages(d, backend_dir, r'back_([a-z]*)\.so$', 'openldap-backend-%s', 'OpenLDAP %s backend', prepend=True, extra_depends='', allow_links=True) -do_split_packages(d, backend_dir, r'back_([a-z]*)\-.*\.so\..*$', 'openldap-backend-%s', 'OpenLDAP %s backend', extra_depends='', allow_links=True) +do_split_packages(d, backend_dir, r'back_([a-z]*)\.so\..*$', 'openldap-backend-%s', 'OpenLDAP %s backend', extra_depends='', allow_links=True) metapkg = "${PN}-backends" d.setVar('ALLOW_EMPTY:' + metapkg, "1") -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109077): https://lists.openembedded.org/g/openembedded-devel/message/109077 Mute This Topic: https://lists.openembedded.org/mt/104666181/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-networking][PATCH] postfix: upgrade 3.7.3 -> 3.8.5
ChangeLog: https://www.postfix.org/announcements/postfix-3.8.0.html https://www.postfix.org/announcements/postfix-3.8.1.html https://www.postfix.org/announcements/postfix-3.8.2.html https://www.postfix.org/announcements/postfix-3.8.3.html https://www.postfix.org/announcements/postfix-3.8.4.html https://www.postfix.org/announcements/postfix-3.8.5.html * Drop 0006-makedefs-Account-for-linux-6.x-version.patch as the issue has been fixed upstream. * Merge inc file into single recipe Signed-off-by: Yi Zhao --- ...kedefs-Account-for-linux-6.x-version.patch | 35 --- .../recipes-daemons/postfix/postfix_3.7.3.bb | 18 -- .../postfix/{postfix.inc => postfix_3.8.5.bb} | 18 ++ 3 files changed, 18 insertions(+), 53 deletions(-) delete mode 100644 meta-networking/recipes-daemons/postfix/files/0006-makedefs-Account-for-linux-6.x-version.patch delete mode 100644 meta-networking/recipes-daemons/postfix/postfix_3.7.3.bb rename meta-networking/recipes-daemons/postfix/{postfix.inc => postfix_3.8.5.bb} (92%) diff --git a/meta-networking/recipes-daemons/postfix/files/0006-makedefs-Account-for-linux-6.x-version.patch b/meta-networking/recipes-daemons/postfix/files/0006-makedefs-Account-for-linux-6.x-version.patch deleted file mode 100644 index ad1704520..0 --- a/meta-networking/recipes-daemons/postfix/files/0006-makedefs-Account-for-linux-6.x-version.patch +++ /dev/null @@ -1,35 +0,0 @@ -From e5ddcf9575437bacd64c2b68501b413014186a6a Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 19 Oct 2022 10:15:01 -0700 -Subject: [PATCH] makedefs: Account for linux 6.x version - -Major version has bumped to 6 and script needs to know that - -Upstream-Status: Pending -Signed-off-by: Khem Raj - makedefs | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - a/makedefs -+++ b/makedefs -@@ -613,7 +613,7 @@ EOF - : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} - : ${PLUGIN_LD="${CC-gcc} -shared"} - ;; -- Linux.[345].*) SYSTYPE=LINUX$RELEASE_MAJOR -+ Linux.[3-6]*)SYSTYPE=LINUX$RELEASE_MAJOR - case "$CCARGS" in -*-DNO_DB*) ;; -*-DHAS_DB*) ;; a/src/util/sys_defs.h -+++ b/src/util/sys_defs.h -@@ -751,7 +751,7 @@ extern int initgroups(const char *, int) - /* - * LINUX. - */ --#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) -+#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) || defined(LINUX6) - #define SUPPORTED - #define UINT32_TYPE unsigned int - #define UINT16_TYPE unsigned short diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.7.3.bb b/meta-networking/recipes-daemons/postfix/postfix_3.7.3.bb deleted file mode 100644 index b54a97aea..0 --- a/meta-networking/recipes-daemons/postfix/postfix_3.7.3.bb +++ /dev/null @@ -1,18 +0,0 @@ -require postfix.inc - -SRC_URI += "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \ - file://main.cf \ - file://postfix \ - file://internal_recipient \ - file://postfix.service \ - file://aliasesdb \ - file://check_hostname.sh \ - file://0001-Fix-makedefs.patch \ - file://0002-Change-fixed-postconf-to-a-variable-for-cross-compil.patch \ - file://0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ - file://0004-Fix-icu-config.patch \ - file://0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ - file://0006-makedefs-Account-for-linux-6.x-version.patch \ - " -SRC_URI[sha256sum] = "d22f3d37ef75613d5d573b56fc51ef097f2c0d0b0e407923711f71c1fb72911b" -UPSTREAM_CHECK_REGEX = "postfix\-(?P3\.6(\.\d+)+).tar.gz" diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix_3.8.5.bb similarity index 92% rename from meta-networking/recipes-daemons/postfix/postfix.inc rename to meta-networking/recipes-daemons/postfix/postfix_3.8.5.bb index 5133caaa4..1c92c07a3 100644 --- a/meta-networking/recipes-daemons/postfix/postfix.inc +++ b/meta-networking/recipes-daemons/postfix/postfix_3.8.5.bb @@ -14,6 +14,24 @@ DEPENDS = "db icu libpcre libnsl2 m4-native openssl postfix-native \ LICENSE = "IPL-1.0 | EPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=b181651ad99a7dc4cc8c4ce2f491ed1a" +SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \ + file://main.cf \ + file://postfix \ + file://internal_recipient \ + file://postfix.service \ + file://aliasesdb \ + file://check_hostname.sh \ + file://0001-Fix-makedefs.patch \ + file://0002-Change-fixed-postconf-to-a-variable-for-cross-compil.patch \ + file://0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ + file://0004-Fix-icu-config.patch \ +
Re: [oe] [meta-filesystems][PATCH 1/4] fuse3: Add missing runtime deps for ptests
or is it typo cuse -> fuse? On Fri, Mar 1, 2024 at 11:43 AM Martin Jansa wrote: > > does it need virtual/kernel dependency now? > > in world build I've seen: > ERROR: QA Issue: fuse3-ptest rdepends on kernel-module-cuse, but it > isn't a build dependency? [build-deps] > > On Thu, Feb 22, 2024 at 9:58 PM Khem Raj wrote: > > > > Signed-off-by: Khem Raj > > --- > > meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb | 6 -- > > 1 file changed, 4 insertions(+), 2 deletions(-) > > > > diff --git a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > > b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > > index 5e532ba7ed..321851da5c 100644 > > --- a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > > +++ b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > > @@ -29,8 +29,10 @@ SRC_URI += " \ > > " > > > > RDEPENDS:${PN}-ptest += " \ > > -python3-pytest \ > > - bash \ > > +python3-pytest \ > > +python3-looseversion \ > > +kernel-module-cuse \ > > +bash \ > > " > > > > do_install_ptest() { > > -- > > 2.43.2 > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109075): https://lists.openembedded.org/g/openembedded-devel/message/109075 Mute This Topic: https://lists.openembedded.org/mt/104516894/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-filesystems][PATCH 1/4] fuse3: Add missing runtime deps for ptests
does it need virtual/kernel dependency now? in world build I've seen: ERROR: QA Issue: fuse3-ptest rdepends on kernel-module-cuse, but it isn't a build dependency? [build-deps] On Thu, Feb 22, 2024 at 9:58 PM Khem Raj wrote: > > Signed-off-by: Khem Raj > --- > meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > index 5e532ba7ed..321851da5c 100644 > --- a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > +++ b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb > @@ -29,8 +29,10 @@ SRC_URI += " \ > " > > RDEPENDS:${PN}-ptest += " \ > -python3-pytest \ > - bash \ > +python3-pytest \ > +python3-looseversion \ > +kernel-module-cuse \ > +bash \ > " > > do_install_ptest() { > -- > 2.43.2 > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109074): https://lists.openembedded.org/g/openembedded-devel/message/109074 Mute This Topic: https://lists.openembedded.org/mt/104516894/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-oe][PATCH] krb5: upgrade 1.20.2 -> 1.21.2
License-Update: Update copyright years to 2023 Release Notes: https://web.mit.edu/kerberos/krb5-1.21/README-1.21.2.txt Signed-off-by: Yi Zhao --- .../krb5/{krb5_1.20.2.bb => krb5_1.21.2.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta-oe/recipes-connectivity/krb5/{krb5_1.20.2.bb => krb5_1.21.2.bb} (97%) diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.20.2.bb b/meta-oe/recipes-connectivity/krb5/krb5_1.21.2.bb similarity index 97% rename from meta-oe/recipes-connectivity/krb5/krb5_1.20.2.bb rename to meta-oe/recipes-connectivity/krb5/krb5_1.21.2.bb index e1fe5e567..7af33e4e7 100644 --- a/meta-oe/recipes-connectivity/krb5/krb5_1.20.2.bb +++ b/meta-oe/recipes-connectivity/krb5/krb5_1.21.2.bb @@ -14,7 +14,7 @@ DESCRIPTION = "Kerberos is a system for authenticating users and services on a n HOMEPAGE = "http://web.mit.edu/Kerberos/; SECTION = "console/network" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${S}/../NOTICE;md5=3c7414a99de5452b8f809ae2753b0855" +LIC_FILES_CHKSUM = "file://${S}/../NOTICE;md5=32cb3a99207053d9f5c1ef177c4d6e34" inherit autotools-brokensep binconfig perlnative systemd update-rc.d pkgconfig @@ -29,8 +29,8 @@ SRC_URI = "http://web.mit.edu/kerberos/dist/${BPN}/${SHRT_VER}/${BP}.tar.gz \ file://krb5-kdc.service \ file://krb5-admin-server.service \ " -SRC_URI[md5sum] = "7ac456e97c4959ebe5c836dc2f5aab2c" -SRC_URI[sha256sum] = "7d8d687d42aed350c2525cb69a4fc3aa791694da6761dccc1c42c2ee7796b5dd" + +SRC_URI[sha256sum] = "9560941a9d843c0243a71b17a7ac6fe31c7cebb5bce3983db79e52ae7e850491" CVE_PRODUCT = "kerberos" CVE_VERSION = "5-${PV}" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109073): https://lists.openembedded.org/g/openembedded-devel/message/109073 Mute This Topic: https://lists.openembedded.org/mt/104660997/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-