opkg: upgrade 0.7.0 -> 0.8.0
PATCH v4 1/2 opkg: upgrade 0.7.0 -> 0.8.0
From: Etienne Cordonnier <[email protected]>
See release notes at
- http://downloads.yoctoproject.org/releases/opkg/opkg-0.8.0.release-notes
[0.8.0] - 2025-01-10
The minor version bump in this release is due to the changes to cURL error output line format.
- [Changed](https://git.yoctoproject.org/opkg/commit/?id=ab03377868256427279b36c4b2a298edae4260b8) the error output for the curl download backend, to now report the HTTP error code for failed requests.
- e.g. error: log_curl_download_error: Failed to download headers of https://foo.bar/all/Packages.gz: The requested URL returned error: 401
- Enabling debug-verbosity, while using the cURL backend, [will now](https://git.yoctoproject.org/opkg/commit/?id=ce6fede3db931bb0da70d1334cdc4101d0aec702) print cURL's verbose error log to stderr when there is a download failure.
- The verbose output may contain confidential information about your cURL transactions. So this is your reminder that debug-verbosity should not be enabled in production systems or sensitive security environments.
- The commandline configuration file option (-f) [can now](https://git.yoctoproject.org/opkg/commit/?id=36d08b93d2859992b624a4ba2f412cfa5c766050) be specified multiple times, and each configuration file will be loaded and their settings merged.
- [Fixed](https://git.yoctoproject.org/opkg/commit/?id=c87188d7535684fddb8cf80993c147b215602b63) a bug in control field parsing where custom fields whose keys are similar to other fields could be confused by the parser.
---
meta/recipes-devtools/opkg/{opkg_0.7.0.bb => opkg_0.8.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/opkg/{opkg_0.7.0.bb => opkg_0.8.0.bb} (97%)meta/recipes-devtools/opkg/opkg_0.8.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.7.0.bb +1 -1
@@ -18,7 +18,7 @@ SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz file://run-ptest \ " -SRC_URI[sha256sum] = "d973fd0f1568f58f87d6aecd9aa95e3e1f60214a45cee26704bf8fe757c54567" +SRC_URI[sha256sum] = "582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c" # This needs to be before ptest inherit, otherwise all ptest files end packaged # in libopkg package if OPKGLIBDIR == libdir, because default
Signature · 1 line
2.43.0
PATCH v4 2/2 opkg: upgrade 0.8.0 -> 0.9.0
From: Etienne Cordonnier <[email protected]>
See release notes at
- http://downloads.yoctoproject.org/releases/opkg/opkg-0.9.0.release-notes
[0.9.0] - 2025-06-27
Semiannual opkg release.
Bumping the minor version as a result of the project build tooling changing from autotools to cmake.
- Added a Dockerfile container definition (:docker/) for a valid developer build environment for opkg.
- It's recommended that project contributors use this container to build and test their changes.
- The AutoTools-based build framework has [been replaced](https://git.yoctoproject.org/opkg/commit/?id=3f6040e321634471ec442fb0e80f140f1437e90b) with a more modern, CMake framework.
- Refer to the docs/CONTRIBUTING.md documentation for updated build instructions.
---
.../opkg/opkg/0002-config.h.in-fix-typo.patch | 27 +++++++++++++++++++
meta/recipes-devtools/opkg/opkg/run-ptest | 2 +-
.../opkg/{opkg_0.8.0.bb => opkg_0.9.0.bb} | 22 ++++++++-------
3 files changed, 41 insertions(+), 10 deletions(-)
create mode 100644 meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch
rename meta/recipes-devtools/opkg/{opkg_0.8.0.bb => opkg_0.9.0.bb} (76%)meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +27 -0
@@ -0,0 +1,27 @@ +From 5a81faadbc2397d554bc598d535fd2d44cbc8d10 Mon Sep 17 00:00:00 2001 +From: Etienne Cordonnier <[email protected]> +Date: Mon, 20 Oct 2025 18:57:56 +0200 +Subject: [PATCH] config.h.in: fix typo + +Upstream-Status: Backport [https://git.yoctoproject.org/opkg/commit/?id=d723a90bfe6409c7ad983ed911225d4aefbfd09e] +Signed-off-by: Etienne Cordonnier <[email protected]> +--- + config.h.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.h.in b/config.h.in +index 4fa9842..877b8c7 100644 +--- a/config.h.in ++++ b/config.h.in +@@ -2,7 +2,7 @@ + #cmakedefine01 WITH_XZ + #cmakedefine01 WITH_BZIP2 + #cmakedefine01 WITH_LZ4 +-#cmakedefine01 WITH_LZSTD ++#cmakedefine01 WITH_ZSTD + #cmakedefine01 WITH_CURL + #cmakedefine01 WITH_SSLCURL + #cmakedefine01 WITH_ACL +-- +2.43.0 +
meta/recipes-devtools/opkg/opkg/run-ptest +1 -1
@@ -2,4 +2,4 @@ OPKG_PATH=$(which opkg) -make OPKG_PATH=$OPKG_PATH run-tests +make -C tests DATADIR=/share SYSCONFDIR=/etc VARDIR=/var OPKG_PATH=$OPKG_PATH
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +13 -9
@@ -15,34 +15,35 @@ PE = "1" SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz \ file://opkg.conf \ file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \ + file://0002-config.h.in-fix-typo.patch \ file://run-ptest \ " -SRC_URI[sha256sum] = "582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c" +SRC_URI[sha256sum] = "440ef321862e01f83da4d02884a0cbb4d9d7b32f82faa81a6a85493f0c89d0f5" # This needs to be before ptest inherit, otherwise all ptest files end packaged # in libopkg package if OPKGLIBDIR == libdir, because default # PTEST_PATH ?= "${libdir}/${BPN}/ptest" PACKAGES =+ "libopkg" -inherit autotools pkgconfig ptest +inherit cmake pkgconfig ptest target_localstatedir := "${localstatedir}" OPKGLIBDIR ??= "${target_localstatedir}/lib" PACKAGECONFIG ??= "libsolv" -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ +PACKAGECONFIG[gpg] = "-DWITH_GPGME=ON,-DWITH_GPGME=OFF,\ gnupg gpgme libgpg-error,\ ${@ "gnupg" if ("native" in d.getVar("PN")) else "gnupg-gpg"}\ " -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" -PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curl openssl" -PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" -PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv" +PACKAGECONFIG[curl] = "-DWITH_CURL=ON,-DWITH_CURL=OFF,curl" +PACKAGECONFIG[ssl-curl] = "-DWITH_SSLCURL=ON,-DWITH_SSLCURL=OFF,curl openssl" +PACKAGECONFIG[sha256] = "-DWITH_SHA256=ON,-DWITH_SHA256=OFF" +PACKAGECONFIG[libsolv] = "-DUSE_SOLVER_LIBSOLV=ON,-DUSE_SOLVER_LIBSOLV=OFF,libsolv" -EXTRA_OECONF = "--enable-zstd" -EXTRA_OECONF:append:class-native = " --localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}" +EXTRA_OECMAKE = "-DWITH_ZSTD=ON" +EXTRA_OECMAKE:append:class-native = " -DVARDIR=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} -DSYSCONFDIR=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}" do_install:append () { install -d ${D}${sysconfdir}/opkg
@@ -56,6 +57,9 @@ do_install:append () { } do_install_ptest () { + # the ptest class uses a Makefile for installation, but cmake uses Ninja per default so we need to install ptests manually: + cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0" ];then echo "FAIL:"$^;else echo "PASS:"$^;fi' ${D}${PTEST_PATH}/tests/Makefile }
Signature · 1 line
2.43.0
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
I just tried this, but it seems that the ACL switch was toggled during the CMake transition. With Autotools ACL was disabled by default, but with CMake it seems to be enabled - and it complains that it can't find libacl on my machine.
Quoted 138 lines · Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier <[email protected]>
See release notes at
- http://downloads.yoctoproject.org/releases/opkg/opkg-0.9.0.release-notes[0.9.0] - 2025-06-27
Semiannual opkg release.
Bumping the minor version as a result of the project build tooling changing from autotools to cmake.- Added a Dockerfile container definition (
:docker/) for a valid developer build environment for opkg.
- It's recommended that project contributors use this container to build and test their changes.
- The AutoTools-based build framework has [been replaced](https://git.yoctoproject.org/opkg/commit/?id=3f6040e321634471ec442fb0e80f140f1437e90b) with a more modern, CMake framework.
- Refer to thedocs/CONTRIBUTING.mddocumentation for updated build instructions.Signed-off-by Etienne Cordonnier <[email protected]>--- .../opkg/opkg/0002-config.h.in-fix-typo.patch | 27 +++++++++++++++++++ meta/recipes-devtools/opkg/opkg/run-ptest | 2 +- .../opkg/{opkg_0.8.0.bb => opkg_0.9.0.bb} | 22 ++++++++------- 3 files changed, 41 insertions(+), 10 deletions(-) create mode 100644 meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch rename meta/recipes-devtools/opkg/{opkg_0.8.0.bb => opkg_0.9.0.bb} (76%)meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +27
-0@@ -0,0 +1,27 @@ +From 5a81faadbc2397d554bc598d535fd2d44cbc8d10 Mon Sep 17 00:00:00 2001 +From: Etienne Cordonnier <[email protected]> +Date: Mon, 20 Oct 2025 18:57:56 +0200 +Subject: [PATCH] config.h.in: fix typo + +Upstream-Status: Backport [https://git.yoctoproject.org/opkg/commit/?id=d723a90bfe6409c7ad983ed911225d4aefbfd09e] +Signed-off-by: Etienne Cordonnier <[email protected]> +--- + config.h.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.h.in b/config.h.in +index 4fa9842..877b8c7 100644 +--- a/config.h.in ++++ b/config.h.in +@@ -2,7 +2,7 @@ + #cmakedefine01 WITH_XZ + #cmakedefine01 WITH_BZIP2 + #cmakedefine01 WITH_LZ4 +-#cmakedefine01 WITH_LZSTD ++#cmakedefine01 WITH_ZSTD + #cmakedefine01 WITH_CURL + #cmakedefine01 WITH_SSLCURL + #cmakedefine01 WITH_ACL +-- +2.43.0 +meta/recipes-devtools/opkg/opkg/run-ptest +1
-1@@ -2,4 +2,4 @@ OPKG_PATH=$(which opkg) -make OPKG_PATH=$OPKG_PATH run-tests +make -C tests DATADIR=/share SYSCONFDIR=/etc VARDIR=/var OPKG_PATH=$OPKG_PATHmeta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +13
-10@@ -15,34 +15,35 @@ PE = "1" SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz \ file://opkg.conf \ file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \ + file://0002-config.h.in-fix-typo.patch \ file://run-ptest \ " -SRC_URI[sha256sum] = "582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c" +SRC_URI[sha256sum] = "440ef321862e01f83da4d02884a0cbb4d9d7b32f82faa81a6a85493f0c89d0f5" # This needs to be before ptest inherit, otherwise all ptest files end packaged # in libopkg package if OPKGLIBDIR == libdir, because default # PTEST_PATH ?= "${libdir}/${BPN}/ptest" PACKAGES =+ "libopkg" -inherit autotools pkgconfig ptest +inherit cmake pkgconfig ptest target_localstatedir := "${localstatedir}" OPKGLIBDIR ??= "${target_localstatedir}/lib" PACKAGECONFIG ??= "libsolv" -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ +PACKAGECONFIG[gpg] = "-DWITH_GPGME=ON,-DWITH_GPGME=OFF,\ gnupg gpgme libgpg-error,\ ${@ "gnupg" if ("native" in d.getVar("PN")) else "gnupg-gpg"}\ " -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" -PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curl openssl" -PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" -PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv" +PACKAGECONFIG[curl] = "-DWITH_CURL=ON,-DWITH_CURL=OFF,curl" +PACKAGECONFIG[ssl-curl] = "-DWITH_SSLCURL=ON,-DWITH_SSLCURL=OFF,curl openssl" +PACKAGECONFIG[sha256] = "-DWITH_SHA256=ON,-DWITH_SHA256=OFF" +PACKAGECONFIG[libsolv] = "-DUSE_SOLVER_LIBSOLV=ON,-DUSE_SOLVER_LIBSOLV=OFF,libsolv" -EXTRA_OECONF = "--enable-zstd" -EXTRA_OECONF:append:class-native = " --localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}" +EXTRA_OECMAKE = "-DWITH_ZSTD=ON" +EXTRA_OECMAKE:append:class-native = " -DVARDIR=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} -DSYSCONFDIR=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}" do_install:append () { install -d ${D}${sysconfdir}/opkg@@ -56,6 +57,9 @@ do_install:append () { } do_install_ptest () { + # the ptest class uses a Makefile for installation, but cmake uses Ninja per default so we need to install ptests manually: + cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0" ];then echo "FAIL:"$^;else echo "PASS:"$^;fi' ${D}${PTEST_PATH}/tests/Makefile } -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#225260): https://lists.openembedded.org/g/openembedded-core/message/225260
Mute This Topic: https://lists.openembedded.org/mt/115910660/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
Hi Gyorgy,
I have sent a patch to opkg upstream which disables the ACL option by default again (it is https://lists.yoctoproject.org/g/opkg/message/175 , however the web-view doesn't seem to work at the moment. I only see "Forbidden").
Étienne
Quoted 183 lines · Gyorgy Sarvari
I just tried this, but it seems that the ACL switch was toggled during the CMake transition. With Autotools ACL was disabled by default, but with CMake it seems to be enabled - and it complains that it can't find libacl on my machine.
Quoted 4 lines · Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier <[email protected]>
See release notes at
-Quoted 5 lines
[0.9.0] - 2025-06-27
Semiannual opkg release.
Bumping the minor version as a result of the project build toolingchanging from autotools to cmake.
Quoted 2 lines
- Added a Dockerfile container definition (
:docker/) for a validdeveloper build environment for opkg.
Quoted 1 line
- It's recommended that project contributors use this container to
build and test their changes.
Quoted 1 line
- The AutoTools-based build framework has [been replaced](
Quoted 1 line
- Refer to the
docs/CONTRIBUTING.mddocumentation for updated buildinstructions.
Quoted 8 lines
Signed-off-by Etienne Cordonnier <[email protected]>--- .../opkg/opkg/0002-config.h.in-fix-typo.patch | 27 +++++++++++++++++++ meta/recipes-devtools/opkg/opkg/run-ptest | 2 +- .../opkg/{opkg_0.8.0.bb => opkg_0.9.0.bb} | 22 ++++++++------- 3 files changed, 41 insertions(+), 10 deletions(-) create mode 100644
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 1 line
rename meta/recipes-devtools/opkg/{opkg_0.8.0.bb => opkg_0.9.0.bb}(76%)
Quoted 2 lines
diff --git
a/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchb/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchmeta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch line 6
Quoted 11 lines
new file mode 100644
index 00000000000..626bbd01b68meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +6
-0@@ -0,0 +1,27 @@ +From 5a81faadbc2397d554bc598d535fd2d44cbc8d10 Mon Sep 17 00:00:00 2001 +From: Etienne Cordonnier <[email protected]> +Date: Mon, 20 Oct 2025 18:57:56 +0200 +Subject: [PATCH] config.h.in: fix typo + +Upstream-Status: Backport [Review
Quoted 22 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +21
-0+Signed-off-by: Etienne Cordonnier <[email protected]> +--- + config.h.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.h.in b/config.h.in +index 4fa9842..877b8c7 100644 +--- a/config.h.in ++++ b/config.h.in +@@ -2,7 +2,7 @@ + #cmakedefine01 WITH_XZ + #cmakedefine01 WITH_BZIP2 + #cmakedefine01 WITH_LZ4 +-#cmakedefine01 WITH_LZSTD ++#cmakedefine01 WITH_ZSTD + #cmakedefine01 WITH_CURL + #cmakedefine01 WITH_SSLCURL + #cmakedefine01 WITH_ACL +-- +2.43.0 +(quoted diff) +0
-0b/meta/recipes-devtools/opkg/opkg/run-ptest
meta/recipes-devtools/opkg/opkg/run-ptest line 5
Quoted 9 lines
index
5fb7077eec9..d485a4aace5100644meta/recipes-devtools/opkg/opkg/run-ptest +1
-1@@ -2,4 +2,4 @@ OPKG_PATH=$(which opkg) -make OPKG_PATH=$OPKG_PATH run-tests +make -C tests DATADIR=/share SYSCONFDIR=/etc VARDIR=/varOPKG_PATH=$OPKG_PATH
Review
Quoted 1 line
(quoted diff) +0
-0b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 15
Quoted 8 lines
similarity index 76%
rename from meta/recipes-devtools/opkg/opkg_0.8.0.bb rename to meta/recipes-devtools/opkg/opkg_0.9.0.bb index12e2edf7e3f..ed2f36d636b100644meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-0@@ -15,34 +15,35 @@ PE = "1" SRC_URI = "meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 21
Quoted 2 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-0file://opkg.conf \file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1"
Quoted 5 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-1+ file://0002-config.h.in-fix-typo.patch \ file://run-ptest \ " -SRC_URI[sha256sum] ="
582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c"meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 22
Quoted 1 line
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-0+SRC_URI[sha256sum] ="
440ef321862e01f83da4d02884a0cbb4d9d7b32f82faa81a6a85493f0c89d0f5"meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 23
Quoted 2 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-0# This needs to be before ptest inherit, otherwise all ptest files endpackaged
Quoted 9 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-1# in libopkg package if OPKGLIBDIR == libdir, because default # PTEST_PATH ?= "${libdir}/${BPN}/ptest" PACKAGES =+ "libopkg" -inherit autotools pkgconfig ptest +inherit cmake pkgconfig ptest target_localstatedir := "${localstatedir}" OPKGLIBDIR ??= "${target_localstatedir}/lib"meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1"
Quoted 10 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-3PACKAGECONFIG ??= "libsolv" -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ +PACKAGECONFIG[gpg] = "-DWITH_GPGME=ON,-DWITH_GPGME=OFF,\ gnupg gpgme libgpg-error,\ ${@ "gnupg" if ("native" in d.getVar("PN")) else "gnupg-gpg"}\ " -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" -PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curlopenssl"
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1"
Quoted 4 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-2-PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" -PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv" +PACKAGECONFIG[curl] = "-DWITH_CURL=ON,-DWITH_CURL=OFF,curl" +PACKAGECONFIG[ssl-curl] = "-DWITH_SSLCURL=ON,-DWITH_SSLCURL=OFF,curlopenssl"
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 42
Quoted 2 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-0+PACKAGECONFIG[sha256] = "-DWITH_SHA256=ON,-DWITH_SHA256=OFF" +PACKAGECONFIG[libsolv] ="-DUSE_SOLVER_LIBSOLV=ON,-DUSE_SOLVER_LIBSOLV=OFF,libsolv"
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 43
Quoted 3 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-2-EXTRA_OECONF = "--enable-zstd" -EXTRA_OECONF:append:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
Quoted 2 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-0+EXTRA_OECMAKE = "-DWITH_ZSTD=ON" +EXTRA_OECMAKE:append:class-native = "(quoted diff) +0
-2-DVARDIR=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} -DSYSCONFDIR=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"meta/recipes-devtools/opkg/opkg_0.9.0.bb do_install:append () { · line 60
Quoted 8 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-0do_install:append () { install -d ${D}${sysconfdir}/opkg@@ -56,6 +57,9 @@ do_install:append () { } do_install_ptest () { + # the ptest class uses a Makefile for installation, but cmake usesNinja per default so we need to install ptests manually:
meta/recipes-devtools/opkg/opkg_0.9.0.bb do_install:append () {
Quoted 4 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-0+ cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0"];then echo "FAIL:"$^;else echo "PASS:"$^;fi'
${D}${PTEST_PATH}/tests/MakefileQuoted 5 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-1} -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group. View/Reply Online (#225260):
Quoted 1 line
Mute This Topic:
Quoted 2 lines
Group Owner: [email protected] Unsubscribe:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwICaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=1A1uWL9SVAUWAORYc1-msE0HUGrhCWWRXTj24AF_PScvk4Y_QGHVaD7rHvEf9Kx5&s=dy6IkA6aFE6XLseagQQjkdowKMTYth268q7lk6cSSH4&e=
[[email protected]]Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
I am starting to see the following crash in opkg when building image. Anyone seeing something like this?
(No debugging symbols found in /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg) [New LWP 34493]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/opkg.conf
-t/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/temp/ipktemp/
-o/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/rootfs
--force-postinstall --prefer-arch-to-version --force-depends remove
glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f50a8190d20 in stringpool_strn2id () from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1 (gdb) bt
#0 0x00007f50a8190d20 in stringpool_strn2id () from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1 #1 0x00007f50a818a3dc in pool_str2id () from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1 #2 0x00007f50a84fe4ad in ?? () from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1 #3 0x00007f50a84ff4df in opkg_solver_remove () from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1 #4 0x00007f50a84e9bfb in ?? () from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1 #5 0x00007f50a84eadb2 in opkg_cmd_exec () from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1 #6 0x00005557220b6a9d in ?? ()
#7 0x00007f50a8311f68 in __libc_start_call_main () from /mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#8 0x00007f50a831201b in __libc_start_main () from /mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#9 0x00005557220b6bf1 in ?? ()
Quoted 197 lines · Etienne Cordonnier via lists.openembedded.org
Hi Gyorgy,
I have sent a patch to opkg upstream which disables the ACL option by default again (it is https://lists.yoctoproject.org/g/opkg/message/175 , however the web-view doesn't seem to work at the moment. I only see "Forbidden").Étienne
Quoted 161 lines · Gyorgy Sarvari
I just tried this, but it seems that the ACL switch was toggled during the CMake transition. With Autotools ACL was disabled by default, but with CMake it seems to be enabled - and it complains that it can't find libacl on my machine.
Quoted 4 lines · Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier <[email protected]>
See release notes at
-Quoted 5 lines
[0.9.0] - 2025-06-27
Semiannual opkg release.
Bumping the minor version as a result of the project build toolingchanging from autotools to cmake.
Quoted 2 lines
- Added a Dockerfile container definition (
:docker/) for a validdeveloper build environment for opkg.
Quoted 1 line
- It's recommended that project contributors use this container to
build and test their changes.
Quoted 1 line
- The AutoTools-based build framework has [been replaced](
Quoted 1 line
- Refer to the
docs/CONTRIBUTING.mddocumentation for updated buildinstructions.
Quoted 8 lines
Signed-off-by Etienne Cordonnier <[email protected]>--- .../opkg/opkg/0002-config.h.in-fix-typo.patch | 27 +++++++++++++++++++ meta/recipes-devtools/opkg/opkg/run-ptest | 2 +- .../opkg/{opkg_0.8.0.bb => opkg_0.9.0.bb} | 22 ++++++++------- 3 files changed, 41 insertions(+), 10 deletions(-) create mode 100644
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 1 line
rename meta/recipes-devtools/opkg/{opkg_0.8.0.bb => opkg_0.9.0.bb}(76%)
Quoted 2 lines
diff --git
a/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchb/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchmeta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch line 6
Quoted 11 lines
new file mode 100644
index 00000000000..626bbd01b68meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +6
-0@@ -0,0 +1,27 @@ +From 5a81faadbc2397d554bc598d535fd2d44cbc8d10 Mon Sep 17 00:00:00 2001 +From: Etienne Cordonnier <[email protected]> +Date: Mon, 20 Oct 2025 18:57:56 +0200 +Subject: [PATCH] config.h.in: fix typo + +Upstream-Status: Backport [Review
Quoted 22 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +21
-0+Signed-off-by: Etienne Cordonnier <[email protected]> +--- + config.h.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.h.in b/config.h.in +index 4fa9842..877b8c7 100644 +--- a/config.h.in ++++ b/config.h.in +@@ -2,7 +2,7 @@ + #cmakedefine01 WITH_XZ + #cmakedefine01 WITH_BZIP2 + #cmakedefine01 WITH_LZ4 +-#cmakedefine01 WITH_LZSTD ++#cmakedefine01 WITH_ZSTD + #cmakedefine01 WITH_CURL + #cmakedefine01 WITH_SSLCURL + #cmakedefine01 WITH_ACL +-- +2.43.0 +(quoted diff) +0
-0b/meta/recipes-devtools/opkg/opkg/run-ptest
meta/recipes-devtools/opkg/opkg/run-ptest line 5
Quoted 9 lines
index
5fb7077eec9..d485a4aace5100644meta/recipes-devtools/opkg/opkg/run-ptest +1
-1@@ -2,4 +2,4 @@ OPKG_PATH=$(which opkg) -make OPKG_PATH=$OPKG_PATH run-tests +make -C tests DATADIR=/share SYSCONFDIR=/etc VARDIR=/varOPKG_PATH=$OPKG_PATH
Review
Quoted 1 line
(quoted diff) +0
-0b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 15
Quoted 8 lines
similarity index 76%
rename from meta/recipes-devtools/opkg/opkg_0.8.0.bb rename to meta/recipes-devtools/opkg/opkg_0.9.0.bb index12e2edf7e3f..ed2f36d636b100644meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-0@@ -15,34 +15,35 @@ PE = "1" SRC_URI = "meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 21
Quoted 2 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-0file://opkg.conf \file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1"
Quoted 5 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-1+ file://0002-config.h.in-fix-typo.patch \ file://run-ptest \ " -SRC_URI[sha256sum] ="
582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c"meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 22
Quoted 1 line
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-0+SRC_URI[sha256sum] ="
440ef321862e01f83da4d02884a0cbb4d9d7b32f82faa81a6a85493f0c89d0f5"meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 23
Quoted 2 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-0# This needs to be before ptest inherit, otherwise all ptest files endpackaged
Quoted 9 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-1# in libopkg package if OPKGLIBDIR == libdir, because default # PTEST_PATH ?= "${libdir}/${BPN}/ptest" PACKAGES =+ "libopkg" -inherit autotools pkgconfig ptest +inherit cmake pkgconfig ptest target_localstatedir := "${localstatedir}" OPKGLIBDIR ??= "${target_localstatedir}/lib"meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1"
Quoted 10 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-3PACKAGECONFIG ??= "libsolv" -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ +PACKAGECONFIG[gpg] = "-DWITH_GPGME=ON,-DWITH_GPGME=OFF,\ gnupg gpgme libgpg-error,\ ${@ "gnupg" if ("native" in d.getVar("PN")) else "gnupg-gpg"}\ " -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" -PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curlopenssl"
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1"
Quoted 4 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-2-PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" -PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv" +PACKAGECONFIG[curl] = "-DWITH_CURL=ON,-DWITH_CURL=OFF,curl" +PACKAGECONFIG[ssl-curl] = "-DWITH_SSLCURL=ON,-DWITH_SSLCURL=OFF,curlopenssl"
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 42
Quoted 2 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-0+PACKAGECONFIG[sha256] = "-DWITH_SHA256=ON,-DWITH_SHA256=OFF" +PACKAGECONFIG[libsolv] ="-DUSE_SOLVER_LIBSOLV=ON,-DUSE_SOLVER_LIBSOLV=OFF,libsolv"
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 43
Quoted 3 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-2-EXTRA_OECONF = "--enable-zstd" -EXTRA_OECONF:append:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
Quoted 2 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-0+EXTRA_OECMAKE = "-DWITH_ZSTD=ON" +EXTRA_OECMAKE:append:class-native = "(quoted diff) +0
-2-DVARDIR=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} -DSYSCONFDIR=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"meta/recipes-devtools/opkg/opkg_0.9.0.bb do_install:append () { · line 60
Quoted 8 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-0do_install:append () { install -d ${D}${sysconfdir}/opkg@@ -56,6 +57,9 @@ do_install:append () { } do_install_ptest () { + # the ptest class uses a Makefile for installation, but cmakeuses Ninja per default so we need to install ptests manually:
Quoted 12 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb do_install:append () {
Quoted 4 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-0+ cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0"];then echo "FAIL:"$^;else echo "PASS:"$^;fi'
${D}${PTEST_PATH}/tests/MakefileQuoted 4 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-0}-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#226864):
https://lists.openembedded.org/g/openembedded-core/message/226864
Mute This Topic: https://lists.openembedded.org/mt/115910660/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
It can be reproduced with direct invocation
kraj@apollo /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0 ❯ recipe-sysroot-native/usr/bin/opkg \
--volatile-cache \
-f opkg.conf \
-t temp/ipktemp/ \
-o rootfs \
--force-postinstall \
--prefer-arch-to-version \
--force-depends \
remove glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us
[1] 346156 segmentation fault (core dumped)
recipe-sysroot-native/usr/bin/opkg --volatile-cache -f opkg.conf -t -o
roots
I have a workaround by setting
IMAGE_LINGUAS = "en-us"
in local.conf which avoids the need for opkg remove operation which is crashing.
Quoted 243 lines · Khem Raj
I am starting to see the following crash in opkg when building image. Anyone seeing something like this?
(No debugging symbols found in
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg) [New LWP 34493]
[Thread debugging usinglibthread_dbenabled]
Using hostlibthread_dblibrary "/usr/lib/libthread_db.so.1".
Core was generated by `/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/opkg.conf
-t/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/temp/ipktemp/
-o/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/rootfs
--force-postinstall --prefer-arch-to-version --force-depends remove
glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us'.
Program terminated with signal SIGSEGV, Segmentation fault.
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1(gdb) bt
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#10x00007f50a818a3dcinpool_str2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#20x00007f50a84fe4adin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#30x00007f50a84ff4dfinopkg_solver_remove() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#40x00007f50a84e9bfbin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#50x00007f50a84eadb2inopkg_cmd_exec() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#60x00005557220b6a9din ?? ()
#70x00007f50a8311f68in__libc_start_call_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#80x00007f50a831201bin__libc_start_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#90x00005557220b6bf1in ?? ()Quoted 197 lines · Etienne Cordonnier via lists.openembedded.org
Hi Gyorgy,
I have sent a patch to opkg upstream which disables the ACL option by default again (it is https://lists.yoctoproject.org/g/opkg/message/175 , however the web-view doesn't seem to work at the moment. I only see "Forbidden").Étienne
Quoted 161 lines · Gyorgy Sarvari
I just tried this, but it seems that the ACL switch was toggled during the CMake transition. With Autotools ACL was disabled by default, but with CMake it seems to be enabled - and it complains that it can't find libacl on my machine.
Quoted 4 lines · Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier <[email protected]>
See release notes at
-Quoted 5 lines
[0.9.0] - 2025-06-27
Semiannual opkg release.
Bumping the minor version as a result of the project build toolingchanging from autotools to cmake.
Quoted 2 lines
- Added a Dockerfile container definition (
:docker/) for a validdeveloper build environment for opkg.
Quoted 1 line
- It's recommended that project contributors use this container to
build and test their changes.
Quoted 1 line
- The AutoTools-based build framework has [been replaced](
Quoted 1 line
- Refer to the
docs/CONTRIBUTING.mddocumentation for updatedbuild instructions.
Quoted 8 lines
Signed-off-by Etienne Cordonnier <[email protected]>--- .../opkg/opkg/0002-config.h.in-fix-typo.patch | 27 +++++++++++++++++++ meta/recipes-devtools/opkg/opkg/run-ptest | 2 +- .../opkg/{opkg_0.8.0.bb => opkg_0.9.0.bb} | 22 ++++++++------- 3 files changed, 41 insertions(+), 10 deletions(-) create mode 100644
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 1 line
rename meta/recipes-devtools/opkg/{opkg_0.8.0.bb => opkg_0.9.0.bb}(76%)
Quoted 2 lines
diff --git
a/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchb/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchmeta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch line 6
Quoted 11 lines
new file mode 100644
index 00000000000..626bbd01b68meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +6
-0@@ -0,0 +1,27 @@ +From 5a81faadbc2397d554bc598d535fd2d44cbc8d10 Mon Sep 17 00:00:00 2001 +From: Etienne Cordonnier <[email protected]> +Date: Mon, 20 Oct 2025 18:57:56 +0200 +Subject: [PATCH] config.h.in: fix typo + +Upstream-Status: Backport [Review
Quoted 22 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +21
-0+Signed-off-by: Etienne Cordonnier <[email protected]> +--- + config.h.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.h.in b/config.h.in +index 4fa9842..877b8c7 100644 +--- a/config.h.in ++++ b/config.h.in +@@ -2,7 +2,7 @@ + #cmakedefine01 WITH_XZ + #cmakedefine01 WITH_BZIP2 + #cmakedefine01 WITH_LZ4 +-#cmakedefine01 WITH_LZSTD ++#cmakedefine01 WITH_ZSTD + #cmakedefine01 WITH_CURL + #cmakedefine01 WITH_SSLCURL + #cmakedefine01 WITH_ACL +-- +2.43.0 +(quoted diff) +0
-0b/meta/recipes-devtools/opkg/opkg/run-ptest
meta/recipes-devtools/opkg/opkg/run-ptest line 5
Quoted 9 lines
index
5fb7077eec9..d485a4aace5100644meta/recipes-devtools/opkg/opkg/run-ptest +1
-1@@ -2,4 +2,4 @@ OPKG_PATH=$(which opkg) -make OPKG_PATH=$OPKG_PATH run-tests +make -C tests DATADIR=/share SYSCONFDIR=/etc VARDIR=/varOPKG_PATH=$OPKG_PATH
Review
Quoted 1 line
(quoted diff) +0
-0b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 15
Quoted 8 lines
similarity index 76%
rename from meta/recipes-devtools/opkg/opkg_0.8.0.bb rename to meta/recipes-devtools/opkg/opkg_0.9.0.bb index12e2edf7e3f..ed2f36d636b100644meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-0@@ -15,34 +15,35 @@ PE = "1" SRC_URI = "meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 21
Quoted 2 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-0file://opkg.conf \file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1"
Quoted 5 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-1+ file://0002-config.h.in-fix-typo.patch \ file://run-ptest \ " -SRC_URI[sha256sum] ="
582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c"meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 22
Quoted 1 line
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-0+SRC_URI[sha256sum] ="
440ef321862e01f83da4d02884a0cbb4d9d7b32f82faa81a6a85493f0c89d0f5"meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 23
Quoted 2 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-0# This needs to be before ptest inherit, otherwise all ptest filesend packaged
Quoted 9 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-1# in libopkg package if OPKGLIBDIR == libdir, because default # PTEST_PATH ?= "${libdir}/${BPN}/ptest" PACKAGES =+ "libopkg" -inherit autotools pkgconfig ptest +inherit cmake pkgconfig ptest target_localstatedir := "${localstatedir}" OPKGLIBDIR ??= "${target_localstatedir}/lib"meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1"
Quoted 10 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-3PACKAGECONFIG ??= "libsolv" -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ +PACKAGECONFIG[gpg] = "-DWITH_GPGME=ON,-DWITH_GPGME=OFF,\ gnupg gpgme libgpg-error,\ ${@ "gnupg" if ("native" in d.getVar("PN")) else "gnupg-gpg"}\ " -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" -PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curlopenssl"
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1"
Quoted 4 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-2-PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" -PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv" +PACKAGECONFIG[curl] = "-DWITH_CURL=ON,-DWITH_CURL=OFF,curl" +PACKAGECONFIG[ssl-curl] = "-DWITH_SSLCURL=ON,-DWITH_SSLCURL=OFF,curlopenssl"
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 42
Quoted 2 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-0+PACKAGECONFIG[sha256] = "-DWITH_SHA256=ON,-DWITH_SHA256=OFF" +PACKAGECONFIG[libsolv] ="-DUSE_SOLVER_LIBSOLV=ON,-DUSE_SOLVER_LIBSOLV=OFF,libsolv"
meta/recipes-devtools/opkg/opkg_0.9.0.bb PE = "1" · line 43
Quoted 3 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-2-EXTRA_OECONF = "--enable-zstd" -EXTRA_OECONF:append:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
Quoted 2 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-0+EXTRA_OECMAKE = "-DWITH_ZSTD=ON" +EXTRA_OECMAKE:append:class-native = "(quoted diff) +0
-2-DVARDIR=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} -DSYSCONFDIR=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"meta/recipes-devtools/opkg/opkg_0.9.0.bb do_install:append () { · line 60
Quoted 8 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-0do_install:append () { install -d ${D}${sysconfdir}/opkg@@ -56,6 +57,9 @@ do_install:append () { } do_install_ptest () { + # the ptest class uses a Makefile for installation, but cmakeuses Ninja per default so we need to install ptests manually:
Quoted 12 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb do_install:append () {
Quoted 4 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-0+ cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0"];then echo "FAIL:"$^;else echo "PASS:"$^;fi'
${D}${PTEST_PATH}/tests/MakefileQuoted 4 lines
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-0}-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#226864):
https://lists.openembedded.org/g/openembedded-core/message/226864
Mute This Topic: https://lists.openembedded.org/mt/115910660/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
Hi Khem,
I haven't had the time to debug yet, but I've seen your message.
Étienne
Quoted 302 lines · Khem Raj
It can be reproduced with direct invocation
kraj@apollo
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0❯ recipe-sysroot-native/usr/bin/opkg \
--volatile-cache \
-f opkg.conf \
-t temp/ipktemp/ \
-o rootfs \
--force-postinstall \
--prefer-arch-to-version \
--force-depends \
remove glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us[1] 346156 segmentation fault (core dumped)
recipe-sysroot-native/usr/bin/opkg --volatile-cache -f opkg.conf -t -o
rootsI have a workaround by setting
IMAGE_LINGUAS= "en-us"in local.conf which avoids the need for opkg remove operation which is crashing.
Quoted 274 lines · Khem Raj
I am starting to see the following crash in opkg when building image. Anyone seeing something like this?
(No debugging symbols found in
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg) [New LWP 34493]
[Thread debugging usinglibthread_dbenabled]
Using hostlibthread_dblibrary "/usr/lib/libthread_db.so.1".
Core was generated by `/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/opkg.conf
-t/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/temp/ipktemp/
-o/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/rootfs
--force-postinstall --prefer-arch-to-version --force-depends remove
glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us'.
Program terminated with signal SIGSEGV, Segmentation fault.
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1(gdb) bt
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#10x00007f50a818a3dcinpool_str2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#20x00007f50a84fe4adin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#30x00007f50a84ff4dfinopkg_solver_remove() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#40x00007f50a84e9bfbin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#50x00007f50a84eadb2inopkg_cmd_exec() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#60x00005557220b6a9din ?? ()
#70x00007f50a8311f68in__libc_start_call_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#80x00007f50a831201bin__libc_start_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#90x00005557220b6bf1in ?? ()On Thu, Nov 27, 2025 at 10:11 AM Etienne Cordonnier via lists.openembedded.org
<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openembedded.org&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=7Hhr9df0PBRkpiFWBooOX6tv5kZhGeHxO5S6vVaNiw8&e=>Quoted 227 lines · <[email protected]> wrote:
Hi Gyorgy,
I have sent a patch to opkg upstream which disables the ACL option by default again (it is https://lists.yoctoproject.org/g/opkg/message/175
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_opkg_message_175&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=4U1D3q2TfA7jjhTo68DgNSOLopG_6Nlj6Ta9OG8TN_g&e=>
, however the web-view doesn't seem to work at the moment. I only see "Forbidden").Étienne
Quoted 187 lines · Gyorgy Sarvari
I just tried this, but it seems that the ACL switch was toggled during the CMake transition. With Autotools ACL was disabled by default, but with CMake it seems to be enabled - and it complains that it can't find libacl on my machine.
Quoted 4 lines · Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier <[email protected]>
See release notes at
-Quoted 5 lines
[0.9.0] - 2025-06-27
Semiannual opkg release.
Bumping the minor version as a result of the project build toolingchanging from autotools to cmake.
Quoted 2 lines
- Added a Dockerfile container definition (
:docker/) for a validdeveloper build environment for opkg.
Quoted 1 line
- It's recommended that project contributors use this container to
build and test their changes.
Quoted 1 line
- The AutoTools-based build framework has [been replaced](
Quoted 1 line
- Refer to the
docs/CONTRIBUTING.mddocumentation for updatedbuild instructions.
Quoted 4 lines
Signed-off-by Etienne Cordonnier <[email protected]>--- .../opkg/opkg/0002-config.h.in-fix-typo.patch | 27+++++++++++++++++++
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest | 2 +-.../opkg/{opkg_0.8.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}| 22 ++++++++------- > 3 files changed, 41 insertions(+), 10 deletions(-) > create mode 100644
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 1 line
rename meta/recipes-devtools/opkg/{opkg_0.8.0.bb<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}
(76%)Quoted 2 lines
diff --git
a/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchb/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchmeta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch line 1
Quoted 6 lines
new file mode 100644
index 00000000000..626bbd01b68meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +1
-0@@ -0,0 +1,27 @@ +From 5a81faadbc2397d554bc598d535fd2d44cbc8d10 Mon Sep 17 00:00:002001
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +3
-0+From: Etienne Cordonnier <[email protected]> +Date: Mon, 20 Oct 2025 18:57:56 +0200 +Subject: [PATCH] config.h.inmeta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch line 6
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +2
-0+ +Upstream-Status: Backport [meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +3
-0+Signed-off-by: Etienne Cordonnier <[email protected]> +--- + config.h.inmeta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +3
-0+ 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.h.in<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>
b/config.h.in
<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch line 14
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +2
-0+index 4fa9842..877b8c7 100644 +--- a/config.h.inmeta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch line 15
Quoted 1 line
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +1
-0++++ b/config.h.inReview
Quoted 13 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +12
-0+@@ -2,7 +2,7 @@ + #cmakedefine01 WITH_XZ + #cmakedefine01 WITH_BZIP2 + #cmakedefine01 WITH_LZ4 +-#cmakedefine01 WITH_LZSTD ++#cmakedefine01 WITH_ZSTD + #cmakedefine01 WITH_CURL + #cmakedefine01 WITH_SSLCURL + #cmakedefine01 WITH_ACL +-- +2.43.0 +(quoted diff) +0
-0b/meta/recipes-devtools/opkg/opkg/run-ptest
meta/recipes-devtools/opkg/opkg/run-ptest line 5
Quoted 9 lines
index
5fb7077eec9..d485a4aace5100644meta/recipes-devtools/opkg/opkg/run-ptest +1
-1@@ -2,4 +2,4 @@ OPKG_PATH=$(which opkg) -make OPKG_PATH=$OPKG_PATH run-tests +make -C tests DATADIR=/share SYSCONFDIR=/etc VARDIR=/varOPKG_PATH=$OPKG_PATH
Review
Quoted 1 line
(quoted diff) +0
-0<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>Quoted 2 lines
similarity index 76%
rename from meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
rename to meta/recipes-devtools/opkg/opkg_0.9.0.bb
Quoted 2 lines
index
12e2edf7e3f..ed2f36d636b100644
--- a/meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
+++ b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 15
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0@@ -15,34 +15,35 @@ PE = "1" SRC_URI = "meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 17
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0file://opkg.conf \file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 21
Quoted 5 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1+ file://0002-config.h.in-fix-typo.patch \ file://run-ptest \ " -SRC_URI[sha256sum] ="
582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 22
Quoted 1 line
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0+SRC_URI[sha256sum] ="
440ef321862e01f83da4d02884a0cbb4d9d7b32f82faa81a6a85493f0c89d0f5"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 23
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0# This needs to be before ptest inherit, otherwise all ptest filesend packaged
Quoted 9 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1# in libopkg package if OPKGLIBDIR == libdir, because default # PTEST_PATH ?= "${libdir}/${BPN}/ptest" PACKAGES =+ "libopkg" -inherit autotools pkgconfig ptest +inherit cmake pkgconfig ptest target_localstatedir := "${localstatedir}" OPKGLIBDIR ??= "${target_localstatedir}/lib"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 39
Quoted 10 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-3PACKAGECONFIG ??= "libsolv" -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ +PACKAGECONFIG[gpg] = "-DWITH_GPGME=ON,-DWITH_GPGME=OFF,\ gnupg gpgme libgpg-error,\ ${@ "gnupg" if ("native" in d.getVar("PN")) else "gnupg-gpg"}\ " -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" -PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curlopenssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 40
Quoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-2-PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" -PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv" +PACKAGECONFIG[curl] = "-DWITH_CURL=ON,-DWITH_CURL=OFF,curl" +PACKAGECONFIG[ssl-curl] = "-DWITH_SSLCURL=ON,-DWITH_SSLCURL=OFF,curlopenssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 42
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+PACKAGECONFIG[sha256] = "-DWITH_SHA256=ON,-DWITH_SHA256=OFF" +PACKAGECONFIG[libsolv] ="-DUSE_SOLVER_LIBSOLV=ON,-DUSE_SOLVER_LIBSOLV=OFF,libsolv"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 43
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2-EXTRA_OECONF = "--enable-zstd" -EXTRA_OECONF:append:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+EXTRA_OECMAKE = "-DWITH_ZSTD=ON" +EXTRA_OECMAKE:append:class-native = "(quoted diff) +0
-2-DVARDIR=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} -DSYSCONFDIR=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 60
Quoted 8 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0do_install:append () { install -d ${D}${sysconfdir}/opkg@@ -56,6 +57,9 @@ do_install:append () { } do_install_ptest () { + # the ptest class uses a Makefile for installation, but cmakeuses Ninja per default so we need to install ptests manually:
Quoted 12 lines
meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 64
Quoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+ cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0"];then echo "FAIL:"$^;else echo "PASS:"$^;fi'
${D}${PTEST_PATH}/tests/MakefileQuoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0}-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#226864):
https://lists.openembedded.org/g/openembedded-core/message/226864
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_message_226864&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=RM3vVpXB68pNmt1v3I8UHhC8fbIHFusxWhHViuMiKjI&e=>
Mute This Topic: https://lists.openembedded.org/mt/115910660/1997914
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_115910660_1997914&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=TfGnmOyEtO9VQXe3p4174fbjQnzAW_wgb7-9bBzLre4&e=>
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=HrgmZCbtNYqyFd-8EM0T4MpJVrJzIQuEEgQV1qr3Mkg&e=>
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
Hi Khem,
I've not managed to reproduce at the moment, neither on poky nor on yoe-distro. I'm on Ubuntu 24.04. Can you maybe send me your local.conf?:
ecordonnier@lj8k2dq3:~/dev/yoe$ cat conf/local.conf
IMAGE_LINGUAS = "en-us en-gb"
ENABLE_BINARY_LOCALE_GENERATION = "1"
SSTATE_MIRRORS = " \
file://.* https://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH
\
"
ecordonnier@lj8k2dq3:~/dev/yoe$ git rev-parse HEAD
7ce0a300ea45d28cfd58094cb5e9e07651797226
cordonnier@lj8k2dq3:~/dev/yoe$ . ./envsetup.sh rpi4-64
Setting PROJECT=rpi4-64
Setting MACHINE=raspberrypi4-64
/home/ecordonnier/dev/yoe/conf/auto.conf has been updated
Setting DOCKER_REPO to yoedistro/yoe-build:trixie-x86_64
ecordonnier@lj8k2dq3:~/dev/yoe$ yoe_setup
ecordonnier@lj8k2dq3:~/dev/yoe$ bitbake yoe-kiosk-image
NOTE: Started PRServer with DBfile:
/home/ecordonnier/dev/yoe/cache/prserv.sqlite3, Address: 127.0.0.1:44795,
PID: 111
WARNING: You are using a local hash equivalence server but have configured
an sstate mirror. This will likely mean no sstate will match from the
mirror. You may wish to disable the hash equivalence use (BB_HASHSERVE), or
use a hash equivalence server alongside the sstate mirror.
Loading cache: 100%
|####################################################################################################################################################################################################################|
Time: 0:00:02
Loaded 5831 entries from dependency cache.
NOTE: Resolving any missing task queue dependenciesBuild Configuration:
BB_VERSION = "2.16.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-yoe-linux" MACHINE = "raspberrypi4-64" DISTRO = "yoe" DISTRO_VERSION = "2025.11" TUNE_FEATURES = "aarch64 crc cortexa72 nocrypto" TARGET_FPU = "" meta-yoe = "master:7ce0a300ea45d28cfd58094cb5e9e07651797226" meta-raspberrypi = "HEAD:b667e177b1e6642cb11301801db44d4515c1652d" meta-clang = "HEAD:d0a67c76b7a3b585dbe2ba8ad509dc0fe0e58af2" meta-qt6 = "HEAD:836b1c3212c3562c0909468ab415df98c1145759"
meta-filesystems
meta-gnome
meta-initramfs
meta-multimedia
meta-networking
meta-oe
meta-perl
meta-python
meta-webserver
meta-xfce = "HEAD:219328f37cbf6aa4b2d7b77d21e00240543d73ad"
meta = "HEAD:ac7327583aef83fd400190506f3147623de38b68"
Sstate summary: Wanted 2 Local 0 Mirrors 2 Missed 0 Current 3493 (100%
match, 100% complete)#######################################################################################################################
| ETA: 0:00:00
Initialising tasks: 100% |###############################################################################################################################################################################################################|
Time: 0:00:05
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 7090 tasks of which 7088 didn't need to be
rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 5 seconds
Summary: There was 1 WARNING message.
Quoted 309 lines · Etienne Cordonnier
Hi Khem,
I haven't had the time to debug yet, but I've seen your message.Étienne
Quoted 302 lines · Khem Raj
It can be reproduced with direct invocation
kraj@apollo
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0❯ recipe-sysroot-native/usr/bin/opkg \
--volatile-cache \
-f opkg.conf \
-t temp/ipktemp/ \
-o rootfs \
--force-postinstall \
--prefer-arch-to-version \
--force-depends \
remove glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us[1] 346156 segmentation fault (core dumped)
recipe-sysroot-native/usr/bin/opkg --volatile-cache -f opkg.conf -t -o
rootsI have a workaround by setting
IMAGE_LINGUAS= "en-us"in local.conf which avoids the need for opkg remove operation which is crashing.
Quoted 274 lines · Khem Raj
I am starting to see the following crash in opkg when building image. Anyone seeing something like this?
(No debugging symbols found in
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg) [New LWP 34493]
[Thread debugging usinglibthread_dbenabled]
Using hostlibthread_dblibrary "/usr/lib/libthread_db.so.1".
Core was generated by `/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/opkg.conf
-t/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/temp/ipktemp/
-o/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/rootfs
--force-postinstall --prefer-arch-to-version --force-depends remove
glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us'.
Program terminated with signal SIGSEGV, Segmentation fault.
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1(gdb) bt
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#10x00007f50a818a3dcinpool_str2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#20x00007f50a84fe4adin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#30x00007f50a84ff4dfinopkg_solver_remove() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#40x00007f50a84e9bfbin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#50x00007f50a84eadb2inopkg_cmd_exec() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#60x00005557220b6a9din ?? ()
#70x00007f50a8311f68in__libc_start_call_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#80x00007f50a831201bin__libc_start_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#90x00005557220b6bf1in ?? ()On Thu, Nov 27, 2025 at 10:11 AM Etienne Cordonnier via lists.openembedded.org
<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openembedded.org&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=7Hhr9df0PBRkpiFWBooOX6tv5kZhGeHxO5S6vVaNiw8&e=>Quoted 227 lines · <[email protected]> wrote:
Hi Gyorgy,
I have sent a patch to opkg upstream which disables the ACL option by default again (it is https://lists.yoctoproject.org/g/opkg/message/175
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_opkg_message_175&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=4U1D3q2TfA7jjhTo68DgNSOLopG_6Nlj6Ta9OG8TN_g&e=>
, however the web-view doesn't seem to work at the moment. I only see "Forbidden").Étienne
Quoted 187 lines · Gyorgy Sarvari
I just tried this, but it seems that the ACL switch was toggled during the CMake transition. With Autotools ACL was disabled by default, but with CMake it seems to be enabled - and it complains that it can't find libacl on my machine.
Quoted 4 lines · Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier <[email protected]>
See release notes at
-Quoted 5 lines
[0.9.0] - 2025-06-27
Semiannual opkg release.
Bumping the minor version as a result of the project build toolingchanging from autotools to cmake.
Quoted 2 lines
- Added a Dockerfile container definition (
:docker/) for a validdeveloper build environment for opkg.
Quoted 1 line
- It's recommended that project contributors use this container to
build and test their changes.
Quoted 1 line
- The AutoTools-based build framework has [been replaced](
Quoted 1 line
- Refer to the
docs/CONTRIBUTING.mddocumentation for updatedbuild instructions.
Quoted 4 lines
Signed-off-by Etienne Cordonnier <[email protected]>--- .../opkg/opkg/0002-config.h.in-fix-typo.patch | 27+++++++++++++++++++
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest | 2 +-.../opkg/{opkg_0.8.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}| 22 ++++++++------- > 3 files changed, 41 insertions(+), 10 deletions(-) > create mode 100644
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 1 line
rename meta/recipes-devtools/opkg/{opkg_0.8.0.bb<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}
(76%)Quoted 2 lines
diff --git
a/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchb/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchmeta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch line 1
Quoted 6 lines
new file mode 100644
index 00000000000..626bbd01b68meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +1
-0@@ -0,0 +1,27 @@ +From 5a81faadbc2397d554bc598d535fd2d44cbc8d10 Mon Sep 17 00:00:002001
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +3
-0+From: Etienne Cordonnier <[email protected]> +Date: Mon, 20 Oct 2025 18:57:56 +0200 +Subject: [PATCH] config.h.inmeta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch line 6
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +2
-0+ +Upstream-Status: Backport [meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +3
-0+Signed-off-by: Etienne Cordonnier <[email protected]> +--- + config.h.inmeta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +3
-0+ 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.h.in<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>
b/config.h.in
<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch line 14
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +2
-0+index 4fa9842..877b8c7 100644 +--- a/config.h.inmeta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch line 15
Quoted 1 line
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +1
-0++++ b/config.h.inReview
Quoted 13 lines
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +12
-0+@@ -2,7 +2,7 @@ + #cmakedefine01 WITH_XZ + #cmakedefine01 WITH_BZIP2 + #cmakedefine01 WITH_LZ4 +-#cmakedefine01 WITH_LZSTD ++#cmakedefine01 WITH_ZSTD + #cmakedefine01 WITH_CURL + #cmakedefine01 WITH_SSLCURL + #cmakedefine01 WITH_ACL +-- +2.43.0 +(quoted diff) +0
-0b/meta/recipes-devtools/opkg/opkg/run-ptest
meta/recipes-devtools/opkg/opkg/run-ptest line 5
Quoted 9 lines
index
5fb7077eec9..d485a4aace5100644meta/recipes-devtools/opkg/opkg/run-ptest +1
-1@@ -2,4 +2,4 @@ OPKG_PATH=$(which opkg) -make OPKG_PATH=$OPKG_PATH run-tests +make -C tests DATADIR=/share SYSCONFDIR=/etc VARDIR=/varOPKG_PATH=$OPKG_PATH
Review
Quoted 1 line
(quoted diff) +0
-0<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>Quoted 2 lines
similarity index 76%
rename from meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
rename to meta/recipes-devtools/opkg/opkg_0.9.0.bb
Quoted 2 lines
index
12e2edf7e3f..ed2f36d636b100644
--- a/meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
+++ b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 15
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0@@ -15,34 +15,35 @@ PE = "1" SRC_URI = "meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 17
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0file://opkg.conf \file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 21
Quoted 5 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1+ file://0002-config.h.in-fix-typo.patch \ file://run-ptest \ " -SRC_URI[sha256sum] ="
582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 22
Quoted 1 line
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0+SRC_URI[sha256sum] ="
440ef321862e01f83da4d02884a0cbb4d9d7b32f82faa81a6a85493f0c89d0f5"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 23
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0# This needs to be before ptest inherit, otherwise all ptest filesend packaged
Quoted 9 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1# in libopkg package if OPKGLIBDIR == libdir, because default # PTEST_PATH ?= "${libdir}/${BPN}/ptest" PACKAGES =+ "libopkg" -inherit autotools pkgconfig ptest +inherit cmake pkgconfig ptest target_localstatedir := "${localstatedir}" OPKGLIBDIR ??= "${target_localstatedir}/lib"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 39
Quoted 10 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-3PACKAGECONFIG ??= "libsolv" -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ +PACKAGECONFIG[gpg] = "-DWITH_GPGME=ON,-DWITH_GPGME=OFF,\ gnupg gpgme libgpg-error,\ ${@ "gnupg" if ("native" in d.getVar("PN")) else "gnupg-gpg"}\ " -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" -PACKAGECONFIG[ssl-curl] ="--enable-ssl-curl,--disable-ssl-curl,curl openssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 40
Quoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-2-PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" -PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv" +PACKAGECONFIG[curl] = "-DWITH_CURL=ON,-DWITH_CURL=OFF,curl" +PACKAGECONFIG[ssl-curl] ="-DWITH_SSLCURL=ON,-DWITH_SSLCURL=OFF,curl openssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 42
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+PACKAGECONFIG[sha256] = "-DWITH_SHA256=ON,-DWITH_SHA256=OFF" +PACKAGECONFIG[libsolv] ="-DUSE_SOLVER_LIBSOLV=ON,-DUSE_SOLVER_LIBSOLV=OFF,libsolv"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 43
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2-EXTRA_OECONF = "--enable-zstd" -EXTRA_OECONF:append:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+EXTRA_OECMAKE = "-DWITH_ZSTD=ON" +EXTRA_OECMAKE:append:class-native = "(quoted diff) +0
-2-DVARDIR=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} -DSYSCONFDIR=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 60
Quoted 8 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0do_install:append () { install -d ${D}${sysconfdir}/opkg@@ -56,6 +57,9 @@ do_install:append () { } do_install_ptest () { + # the ptest class uses a Makefile for installation, but cmakeuses Ninja per default so we need to install ptests manually:
Quoted 12 lines
meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 64
Quoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+ cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0"];then echo "FAIL:"$^;else echo "PASS:"$^;fi'
${D}${PTEST_PATH}/tests/MakefileQuoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0}-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#226864):
https://lists.openembedded.org/g/openembedded-core/message/226864
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_message_226864&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=RM3vVpXB68pNmt1v3I8UHhC8fbIHFusxWhHViuMiKjI&e=>
Mute This Topic: https://lists.openembedded.org/mt/115910660/1997914
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_115910660_1997914&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=TfGnmOyEtO9VQXe3p4174fbjQnzAW_wgb7-9bBzLre4&e=>
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=HrgmZCbtNYqyFd-8EM0T4MpJVrJzIQuEEgQV1qr3Mkg&e=>
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
My case is yoe distro rpi4-64 building yoe-kiosk-image I do not set IMAGE_LINGUAS to get into the problem if I set it then it works
Quoted 388 lines · Etienne Cordonnier
Hi Khem,
I've not managed to reproduce at the moment, neither on poky nor on yoe-distro. I'm on Ubuntu 24.04. Can you maybe send me your local.conf?:ecordonnier@lj8k2dq3:~/dev/yoe$ cat conf/local.conf IMAGE_LINGUAS = "en-us en-gb" ENABLE_BINARY_LOCALE_GENERATION = "1" SSTATE_MIRRORS = " \ file://.* https://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH \ " ecordonnier@lj8k2dq3:~/dev/yoe$ git rev-parse HEAD 7ce0a300ea45d28cfd58094cb5e9e07651797226 cordonnier@lj8k2dq3:~/dev/yoe$ . ./envsetup.sh rpi4-64 Setting PROJECT=rpi4-64 Setting MACHINE=raspberrypi4-64 /home/ecordonnier/dev/yoe/conf/auto.conf has been updated Setting DOCKER_REPO to yoedistro/yoe-build:trixie-x86_64 ecordonnier@lj8k2dq3:~/dev/yoe$ yoe_setup ecordonnier@lj8k2dq3:~/dev/yoe$ bitbake yoe-kiosk-image NOTE: Started PRServer with DBfile: /home/ecordonnier/dev/yoe/cache/prserv.sqlite3, Address: 127.0.0.1:44795, PID: 111 WARNING: You are using a local hash equivalence server but have configured an sstate mirror. This will likely mean no sstate will match from the mirror. You may wish to disable the hash equivalence use (BB_HASHSERVE), or use a hash equivalence server alongside the sstate mirror. Loading cache: 100% |####################################################################################################################################################################################################################| Time: 0:00:02 Loaded 5831 entries from dependency cache. NOTE: Resolving any missing task queue dependenciesBuild Configuration:
BB_VERSION = "2.16.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-yoe-linux" MACHINE = "raspberrypi4-64" DISTRO = "yoe" DISTRO_VERSION = "2025.11" TUNE_FEATURES = "aarch64 crc cortexa72 nocrypto" TARGET_FPU = "" meta-yoe = "master:7ce0a300ea45d28cfd58094cb5e9e07651797226" meta-raspberrypi = "HEAD:b667e177b1e6642cb11301801db44d4515c1652d" meta-clang = "HEAD:d0a67c76b7a3b585dbe2ba8ad509dc0fe0e58af2" meta-qt6 = "HEAD:836b1c3212c3562c0909468ab415df98c1145759"meta-filesystems
meta-gnome
meta-initramfs
meta-multimedia
meta-networking
meta-oe
meta-perl
meta-python
meta-webserver
meta-xfce = "HEAD:219328f37cbf6aa4b2d7b77d21e00240543d73ad"
meta = "HEAD:ac7327583aef83fd400190506f3147623de38b68"Sstate summary: Wanted 2 Local 0 Mirrors 2 Missed 0 Current 3493 (100%
match, 100% complete)#######################################################################################################################| ETA: 0:00:00Initialising tasks: 100% |###############################################################################################################################################################################################################|
Time: 0:00:05
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 7090 tasks of which 7088 didn't need to be
rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 5 secondsSummary: There was 1 WARNING message.
Quoted 311 lines · Etienne Cordonnier
Hi Khem,
I haven't had the time to debug yet, but I've seen your message.Étienne
Quoted 304 lines · Khem Raj
It can be reproduced with direct invocation
kraj@apollo
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0❯ recipe-sysroot-native/usr/bin/opkg \
--volatile-cache \
-f opkg.conf \
-t temp/ipktemp/ \
-o rootfs \
--force-postinstall \
--prefer-arch-to-version \
--force-depends \
remove glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us[1] 346156 segmentation fault (core dumped)
recipe-sysroot-native/usr/bin/opkg --volatile-cache -f opkg.conf -t -o
rootsI have a workaround by setting
IMAGE_LINGUAS= "en-us"in local.conf which avoids the need for opkg remove operation which is crashing.
Quoted 276 lines · Khem Raj
I am starting to see the following crash in opkg when building image. Anyone seeing something like this?
(No debugging symbols found in
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg) [New LWP 34493]
[Thread debugging usinglibthread_dbenabled]
Using hostlibthread_dblibrary "/usr/lib/libthread_db.so.1".
Core was generated by `/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/opkg.conf
-t/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/temp/ipktemp/
-o/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/rootfs
--force-postinstall --prefer-arch-to-version --force-depends remove
glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us'.
Program terminated with signal SIGSEGV, Segmentation fault.
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1(gdb) bt
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#10x00007f50a818a3dcinpool_str2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#20x00007f50a84fe4adin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#30x00007f50a84ff4dfinopkg_solver_remove() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#40x00007f50a84e9bfbin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#50x00007f50a84eadb2inopkg_cmd_exec() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#60x00005557220b6a9din ?? ()
#70x00007f50a8311f68in__libc_start_call_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#80x00007f50a831201bin__libc_start_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#90x00005557220b6bf1in ?? ()On Thu, Nov 27, 2025 at 10:11 AM Etienne Cordonnier via lists.openembedded.org
<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openembedded.org&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=7Hhr9df0PBRkpiFWBooOX6tv5kZhGeHxO5S6vVaNiw8&e=>Quoted 229 lines · <[email protected]> wrote:
Hi Gyorgy,
I have sent a patch to opkg upstream which disables the ACL option by default again (it is https://lists.yoctoproject.org/g/opkg/message/175
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_opkg_message_175&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=4U1D3q2TfA7jjhTo68DgNSOLopG_6Nlj6Ta9OG8TN_g&e=>
, however the web-view doesn't seem to work at the moment. I only see "Forbidden").Étienne
Quoted 189 lines · Gyorgy Sarvari
I just tried this, but it seems that the ACL switch was toggled during the CMake transition. With Autotools ACL was disabled by default, but with CMake it seems to be enabled - and it complains that it can't find
libacl on my machine.Quoted 4 lines · Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier <[email protected]>
See release notes at
-Quoted 5 lines
[0.9.0] - 2025-06-27
Semiannual opkg release.
Bumping the minor version as a result of the project build toolingchanging from autotools to cmake.
Quoted 2 lines
- Added a Dockerfile container definition (
:docker/) for a validdeveloper build environment for opkg.
Quoted 1 line
- It's recommended that project contributors use this container
to build and test their changes.
Quoted 1 line
- The AutoTools-based build framework has [been replaced](
Quoted 1 line
- Refer to the
docs/CONTRIBUTING.mddocumentation for updatedbuild instructions.
Quoted 4 lines
Signed-off-by Etienne Cordonnier <[email protected]>--- .../opkg/opkg/0002-config.h.in-fix-typo.patch | 27+++++++++++++++++++
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest | 2 +-.../opkg/{opkg_0.8.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}| 22 ++++++++------- > 3 files changed, 41 insertions(+), 10 deletions(-) > create mode 100644
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 1 line
rename meta/recipes-devtools/opkg/{opkg_0.8.0.bb<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}
(76%)Quoted 2 lines
diff --git
a/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchb/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 4 lines
new file mode 100644
index 00000000000..626bbd01b68
---/dev/null
+++
b/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchReview line 1
Quoted 2 lines
(quoted diff) +1
-0@@ -0,0 +1,27 @@ +From 5a81faadbc2397d554bc598d535fd2d44cbc8d10 Mon Sep 17 00:00:002001
Review line 4
Quoted 3 lines
(quoted diff) +3
-0+From: Etienne Cordonnier <[email protected]> +Date: Mon, 20 Oct 2025 18:57:56 +0200 +Subject: [PATCH] config.h.inReview line 6
Quoted 2 lines
(quoted diff) +2
-0+ +Upstream-Status: Backport [Review line 9
Quoted 3 lines
(quoted diff) +3
-0+Signed-off-by: Etienne Cordonnier <[email protected]> +--- + config.h.inReview line 12
Quoted 3 lines
(quoted diff) +3
-0+ 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.h.in<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>
b/config.h.in
<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>Review line 14
Quoted 2 lines
(quoted diff) +2
-0+index 4fa9842..877b8c7 100644 +--- a/config.h.inReview line 15
Quoted 1 line
(quoted diff) +1
-0++++ b/config.h.inReview
Quoted 13 lines
(quoted diff) +12
-0+@@ -2,7 +2,7 @@ + #cmakedefine01 WITH_XZ + #cmakedefine01 WITH_BZIP2 + #cmakedefine01 WITH_LZ4 +-#cmakedefine01 WITH_LZSTD ++#cmakedefine01 WITH_ZSTD + #cmakedefine01 WITH_CURL + #cmakedefine01 WITH_SSLCURL + #cmakedefine01 WITH_ACL +-- +2.43.0 +(quoted diff) +0
-0b/meta/recipes-devtools/opkg/opkg/run-ptest
meta/recipes-devtools/opkg/opkg/run-ptest line 5
Quoted 9 lines
index
5fb7077eec9..d485a4aace5100644meta/recipes-devtools/opkg/opkg/run-ptest +1
-1@@ -2,4 +2,4 @@ OPKG_PATH=$(which opkg) -make OPKG_PATH=$OPKG_PATH run-tests +make -C tests DATADIR=/share SYSCONFDIR=/etc VARDIR=/varOPKG_PATH=$OPKG_PATH
Review
Quoted 1 line
(quoted diff) +0
-0<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>Quoted 2 lines
similarity index 76%
rename from meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
rename to meta/recipes-devtools/opkg/opkg_0.9.0.bb
Quoted 2 lines
index
12e2edf7e3f..ed2f36d636b100644
--- a/meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
+++ b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 15
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0@@ -15,34 +15,35 @@ PE = "1" SRC_URI = "meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 17
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0file://opkg.conf \file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 21
Quoted 5 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1+ file://0002-config.h.in-fix-typo.patch \ file://run-ptest \ " -SRC_URI[sha256sum] ="
582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 22
Quoted 1 line
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0+SRC_URI[sha256sum] ="
440ef321862e01f83da4d02884a0cbb4d9d7b32f82faa81a6a85493f0c89d0f5"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 23
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0# This needs to be before ptest inherit, otherwise all ptest filesend packaged
Quoted 9 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1# in libopkg package if OPKGLIBDIR == libdir, because default # PTEST_PATH ?= "${libdir}/${BPN}/ptest" PACKAGES =+ "libopkg" -inherit autotools pkgconfig ptest +inherit cmake pkgconfig ptest target_localstatedir := "${localstatedir}" OPKGLIBDIR ??= "${target_localstatedir}/lib"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 39
Quoted 10 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-3PACKAGECONFIG ??= "libsolv" -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ +PACKAGECONFIG[gpg] = "-DWITH_GPGME=ON,-DWITH_GPGME=OFF,\ gnupg gpgme libgpg-error,\ ${@ "gnupg" if ("native" in d.getVar("PN")) else "gnupg-gpg"}\ " -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" -PACKAGECONFIG[ssl-curl] ="--enable-ssl-curl,--disable-ssl-curl,curl openssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 40
Quoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-2-PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" -PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv" +PACKAGECONFIG[curl] = "-DWITH_CURL=ON,-DWITH_CURL=OFF,curl" +PACKAGECONFIG[ssl-curl] ="-DWITH_SSLCURL=ON,-DWITH_SSLCURL=OFF,curl openssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 42
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+PACKAGECONFIG[sha256] = "-DWITH_SHA256=ON,-DWITH_SHA256=OFF" +PACKAGECONFIG[libsolv] ="-DUSE_SOLVER_LIBSOLV=ON,-DUSE_SOLVER_LIBSOLV=OFF,libsolv"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 43
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2-EXTRA_OECONF = "--enable-zstd" -EXTRA_OECONF:append:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+EXTRA_OECMAKE = "-DWITH_ZSTD=ON" +EXTRA_OECMAKE:append:class-native = "(quoted diff) +0
-2-DVARDIR=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} -DSYSCONFDIR=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 60
Quoted 8 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0do_install:append () { install -d ${D}${sysconfdir}/opkg@@ -56,6 +57,9 @@ do_install:append () { } do_install_ptest () { + # the ptest class uses a Makefile for installation, but cmakeuses Ninja per default so we need to install ptests manually:
Quoted 12 lines
meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 64
Quoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+ cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" !="0" ];then echo "FAIL:"$^;else echo "PASS:"$^;fi'
${D}${PTEST_PATH}/tests/MakefileQuoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0}-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#226864):
https://lists.openembedded.org/g/openembedded-core/message/226864
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_message_226864&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=RM3vVpXB68pNmt1v3I8UHhC8fbIHFusxWhHViuMiKjI&e=>
Mute This Topic: https://lists.openembedded.org/mt/115910660/1997914
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_115910660_1997914&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=TfGnmOyEtO9VQXe3p4174fbjQnzAW_wgb7-9bBzLre4&e=>
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=HrgmZCbtNYqyFd-8EM0T4MpJVrJzIQuEEgQV1qr3Mkg&e=>
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
I also use yoe distro rpi4-64 building yoe-kiosk-image and I also tried without setting IMAGE_LINGUAS first.
"it works on my machine" :-/
Which commit do to youse?
Quoted 401 lines · Khem Raj
My case is yoe distro rpi4-64 building yoe-kiosk-image I do not set
IMAGE_LINGUASto get into the problem if I set it then it worksQuoted 395 lines · Etienne Cordonnier
Hi Khem,
I've not managed to reproduce at the moment, neither on poky nor on yoe-distro. I'm on Ubuntu 24.04. Can you maybe send me your local.conf?:ecordonnier@lj8k2dq3:~/dev/yoe$ cat conf/local.conf IMAGE_LINGUAS = "en-us en-gb" ENABLE_BINARY_LOCALE_GENERATION = "1" SSTATE_MIRRORS = " \ file://.* https://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH <https://urldefense.proofpoint.com/v2/url?u=https-3A__sstate.yoctoproject.org_all_PATH-3Bdownloadfilename-3DPATH&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=-NtkavIQQp5Iqw_UoaYZsC0r9-dP8qjeWtlDZh0jty5AiQ9z97d4-blVTpeRtBxx&s=vuV0954VFehkpPG9JVC6OqQz3b5Oyuo-Zeat1SNYv2U&e=> \ " ecordonnier@lj8k2dq3:~/dev/yoe$ git rev-parse HEAD 7ce0a300ea45d28cfd58094cb5e9e07651797226 cordonnier@lj8k2dq3:~/dev/yoe$ . ./envsetup.sh rpi4-64 Setting PROJECT=rpi4-64 Setting MACHINE=raspberrypi4-64 /home/ecordonnier/dev/yoe/conf/auto.conf has been updated Setting DOCKER_REPO to yoedistro/yoe-build:trixie-x86_64 ecordonnier@lj8k2dq3:~/dev/yoe$ yoe_setup ecordonnier@lj8k2dq3:~/dev/yoe$ bitbake yoe-kiosk-image NOTE: Started PRServer with DBfile: /home/ecordonnier/dev/yoe/cache/prserv.sqlite3, Address: 127.0.0.1:44795 <https://urldefense.proofpoint.com/v2/url?u=http-3A__127.0.0.1-3A44795&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=-NtkavIQQp5Iqw_UoaYZsC0r9-dP8qjeWtlDZh0jty5AiQ9z97d4-blVTpeRtBxx&s=PJMI5Who1QWr6q5cgr_vEwT478oi7c8luL5ThOzNZRc&e=>, PID: 111 WARNING: You are using a local hash equivalence server but have configured an sstate mirror. This will likely mean no sstate will match from the mirror. You may wish to disable the hash equivalence use (BB_HASHSERVE), or use a hash equivalence server alongside the sstate mirror. Loading cache: 100% |####################################################################################################################################################################################################################| Time: 0:00:02 Loaded 5831 entries from dependency cache. NOTE: Resolving any missing task queue dependenciesBuild Configuration:
BB_VERSION = "2.16.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-yoe-linux" MACHINE = "raspberrypi4-64" DISTRO = "yoe" DISTRO_VERSION = "2025.11" TUNE_FEATURES = "aarch64 crc cortexa72 nocrypto" TARGET_FPU = "" meta-yoe = "master:7ce0a300ea45d28cfd58094cb5e9e07651797226" meta-raspberrypi = "HEAD:b667e177b1e6642cb11301801db44d4515c1652d" meta-clang = "HEAD:d0a67c76b7a3b585dbe2ba8ad509dc0fe0e58af2" meta-qt6 = "HEAD:836b1c3212c3562c0909468ab415df98c1145759"meta-filesystems
meta-gnome
meta-initramfs
meta-multimedia
meta-networking
meta-oe
meta-perl
meta-python
meta-webserver
meta-xfce = "HEAD:219328f37cbf6aa4b2d7b77d21e00240543d73ad"
meta = "HEAD:ac7327583aef83fd400190506f3147623de38b68"Sstate summary: Wanted 2 Local 0 Mirrors 2 Missed 0 Current 3493 (100%
match, 100% complete)#######################################################################################################################| ETA: 0:00:00Initialising tasks: 100% |###############################################################################################################################################################################################################|
Time: 0:00:05
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 7090 tasks of which 7088 didn't need to be
rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 5 secondsSummary: There was 1 WARNING message.
Quoted 314 lines · Etienne Cordonnier
Hi Khem,
I haven't had the time to debug yet, but I've seen your message.Étienne
Quoted 307 lines · Khem Raj
It can be reproduced with direct invocation
kraj@apollo
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0❯ recipe-sysroot-native/usr/bin/opkg \
--volatile-cache \
-f opkg.conf \
-t temp/ipktemp/ \
-o rootfs \
--force-postinstall \
--prefer-arch-to-version \
--force-depends \
remove glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us[1] 346156 segmentation fault (core dumped)
recipe-sysroot-native/usr/bin/opkg --volatile-cache -f opkg.conf -t -o
rootsI have a workaround by setting
IMAGE_LINGUAS= "en-us"in local.conf which avoids the need for opkg remove operation which is crashing.
Quoted 279 lines · Khem Raj
I am starting to see the following crash in opkg when building image. Anyone seeing something like this?
(No debugging symbols found in
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg) [New LWP 34493]
[Thread debugging usinglibthread_dbenabled]
Using hostlibthread_dblibrary "/usr/lib/libthread_db.so.1".
Core was generated by `/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/opkg.conf
-t/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/temp/ipktemp/
-o/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/rootfs
--force-postinstall --prefer-arch-to-version --force-depends remove
glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us'.
Program terminated with signal SIGSEGV, Segmentation fault.
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1(gdb) bt
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#10x00007f50a818a3dcinpool_str2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#20x00007f50a84fe4adin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#30x00007f50a84ff4dfinopkg_solver_remove() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#40x00007f50a84e9bfbin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#50x00007f50a84eadb2inopkg_cmd_exec() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#60x00005557220b6a9din ?? ()
#70x00007f50a8311f68in__libc_start_call_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#80x00007f50a831201bin__libc_start_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#90x00005557220b6bf1in ?? ()On Thu, Nov 27, 2025 at 10:11 AM Etienne Cordonnier via lists.openembedded.org
<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openembedded.org&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=7Hhr9df0PBRkpiFWBooOX6tv5kZhGeHxO5S6vVaNiw8&e=>Quoted 232 lines · <[email protected]> wrote:
Hi Gyorgy,
I have sent a patch to opkg upstream which disables the ACL option by default again (it is
https://lists.yoctoproject.org/g/opkg/message/175
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_opkg_message_175&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=4U1D3q2TfA7jjhTo68DgNSOLopG_6Nlj6Ta9OG8TN_g&e=>
, however the web-view doesn't seem to work at the moment. I only see "Forbidden").Étienne
Quoted 191 lines · Gyorgy Sarvari
I just tried this, but it seems that the ACL switch was toggled during
the CMake transition. With Autotools ACL was disabled by default, but with CMake it seems to be enabled - and it complains that it can't find
libacl on my machine.Quoted 4 lines · Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier <[email protected]>
See release notes at
-Quoted 5 lines
[0.9.0] - 2025-06-27
Semiannual opkg release.
Bumping the minor version as a result of the project build toolingchanging from autotools to cmake.
Quoted 2 lines
- Added a Dockerfile container definition (
:docker/) for a validdeveloper build environment for opkg.
Quoted 1 line
- It's recommended that project contributors use this container
to build and test their changes.
Quoted 1 line
- The AutoTools-based build framework has [been replaced](
Quoted 1 line
- Refer to the
docs/CONTRIBUTING.mddocumentation for updatedbuild instructions.
Quoted 4 lines
Signed-off-by Etienne Cordonnier <[email protected]>--- .../opkg/opkg/0002-config.h.in-fix-typo.patch | 27+++++++++++++++++++
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest | 2 +-.../opkg/{opkg_0.8.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}| 22 ++++++++------- > 3 files changed, 41 insertions(+), 10 deletions(-) > create mode 100644
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 1 line
rename meta/recipes-devtools/opkg/{opkg_0.8.0.bb<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}
(76%)Quoted 2 lines
diff --git
a/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchb/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 4 lines
new file mode 100644
index 00000000000..626bbd01b68
---/dev/null
+++
b/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchReview line 1
Quoted 2 lines
(quoted diff) +1
-0@@ -0,0 +1,27 @@ +From 5a81faadbc2397d554bc598d535fd2d44cbc8d10 Mon Sep 17 00:00:002001
Review line 4
Quoted 3 lines
(quoted diff) +3
-0+From: Etienne Cordonnier <[email protected]> +Date: Mon, 20 Oct 2025 18:57:56 +0200 +Subject: [PATCH] config.h.inReview line 6
Quoted 2 lines
(quoted diff) +2
-0+ +Upstream-Status: Backport [Review line 9
Quoted 3 lines
(quoted diff) +3
-0+Signed-off-by: Etienne Cordonnier <[email protected]> +--- + config.h.inReview line 12
Quoted 3 lines
(quoted diff) +3
-0+ 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.h.in<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>
b/config.h.in
<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>Review line 14
Quoted 2 lines
(quoted diff) +2
-0+index 4fa9842..877b8c7 100644 +--- a/config.h.inReview line 15
Quoted 1 line
(quoted diff) +1
-0++++ b/config.h.inReview
Quoted 13 lines
(quoted diff) +12
-0+@@ -2,7 +2,7 @@ + #cmakedefine01 WITH_XZ + #cmakedefine01 WITH_BZIP2 + #cmakedefine01 WITH_LZ4 +-#cmakedefine01 WITH_LZSTD ++#cmakedefine01 WITH_ZSTD + #cmakedefine01 WITH_CURL + #cmakedefine01 WITH_SSLCURL + #cmakedefine01 WITH_ACL +-- +2.43.0 +(quoted diff) +0
-0b/meta/recipes-devtools/opkg/opkg/run-ptest
meta/recipes-devtools/opkg/opkg/run-ptest line 5
Quoted 9 lines
index
5fb7077eec9..d485a4aace5100644meta/recipes-devtools/opkg/opkg/run-ptest +1
-1@@ -2,4 +2,4 @@ OPKG_PATH=$(which opkg) -make OPKG_PATH=$OPKG_PATH run-tests +make -C tests DATADIR=/share SYSCONFDIR=/etc VARDIR=/varOPKG_PATH=$OPKG_PATH
Review
Quoted 1 line
(quoted diff) +0
-0<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>Quoted 2 lines
similarity index 76%
rename from meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
rename to meta/recipes-devtools/opkg/opkg_0.9.0.bb
Quoted 2 lines
index
12e2edf7e3f..ed2f36d636b100644
--- a/meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
+++ b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 15
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0@@ -15,34 +15,35 @@ PE = "1" SRC_URI = "meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 17
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0file://opkg.conf \file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 21
Quoted 5 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1+ file://0002-config.h.in-fix-typo.patch \ file://run-ptest \ " -SRC_URI[sha256sum] ="
582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 22
Quoted 1 line
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0+SRC_URI[sha256sum] ="
440ef321862e01f83da4d02884a0cbb4d9d7b32f82faa81a6a85493f0c89d0f5"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 23
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0# This needs to be before ptest inherit, otherwise all ptestfiles end packaged
Quoted 9 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1# in libopkg package if OPKGLIBDIR == libdir, because default # PTEST_PATH ?= "${libdir}/${BPN}/ptest" PACKAGES =+ "libopkg" -inherit autotools pkgconfig ptest +inherit cmake pkgconfig ptest target_localstatedir := "${localstatedir}" OPKGLIBDIR ??= "${target_localstatedir}/lib"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 39
Quoted 10 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-3PACKAGECONFIG ??= "libsolv" -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ +PACKAGECONFIG[gpg] = "-DWITH_GPGME=ON,-DWITH_GPGME=OFF,\ gnupg gpgme libgpg-error,\ ${@ "gnupg" if ("native" in d.getVar("PN")) else "gnupg-gpg"}\ " -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" -PACKAGECONFIG[ssl-curl] ="--enable-ssl-curl,--disable-ssl-curl,curl openssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 41
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2-PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" -PACKAGECONFIG[libsolv] ="--with-libsolv,--without-libsolv,libsolv"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 40
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+PACKAGECONFIG[curl] = "-DWITH_CURL=ON,-DWITH_CURL=OFF,curl" +PACKAGECONFIG[ssl-curl] ="-DWITH_SSLCURL=ON,-DWITH_SSLCURL=OFF,curl openssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 42
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+PACKAGECONFIG[sha256] = "-DWITH_SHA256=ON,-DWITH_SHA256=OFF" +PACKAGECONFIG[libsolv] ="-DUSE_SOLVER_LIBSOLV=ON,-DUSE_SOLVER_LIBSOLV=OFF,libsolv"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 43
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2-EXTRA_OECONF = "--enable-zstd" -EXTRA_OECONF:append:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+EXTRA_OECMAKE = "-DWITH_ZSTD=ON" +EXTRA_OECMAKE:append:class-native = "(quoted diff) +0
-2-DVARDIR=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} -DSYSCONFDIR=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 60
Quoted 8 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0do_install:append () { install -d ${D}${sysconfdir}/opkg@@ -56,6 +57,9 @@ do_install:append () { } do_install_ptest () { + # the ptest class uses a Makefile for installation, butcmake uses Ninja per default so we need to install ptests manually:
Quoted 12 lines
meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 64
Quoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+ cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" !="0" ];then echo "FAIL:"$^;else echo "PASS:"$^;fi'
${D}${PTEST_PATH}/tests/MakefileQuoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0}-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#226864):
https://lists.openembedded.org/g/openembedded-core/message/226864
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_message_226864&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=RM3vVpXB68pNmt1v3I8UHhC8fbIHFusxWhHViuMiKjI&e=>
Mute This Topic: https://lists.openembedded.org/mt/115910660/1997914
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_115910660_1997914&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=TfGnmOyEtO9VQXe3p4174fbjQnzAW_wgb7-9bBzLre4&e=>
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=HrgmZCbtNYqyFd-8EM0T4MpJVrJzIQuEEgQV1qr3Mkg&e=>
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
Hmm I think it might be with my branch kraj/i-told-you on contrib tree which has glibc master
Quoted 411 lines · Etienne Cordonnier
I also use yoe distro rpi4-64 building yoe-kiosk-image and I also tried without setting
IMAGE_LINGUASfirst.
"it works on my machine" :-/
Which commit do to youse?Quoted 404 lines · Khem Raj
My case is yoe distro rpi4-64 building yoe-kiosk-image I do not set
IMAGE_LINGUASto get into the problem if I set it then it worksQuoted 398 lines · Etienne Cordonnier
Hi Khem,
I've not managed to reproduce at the moment, neither on poky nor on yoe-distro. I'm on Ubuntu 24.04. Can you maybe send me your local.conf?:ecordonnier@lj8k2dq3:~/dev/yoe$ cat conf/local.conf IMAGE_LINGUAS = "en-us en-gb" ENABLE_BINARY_LOCALE_GENERATION = "1" SSTATE_MIRRORS = " \ file://.* https://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH <https://urldefense.proofpoint.com/v2/url?u=https-3A__sstate.yoctoproject.org_all_PATH-3Bdownloadfilename-3DPATH&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=-NtkavIQQp5Iqw_UoaYZsC0r9-dP8qjeWtlDZh0jty5AiQ9z97d4-blVTpeRtBxx&s=vuV0954VFehkpPG9JVC6OqQz3b5Oyuo-Zeat1SNYv2U&e=> \ " ecordonnier@lj8k2dq3:~/dev/yoe$ git rev-parse HEAD 7ce0a300ea45d28cfd58094cb5e9e07651797226 cordonnier@lj8k2dq3:~/dev/yoe$ . ./envsetup.sh rpi4-64 Setting PROJECT=rpi4-64 Setting MACHINE=raspberrypi4-64 /home/ecordonnier/dev/yoe/conf/auto.conf has been updated Setting DOCKER_REPO to yoedistro/yoe-build:trixie-x86_64 ecordonnier@lj8k2dq3:~/dev/yoe$ yoe_setup ecordonnier@lj8k2dq3:~/dev/yoe$ bitbake yoe-kiosk-image NOTE: Started PRServer with DBfile: /home/ecordonnier/dev/yoe/cache/prserv.sqlite3, Address: 127.0.0.1:44795 <https://urldefense.proofpoint.com/v2/url?u=http-3A__127.0.0.1-3A44795&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=-NtkavIQQp5Iqw_UoaYZsC0r9-dP8qjeWtlDZh0jty5AiQ9z97d4-blVTpeRtBxx&s=PJMI5Who1QWr6q5cgr_vEwT478oi7c8luL5ThOzNZRc&e=>, PID: 111 WARNING: You are using a local hash equivalence server but have configured an sstate mirror. This will likely mean no sstate will match from the mirror. You may wish to disable the hash equivalence use (BB_HASHSERVE), or use a hash equivalence server alongside the sstate mirror. Loading cache: 100% |####################################################################################################################################################################################################################| Time: 0:00:02 Loaded 5831 entries from dependency cache. NOTE: Resolving any missing task queue dependenciesBuild Configuration:
BB_VERSION = "2.16.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-yoe-linux" MACHINE = "raspberrypi4-64" DISTRO = "yoe" DISTRO_VERSION = "2025.11" TUNE_FEATURES = "aarch64 crc cortexa72 nocrypto" TARGET_FPU = "" meta-yoe = "master:7ce0a300ea45d28cfd58094cb5e9e07651797226" meta-raspberrypi = "HEAD:b667e177b1e6642cb11301801db44d4515c1652d" meta-clang = "HEAD:d0a67c76b7a3b585dbe2ba8ad509dc0fe0e58af2" meta-qt6 = "HEAD:836b1c3212c3562c0909468ab415df98c1145759"meta-filesystems
meta-gnome
meta-initramfs
meta-multimedia
meta-networking
meta-oe
meta-perl
meta-python
meta-webserver
meta-xfce = "HEAD:219328f37cbf6aa4b2d7b77d21e00240543d73ad"
meta = "HEAD:ac7327583aef83fd400190506f3147623de38b68"Sstate summary: Wanted 2 Local 0 Mirrors 2 Missed 0 Current 3493 (100%
match, 100% complete)#######################################################################################################################| ETA: 0:00:00Initialising tasks: 100% |###############################################################################################################################################################################################################|
Time: 0:00:05
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 7090 tasks of which 7088 didn't need to
be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 5 secondsSummary: There was 1 WARNING message.
Quoted 317 lines · Etienne Cordonnier
Hi Khem,
I haven't had the time to debug yet, but I've seen your message.Étienne
Quoted 310 lines · Khem Raj
It can be reproduced with direct invocation
kraj@apollo
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0❯ recipe-sysroot-native/usr/bin/opkg \
--volatile-cache \
-f opkg.conf \
-t temp/ipktemp/ \
-o rootfs \
--force-postinstall \
--prefer-arch-to-version \
--force-depends \
remove glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us[1] 346156 segmentation fault (core dumped)
recipe-sysroot-native/usr/bin/opkg --volatile-cache -f opkg.conf -t -o
rootsI have a workaround by setting
IMAGE_LINGUAS= "en-us"in local.conf which avoids the need for opkg remove operation which is crashing.
Quoted 282 lines · Khem Raj
I am starting to see the following crash in opkg when building image. Anyone seeing something like this?
(No debugging symbols found in
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg) [New LWP 34493]
[Thread debugging usinglibthread_dbenabled]
Using hostlibthread_dblibrary "/usr/lib/libthread_db.so.1".
Core was generated by `/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/opkg.conf
-t/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/temp/ipktemp/
-o/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/rootfs
--force-postinstall --prefer-arch-to-version --force-depends remove
glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us'.
Program terminated with signal SIGSEGV, Segmentation fault.
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1(gdb) bt
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#10x00007f50a818a3dcinpool_str2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#20x00007f50a84fe4adin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#30x00007f50a84ff4dfinopkg_solver_remove() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#40x00007f50a84e9bfbin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#50x00007f50a84eadb2inopkg_cmd_exec() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#60x00005557220b6a9din ?? ()
#70x00007f50a8311f68in__libc_start_call_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#80x00007f50a831201bin__libc_start_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#90x00005557220b6bf1in ?? ()On Thu, Nov 27, 2025 at 10:11 AM Etienne Cordonnier via lists.openembedded.org
<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openembedded.org&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=7Hhr9df0PBRkpiFWBooOX6tv5kZhGeHxO5S6vVaNiw8&e=>Quoted 235 lines · <[email protected]> wrote:
Hi Gyorgy,
I have sent a patch to opkg upstream which disables the ACL option by default again (it is
https://lists.yoctoproject.org/g/opkg/message/175
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_opkg_message_175&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=4U1D3q2TfA7jjhTo68DgNSOLopG_6Nlj6Ta9OG8TN_g&e=>
, however the web-view doesn't seem to work at the moment. I only see "Forbidden").Étienne
Quoted 193 lines · Gyorgy Sarvari
I just tried this, but it seems that the ACL switch was toggled during
the CMake transition. With Autotools ACL was disabled by default, but
with CMake it seems to be enabled - and it complains that it can't find
libacl on my machine.Quoted 4 lines · Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier <[email protected]>
See release notes at
-Quoted 5 lines
[0.9.0] - 2025-06-27
Semiannual opkg release.
Bumping the minor version as a result of the project buildtooling changing from autotools to cmake.
Quoted 2 lines
- Added a Dockerfile container definition (
:docker/) for avalid developer build environment for opkg.
Quoted 1 line
- It's recommended that project contributors use this container
to build and test their changes.
Quoted 1 line
- The AutoTools-based build framework has [been replaced](
Quoted 1 line
- Refer to the
docs/CONTRIBUTING.mddocumentation for updatedbuild instructions.
Quoted 4 lines
Signed-off-by Etienne Cordonnier <[email protected]>--- .../opkg/opkg/0002-config.h.in-fix-typo.patch | 27+++++++++++++++++++
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest | 2 +-.../opkg/{opkg_0.8.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}| 22 ++++++++------- > 3 files changed, 41 insertions(+), 10 deletions(-) > create mode 100644
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 1 line
rename meta/recipes-devtools/opkg/{opkg_0.8.0.bb<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}
(76%)Quoted 2 lines
diff --git
a/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchb/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 4 lines
new file mode 100644
index 00000000000..626bbd01b68
---/dev/null
+++
b/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchReview line 1
Quoted 2 lines
(quoted diff) +1
-0@@ -0,0 +1,27 @@ +From 5a81faadbc2397d554bc598d535fd2d44cbc8d10 Mon Sep 1700:00:00 2001
Review line 4
Quoted 3 lines
(quoted diff) +3
-0+From: Etienne Cordonnier <[email protected]> +Date: Mon, 20 Oct 2025 18:57:56 +0200 +Subject: [PATCH] config.h.inReview line 6
Quoted 2 lines
(quoted diff) +2
-0+ +Upstream-Status: Backport [Review line 9
Quoted 3 lines
(quoted diff) +3
-0+Signed-off-by: Etienne Cordonnier <[email protected]> +--- + config.h.inReview line 12
Quoted 3 lines
(quoted diff) +3
-0+ 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.h.in<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>
b/config.h.in
<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>Review line 14
Quoted 2 lines
(quoted diff) +2
-0+index 4fa9842..877b8c7 100644 +--- a/config.h.inReview line 15
Quoted 1 line
(quoted diff) +1
-0++++ b/config.h.inReview
Quoted 13 lines
(quoted diff) +12
-0+@@ -2,7 +2,7 @@ + #cmakedefine01 WITH_XZ + #cmakedefine01 WITH_BZIP2 + #cmakedefine01 WITH_LZ4 +-#cmakedefine01 WITH_LZSTD ++#cmakedefine01 WITH_ZSTD + #cmakedefine01 WITH_CURL + #cmakedefine01 WITH_SSLCURL + #cmakedefine01 WITH_ACL +-- +2.43.0 +(quoted diff) +0
-0b/meta/recipes-devtools/opkg/opkg/run-ptest
meta/recipes-devtools/opkg/opkg/run-ptest line 5
Quoted 9 lines
index
5fb7077eec9..d485a4aace5100644meta/recipes-devtools/opkg/opkg/run-ptest +1
-1@@ -2,4 +2,4 @@ OPKG_PATH=$(which opkg) -make OPKG_PATH=$OPKG_PATH run-tests +make -C tests DATADIR=/share SYSCONFDIR=/etc VARDIR=/varOPKG_PATH=$OPKG_PATH
Review
Quoted 1 line
(quoted diff) +0
-0<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>Quoted 2 lines
similarity index 76%
rename from meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
rename to meta/recipes-devtools/opkg/opkg_0.9.0.bb
Quoted 2 lines
index
12e2edf7e3f..ed2f36d636b100644
--- a/meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
+++ b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 15
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0@@ -15,34 +15,35 @@ PE = "1" SRC_URI = "meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 17
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0file://opkg.conf \file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 21
Quoted 5 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1+ file://0002-config.h.in-fix-typo.patch \ file://run-ptest \ " -SRC_URI[sha256sum] ="
582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 22
Quoted 1 line
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0+SRC_URI[sha256sum] ="
440ef321862e01f83da4d02884a0cbb4d9d7b32f82faa81a6a85493f0c89d0f5"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 23
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0# This needs to be before ptest inherit, otherwise all ptestfiles end packaged
Quoted 6 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1# in libopkg package if OPKGLIBDIR == libdir, because default # PTEST_PATH ?= "${libdir}/${BPN}/ptest" PACKAGES =+ "libopkg" -inherit autotools pkgconfig ptest +inherit cmake pkgconfig ptestmeta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 37
Quoted 10 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1target_localstatedir := "${localstatedir}" OPKGLIBDIR ??= "${target_localstatedir}/lib" PACKAGECONFIG ??= "libsolv" -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ +PACKAGECONFIG[gpg] = "-DWITH_GPGME=ON,-DWITH_GPGME=OFF,\ gnupg gpgme libgpg-error,\ ${@ "gnupg" if ("native" in d.getVar("PN")) else"gnupg-gpg"}\
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 39
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2" -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" -PACKAGECONFIG[ssl-curl] ="--enable-ssl-curl,--disable-ssl-curl,curl openssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 41
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2-PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" -PACKAGECONFIG[libsolv] ="--with-libsolv,--without-libsolv,libsolv"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 40
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+PACKAGECONFIG[curl] = "-DWITH_CURL=ON,-DWITH_CURL=OFF,curl" +PACKAGECONFIG[ssl-curl] ="-DWITH_SSLCURL=ON,-DWITH_SSLCURL=OFF,curl openssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 42
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+PACKAGECONFIG[sha256] = "-DWITH_SHA256=ON,-DWITH_SHA256=OFF" +PACKAGECONFIG[libsolv] ="-DUSE_SOLVER_LIBSOLV=ON,-DUSE_SOLVER_LIBSOLV=OFF,libsolv"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 43
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2-EXTRA_OECONF = "--enable-zstd" -EXTRA_OECONF:append:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+EXTRA_OECMAKE = "-DWITH_ZSTD=ON" +EXTRA_OECMAKE:append:class-native = "(quoted diff) +0
-2-DVARDIR=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} -DSYSCONFDIR=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 60
Quoted 8 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0do_install:append () { install -d ${D}${sysconfdir}/opkg@@ -56,6 +57,9 @@ do_install:append () { } do_install_ptest () { + # the ptest class uses a Makefile for installation, butcmake uses Ninja per default so we need to install ptests manually:
Quoted 12 lines
meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 64
Quoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+ cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" !="0" ];then echo "FAIL:"$^;else echo "PASS:"$^;fi'
${D}${PTEST_PATH}/tests/MakefileQuoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0}-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#226864):
https://lists.openembedded.org/g/openembedded-core/message/226864
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_message_226864&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=RM3vVpXB68pNmt1v3I8UHhC8fbIHFusxWhHViuMiKjI&e=>
Mute This Topic: https://lists.openembedded.org/mt/115910660/1997914
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_115910660_1997914&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=TfGnmOyEtO9VQXe3p4174fbjQnzAW_wgb7-9bBzLre4&e=>
Group Owner: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-core/unsub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=HrgmZCbtNYqyFd-8EM0T4MpJVrJzIQuEEgQV1qr3Mkg&e=>
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
Hi Khem,
I tried a build of yoe-kiosk-image with yoe-distro 7ce0a300ea45d28cfd58094cb5e9e07651797226 and openembedded-core branch kraj/i-told-you 6c4810b008e56a1f8c076265b57fe648462deca8 , and get a crash of clang while building qtwebengine, so I guess I'm not testing the right version?
| aarch64-yoe-linux-clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation)
| clang version 22.0.0 | Target: aarch64-yoe-linux | Thread model: posix | InstalledDir:
/home/ecordonnier/dev/yoe/build/tmp/work/cortexa72-yoe-linux/qtwebengine/6.10.2/recipe-sysroot-native/usr/bin/aarch64-yoe-linux
Quoted 419 lines · Khem Raj
Hmm I think it might be with my branch kraj/i-told-you on contrib tree which has glibc master
Quoted 413 lines · Etienne Cordonnier
I also use yoe distro rpi4-64 building yoe-kiosk-image and I also tried without setting
IMAGE_LINGUASfirst.
"it works on my machine" :-/
Which commit do to youse?Quoted 406 lines · Khem Raj
My case is yoe distro rpi4-64 building yoe-kiosk-image I do not set
IMAGE_LINGUASto get into the problem if I set it then it worksQuoted 400 lines · Etienne Cordonnier
Hi Khem,
I've not managed to reproduce at the moment, neither on poky nor on yoe-distro. I'm on Ubuntu 24.04. Can you maybe send me your local.conf?:ecordonnier@lj8k2dq3:~/dev/yoe$ cat conf/local.conf IMAGE_LINGUAS = "en-us en-gb" ENABLE_BINARY_LOCALE_GENERATION = "1" SSTATE_MIRRORS = " \ file://.* https://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH <https://urldefense.proofpoint.com/v2/url?u=https-3A__sstate.yoctoproject.org_all_PATH-3Bdownloadfilename-3DPATH&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=-NtkavIQQp5Iqw_UoaYZsC0r9-dP8qjeWtlDZh0jty5AiQ9z97d4-blVTpeRtBxx&s=vuV0954VFehkpPG9JVC6OqQz3b5Oyuo-Zeat1SNYv2U&e=> \ " ecordonnier@lj8k2dq3:~/dev/yoe$ git rev-parse HEAD 7ce0a300ea45d28cfd58094cb5e9e07651797226 cordonnier@lj8k2dq3:~/dev/yoe$ . ./envsetup.sh rpi4-64 Setting PROJECT=rpi4-64 Setting MACHINE=raspberrypi4-64 /home/ecordonnier/dev/yoe/conf/auto.conf has been updated Setting DOCKER_REPO to yoedistro/yoe-build:trixie-x86_64 ecordonnier@lj8k2dq3:~/dev/yoe$ yoe_setup ecordonnier@lj8k2dq3:~/dev/yoe$ bitbake yoe-kiosk-image NOTE: Started PRServer with DBfile: /home/ecordonnier/dev/yoe/cache/prserv.sqlite3, Address: 127.0.0.1:44795 <https://urldefense.proofpoint.com/v2/url?u=http-3A__127.0.0.1-3A44795&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=-NtkavIQQp5Iqw_UoaYZsC0r9-dP8qjeWtlDZh0jty5AiQ9z97d4-blVTpeRtBxx&s=PJMI5Who1QWr6q5cgr_vEwT478oi7c8luL5ThOzNZRc&e=>, PID: 111 WARNING: You are using a local hash equivalence server but have configured an sstate mirror. This will likely mean no sstate will match from the mirror. You may wish to disable the hash equivalence use (BB_HASHSERVE), or use a hash equivalence server alongside the sstate mirror. Loading cache: 100% |####################################################################################################################################################################################################################| Time: 0:00:02 Loaded 5831 entries from dependency cache. NOTE: Resolving any missing task queue dependenciesBuild Configuration:
BB_VERSION = "2.16.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-yoe-linux" MACHINE = "raspberrypi4-64" DISTRO = "yoe" DISTRO_VERSION = "2025.11" TUNE_FEATURES = "aarch64 crc cortexa72 nocrypto" TARGET_FPU = "" meta-yoe = "master:7ce0a300ea45d28cfd58094cb5e9e07651797226" meta-raspberrypi = "HEAD:b667e177b1e6642cb11301801db44d4515c1652d" meta-clang = "HEAD:d0a67c76b7a3b585dbe2ba8ad509dc0fe0e58af2" meta-qt6 = "HEAD:836b1c3212c3562c0909468ab415df98c1145759"meta-filesystems
meta-gnome
meta-initramfs
meta-multimedia
meta-networking
meta-oe
meta-perl
meta-python
meta-webserver
meta-xfce = "HEAD:219328f37cbf6aa4b2d7b77d21e00240543d73ad"
meta = "HEAD:ac7327583aef83fd400190506f3147623de38b68"Sstate summary: Wanted 2 Local 0 Mirrors 2 Missed 0 Current 3493 (100%
match, 100% complete)#######################################################################################################################| ETA: 0:00:00Initialising tasks: 100% |###############################################################################################################################################################################################################|
Time: 0:00:05
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 7090 tasks of which 7088 didn't need to
be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 5 secondsSummary: There was 1 WARNING message.
Quoted 318 lines · Etienne Cordonnier
Hi Khem,
I haven't had the time to debug yet, but I've seen your message.Étienne
Quoted 311 lines · Khem Raj
It can be reproduced with direct invocation
kraj@apollo
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0❯ recipe-sysroot-native/usr/bin/opkg \
--volatile-cache \
-f opkg.conf \
-t temp/ipktemp/ \
-o rootfs \
--force-postinstall \
--prefer-arch-to-version \
--force-depends \
remove glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us[1] 346156 segmentation fault (core dumped)
recipe-sysroot-native/usr/bin/opkg --volatile-cache -f opkg.conf -t -o
rootsI have a workaround by setting
IMAGE_LINGUAS= "en-us"in local.conf which avoids the need for opkg remove operation which is crashing.
Quoted 283 lines · Khem Raj
I am starting to see the following crash in opkg when building image. Anyone seeing something like this?
(No debugging symbols found in
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg) [New LWP 34493]
[Thread debugging usinglibthread_dbenabled]
Using hostlibthread_dblibrary "/usr/lib/libthread_db.so.1".
Core was generated by `/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/opkg.conf
-t/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/temp/ipktemp/
-o/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/rootfs
--force-postinstall --prefer-arch-to-version --force-depends remove
glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us'.
Program terminated with signal SIGSEGV, Segmentation fault.
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1(gdb) bt
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#10x00007f50a818a3dcinpool_str2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#20x00007f50a84fe4adin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#30x00007f50a84ff4dfinopkg_solver_remove() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#40x00007f50a84e9bfbin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#50x00007f50a84eadb2inopkg_cmd_exec() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#60x00005557220b6a9din ?? ()
#70x00007f50a8311f68in__libc_start_call_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#80x00007f50a831201bin__libc_start_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#90x00005557220b6bf1in ?? ()On Thu, Nov 27, 2025 at 10:11 AM Etienne Cordonnier via lists.openembedded.org
<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openembedded.org&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=7Hhr9df0PBRkpiFWBooOX6tv5kZhGeHxO5S6vVaNiw8&e=>Quoted 236 lines · <[email protected]> wrote:
Hi Gyorgy,
I have sent a patch to opkg upstream which disables the ACL option by default again (it is
https://lists.yoctoproject.org/g/opkg/message/175
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_opkg_message_175&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=4U1D3q2TfA7jjhTo68DgNSOLopG_6Nlj6Ta9OG8TN_g&e=>
, however the web-view doesn't seem to work at the moment. I only see "Forbidden").Étienne
Quoted 193 lines · Gyorgy Sarvari
I just tried this, but it seems that the ACL switch was toggled during
the CMake transition. With Autotools ACL was disabled by default, but
with CMake it seems to be enabled - and it complains that it can't find
libacl on my machine.Quoted 4 lines · Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier <[email protected]>
See release notes at
-Quoted 5 lines
[0.9.0] - 2025-06-27
Semiannual opkg release.
Bumping the minor version as a result of the project buildtooling changing from autotools to cmake.
Quoted 2 lines
- Added a Dockerfile container definition (
:docker/) for avalid developer build environment for opkg.
Quoted 1 line
- It's recommended that project contributors use this
container to build and test their changes.
Quoted 1 line
- The AutoTools-based build framework has [been replaced](
Quoted 1 line
- Refer to the
docs/CONTRIBUTING.mddocumentation forupdated build instructions.
Quoted 4 lines
Signed-off-by Etienne Cordonnier <[email protected]>--- .../opkg/opkg/0002-config.h.in-fix-typo.patch | 27+++++++++++++++++++
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest | 2 +-.../opkg/{opkg_0.8.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}| 22 ++++++++------- > 3 files changed, 41 insertions(+), 10 deletions(-) > create mode 100644
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 1 line
rename meta/recipes-devtools/opkg/{opkg_0.8.0.bb<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}
(76%)Quoted 2 lines
diff --git
a/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchb/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 4 lines
new file mode 100644
index 00000000000..626bbd01b68
---/dev/null
+++
b/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchReview line 1
Quoted 2 lines
(quoted diff) +1
-0@@ -0,0 +1,27 @@ +From 5a81faadbc2397d554bc598d535fd2d44cbc8d10 Mon Sep 1700:00:00 2001
Review line 4
Quoted 3 lines
(quoted diff) +3
-0+From: Etienne Cordonnier <[email protected]> +Date: Mon, 20 Oct 2025 18:57:56 +0200 +Subject: [PATCH] config.h.inReview line 6
Quoted 2 lines
(quoted diff) +2
-0+ +Upstream-Status: Backport [Review line 9
Quoted 3 lines
(quoted diff) +3
-0+Signed-off-by: Etienne Cordonnier <[email protected]> +--- + config.h.inReview line 12
Quoted 3 lines
(quoted diff) +3
-0+ 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.h.in<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>
b/config.h.in
<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>Review line 14
Quoted 2 lines
(quoted diff) +2
-0+index 4fa9842..877b8c7 100644 +--- a/config.h.inReview line 15
Quoted 1 line
(quoted diff) +1
-0++++ b/config.h.inReview
Quoted 13 lines
(quoted diff) +12
-0+@@ -2,7 +2,7 @@ + #cmakedefine01 WITH_XZ + #cmakedefine01 WITH_BZIP2 + #cmakedefine01 WITH_LZ4 +-#cmakedefine01 WITH_LZSTD ++#cmakedefine01 WITH_ZSTD + #cmakedefine01 WITH_CURL + #cmakedefine01 WITH_SSLCURL + #cmakedefine01 WITH_ACL +-- +2.43.0 +(quoted diff) +0
-0b/meta/recipes-devtools/opkg/opkg/run-ptest
meta/recipes-devtools/opkg/opkg/run-ptest line 5
Quoted 9 lines
index
5fb7077eec9..d485a4aace5100644meta/recipes-devtools/opkg/opkg/run-ptest +1
-1@@ -2,4 +2,4 @@ OPKG_PATH=$(which opkg) -make OPKG_PATH=$OPKG_PATH run-tests +make -C tests DATADIR=/share SYSCONFDIR=/etc VARDIR=/varOPKG_PATH=$OPKG_PATH
Review
Quoted 1 line
(quoted diff) +0
-0<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>Quoted 2 lines
similarity index 76%
rename from meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
rename to meta/recipes-devtools/opkg/opkg_0.9.0.bb
Quoted 2 lines
index
12e2edf7e3f..ed2f36d636b100644
--- a/meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
+++ b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 15
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0@@ -15,34 +15,35 @@ PE = "1" SRC_URI = "meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 17
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0file://opkg.conf \file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 21
Quoted 5 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1+ file://0002-config.h.in-fix-typo.patch \ file://run-ptest \ " -SRC_URI[sha256sum] ="
582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 22
Quoted 1 line
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0+SRC_URI[sha256sum] ="
440ef321862e01f83da4d02884a0cbb4d9d7b32f82faa81a6a85493f0c89d0f5"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 23
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0# This needs to be before ptest inherit, otherwise all ptestfiles end packaged
Quoted 6 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1# in libopkg package if OPKGLIBDIR == libdir, because default # PTEST_PATH ?= "${libdir}/${BPN}/ptest" PACKAGES =+ "libopkg" -inherit autotools pkgconfig ptest +inherit cmake pkgconfig ptestmeta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 37
Quoted 10 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1target_localstatedir := "${localstatedir}" OPKGLIBDIR ??= "${target_localstatedir}/lib" PACKAGECONFIG ??= "libsolv" -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ +PACKAGECONFIG[gpg] = "-DWITH_GPGME=ON,-DWITH_GPGME=OFF,\ gnupg gpgme libgpg-error,\ ${@ "gnupg" if ("native" in d.getVar("PN")) else"gnupg-gpg"}\
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 39
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2" -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" -PACKAGECONFIG[ssl-curl] ="--enable-ssl-curl,--disable-ssl-curl,curl openssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 41
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2-PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" -PACKAGECONFIG[libsolv] ="--with-libsolv,--without-libsolv,libsolv"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 40
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+PACKAGECONFIG[curl] = "-DWITH_CURL=ON,-DWITH_CURL=OFF,curl" +PACKAGECONFIG[ssl-curl] ="-DWITH_SSLCURL=ON,-DWITH_SSLCURL=OFF,curl openssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 42
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+PACKAGECONFIG[sha256] = "-DWITH_SHA256=ON,-DWITH_SHA256=OFF" +PACKAGECONFIG[libsolv] ="-DUSE_SOLVER_LIBSOLV=ON,-DUSE_SOLVER_LIBSOLV=OFF,libsolv"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 43
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2-EXTRA_OECONF = "--enable-zstd" -EXTRA_OECONF:append:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+EXTRA_OECMAKE = "-DWITH_ZSTD=ON" +EXTRA_OECMAKE:append:class-native = "(quoted diff) +0
-2-DVARDIR=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} -DSYSCONFDIR=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 60
Quoted 8 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0do_install:append () { install -d ${D}${sysconfdir}/opkg@@ -56,6 +57,9 @@ do_install:append () { } do_install_ptest () { + # the ptest class uses a Makefile for installation, butcmake uses Ninja per default so we need to install ptests manually:
Quoted 12 lines
meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 64
Quoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+ cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" !="0" ];then echo "FAIL:"$^;else echo "PASS:"$^;fi'
${D}${PTEST_PATH}/tests/MakefileQuoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0}-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#226864):
https://lists.openembedded.org/g/openembedded-core/message/226864
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_message_226864&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=RM3vVpXB68pNmt1v3I8UHhC8fbIHFusxWhHViuMiKjI&e=>
Mute This Topic:
https://lists.openembedded.org/mt/115910660/1997914
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_115910660_1997914&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=TfGnmOyEtO9VQXe3p4174fbjQnzAW_wgb7-9bBzLre4&e=>
Group Owner: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-core/unsub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=HrgmZCbtNYqyFd-8EM0T4MpJVrJzIQuEEgQV1qr3Mkg&e=>
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
That crash might be due to build system running out of memory. What happens if you restart the build from same point
Quoted 437 lines · Etienne Cordonnier
Hi Khem,
I tried a build of yoe-kiosk-image with yoe-distro7ce0a300ea45d28cfd58094cb5e9e07651797226and openembedded-core branch kraj/i-told-you6c4810b008e56a1f8c076265b57fe648462deca8, and get a crash of clang while building qtwebengine, so I guess I'm not testing the right version?| aarch64-yoe-linux-clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation)
| clang version 22.0.0 | Target: aarch64-yoe-linux | Thread model: posix | InstalledDir:
/home/ecordonnier/dev/yoe/build/tmp/work/cortexa72-yoe-linux/qtwebengine/6.10.2/recipe-sysroot-native/usr/bin/aarch64-yoe-linuxQuoted 420 lines · Khem Raj
Hmm I think it might be with my branch kraj/i-told-you on contrib tree which has glibc master
Quoted 414 lines · Etienne Cordonnier
I also use yoe distro rpi4-64 building yoe-kiosk-image and I also tried without setting
IMAGE_LINGUASfirst.
"it works on my machine" :-/
Which commit do to youse?Quoted 407 lines · Khem Raj
My case is yoe distro rpi4-64 building yoe-kiosk-image I do not set
IMAGE_LINGUASto get into the problem if I set it then it worksQuoted 401 lines · Etienne Cordonnier
Hi Khem,
I've not managed to reproduce at the moment, neither on poky nor on yoe-distro. I'm on Ubuntu 24.04. Can you maybe send me your local.conf?:ecordonnier@lj8k2dq3:~/dev/yoe$ cat conf/local.conf IMAGE_LINGUAS = "en-us en-gb" ENABLE_BINARY_LOCALE_GENERATION = "1" SSTATE_MIRRORS = " \ file://.* https://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH <https://urldefense.proofpoint.com/v2/url?u=https-3A__sstate.yoctoproject.org_all_PATH-3Bdownloadfilename-3DPATH&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=-NtkavIQQp5Iqw_UoaYZsC0r9-dP8qjeWtlDZh0jty5AiQ9z97d4-blVTpeRtBxx&s=vuV0954VFehkpPG9JVC6OqQz3b5Oyuo-Zeat1SNYv2U&e=> \ " ecordonnier@lj8k2dq3:~/dev/yoe$ git rev-parse HEAD 7ce0a300ea45d28cfd58094cb5e9e07651797226 cordonnier@lj8k2dq3:~/dev/yoe$ . ./envsetup.sh rpi4-64 Setting PROJECT=rpi4-64 Setting MACHINE=raspberrypi4-64 /home/ecordonnier/dev/yoe/conf/auto.conf has been updated Setting DOCKER_REPO to yoedistro/yoe-build:trixie-x86_64 ecordonnier@lj8k2dq3:~/dev/yoe$ yoe_setup ecordonnier@lj8k2dq3:~/dev/yoe$ bitbake yoe-kiosk-image NOTE: Started PRServer with DBfile: /home/ecordonnier/dev/yoe/cache/prserv.sqlite3, Address: 127.0.0.1:44795 <https://urldefense.proofpoint.com/v2/url?u=http-3A__127.0.0.1-3A44795&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=-NtkavIQQp5Iqw_UoaYZsC0r9-dP8qjeWtlDZh0jty5AiQ9z97d4-blVTpeRtBxx&s=PJMI5Who1QWr6q5cgr_vEwT478oi7c8luL5ThOzNZRc&e=>, PID: 111 WARNING: You are using a local hash equivalence server but have configured an sstate mirror. This will likely mean no sstate will match from the mirror. You may wish to disable the hash equivalence use (BB_HASHSERVE), or use a hash equivalence server alongside the sstate mirror. Loading cache: 100% |####################################################################################################################################################################################################################| Time: 0:00:02 Loaded 5831 entries from dependency cache. NOTE: Resolving any missing task queue dependenciesBuild Configuration:
BB_VERSION = "2.16.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-yoe-linux" MACHINE = "raspberrypi4-64" DISTRO = "yoe" DISTRO_VERSION = "2025.11" TUNE_FEATURES = "aarch64 crc cortexa72 nocrypto" TARGET_FPU = "" meta-yoe = "master:7ce0a300ea45d28cfd58094cb5e9e07651797226" meta-raspberrypi = "HEAD:b667e177b1e6642cb11301801db44d4515c1652d" meta-clang = "HEAD:d0a67c76b7a3b585dbe2ba8ad509dc0fe0e58af2" meta-qt6 = "HEAD:836b1c3212c3562c0909468ab415df98c1145759"meta-filesystems
meta-gnome
meta-initramfs
meta-multimedia
meta-networking
meta-oe
meta-perl
meta-python
meta-webserver
meta-xfce = "HEAD:219328f37cbf6aa4b2d7b77d21e00240543d73ad"
meta = "HEAD:ac7327583aef83fd400190506f3147623de38b68"Sstate summary: Wanted 2 Local 0 Mirrors 2 Missed 0 Current 3493 (100%
match, 100% complete)#######################################################################################################################| ETA: 0:00:00Initialising tasks: 100% |###############################################################################################################################################################################################################|
Time: 0:00:05
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 7090 tasks of which 7088 didn't need to
be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 5 secondsSummary: There was 1 WARNING message.
Quoted 318 lines · Etienne Cordonnier
Hi Khem,
I haven't had the time to debug yet, but I've seen your message.Étienne
Quoted 311 lines · Khem Raj
It can be reproduced with direct invocation
kraj@apollo
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0❯ recipe-sysroot-native/usr/bin/opkg \
--volatile-cache \
-f opkg.conf \
-t temp/ipktemp/ \
-o rootfs \
--force-postinstall \
--prefer-arch-to-version \
--force-depends \
remove glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us[1] 346156 segmentation fault (core dumped)
recipe-sysroot-native/usr/bin/opkg --volatile-cache -f opkg.conf -t -o
rootsI have a workaround by setting
IMAGE_LINGUAS= "en-us"in local.conf which avoids the need for opkg remove operation which is crashing.
Quoted 283 lines · Khem Raj
I am starting to see the following crash in opkg when building image. Anyone seeing something like this?
(No debugging symbols found in
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg) [New LWP 34493]
[Thread debugging usinglibthread_dbenabled]
Using hostlibthread_dblibrary "/usr/lib/libthread_db.so.1".
Core was generated by `/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/opkg.conf
-t/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/temp/ipktemp/
-o/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/rootfs
--force-postinstall --prefer-arch-to-version --force-depends remove
glibc-binary-localedata-en-gb glibc-binary-localedata-c
glibc-binary-localedata-en-us'.
Program terminated with signal SIGSEGV, Segmentation fault.
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1(gdb) bt
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#10x00007f50a818a3dcinpool_str2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1#20x00007f50a84fe4adin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#30x00007f50a84ff4dfinopkg_solver_remove() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#40x00007f50a84e9bfbin ?? () from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#50x00007f50a84eadb2inopkg_cmd_exec() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1#60x00005557220b6a9din ?? ()
#70x00007f50a8311f68in__libc_start_call_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#80x00007f50a831201bin__libc_start_main() from/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#90x00005557220b6bf1in ?? ()On Thu, Nov 27, 2025 at 10:11 AM Etienne Cordonnier via lists.openembedded.org
<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openembedded.org&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=7Hhr9df0PBRkpiFWBooOX6tv5kZhGeHxO5S6vVaNiw8&e=>Quoted 236 lines · <[email protected]> wrote:
Hi Gyorgy,
I have sent a patch to opkg upstream which disables the ACL option by default again (it is
https://lists.yoctoproject.org/g/opkg/message/175
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_opkg_message_175&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=4U1D3q2TfA7jjhTo68DgNSOLopG_6Nlj6Ta9OG8TN_g&e=>
, however the web-view doesn't seem to work at the moment. I only see "Forbidden").Étienne
Quoted 193 lines · Gyorgy Sarvari
I just tried this, but it seems that the ACL switch was toggled during
the CMake transition. With Autotools ACL was disabled by default, but
with CMake it seems to be enabled - and it complains that it can't find
libacl on my machine.Quoted 4 lines · Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier <[email protected]>
See release notes at
-Quoted 5 lines
[0.9.0] - 2025-06-27
Semiannual opkg release.
Bumping the minor version as a result of the project buildtooling changing from autotools to cmake.
Quoted 2 lines
- Added a Dockerfile container definition (
:docker/) for avalid developer build environment for opkg.
Quoted 1 line
- It's recommended that project contributors use this
container to build and test their changes.
Quoted 1 line
- The AutoTools-based build framework has [been replaced](
Quoted 1 line
- Refer to the
docs/CONTRIBUTING.mddocumentation forupdated build instructions.
Quoted 4 lines
Signed-off-by Etienne Cordonnier <[email protected]>--- .../opkg/opkg/0002-config.h.in-fix-typo.patch | 27+++++++++++++++++++
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest | 2 +-.../opkg/{opkg_0.8.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}| 22 ++++++++------- > 3 files changed, 41 insertions(+), 10 deletions(-) > create mode 100644
meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 1 line
rename meta/recipes-devtools/opkg/{opkg_0.8.0.bb<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
=> opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>}
(76%)Quoted 2 lines
diff --git
a/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchb/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchQuoted 4 lines
new file mode 100644
index 00000000000..626bbd01b68
---/dev/null
+++
b/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchReview line 1
Quoted 2 lines
(quoted diff) +1
-0@@ -0,0 +1,27 @@ +From 5a81faadbc2397d554bc598d535fd2d44cbc8d10 Mon Sep 1700:00:00 2001
Review line 4
Quoted 3 lines
(quoted diff) +3
-0+From: Etienne Cordonnier <[email protected]> +Date: Mon, 20 Oct 2025 18:57:56 +0200 +Subject: [PATCH] config.h.inReview line 6
Quoted 2 lines
(quoted diff) +2
-0+ +Upstream-Status: Backport [Review line 9
Quoted 3 lines
(quoted diff) +3
-0+Signed-off-by: Etienne Cordonnier <[email protected]> +--- + config.h.inReview line 12
Quoted 3 lines
(quoted diff) +3
-0+ 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.h.in<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>
b/config.h.in
<https://urldefense.proofpoint.com/v2/url?u=http-3A__config.h.in&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=dOZFRTTcPycQ3CB3uYzjTaJbkYiw-ptty6e5ymgao80&e=>Review line 14
Quoted 2 lines
(quoted diff) +2
-0+index 4fa9842..877b8c7 100644 +--- a/config.h.inReview line 15
Quoted 1 line
(quoted diff) +1
-0++++ b/config.h.inReview
Quoted 13 lines
(quoted diff) +12
-0+@@ -2,7 +2,7 @@ + #cmakedefine01 WITH_XZ + #cmakedefine01 WITH_BZIP2 + #cmakedefine01 WITH_LZ4 +-#cmakedefine01 WITH_LZSTD ++#cmakedefine01 WITH_ZSTD + #cmakedefine01 WITH_CURL + #cmakedefine01 WITH_SSLCURL + #cmakedefine01 WITH_ACL +-- +2.43.0 +(quoted diff) +0
-0b/meta/recipes-devtools/opkg/opkg/run-ptest
meta/recipes-devtools/opkg/opkg/run-ptest line 5
Quoted 9 lines
index
5fb7077eec9..d485a4aace5100644meta/recipes-devtools/opkg/opkg/run-ptest +1
-1@@ -2,4 +2,4 @@ OPKG_PATH=$(which opkg) -make OPKG_PATH=$OPKG_PATH run-tests +make -C tests DATADIR=/share SYSCONFDIR=/etc VARDIR=/varOPKG_PATH=$OPKG_PATH
Review
Quoted 1 line
(quoted diff) +0
-0<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.8.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=XvRK6ACbDsce-6GfM1z7bmWP89Drkdoim4UnjGId7jE&e=>
b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
<https://urldefense.proofpoint.com/v2/url?u=http-3A__opkg-5F0.9.0.bb&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=PCgmYCv6lZBoj7mQyNmGExGtaa-iO2KXWfMw-LSuRro&e=>Quoted 2 lines
similarity index 76%
rename from meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
rename to meta/recipes-devtools/opkg/opkg_0.9.0.bb
Quoted 2 lines
index
12e2edf7e3f..ed2f36d636b100644
--- a/meta/recipes-devtools/opkg/opkg_0.8.0.bbQuoted 1 line
+++ b/meta/recipes-devtools/opkg/opkg_0.9.0.bb
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 15
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0@@ -15,34 +15,35 @@ PE = "1" SRC_URI = "meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 17
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0file://opkg.conf \file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 21
Quoted 5 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1+ file://0002-config.h.in-fix-typo.patch \ file://run-ptest \ " -SRC_URI[sha256sum] ="
582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 22
Quoted 1 line
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0+SRC_URI[sha256sum] ="
440ef321862e01f83da4d02884a0cbb4d9d7b32f82faa81a6a85493f0c89d0f5"meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 23
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0# This needs to be before ptest inherit, otherwise all ptestfiles end packaged
Quoted 6 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1# in libopkg package if OPKGLIBDIR == libdir, because default # PTEST_PATH ?= "${libdir}/${BPN}/ptest" PACKAGES =+ "libopkg" -inherit autotools pkgconfig ptest +inherit cmake pkgconfig ptestmeta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 37
Quoted 10 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-1target_localstatedir := "${localstatedir}" OPKGLIBDIR ??= "${target_localstatedir}/lib" PACKAGECONFIG ??= "libsolv" -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ +PACKAGECONFIG[gpg] = "-DWITH_GPGME=ON,-DWITH_GPGME=OFF,\ gnupg gpgme libgpg-error,\ ${@ "gnupg" if ("native" in d.getVar("PN")) else"gnupg-gpg"}\
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 39
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2" -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" -PACKAGECONFIG[ssl-curl] ="--enable-ssl-curl,--disable-ssl-curl,curl openssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 41
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2-PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" -PACKAGECONFIG[libsolv] ="--with-libsolv,--without-libsolv,libsolv"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 40
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+PACKAGECONFIG[curl] = "-DWITH_CURL=ON,-DWITH_CURL=OFF,curl" +PACKAGECONFIG[ssl-curl] ="-DWITH_SSLCURL=ON,-DWITH_SSLCURL=OFF,curl openssl"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 42
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+PACKAGECONFIG[sha256] = "-DWITH_SHA256=ON,-DWITH_SHA256=OFF" +PACKAGECONFIG[libsolv] ="-DUSE_SOLVER_LIBSOLV=ON,-DUSE_SOLVER_LIBSOLV=OFF,libsolv"
meta/recipes-devtools/opkg/opkg/run-ptest PE = "1" · line 43
Quoted 3 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-2-EXTRA_OECONF = "--enable-zstd" -EXTRA_OECONF:append:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
Quoted 2 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+EXTRA_OECMAKE = "-DWITH_ZSTD=ON" +EXTRA_OECMAKE:append:class-native = "(quoted diff) +0
-2-DVARDIR=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} -DSYSCONFDIR=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 60
Quoted 8 lines
meta/recipes-devtools/opkg/opkg/run-ptest +1
-0do_install:append () { install -d ${D}${sysconfdir}/opkg@@ -56,6 +57,9 @@ do_install:append () { } do_install_ptest () { + # the ptest class uses a Makefile for installation, butcmake uses Ninja per default so we need to install ptests manually:
Quoted 12 lines
meta/recipes-devtools/opkg/opkg/run-ptest do_install:append () { · line 64
Quoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +2
-0+ cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?"!= "0" ];then echo "FAIL:"$^;else echo "PASS:"$^;fi' ${D}${PTEST_PATH}/tests/Makefile
Quoted 4 lines
meta/recipes-devtools/opkg/opkg/run-ptest +0
-0}-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#226864):
https://lists.openembedded.org/g/openembedded-core/message/226864
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_message_226864&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=RM3vVpXB68pNmt1v3I8UHhC8fbIHFusxWhHViuMiKjI&e=>
Mute This Topic:
https://lists.openembedded.org/mt/115910660/1997914
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_115910660_1997914&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=TfGnmOyEtO9VQXe3p4174fbjQnzAW_wgb7-9bBzLre4&e=>
Group Owner: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-core/unsub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwMFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=6dqwyPgBXigbzfameBp2CEOukeCpM2DUfu0sg0bB32_yW13Nh-HmRl8UbCQaTnb5&s=HrgmZCbtNYqyFd-8EM0T4MpJVrJzIQuEEgQV1qr3Mkg&e=>
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
In reply to Khem RajQuoted 11 lines · Khem Raj via lists.openembedded.org
I am starting to see the following crash in opkg when building image. Anyone seeing something like this?
(No debugging symbols found in
/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg)
[New LWP 34493]
[Thread debugging usinglibthread_dbenabled]
Using hostlibthread_dblibrary "/usr/lib/libthread_db.so.1".
Core was generated by `/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/opkg.conf-t/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/temp/ipktemp/-o/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/rootfs--force-postinstall --prefer-arch-to-version --force-depends remove glibc-binary-localedata-en-gb glibc-binary-localedata-c glibc-binary-localedata-en-us'. Program terminated with signal SIGSEGV, Segmentation fault.
#00x00007f50a8190d20instringpool_strn2id() from/mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1
(gdb) bt
Quoted 10 lines
#0 0x00007f50a8190d20 in stringpool_strn2id () from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1 #1 0x00007f50a818a3dc in pool_str2id () from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/./libsolv.so.1 #2 0x00007f50a84fe4ad in ?? () from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1 #3 0x00007f50a84ff4df in opkg_solver_remove () from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1 #4 0x00007f50a84e9bfb in ?? () from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1 #5 0x00007f50a84eadb2 in opkg_cmd_exec () from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/yoe-kiosk-image/1.0/recipe-sysroot-native/usr/bin/../lib/libopkg.so.1 #6 0x00005557220b6a9d in ?? () #7 0x00007f50a8311f68 in __libc_start_call_main () from /mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6 #8 0x00007f50a831201b in __libc_start_main () from /mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6 #9 0x00005557220b6bf1 in ?? ()
We are facing a similar crash quite often in meta-qcom now, when building one of our initramfs images, but it doesn't happen all the time, even when building locally it is not trivial to reproduce the issue.
Jose opened https://bugzilla.yoctoproject.org/show_bug.cgi?id=16010
and we were able to reproduce this issue with opkg 0.7 and 0.9, so it could as well be a side effect of another change.
Thanks,
Ricardo
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
Hi,
what is the status of the patch updating to 0.9.0? I have seen that it is not in master-next any more.
Thanks
Étienne
Quoted 178 lines · Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier <[email protected]>
[0.9.0] - 2025-06-27
Semiannual opkg release.
Bumping the minor version as a result of the project build tooling changing from autotools to cmake.- Added a Dockerfile container definition (
:docker/) for a valid developer build environment for opkg.
- It's recommended that project contributors use this container to build
and test their changes.
- The AutoTools-based build framework has [been replaced](
https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject.org_opkg_commit_-3Fid-3D3f6040e321634471ec442fb0e80f140f1437e90b&d=DwIDAg&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=XCL4aTZh1fTrwHaeiGKsJoqKvbWZD2wo-GXF_JA4noFr_ddic0RujIuGOOp4d2Ce&s=7aRsLwHCTOwh-JuT30q4nwTIbBY2Yy39WpGwx9cHb1Y&e=
) with a more modern, CMake framework.
- Refer to thedocs/CONTRIBUTING.mddocumentation for updated build
instructions.Signed-off-by Etienne Cordonnier <[email protected]>--- .../opkg/opkg/0002-config.h.in-fix-typo.patch | 27 +++++++++++++++++++ meta/recipes-devtools/opkg/opkg/run-ptest | 2 +- .../opkg/{opkg_0.8.0.bb => opkg_0.9.0.bb} | 22 ++++++++------- 3 files changed, 41 insertions(+), 10 deletions(-) create mode 100644 meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch rename meta/recipes-devtools/opkg/{opkg_0.8.0.bb => opkg_0.9.0.bb} (76%)diff --git
a/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchb/meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patchnew file mode 100644
index 00000000000..626bbd01b68meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +6
-0@@ -0,0 +1,27 @@ +From 5a81faadbc2397d554bc598d535fd2d44cbc8d10 Mon Sep 17 00:00:00 2001 +From: Etienne Cordonnier <[email protected]> +Date: Mon, 20 Oct 2025 18:57:56 +0200 +Subject: [PATCH] config.h.in: fix typo + +Upstream-Status: Backport [meta/recipes-devtools/opkg/opkg/0002-config.h.in-fix-typo.patch new file +21
-0+Signed-off-by: Etienne Cordonnier <[email protected]> +--- + config.h.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.h.in b/config.h.in +index 4fa9842..877b8c7 100644 +--- a/config.h.in ++++ b/config.h.in +@@ -2,7 +2,7 @@ + #cmakedefine01 WITH_XZ + #cmakedefine01 WITH_BZIP2 + #cmakedefine01 WITH_LZ4 +-#cmakedefine01 WITH_LZSTD ++#cmakedefine01 WITH_ZSTD + #cmakedefine01 WITH_CURL + #cmakedefine01 WITH_SSLCURL + #cmakedefine01 WITH_ACL +-- +2.43.0 +meta/recipes-devtools/opkg/opkg/run-ptest +1
-1@@ -2,4 +2,4 @@ OPKG_PATH=$(which opkg) -make OPKG_PATH=$OPKG_PATH run-tests +make -C tests DATADIR=/share SYSCONFDIR=/etc VARDIR=/varOPKG_PATH=$OPKG_PATH
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-0@@ -15,34 +15,35 @@ PE = "1" SRC_URI = "\ file://opkg.conf \file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +1
-1+ file://0002-config.h.in-fix-typo.patch \ file://run-ptest \ " -SRC_URI[sha256sum] ="
582a4c9e220cce0b7d08a0915c95db9f24ae43ad372ed5d42d5ec5f6cd413f0c" +SRC_URI[sha256sum] = "440ef321862e01f83da4d02884a0cbb4d9d7b32f82faa81a6a85493f0c89d0f5"# This needs to be before ptest inherit, otherwise all ptest files end
packaged# in libopkg package if OPKGLIBDIR == libdir, because default # PTEST_PATH ?= "${libdir}/${BPN}/ptest" PACKAGES =+ "libopkg"meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-4-inherit autotools pkgconfig ptest +inherit cmake pkgconfig ptest target_localstatedir := "${localstatedir}" OPKGLIBDIR ??= "${target_localstatedir}/lib" PACKAGECONFIG ??= "libsolv" -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ +PACKAGECONFIG[gpg] = "-DWITH_GPGME=ON,-DWITH_GPGME=OFF,\ gnupg gpgme libgpg-error,\ ${@ "gnupg" if ("native" in d.getVar("PN")) else "gnupg-gpg"}\ " -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" -PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curlopenssl"
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-2-PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" -PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv" +PACKAGECONFIG[curl] = "-DWITH_CURL=ON,-DWITH_CURL=OFF,curl" +PACKAGECONFIG[ssl-curl] = "-DWITH_SSLCURL=ON,-DWITH_SSLCURL=OFF,curlopenssl"
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-0+PACKAGECONFIG[sha256] = "-DWITH_SHA256=ON,-DWITH_SHA256=OFF" +PACKAGECONFIG[libsolv] ="-DUSE_SOLVER_LIBSOLV=ON,-DUSE_SOLVER_LIBSOLV=OFF,libsolv"
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +0
-3-EXTRA_OECONF = "--enable-zstd" -EXTRA_OECONF:append:class-native = " --localstatedir=/${@os.path.relpath('${localstatedir}','${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +3
-2+EXTRA_OECMAKE = "-DWITH_ZSTD=ON" +EXTRA_OECMAKE:append:class-native = " -DVARDIR=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} -DSYSCONFDIR=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}" do_install:append () { install -d ${D}${sysconfdir}/opkg@@ -56,6 +57,9 @@ do_install:append () { } do_install_ptest () { + # the ptest class uses a Makefile for installation, but cmake usesNinja per default so we need to install ptests manually:
meta/recipes-devtools/opkg/opkg_0.9.0.bb renamed from meta/recipes-devtools/opkg/opkg_0.8.0.bb +2
-0+ cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0"];then echo "FAIL:"$^;else echo "PASS:"$^;fi'
${D}${PTEST_PATH}/tests/Makefile
}
--
2.43.0-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#225260):
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_message_225260&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=XCL4aTZh1fTrwHaeiGKsJoqKvbWZD2wo-GXF_JA4noFr_ddic0RujIuGOOp4d2Ce&s=rogmgcu5LmWWO0vQG0DZBFsTFVZ-yBU08727rMNAZNY&e=
Mute This Topic:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_115910660_7048771&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=XCL4aTZh1fTrwHaeiGKsJoqKvbWZD2wo-GXF_JA4noFr_ddic0RujIuGOOp4d2Ce&s=V9FHief_pTCRo1nHRLqGXiEHXiFtkc8vroy5Gmz0xQ4&e=
Group Owner: [email protected] Unsubscribe:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=XCL4aTZh1fTrwHaeiGKsJoqKvbWZD2wo-GXF_JA4noFr_ddic0RujIuGOOp4d2Ce&s=TXZ12yyEhyACR_Wh4zzp2H8RKUrxhVRcbcLAnrxYdvg&e=
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH v4 2/2] opkg: upgrade 0.8.0 -> 0.9.0
Quoted 7 lines · Etienne Cordonnier via lists.openembedded.org
Hi,
what is the status of the patch updating to 0.9.0? I have seen that it is not in master-next any more.Thanks
Étienne
Hi Étienne,
Your patch is still in the queue, but is expected to be merged in master after whinlatter release, so it is not present in master-next at this time.
You can see it in my master-next branch:
https://git.openembedded.org/openembedded-core-contrib/log/?h=mathieu/master-next&ofs=50
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com