python3-pystemd: add python3-wheel-native to DEPENDS
PATCH 1/1 python3-pystemd: add python3-wheel-native to DEPENDS
setuptools3.bbclass and python_setuptools_build_meta.bbclass no longer add python3-wheel-native to DEPENDS by default, following oe-core commit e546c697b7 ("classes/setuptools3: remove wheel dependency"), since setuptools >= 70.1.0 no longer needs the external wheel package to build a wheel.
This recipe's pyproject.toml/setup.py still declares wheel as a build requirement, so pyproject-build's --no-isolation dependency check now
fails:
ERROR Unmet dependencies (checked against .../recipe-sysroot-native/usr/bin/nativepython3):
wheel
wanted: any
found: not installed
Add python3-wheel-native to DEPENDS directly to satisfy it.
--- meta-python/recipes-devtools/python/python3-pystemd_0.15.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pystemd_0.15.3.bb +1 -1
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" SRC_URI[sha256sum] = "3533f6d287a1ffe39dbfffcf2f547454bb8ef7a169ac6a24e81f446ddb258802" -DEPENDS = "systemd" +DEPENDS = "python3-wheel-native systemd" RDEPENDS:${PN} += "\ python3-xml \ python3-lxml \
PATCH 101/109 ssmtp: upgrade 2.64 -> 2.66
Bump to the upstream 2.66 orig tarball (now .orig.tar.gz instead of .orig.tar.bz2) from Debian.
- ssmtp-bug584162-fix.patch dropped: the fix (dropping trailing '\r' in standardise() and the header_parse() EOF/empty-header handling) is already present verbatim in the 2.66 source.
- 0001-ssmtp-Correct-the-null-pointer-assignment-to-char-po.patch
dropped: upstream already initializes all the char pointers with NULL instead of (char)NULL.
- 0001-Fix-incompatible-pointer-types-error-with-gcc-15.patch
rebased: the call site already casts to (sighandler_t)handler in 2.66, so only the handler() signature hunk is still needed; the call-site hunk was dropped as it no longer applies and is unnecessary once the signature takes an int.
- use-DESTDIR.patch rebased: upstream 2.66 already appends $(LDFLAGS) in the ssmtp link rule, so that hunk was dropped; the DESTDIR hunks for install/uninstall are still needed and were regenerated against the new Makefile.in.
- build-ouside_srcdir.patch and 0001-include-libgen.h-for-basename.patch kept unchanged, still needed, apply cleanly.
Build-verified: ssmtp builds and packages successfully.
AI-Generated: Uses Claude Code
---
...ible-pointer-types-error-with-gcc-15.patch | 23 ++--
...e-null-pointer-assignment-to-char-po.patch | 51 -------
.../ssmtp/ssmtp/ssmtp-bug584162-fix.patch | 126 ------------------
.../ssmtp/ssmtp/use-DESTDIR.patch | 22 ++-
.../ssmtp/{ssmtp_2.64.bb => ssmtp_2.66.bb} | 8 +-
5 files changed, 24 insertions(+), 206 deletions(-)
delete mode 100644 meta-networking/recipes-support/ssmtp/ssmtp/0001-ssmtp-Correct-the-null-pointer-assignment-to-char-po.patch
delete mode 100644 meta-networking/recipes-support/ssmtp/ssmtp/ssmtp-bug584162-fix.patch
rename meta-networking/recipes-support/ssmtp/{ssmtp_2.64.bb => ssmtp_2.66.bb} (83%)meta-networking/recipes-support/ssmtp/ssmtp/0001-Fix-incompatible-pointer-types-error-with-gcc-15.patch +11 -12
@@ -17,11 +17,19 @@ TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/recipe-sysroot/usr/include/signal.h 1393 | void handler(void) | ^~~~~~~ +Note: as of ssmtp 2.66, the call site already reads +"(void)signal(SIGALRM, (sighandler_t)handler);", so once handler()'s +signature below is changed to take an int argument it matches +sighandler_t (void (*)(int)) exactly and the incompatible-pointer-types +warning/error is gone. Only the handler() signature hunk from the +original patch is still needed; the call-site hunk has been dropped +since it no longer applies and is unnecessary. + Upstream-Status: Inactive-Upstream [This package has been orphaned https://bugs.debian.org/925056] Signed-off-by: mark.yang <[email protected]> --- - ssmtp.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) + ssmtp.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssmtp.c b/ssmtp.c index 4dedaf8..a938d14 100644
@@ -35,13 +43,4 @@ index 4dedaf8..a938d14 100644 +void handler(__attribute__((unused)) int sig) { extern jmp_buf TimeoutJmpBuf; - -@@ -1451,7 +1451,7 @@ int ssmtp(char *argv[]) - from = from_format(uad, override_from); - - /* Now to the delivery of the message */ -- (void)signal(SIGALRM, (void(*)())handler); /* Catch SIGALRM */ -+ (void)signal(SIGALRM, handler); /* Catch SIGALRM */ - (void)alarm((unsigned) MAXWAIT); /* Set initial timer */ - if(setjmp(TimeoutJmpBuf) != 0) { - /* Then the timer has gone off and we bail out */ +
meta-networking/recipes-support/ssmtp/ssmtp/0001-ssmtp-Correct-the-null-pointer-assignment-to-char-po.patch deleted +0 -51
51 lines not on this page · raw message
meta-networking/recipes-support/ssmtp/ssmtp/ssmtp-bug584162-fix.patch deleted +0 -126
126 lines not on this page · raw message
meta-networking/recipes-support/ssmtp/ssmtp/use-DESTDIR.patch +10 -12
@@ -1,16 +1,19 @@ -Use DESTDIR during install/uninstall, this helps -with cross or staged builds. Additionally pass LDFLAGS -during linking. +Use DESTDIR during install/uninstall, this helps +with cross or staged builds. + +Note: as of ssmtp 2.66, upstream already appends $(LDFLAGS) to the +link command for the ssmtp binary, so that part of the original patch +is no longer needed and has been dropped. Signed-off-by: Khem Raj <[email protected]> Upstream-Status: Pending -Index: ssmtp-2.64/Makefile.in +Index: ssmtp-2.66/Makefile.in =================================================================== ---- ssmtp-2.64.orig/Makefile.in -+++ ssmtp-2.64/Makefile.in -@@ -46,40 +46,40 @@ all: ssmtp +--- ssmtp-2.66.orig/Makefile.in ++++ ssmtp-2.66/Makefile.in +@@ -46,36 +46,36 @@ .PHONY: install install: ssmtp $(GEN_CONFIG)
@@ -67,8 +70,3 @@ Index: ssmtp-2.64/Makefile.in # Binaries: ssmtp: $(OBJS) -- $(CC) -o ssmtp $(OBJS) @LIBS@ $(CFLAGS) -+ $(CC) -o ssmtp $(OBJS) @LIBS@ $(CFLAGS) $(LDFLAGS) - - .PHONY: clean - clean:
meta-networking/recipes-support/ssmtp/ssmtp_2.66.bb renamed from meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb +3 -5
@@ -3,17 +3,15 @@ HOMEPAGE = "http://packages.qa.debian.org/s/ssmtp.html" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e" -SRC_URI = "${DEBIAN_MIRROR}/main/s/${BPN}/${BPN}_${PV}.orig.tar.bz2 \ - file://ssmtp-bug584162-fix.patch \ +SRC_URI = "${DEBIAN_MIRROR}/main/s/${BPN}/${BPN}_${PV}.orig.tar.gz \ file://build-ouside_srcdir.patch \ file://use-DESTDIR.patch \ - file://0001-ssmtp-Correct-the-null-pointer-assignment-to-char-po.patch \ file://0001-include-libgen.h-for-basename.patch \ file://0001-Fix-incompatible-pointer-types-error-with-gcc-15.patch \ " -SRC_URI[md5sum] = "65b4e0df4934a6cd08c506cabcbe584f" -SRC_URI[sha256sum] = "22c37dc90c871e8e052b2cab0ad219d010fa938608cd66b21c8f3c759046fa36" +SRC_URI[md5sum] = "f9894703fcc559f63cffacfea08f9b75" +SRC_URI[sha256sum] = "6e639eafce4c8a3b7782c2a8a2d467be097c5896eae86fcde0f608666ea88249" inherit autotools update-alternatives
PATCH 102/109 tcpreplay: upgrade 4.5.5 -> 4.6.0
In reply to Khem RajBump to the 4.6.0 release tarball. As of 4.6.0 upstream introduces CMake as the recommended build system, but the release tarball still ships the Autotools build files (configure/Makefile.am) and Autotools remains fully supported for building from release tarballs (only deprecated for eventual removal in a future release), so the existing autotools-brokensep-based recipe continues to work unchanged.
0001-libopts.m4-set-POSIX_SHELL-to-bin-sh.patch kept unchanged, still needed, applies cleanly.
Build-verified: tcpreplay builds and packages successfully (existing buildpaths QA warnings for libtcpreplay.pc/defines.h are pre-existing and expected, WARN not ERROR on this distro).
AI-Generated: Uses Claude Code
---
.../{tcpreplay_4.5.5.bb => tcpreplay_4.6.0.bb} | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
rename meta-networking/recipes-support/tcpreplay/{tcpreplay_4.5.5.bb => tcpreplay_4.6.0.bb} (54%)meta-networking/recipes-support/tcpreplay/tcpreplay_4.6.0.bb renamed from meta-networking/recipes-support/tcpreplay/tcpreplay_4.5.5.bb +9 -1
@@ -11,7 +11,7 @@ SRC_URI = "https://github.com/appneta/${BPN}/releases/download/v${PV}/${BP}.tar. file://0001-libopts.m4-set-POSIX_SHELL-to-bin-sh.patch \ " -SRC_URI[sha256sum] = "ba37b6c9270fcebe86b83f68c4ec3d5ac8981f8c6087b582af0205a35ec4b11d" +SRC_URI[sha256sum] = "30f73b901e74b6ffc36c0f82afccc9d5740e70ba214a15763631a59dd2cc3564" UPSTREAM_CHECK_URI = "https://github.com/appneta/tcpreplay/releases" UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
@@ -23,5 +23,13 @@ EXTRA_OECONF += "--with-libpcap=${STAGING_DIR_HOST}${prefix}" inherit siteinfo autotools-brokensep do_install:append() { + # configure --with-libpcap=${STAGING_DIR_HOST}${prefix} bakes the absolute + # recipe-sysroot path into defines.h's pcap.h include and into + # libtcpreplay.pc's Libs.private -L flag, tripping the buildpaths QA + # check. Strip it from both the source tree copy (shipped verbatim into + # the tcpreplay-src debug package) and the installed copies under ${D}. sed -i -e 's:${RECIPE_SYSROOT}::g' ${S}/src/defines.h + sed -i -e 's:${RECIPE_SYSROOT}::g' \ + ${D}${includedir}/tcpreplay/defines.h \ + ${D}${libdir}/pkgconfig/libtcpreplay.pc }
PATCH 103/109 snort3: upgrade 3.9.7.0 -> 3.12.2.0
In reply to Khem RajBump to the latest snort3 release. Drop 0001-Fix-build-on-c23.patch: the once_flag/call_once C23 name-collision fix it carried (submitted upstream as snort3 PR #431) is now merged verbatim upstream (src/loggers/alert_fast.cc already uses std::once_flag/std::call_once as of this tag), and the patch fails to apply (reversed/already-applied) against 3.12.2.0.
Keep 0001-cmake-Check-for-HP-libunwind.patch (applies cleanly) and 0001-cmake-Pass-noline-flag-to-flex.patch (applies with offset only, no fuzz) unchanged.
The ~180 commits between the old and new SRCREV include several crash/security fixes (use-after-free, heap-buffer-overflow, null-deref) that are picked up naturally by this version bump.
Build-verified with cleansstate + full build for qemux86-64.
AI-Generated: Uses Claude Code
---
.../snort/snort3/0001-Fix-build-on-c23.patch | 43 -------------------
.../{snort3_3.9.7.0.bb => snort3_3.12.2.0.bb} | 3 +-
2 files changed, 1 insertion(+), 45 deletions(-)
delete mode 100644 meta-networking/recipes-connectivity/snort/snort3/0001-Fix-build-on-c23.patch
rename meta-networking/recipes-connectivity/snort/{snort3_3.9.7.0.bb => snort3_3.12.2.0.bb} (92%)meta-networking/recipes-connectivity/snort/snort3/0001-Fix-build-on-c23.patch deleted +0 -43
@@ -1,43 +0,0 @@ -From ae5566a7df4851bd47081ef0e00e2a0513b7f331 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Mon, 10 Nov 2025 19:41:16 -0800 -Subject: [PATCH] Fix build on c23 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -C23/glibc is now including once_init in stdlib.h - -https://patchwork.sourceware.org/project/glibc/patch/[email protected]/#213088 - -This is a name collision with the new C once_flag/call_once that -glibc exposes (via <stdlib.h>) and C++’s std::once_flag/std::call_once - -Upstream-Status: Submitted [https://github.com/snort3/snort3/pull/431] -Signed-off-by: Khem Raj <[email protected]> ---- - src/loggers/alert_fast.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/loggers/alert_fast.cc b/src/loggers/alert_fast.cc -index 7b5deab2..3f88bff6 100644 ---- a/src/loggers/alert_fast.cc -+++ b/src/loggers/alert_fast.cc -@@ -53,7 +53,7 @@ using namespace std; - #define FAST_BUF (4*K_BYTES) - - static THREAD_LOCAL TextLog* fast_log = nullptr; --static once_flag init_flag; -+static std::once_flag init_flag; - - #define S_NAME "alert_fast" - #define F_NAME S_NAME ".txt" -@@ -319,7 +319,7 @@ void FastLogger::set_buffer_ids(Inspector* gadget) - const BufferIds& FastLogger::get_buffer_ids(Inspector* gadget, Packet* p) - { - // lazy init required because loggers don't have a configure (yet) -- call_once(init_flag, set_buffer_ids, gadget); -+ std::call_once(init_flag, set_buffer_ids, gadget); - - InspectionBuffer buf; - const std::vector<unsigned>& idv =
meta-networking/recipes-connectivity/snort/snort3_3.12.2.0.bb renamed from meta-networking/recipes-connectivity/snort/snort3_3.9.7.0.bb +1 -2
@@ -10,10 +10,9 @@ DEPENDS = "flex-native hwloc libdaq libdnet libpcap libpcre libtirpc libunwind l SRC_URI = "git://github.com/snort3/snort3.git;protocol=https;branch=master;tag=${PV} \ file://0001-cmake-Check-for-HP-libunwind.patch \ file://0001-cmake-Pass-noline-flag-to-flex.patch \ - file://0001-Fix-build-on-c23.patch \ " -SRCREV = "892f9f3b04d604797851d60e89d6cfe640a047cd" +SRCREV = "14aeb09f5a0856812dbe08ead3c21f99e8860aa0" PACKAGES =+ "${PN}-scripts"
PATCH 104/109 samba: upgrade 4.23.8 -> 4.23.11
In reply to Khem RajStay within the 4.23.x stable series (do not touch the sibling talloc/tdb/tevent/ldb recipes). This picks up two intervening point releases:
- 4.23.9: bug-fix release (use-after-free in ACL claims/conditions handling, CTDB read-only record use-after-free/resource leak, RODC auth fixes, among others).
- 4.23.10: security release fixing CVE-2026-6949 (TSIG/DNS OOB write crash), CVE-2026-58216 (KDC kpasswd OOB read crash), CVE-2026-58218 (DNS TKEY cache-flood DoS), CVE-2026-58221 (LDAP privilege escalation via internal LDB special DNs), CVE-2026-58222 (LDAP Compare filter used as protected-attribute disclosure oracle) and CVE-2026-58224 (CTDB protocol bounds-checking gaps).
- 4.23.11: further bug fixes (DRS memory leak, pthreadpool fork race, RODC/NTLMv2 trust fixes, CephFS vfs crashes).
All 13 existing patches (including the musl-only pam/getpwent_r ones) still apply cleanly against 4.23.11 with offset only, no fuzz, so none needed to be reworked or dropped. LIC_FILES_CHKSUM for COPYING is unchanged.
Build-verified with cleansstate + full build for qemux86-64.
AI-Generated: Uses Claude Code
---
.../samba/{samba_4.23.8.bb => samba_4.23.11.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-networking/recipes-connectivity/samba/{samba_4.23.8.bb => samba_4.23.11.bb} (99%)meta-networking/recipes-connectivity/samba/samba_4.23.11.bb renamed from meta-networking/recipes-connectivity/samba/samba_4.23.8.bb +1 -1
@@ -39,7 +39,7 @@ SRC_URI:append:libc-musl = " \ file://samba-4.3.9-remove-getpwent_r.patch \ " -SRC_URI[sha256sum] = "976129847456dc5b78c00f8ffb79dc605c49d6aaca8b2aa772fd22dbb69fae01" +SRC_URI[sha256sum] = "089fdeeaf83593d8f9a16847a86b6cad2fc90f7a893eb8d9d5f509bbecadc0d4" UPSTREAM_CHECK_REGEX = "samba\-(?P<pver>4\.19(\.\d+)+).tar.gz"
PATCH 105/109 llhttp: add new recipe (9.4.3)
In reply to Khem Rajrestinio 0.7.x drops its bundled http_parser and instead requires llhttp to be supplied externally via find_package().
AI-Generated: Uses Claude Code
--- .../recipes-support/llhttp/llhttp_9.4.3.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-networking/recipes-support/llhttp/llhttp_9.4.3.bb
meta-networking/recipes-support/llhttp/llhttp_9.4.3.bb new file +18 -0
@@ -0,0 +1,18 @@ +SUMMARY = "Port of http_parser to llvm's libFuzzer, and a rewrite of the HTTP parser used in Node.js" +DESCRIPTION = "llhttp is a HTTP/1.x parser generated from a bytecode-like \ + instruction set that is smaller and faster to maintain than \ + the legacy http_parser it replaces. It is used by restinio \ + (and Node.js itself) as the HTTP request/response parser." +HOMEPAGE = "https://github.com/nodejs/llhttp" +SECTION = "libs" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9e4e583cb28b7e0c2ef8df4832706e96" + +# The release/v* tags carry the generated sources and live on the "release" +# branch, which shares no history with "main". +SRC_URI = "git://github.com/nodejs/llhttp.git;protocol=https;branch=release;tag=release/v${PV}" +SRCREV = "0e815792b167a9bd8ace259b95b7da953776c288" + +inherit cmake + +BBCLASSEXTEND = "native nativesdk"
PATCH 106/109 expected-lite: add new recipe (0.8.0)
In reply to Khem Rajrestinio 0.7.x drops its bundled nonstd::expected backport and instead requires expected-lite to be supplied externally via find_package(). Add a new recipe pinned to v0.8.0, the exact version restinio 0.7.9.1 pins in its externals.rb manifest.
Modeled on the existing span-lite recipe (same author/ecosystem, same LICENSE.txt boilerplate).
AI-Generated: Uses Claude Code
--- .../expected-lite/expected-lite_0.8.0.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-oe/recipes-support/expected-lite/expected-lite_0.8.0.bb
meta-oe/recipes-support/expected-lite/expected-lite_0.8.0.bb new file +16 -0
@@ -0,0 +1,16 @@ +SUMMARY = "Expected objects in C++11 and later in a single-file header-only library" +DESCRIPTION = "A single-file header-only library to represent value objects \ + that either contain a valid value or an error, providing a \ + backport of the C++23 std::expected for use with C++11 and \ + later." +HOMEPAGE = "https://github.com/martinmoene/expected-lite" +SECTION = "libs" +LICENSE = "BSL-1.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c" + +SRC_URI = "git://github.com/martinmoene/expected-lite.git;protocol=https;branch=master;tag=v${PV}" +SRCREV = "182165b584dad130afaf4bcd25b8629799baea38" + +inherit cmake + +BBCLASSEXTEND = "native nativesdk"
PATCH 107/109 restinio: upgrade 0.6.19 -> 0.7.9.1
In reply to Khem Rajrestinio 0.7.x is a major architectural change from 0.6.x: the release tarball no longer bundles any of its third-party dependencies (http_parser, expected-lite, fmt, catch2, sobjectizer). They must now be supplied externally and resolved through find_package()/system linkage. This requires two new supporting recipes added in prior
commits: llhttp (replacement for the now-dropped http_parser) and expected-lite (nonstd::expected backport, now required unconditionally instead of restinio's old embedded fallback). asio, fmt and catch2 dependencies are already satisfied by existing recipes in the tree.
Recipe changes:
- Release tag format changed from "v.X.Y.Z" to "vX.Y.Z"; update SRC_URI and SRC_URI[sha256sum] accordingly.
- LIC_FILES_CHKSUM md5 updated for the new tarball's root LICENSE file.
- DEPENDS: drop http-parser, add llhttp and expected-lite.
- EXTRA_OECMAKE: RESTINIO_FIND_DEPS and RESTINIO_USE_EXTERNAL_HTTP_PARSER were removed upstream. RESTINIO_BENCH renamed to RESTINIO_BENCHMARK, RESTINIO_ALLOW_SOBJECTIZER renamed to RESTINIO_WITH_SOBJECTIZER (kept disabled). Added RESTINIO_DEP_STANDALONE_ASIO=find, RESTINIO_DEP_FMT=find and RESTINIO_DEP_EXPECTED_LITE=find so restinio's CMakeLists.txt resolves these via find_package() instead of trying to add_subdirectory() vendored sources that no longer exist in the tarball. RESTINIO_DEP_LLHTTP=system is used instead of "find" because llhttp's own CMakeLists.txt only exports an "llhttp::llhttp_shared" imported target (llhttp::llhttp is just a build-tree ALIAS, never installed/exported), which restinio's dependency-resolution logic does not recognize as a valid find_package() target name.
AI-Generated: Uses Claude Code
---
...restinio_0.6.19.bb => restinio_0.7.9.1.bb} | 27 +++++++++++++------
1 file changed, 19 insertions(+), 8 deletions(-)
rename meta-networking/recipes-connectivity/restinio/{restinio_0.6.19.bb => restinio_0.7.9.1.bb} (38%)meta-networking/recipes-connectivity/restinio/restinio_0.7.9.1.bb renamed from meta-networking/recipes-connectivity/restinio/restinio_0.6.19.bb +19 -8
@@ -5,23 +5,34 @@ DESCRIPTION = "Cross-platform, efficient, customizable, and robust \ HOMEPAGE = "https://stiffstream.com/en/products/restinio.html" SECTION = "libs" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://../LICENSE;md5=bfe2747443b7875eaaaa94b55b611f49" -DEPENDS = "asio fmt http-parser" +LIC_FILES_CHKSUM = "file://../LICENSE;md5=d9ef67870895758240c3889695ad2558" +DEPENDS = "asio fmt llhttp expected-lite" -SRC_URI = "https://github.com/Stiffstream/restinio/releases/download/v.${PV}/${BP}.tar.bz2" -SRC_URI[sha256sum] = "7f21eebeb966e170d6ab54e9b198ac927d439090121739e037c0fa3bb367b240" +SRC_URI = "https://github.com/Stiffstream/restinio/releases/download/v${PV}/${BP}.tar.bz2" +SRC_URI[sha256sum] = "4a0429e2ea4ece200228226f0c628ecf9ac111cb6a6b12ad857de84c0576bf80" S = "${UNPACKDIR}/${BP}/dev" inherit cmake +# restinio 0.7.x no longer bundles its third-party dependencies in the +# release tarball (unlike 0.6.x). fmt and expected-lite are resolved via +# find_package() against externally-provided packages. llhttp's upstream +# CMakeLists.txt only exports an "llhttp::llhttp_shared" imported target +# (llhttp::llhttp is merely a build-tree ALIAS, never installed/exported), +# which restinio's dev/restinio/CMakeLists.txt does not recognize as a +# valid find_package() target name, so llhttp is consumed in "system" +# mode instead (plain -lllhttp against the sysroot). The optional +# sobjectizer integration is disabled since we don't need it. EXTRA_OECMAKE += "\ -DRESTINIO_TEST=OFF \ -DRESTINIO_SAMPLE=OFF \ - -DRESTINIO_BENCH=OFF \ - -DRESTINIO_FIND_DEPS=ON \ - -DRESTINIO_ALLOW_SOBJECTIZER=OFF \ - -DRESTINIO_USE_EXTERNAL_HTTP_PARSER=ON \ + -DRESTINIO_BENCHMARK=OFF \ + -DRESTINIO_WITH_SOBJECTIZER=OFF \ + -DRESTINIO_DEP_STANDALONE_ASIO=find \ + -DRESTINIO_DEP_LLHTTP=system \ + -DRESTINIO_DEP_FMT=find \ + -DRESTINIO_DEP_EXPECTED_LITE=find \ " # Header-only library
PATCH 108/109 glade: fix buildpaths QA warning in gladeui-enum-types
In reply to Khem Rajglib-mkenums records the "enumerations from" comment using the input file's full path (@filename@), embedding the build host's TMPDIR/HOME path into the installed gladeui-enum-types.c/.h and tripping the buildpaths QA check:
WARNING: glade-3.40.0-r0 do_package_qa: QA Issue: File /usr/src/debug/glade/3.40.0/gladeui/gladeui-enum-types.c in package glade-src contains reference to TMPDIR [buildpaths]
Switch both mkenums templates to @basename@ (supported since glib 2.22), the same fix already used for the analogous gcab-enums issue. Verified with a clean rebuild: do_package_qa now reports no buildpaths warnings for glade.
AI-Generated: Uses Claude Code
--- ...pes-templates-use-basename-instead-o.patch | 54 +++++++++++++++++++ .../recipes-devtools/glade/glade_3.40.0.bb | 1 + 2 files changed, 55 insertions(+) create mode 100644 meta-oe/recipes-devtools/glade/glade/0001-gladeui-enum-types-templates-use-basename-instead-o.patch
meta-oe/recipes-devtools/glade/glade/0001-gladeui-enum-types-templates-use-basename-instead-o.patch new file +54 -0
@@ -0,0 +1,54 @@ +From: Khem Raj <[email protected]> +Date: Fri, 7 Aug 2026 00:00:00 +0000 +Subject: [PATCH] gladeui-enum-types templates: use @basename@ instead of + @filename@ + +glib-mkenums records the "enumerations from" comment using the input +file's full path (@filename@), which embeds the build host's absolute +source path (including TMPDIR and, since the build is run from a +checkout under $HOME, the host's HOME directory) into the installed +gladeui-enum-types.c/.h, tripping the buildpaths QA check: + + WARNING: glade-3.40.0-r0 do_package_qa: QA Issue: File + /usr/src/debug/glade/3.40.0/gladeui/gladeui-enum-types.c in package + glade-src contains reference to TMPDIR [buildpaths] + +glib-mkenums has supported @basename@ (base name of the current input +file) since glib 2.22, which avoids embedding the build path. This is +the same fix already applied upstream/downstream for the analogous +gcab-enums.c.etemplate issue. + +Upstream-Status: Pending + +Signed-off-by: Khem Raj <[email protected]> +--- + gladeui/gladeui-enum-types.c.template | 2 +- + gladeui/gladeui-enum-types.h.template | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/gladeui/gladeui-enum-types.c.template b/gladeui/gladeui-enum-types.c.template +index 1111111..2222222 100644 +--- a/gladeui/gladeui-enum-types.c.template ++++ b/gladeui/gladeui-enum-types.c.template +@@ -5,7 +5,7 @@ + /*** END file-header ***/ + + /*** BEGIN file-production ***/ +-/* enumerations from "@filename@" */ ++/* enumerations from "@basename@" */ + /*** END file-production ***/ + + /*** BEGIN value-header ***/ +diff --git a/gladeui/gladeui-enum-types.h.template b/gladeui/gladeui-enum-types.h.template +index 3333333..4444444 100644 +--- a/gladeui/gladeui-enum-types.h.template ++++ b/gladeui/gladeui-enum-types.h.template +@@ -10,7 +10,7 @@ G_BEGIN_DECLS + + /*** BEGIN file-production ***/ + +-/* enumerations from "@filename@" */ ++/* enumerations from "@basename@" */ + /*** END file-production ***/ + + /*** BEGIN value-header ***/
meta-oe/recipes-devtools/glade/glade_3.40.0.bb +1 -0
@@ -14,6 +14,7 @@ inherit features_check gettext pkgconfig gnomebase gobject-introspection mime-xd # cairo would at least needed to be built with xlib. ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" +SRC_URI += "file://0001-gladeui-enum-types-templates-use-basename-instead-o.patch" SRC_URI[archive.sha256sum] = "31c9adaea849972ab9517b564e19ac19977ca97758b109edc3167008f53e3d9c" # Man pages are generated with xsltproc pulling the docbook stylesheets over
PATCH 109/109 libstemmer: fix buildpaths QA warning in libstemmer-dbg package
In reply to Khem RajGNUmakefile hardcodes its own CFLAGS= assignment (patched by 0001-Build-so-lib.patch to add -fPIC for the shared-lib build). As a plain makefile variable, that assignment overrides the CFLAGS bitbake exports into the build environment -- including the -ffile-prefix-map flags from DEBUG_PREFIX_MAP. Without those, -g debug info in the compiled snowball/stemwords/libstemmer.so binaries embeds the absolute build-tree path, tripping the buildpaths QA check on the -dbg package:
ERROR: libstemmer-3.1.1-r0 do_package_qa: QA Issue: File /usr/bin/.debug/snowball in package libstemmer-dbg contains reference to TMPDIR [buildpaths]
Pass CFLAGS via EXTRA_OEMAKE instead, which oe_runmake places on the make command line and therefore does take precedence over the makefile's own CFLAGS= assignment.
Verified via cleansstate rebuild: log.do_package_qa no longer contains any buildpaths warnings, and strings on the rebuilt snowball debug binary no longer contains any build/tmp/work host paths.
AI-Generated: Uses Claude Code
--- meta-oe/recipes-support/libstemmer/libstemmer_3.1.1.bb | 9 +++++++++ 1 file changed, 9 insertions(+)
meta-oe/recipes-support/libstemmer/libstemmer_3.1.1.bb +9 -0
@@ -12,6 +12,15 @@ SRCREV = "cd195b51e948a902a4312f023f4a14392516a543" LIBVER = "0.0.0" +# GNUmakefile hardcodes its own CFLAGS= assignment (patched to add -fPIC for +# the shared lib build), which as a plain makefile variable overrides the +# CFLAGS bitbake exports in the environment -- including the +# -ffile-prefix-map flags from DEBUG_PREFIX_MAP. Without those, -g debug +# info embeds the absolute build-tree path, tripping the buildpaths QA +# check. Pass CFLAGS on the make command line instead, which does take +# precedence over the makefile's own assignment. +EXTRA_OEMAKE += "'CFLAGS=${CFLAGS} -fPIC'" + inherit lib_package do_compile:prepend:class-target() {