python3: Add warning comment before PACKAGECONFIG[freethreading]
PATCH v2 1/12 python3: Add warning comment before PACKAGECONFIG[freethreading]
In reply to a message not in the archiveThe warning comment is really needed. While Python 3.14 supports free-threading officially, the ecosystem around it does not yet.
--- meta/recipes-devtools/python/python3_3.14.3.bb | 7 +++++++ 1 file changed, 7 insertions(+)
meta/recipes-devtools/python/python3_3.14.3.bb +7 -0
@@ -112,7 +112,14 @@ CACHED_CONFIGUREVARS:append:libc-musl = "\ # PGO currently causes builds to not be reproducible so disable by default, see YOCTO #13407 PACKAGECONFIG ??= "editline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}" + +# Some LLVM/CLANG subprojects (e.g. lldb) and many Python modules +# do not build when free-threading is enabled. Also, the support +# for free-threading in many Python modules is not yet production level, +# although they may build fine. +# This is highly experimental. Do not enable it! PACKAGECONFIG[freethreading] = "--disable-gil,--enable-gil" + PACKAGECONFIG[readline] = "--with-readline=readline,,readline,,,editline" PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline" # Use profile guided optimisation by running PyBench inside qemu-user
Signature · 1 line
2.53.0
PATCH v2 2/12 python3-dir.bbclass: Move PYTHON_ABI into PYTHON_DIR
In reply to a message not in the archivePYTHON_DIR is now suffixed with PYTHON_ABI.
Python build helper classes and the python build modules use PYTHON_DIR internally, some of them do not care about the ABI flag. So it's important that the destination directory is set correctly.
This will also allow fixing recipes that may or may not have been using PYTHON_ABI consistently, since it was set to an empty string.
Also added a new variable called PYTHON_MAINVERSION which is a combination of PYTHON_BASEVERSION and PYTHON_ABI.
--- meta/classes-recipe/python3-dir.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes-recipe/python3-dir.bbclass +2 -1
@@ -6,6 +6,7 @@ PYTHON_BASEVERSION = "3.14" PYTHON_ABI = "" -PYTHON_DIR = "python${PYTHON_BASEVERSION}" +PYTHON_MAINVERSION = "${PYTHON_BASEVERSION}${PYTHON_ABI}" +PYTHON_DIR = "python${PYTHON_MAINVERSION}" PYTHON_PN = "python3" PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"
Signature · 1 line
2.53.0
PATCH v2 8/12 boost: Stop using PYTHON_ABI
In reply to a message not in the archivePYTHON_DIR now contains PYTHON_ABI, fix the settings accordingly.
--- meta/recipes-support/boost/boost.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/boost/boost.inc +1 -1
@@ -174,7 +174,7 @@ do_configure() { # If we want Python then we need to tell Boost *exactly* where to find it if ${@bb.utils.contains('BOOST_LIBS', 'python', 'true', 'false', d)}; then - echo "using python : ${PYTHON_BASEVERSION} : ${STAGING_DIR_HOST}${bindir}/python3 : ${STAGING_DIR_HOST}${includedir}/${PYTHON_DIR}${PYTHON_ABI} : ${STAGING_DIR_HOST}${libdir}/${PYTHON_DIR} ;" >> ${WORKDIR}/user-config.jam + echo "using python : ${PYTHON_MAINVERSION} : ${STAGING_DIR_HOST}${bindir}/python3 : ${STAGING_DIR_HOST}${includedir}/${PYTHON_DIR} : ${STAGING_DIR_HOST}${libdir}/${PYTHON_DIR} ;" >> ${WORKDIR}/user-config.jam fi if ${@bb.utils.contains('BOOST_LIBS', 'mpi', 'true', 'false', d)}; then
Signature · 1 line
2.53.0
PATCH v2 9/12 lttng-tools: Stop using PYTHON_ABI
In reply to a message not in the archivePYTHON_DIR now contains PYTHON_ABI, use it.
--- meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb +1 -1
@@ -35,7 +35,7 @@ INSANE_SKIP:${PN}-ptest += "dev-deps" PYTHON_OPTION = "am_cv_python_pyexecdir='${PYTHON_SITEPACKAGES_DIR}' \ am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \ - PYTHON_INCLUDE='-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}' \ + PYTHON_INCLUDE='-I${STAGING_INCDIR}/${PYTHON_DIR}' \ " PACKAGECONFIG ??= "${LTTNGUST} kmod" PACKAGECONFIG[python] = "--enable-python-bindings ${PYTHON_OPTION},,python3 swig-native"
Signature · 1 line
2.53.0
PATCH v2 11/12 libcap-ng-python: Use PYTHON_DIR for FILES
In reply to a message not in the archivePYTHON_DIR now contains PYTHON_ABI, use it.
--- meta/recipes-support/libcap-ng/libcap-ng-python_0.9.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libcap-ng/libcap-ng-python_0.9.1.bb +1 -1
@@ -14,4 +14,4 @@ do_install() { oe_runmake 'DESTDIR=${D}' install -C ${B}/bindings/python3 } -FILES:${PN} = "${libdir}/python${PYTHON_BASEVERSION}" +FILES:${PN} = "${libdir}/${PYTHON_DIR}"
Signature · 1 line
2.53.0
PATCH v2 12/12 hwlatdetect: Use PYTHON_DIR
In reply to a message not in the archiveInstead of custom constructing the python directory, use PYTHON_DIR for consistency.
--- meta/recipes-rt/rt-tests/hwlatdetect_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-rt/rt-tests/hwlatdetect_git.bb +3 -3
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" require rt-tests.inc inherit python3-dir -EXTRA_OEMAKE += "PYLIB=${libdir}/python${PYTHON_BASEVERSION}/dist-packages" +EXTRA_OEMAKE += "PYLIB=${libdir}/${PYTHON_DIR}/dist-packages" do_compile() { oe_runmake hwlatdetect
@@ -18,9 +18,9 @@ do_install() { oe_runmake install_hwlatdetect DESTDIR=${D} SBINDIR=${sbindir} \ MANDIR=${mandir} INCLUDEDIR=${includedir} - sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py + sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/${PYTHON_DIR}/dist-packages/hwlatdetect.py } -FILES:${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py" +FILES:${PN} += "${libdir}/${PYTHON_DIR}/dist-packages/hwlatdetect.py" RDEPENDS:${PN} = "python3-core " RRECOMMENDS:${PN} = "kernel-module-hwlat-detector"
Signature · 1 line
2.53.0
PATCH v2 3/12 python3: Use the variables from python3-dir.bbclass
In reply to a message not in the archiveReplace using PYTHON_MAJMIN and various custom constructed settings with inherit python3-dir and its variables.
--- .../recipes-devtools/python/python3_3.14.3.bb | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-)
meta/recipes-devtools/python/python3_3.14.3.bb +28 -28
@@ -47,19 +47,17 @@ UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" CVE_PRODUCT = "python:python python_software_foundation:python cpython" -PYTHON_MAJMIN = "3.14" - S = "${UNPACKDIR}/Python-${PV}" BBCLASSEXTEND = "native nativesdk" -inherit autotools pkgconfig qemu ptest multilib_header update-alternatives +inherit autotools pkgconfig qemu python3-dir ptest multilib_header update-alternatives MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}" ALTERNATIVE:${PN}-dev = "python3-config" -ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config" -ALTERNATIVE_TARGET[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}" +ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/${PYTHON_DIR}-config" +ALTERNATIVE_TARGET[python3-config] = "${bindir}/${PYTHON_DIR}-config-${MULTILIB_SUFFIX}" DEPENDS = "\ autoconf-archive-native \
@@ -86,7 +84,7 @@ EXTRA_OECONF:append:class-native = " --bindir=${bindir}/${PN}" EXTRA_OECONF:append:class-target = " --with-build-python=nativepython3 PLATFORM_TRIPLET=${HOST_ARCH}-${HOST_OS}" EXTRA_OECONF:append:class-nativesdk = " --with-build-python=nativepython3" -export CROSSPYTHONPATH = "${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/" +export CROSSPYTHONPATH = "${STAGING_LIBDIR_NATIVE}/${PYTHON_DIR}/lib-dynload/" EXTRANATIVEPATH += "python3-native"
@@ -185,7 +183,7 @@ do_install:prepend() { } do_install:append:class-target() { - oe_multilib_header python${PYTHON_MAJMIN}/pyconfig.h + oe_multilib_header ${PYTHON_DIR}/pyconfig.h } do_install:append:class-native() {
@@ -210,20 +208,20 @@ do_install:append:class-native() { # Nothing should be looking into ${B} for python3-native sed -i -e 's:${B}:/build/path/unavailable/:g' \ - ${D}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}*/Makefile + ${D}/${libdir}/${PYTHON_DIR}/config-${PYTHON_MAINVERSION}*/Makefile # disable the lookup in user's site-packages globally - sed -i 's#ENABLE_USER_SITE = None#ENABLE_USER_SITE = False#' ${D}${libdir}/python${PYTHON_MAJMIN}/site.py + sed -i 's#ENABLE_USER_SITE = None#ENABLE_USER_SITE = False#' ${D}${libdir}/${PYTHON_DIR}/site.py # python3-config needs to be in /usr/bin and not in a subdir of it to work properly mv ${D}/${bindir}/${PN}/python*config ${D}/${bindir}/ } do_install:append() { - for c in ${D}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do + for c in ${D}/${libdir}/${PYTHON_DIR}/_sysconfigdata*.py; do python3 ${UNPACKDIR}/reformat_sysconfig.py $c done - rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sysconfigdata*.cpython* + rm -f ${D}${libdir}/${PYTHON_DIR}/__pycache__/_sysconfigdata*.cpython* mkdir -p ${D}${libdir}/python-sysconfigdata sysconfigfile=`find ${D} -name _sysconfig*.py`
@@ -231,8 +229,8 @@ do_install:append() { -e "s,^ 'LIBDIR'.*, 'LIBDIR': '${STAGING_LIBDIR}'\,,g" \ -e "s,^ 'INCLUDEDIR'.*, 'INCLUDEDIR': '${STAGING_INCDIR}'\,,g" \ -e "s,^ 'CONFINCLUDEDIR'.*, 'CONFINCLUDEDIR': '${STAGING_INCDIR}'\,,g" \ - -e "s,^ 'INCLUDEPY'.*, 'INCLUDEPY': '${STAGING_INCDIR}/python${PYTHON_MAJMIN}'\,,g" \ - -e "s,^ 'CONFINCLUDEPY'.*, 'CONFINCLUDEPY': '${STAGING_INCDIR}/python${PYTHON_MAJMIN}'\,,g" \ + -e "s,^ 'INCLUDEPY'.*, 'INCLUDEPY': '${STAGING_INCDIR}/${PYTHON_DIR}'\,,g" \ + -e "s,^ 'CONFINCLUDEPY'.*, 'CONFINCLUDEPY': '${STAGING_INCDIR}/${PYTHON_DIR}'\,,g" \ -e "s,${B},/build/path/unavailable/,g" \ $sysconfigfile cp $sysconfigfile ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py
@@ -248,7 +246,7 @@ do_install:append:class-nativesdk () { for PYTHSCRIPT in `grep -rIl ${bindir}/python ${D}${bindir}`; do sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT done - create_wrapper ${D}${bindir}/python${PYTHON_MAJMIN} TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' PYTHONNOUSERSITE='1' + create_wrapper ${D}${bindir}/${PYTHON_DIR} TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' PYTHONNOUSERSITE='1' } do_install_ptest:append:class-target:libc-musl () {
@@ -264,7 +262,7 @@ SYSROOT_PREPROCESS_FUNCS:append:class-nativesdk = " provide_target_config_script provide_target_config_script() { install -d ${SYSROOT_DESTDIR}${prefix}/python-target-config/ install ${D}/${bindir}/python3-config ${SYSROOT_DESTDIR}/${prefix}/python-target-config/ - install ${D}/${bindir}/python${PYTHON_MAJMIN}-config ${SYSROOT_DESTDIR}/${prefix}/python-target-config/ + install ${D}/${bindir}/${PYTHON_DIR}-config ${SYSROOT_DESTDIR}/${prefix}/python-target-config/ } SYSROOT_DIRS += "${prefix}/python-target-config/"
@@ -287,13 +285,13 @@ py_package_preprocess () { -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ -e 's:${RECIPE_SYSROOT}::g' \ -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ - ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}*/Makefile \ - ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py \ - ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config + ${PKGD}/${libdir}/${PYTHON_DIR}/config-${PYTHON_MAINVERSION}*/Makefile \ + ${PKGD}/${libdir}/${PYTHON_DIR}/_sysconfigdata*.py \ + ${PKGD}/${bindir}/${PYTHON_DIR}-config # Reformat _sysconfigdata after modifying it so that it remains # reproducible - for c in ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do + for c in ${PKGD}/${libdir}/${PYTHON_DIR}/_sysconfigdata*.py; do python3 ${UNPACKDIR}/reformat_sysconfig.py $c done
@@ -308,7 +306,7 @@ py_package_preprocess () { -c "from py_compile import compile; compile('$sysconfigfile', optimize=2)" cd - - mv ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX} + mv ${PKGD}/${bindir}/${PYTHON_DIR}-config ${PKGD}/${bindir}/${PYTHON_DIR}-config-${MULTILIB_SUFFIX} #Remove the unneeded copy of target sysconfig data rm -rf ${PKGD}/${libdir}/python-sysconfigdata
@@ -320,7 +318,7 @@ py_package_preprocess () { -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ -e 's:${RECIPE_SYSROOT}::g' \ -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ - ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfig_vars*.json + ${PKGD}/${libdir}/${PYTHON_DIR}/_sysconfig_vars*.json } # We want bytecode precompiled .py files (.pyc's) by default
@@ -421,7 +419,7 @@ do_create_manifest() { cp ${UNPACKDIR}/get_module_deps3.py ${WORKDIR} cd ${WORKDIR} # This needs to be executed by python-native and NOT by HOST's python - nativepython3 create_manifest3.py ${PYTHON_MAJMIN} + nativepython3 create_manifest3.py ${PYTHON_MAINVERSION} cp python3-manifest.json.new ${THISDIR}/python3/python3-manifest.json }
@@ -436,11 +434,12 @@ RRECOMMENDS:${PN}-crypt:append:class-nativesdk = " ${MLPREFIX}openssl ${MLPREFIX # For historical reasons PN is empty and provided by python3-modules FILES:${PN} = "" +FILES:${PN}-core += "${bindir}/python${PYTHON_MAINVERSION} ${bindir}/python${PYTHON_BASEVERSION}" RPROVIDES:${PN}-modules = "${PN}" -FILES:${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAJMIN} ${bindir}/pydoc3" -FILES:${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAJMIN}" -FILES:${PN}-tkinter += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_tkinter.*.so" +FILES:${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAINVERSION} ${bindir}/pydoc3" +FILES:${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAINVERSION}" +FILES:${PN}-tkinter += "${libdir}/${PYTHON_DIR}/lib-dynload/_tkinter.*.so" # provide python-pyvenv from python3-venv RPROVIDES:${PN}-venv += "${MLPREFIX}python3-pyvenv"
@@ -448,13 +447,14 @@ RPROVIDES:${PN}-venv += "${MLPREFIX}python3-pyvenv" # package libpython3 PACKAGES =+ "libpython3 libpython3-staticdev" FILES:libpython3 = "${libdir}/libpython*.so.*" -FILES:libpython3-staticdev += "${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}-*/libpython${PYTHON_MAJMIN}.a" +FILES:libpython3-staticdev += "${libdir}/${PYTHON_DIR}/config-${PYTHON_MAINVERSION}-*/lib${PYTHON_DIR}.a" INSANE_SKIP:${PN}-dev += "dev-elf" INSANE_SKIP:${PN}-ptest = "dev-deps" # catch all the rest (unsorted) PACKAGES += "${PN}-misc" RDEPENDS:${PN}-misc += "\ + bash \ ${PN}-audio \ ${PN}-codecs \ ${PN}-core \
@@ -466,7 +466,7 @@ RDEPENDS:${PN}-misc += "\ RDEPENDS:${PN}-modules:append:class-target = " ${MLPREFIX}python3-misc" RDEPENDS:${PN}-modules:append:class-nativesdk = " ${MLPREFIX}python3-misc" RDEPENDS:${PN}-modules:append:class-target = " ${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '${MLPREFIX}python3-gdbm', '', d)}" -FILES:${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload" +FILES:${PN}-misc = "${libdir}/${PYTHON_DIR} ${libdir}/${PYTHON_DIR}/lib-dynload" # catch manpage PACKAGES += "${PN}-man"
@@ -506,5 +506,5 @@ RDEPENDS:${PN}-tests:append:class-nativesdk = " ${MLPREFIX}bash" # Python's tests contain large numbers of files we don't need in the recipe sysroots SYSROOT_PREPROCESS_FUNCS += " py3_sysroot_cleanup" py3_sysroot_cleanup () { - rm -rf ${SYSROOT_DESTDIR}${libdir}/python${PYTHON_MAJMIN}/test + rm -rf ${SYSROOT_DESTDIR}${libdir}/${PYTHON_DIR}/test }
Signature · 1 line
2.53.0
PATCH v2 4/12 python3native.bbclass: Stop using PYTHON_ABI
In reply to a message not in the archivePYTHON_DIR now contains PYTHON_ABI.
--- meta/classes-recipe/python3native.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/classes-recipe/python3native.bbclass +2 -2
@@ -20,8 +20,8 @@ export STAGING_LIBDIR # find_package(PythonLibs REQUIRED) # which ends up using libs/includes from build host # Therefore pre-empt that effort -export PYTHON_LIBRARY = "${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so" -export PYTHON_INCLUDE_DIR = "${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}" +export PYTHON_LIBRARY = "${STAGING_LIBDIR}/lib${PYTHON_DIR}.so" +export PYTHON_INCLUDE_DIR = "${STAGING_INCDIR}/${PYTHON_DIR}" # suppress host user's site-packages dirs. export PYTHONNOUSERSITE = "1"
Signature · 1 line
2.53.0
PATCH v2 5/12 python_pyo3.bbclass: Pass ABI flag and use PYTHON_MAINVERSION
In reply to a message not in the archiveSetting the ABI flag correctly is necessary for modules using python_maturin.bbclass and others based on pyo3.
--- meta/classes-recipe/python_pyo3.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/classes-recipe/python_pyo3.bbclass +3 -1
@@ -12,7 +12,8 @@ inherit cargo python3-dir siteinfo export PYO3_CROSS = "1" -export PYO3_CROSS_PYTHON_VERSION = "${PYTHON_BASEVERSION}" +export PYO3_CROSS_PYTHON_VERSION = "${PYTHON_MAINVERSION}" +export ABIFLAGS = "${PYTHON_ABI}" export PYO3_CROSS_LIB_DIR = "${STAGING_LIBDIR}" export CARGO_BUILD_TARGET = "${RUST_HOST_SYS}" export RUSTFLAGS
@@ -25,6 +26,7 @@ implementation=CPython version=${PYTHON_BASEVERSION} shared=true abi3=false +abiflags=${PYTHON_ABI} lib_name=${PYTHON_DIR} lib_dir=${STAGING_LIBDIR} pointer_width=${SITEINFO_BITS}
Signature · 1 line
2.53.0
PATCH v2 6/12 clang: Use PYTHON_MAINVERSION for python module versioning
In reply to a message not in the archiveUse the new complete main version setting instead of just PYTHON_BASEVERSION that does not include PYTHON_ABI.
--- meta/recipes-devtools/clang/clang_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/clang/clang_git.bb +1 -1
@@ -46,7 +46,7 @@ PACKAGECONFIG[lld] = "-DCLANG_DEFAULT_LINKER=lld,,," PACKAGECONFIG[lto] = "-DLLVM_ENABLE_LTO=Full -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR},,binutils," PACKAGECONFIG[thin-lto] = "-DLLVM_ENABLE_LTO=Thin -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR},,binutils," PACKAGECONFIG[unwindlib] = "-DCLANG_DEFAULT_UNWINDLIB=libunwind,-DCLANG_DEFAULT_UNWINDLIB=libgcc,," -PACKAGECONFIG[libclang-python] = "-DCLANG_PYTHON_BINDINGS_VERSIONS=${PYTHON_BASEVERSION},," +PACKAGECONFIG[libclang-python] = "-DCLANG_PYTHON_BINDINGS_VERSIONS=${PYTHON_MAINVERSION},," OECMAKE_SOURCEPATH = "${S}/clang"
Signature · 1 line
2.53.0
PATCH v2 7/12 gdb, gdb-cross-canadian: Stop using PYTHON_ABI
In reply to a message not in the archivePYTHON_DIR now contains PYTHON_ABI, don't use the latter. Simplify the linked library name to use -l${PYTHON_DIR}.
--- meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 4 ++-- meta/recipes-devtools/gdb/gdb_17.1.bb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-devtools/gdb/gdb-cross-canadian.inc +2 -2
@@ -22,8 +22,8 @@ do_configure:prepend() { cat > ${WORKDIR}/python << EOF #! /bin/sh case "\$2" in - --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}/" ;; - --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" ;; + --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; + --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -l${PYTHON_DIR}" ;; --exec-prefix) echo "${exec_prefix}" ;; *) exit 1 ;; esac
meta/recipes-devtools/gdb/gdb_17.1.bb +2 -2
@@ -26,8 +26,8 @@ do_configure:prepend() { cat > ${WORKDIR}/python << EOF #!/bin/sh case "\$2" in - --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}/" ;; - --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" ;; + --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; + --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -l${PYTHON_DIR}" ;; --exec-prefix) echo "${exec_prefix}" ;; *) exit 1 ;; esac
Signature · 1 line
2.53.0
PATCH v2 10/12 lttng-ust: Stop using PYTHON_ABI
In reply to a message not in the archivePYTHON_DIR now contains PYTHON_ABI, use it.
--- meta/recipes-kernel/lttng/lttng-ust_2.14.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/lttng/lttng-ust_2.14.0.bb +1 -1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b04e8f34dbcf08198c6618d05e8fe7b" PYTHON_OPTION = "am_cv_python_pyexecdir='${PYTHON_SITEPACKAGES_DIR}' \ am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \ - PYTHON_INCLUDE='-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}' \ + PYTHON_INCLUDE='-I${STAGING_INCDIR}/${PYTHON_DIR}' \ " inherit autotools lib_package manpages python3native pkgconfig
Signature · 1 line
2.53.0
Wrong ML?
Quoted 38 lines · Zoltan Boszormenyi via lists.openembedded.org
The warning comment is really needed. While Python 3.14 supports free-threading officially, the ecosystem around it does not yet.
Signed-off-by Zoltán Böszörményi <[email protected]>--- meta/recipes-devtools/python/python3_3.14.3.bb | 7 +++++++ 1 file changed, 7 insertions(+)meta/recipes-devtools/python/python3_3.14.3.bb +7
-1@@ -112,7 +112,14 @@ CACHED_CONFIGUREVARS:append:libc-musl = "\ # PGO currently causes builds to not be reproducible so disable by default, see YOCTO #13407 PACKAGECONFIG ??= "editline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}" + +# Some LLVM/CLANG subprojects (e.g. lldb) and many Python modules +# do not build when free-threading is enabled. Also, the support +# for free-threading in many Python modules is not yet production level, +# although they may build fine. +# This is highly experimental. Do not enable it! PACKAGECONFIG[freethreading] = "--disable-gil,--enable-gil" + PACKAGECONFIG[readline] = "--with-readline=readline,,readline,,,editline" PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline" # Use profile guided optimisation by running PyBench inside qemu-user -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#125723): https://lists.openembedded.org/g/openembedded-devel/message/125723
Mute This Topic: https://lists.openembedded.org/mt/118518888/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH v2 1/12 python3: Add warning comment before PACKAGECONFIG[freethreading]
In reply to a message not in the archiveThe warning comment is really needed. While Python 3.14 supports free-threading officially, the ecosystem around it does not yet.
--- meta/recipes-devtools/python/python3_3.14.3.bb | 7 +++++++ 1 file changed, 7 insertions(+)
meta/recipes-devtools/python/python3_3.14.3.bb +7 -0
@@ -112,7 +112,14 @@ CACHED_CONFIGUREVARS:append:libc-musl = "\ # PGO currently causes builds to not be reproducible so disable by default, see YOCTO #13407 PACKAGECONFIG ??= "editline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}" + +# Some LLVM/CLANG subprojects (e.g. lldb) and many Python modules +# do not build when free-threading is enabled. Also, the support +# for free-threading in many Python modules is not yet production level, +# although they may build fine. +# This is highly experimental. Do not enable it! PACKAGECONFIG[freethreading] = "--disable-gil,--enable-gil" + PACKAGECONFIG[readline] = "--with-readline=readline,,readline,,,editline" PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline" # Use profile guided optimisation by running PyBench inside qemu-user
Signature · 1 line
2.53.0
PATCH v2 2/12 python3-dir.bbclass: Move PYTHON_ABI into PYTHON_DIR
PYTHON_DIR is now suffixed with PYTHON_ABI.
Python build helper classes and the python build modules use PYTHON_DIR internally, some of them do not care about the ABI flag. So it's important that the destination directory is set correctly.
This will also allow fixing recipes that may or may not have been using PYTHON_ABI consistently, since it was set to an empty string.
Also added a new variable called PYTHON_MAINVERSION which is a combination of PYTHON_BASEVERSION and PYTHON_ABI.
--- meta/classes-recipe/python3-dir.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes-recipe/python3-dir.bbclass +2 -1
@@ -6,6 +6,7 @@ PYTHON_BASEVERSION = "3.14" PYTHON_ABI = "" -PYTHON_DIR = "python${PYTHON_BASEVERSION}" +PYTHON_MAINVERSION = "${PYTHON_BASEVERSION}${PYTHON_ABI}" +PYTHON_DIR = "python${PYTHON_MAINVERSION}" PYTHON_PN = "python3" PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"
Signature · 1 line
2.53.0
PATCH v2 3/12 python3: Use the variables from python3-dir.bbclass
In reply to Zoltán BöszörményiReplace using PYTHON_MAJMIN and various custom constructed settings with inherit python3-dir and its variables.
--- .../recipes-devtools/python/python3_3.14.3.bb | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-)
meta/recipes-devtools/python/python3_3.14.3.bb +28 -28
@@ -47,19 +47,17 @@ UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" CVE_PRODUCT = "python:python python_software_foundation:python cpython" -PYTHON_MAJMIN = "3.14" - S = "${UNPACKDIR}/Python-${PV}" BBCLASSEXTEND = "native nativesdk" -inherit autotools pkgconfig qemu ptest multilib_header update-alternatives +inherit autotools pkgconfig qemu python3-dir ptest multilib_header update-alternatives MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}" ALTERNATIVE:${PN}-dev = "python3-config" -ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config" -ALTERNATIVE_TARGET[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}" +ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/${PYTHON_DIR}-config" +ALTERNATIVE_TARGET[python3-config] = "${bindir}/${PYTHON_DIR}-config-${MULTILIB_SUFFIX}" DEPENDS = "\ autoconf-archive-native \
@@ -86,7 +84,7 @@ EXTRA_OECONF:append:class-native = " --bindir=${bindir}/${PN}" EXTRA_OECONF:append:class-target = " --with-build-python=nativepython3 PLATFORM_TRIPLET=${HOST_ARCH}-${HOST_OS}" EXTRA_OECONF:append:class-nativesdk = " --with-build-python=nativepython3" -export CROSSPYTHONPATH = "${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/" +export CROSSPYTHONPATH = "${STAGING_LIBDIR_NATIVE}/${PYTHON_DIR}/lib-dynload/" EXTRANATIVEPATH += "python3-native"
@@ -185,7 +183,7 @@ do_install:prepend() { } do_install:append:class-target() { - oe_multilib_header python${PYTHON_MAJMIN}/pyconfig.h + oe_multilib_header ${PYTHON_DIR}/pyconfig.h } do_install:append:class-native() {
@@ -210,20 +208,20 @@ do_install:append:class-native() { # Nothing should be looking into ${B} for python3-native sed -i -e 's:${B}:/build/path/unavailable/:g' \ - ${D}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}*/Makefile + ${D}/${libdir}/${PYTHON_DIR}/config-${PYTHON_MAINVERSION}*/Makefile # disable the lookup in user's site-packages globally - sed -i 's#ENABLE_USER_SITE = None#ENABLE_USER_SITE = False#' ${D}${libdir}/python${PYTHON_MAJMIN}/site.py + sed -i 's#ENABLE_USER_SITE = None#ENABLE_USER_SITE = False#' ${D}${libdir}/${PYTHON_DIR}/site.py # python3-config needs to be in /usr/bin and not in a subdir of it to work properly mv ${D}/${bindir}/${PN}/python*config ${D}/${bindir}/ } do_install:append() { - for c in ${D}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do + for c in ${D}/${libdir}/${PYTHON_DIR}/_sysconfigdata*.py; do python3 ${UNPACKDIR}/reformat_sysconfig.py $c done - rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sysconfigdata*.cpython* + rm -f ${D}${libdir}/${PYTHON_DIR}/__pycache__/_sysconfigdata*.cpython* mkdir -p ${D}${libdir}/python-sysconfigdata sysconfigfile=`find ${D} -name _sysconfig*.py`
@@ -231,8 +229,8 @@ do_install:append() { -e "s,^ 'LIBDIR'.*, 'LIBDIR': '${STAGING_LIBDIR}'\,,g" \ -e "s,^ 'INCLUDEDIR'.*, 'INCLUDEDIR': '${STAGING_INCDIR}'\,,g" \ -e "s,^ 'CONFINCLUDEDIR'.*, 'CONFINCLUDEDIR': '${STAGING_INCDIR}'\,,g" \ - -e "s,^ 'INCLUDEPY'.*, 'INCLUDEPY': '${STAGING_INCDIR}/python${PYTHON_MAJMIN}'\,,g" \ - -e "s,^ 'CONFINCLUDEPY'.*, 'CONFINCLUDEPY': '${STAGING_INCDIR}/python${PYTHON_MAJMIN}'\,,g" \ + -e "s,^ 'INCLUDEPY'.*, 'INCLUDEPY': '${STAGING_INCDIR}/${PYTHON_DIR}'\,,g" \ + -e "s,^ 'CONFINCLUDEPY'.*, 'CONFINCLUDEPY': '${STAGING_INCDIR}/${PYTHON_DIR}'\,,g" \ -e "s,${B},/build/path/unavailable/,g" \ $sysconfigfile cp $sysconfigfile ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py
@@ -248,7 +246,7 @@ do_install:append:class-nativesdk () { for PYTHSCRIPT in `grep -rIl ${bindir}/python ${D}${bindir}`; do sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT done - create_wrapper ${D}${bindir}/python${PYTHON_MAJMIN} TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' PYTHONNOUSERSITE='1' + create_wrapper ${D}${bindir}/${PYTHON_DIR} TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' PYTHONNOUSERSITE='1' } do_install_ptest:append:class-target:libc-musl () {
@@ -264,7 +262,7 @@ SYSROOT_PREPROCESS_FUNCS:append:class-nativesdk = " provide_target_config_script provide_target_config_script() { install -d ${SYSROOT_DESTDIR}${prefix}/python-target-config/ install ${D}/${bindir}/python3-config ${SYSROOT_DESTDIR}/${prefix}/python-target-config/ - install ${D}/${bindir}/python${PYTHON_MAJMIN}-config ${SYSROOT_DESTDIR}/${prefix}/python-target-config/ + install ${D}/${bindir}/${PYTHON_DIR}-config ${SYSROOT_DESTDIR}/${prefix}/python-target-config/ } SYSROOT_DIRS += "${prefix}/python-target-config/"
@@ -287,13 +285,13 @@ py_package_preprocess () { -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ -e 's:${RECIPE_SYSROOT}::g' \ -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ - ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}*/Makefile \ - ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py \ - ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config + ${PKGD}/${libdir}/${PYTHON_DIR}/config-${PYTHON_MAINVERSION}*/Makefile \ + ${PKGD}/${libdir}/${PYTHON_DIR}/_sysconfigdata*.py \ + ${PKGD}/${bindir}/${PYTHON_DIR}-config # Reformat _sysconfigdata after modifying it so that it remains # reproducible - for c in ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do + for c in ${PKGD}/${libdir}/${PYTHON_DIR}/_sysconfigdata*.py; do python3 ${UNPACKDIR}/reformat_sysconfig.py $c done
@@ -308,7 +306,7 @@ py_package_preprocess () { -c "from py_compile import compile; compile('$sysconfigfile', optimize=2)" cd - - mv ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX} + mv ${PKGD}/${bindir}/${PYTHON_DIR}-config ${PKGD}/${bindir}/${PYTHON_DIR}-config-${MULTILIB_SUFFIX} #Remove the unneeded copy of target sysconfig data rm -rf ${PKGD}/${libdir}/python-sysconfigdata
@@ -320,7 +318,7 @@ py_package_preprocess () { -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ -e 's:${RECIPE_SYSROOT}::g' \ -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ - ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfig_vars*.json + ${PKGD}/${libdir}/${PYTHON_DIR}/_sysconfig_vars*.json } # We want bytecode precompiled .py files (.pyc's) by default
@@ -421,7 +419,7 @@ do_create_manifest() { cp ${UNPACKDIR}/get_module_deps3.py ${WORKDIR} cd ${WORKDIR} # This needs to be executed by python-native and NOT by HOST's python - nativepython3 create_manifest3.py ${PYTHON_MAJMIN} + nativepython3 create_manifest3.py ${PYTHON_MAINVERSION} cp python3-manifest.json.new ${THISDIR}/python3/python3-manifest.json }
@@ -436,11 +434,12 @@ RRECOMMENDS:${PN}-crypt:append:class-nativesdk = " ${MLPREFIX}openssl ${MLPREFIX # For historical reasons PN is empty and provided by python3-modules FILES:${PN} = "" +FILES:${PN}-core += "${bindir}/python${PYTHON_MAINVERSION} ${bindir}/python${PYTHON_BASEVERSION}" RPROVIDES:${PN}-modules = "${PN}" -FILES:${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAJMIN} ${bindir}/pydoc3" -FILES:${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAJMIN}" -FILES:${PN}-tkinter += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_tkinter.*.so" +FILES:${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAINVERSION} ${bindir}/pydoc3" +FILES:${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAINVERSION}" +FILES:${PN}-tkinter += "${libdir}/${PYTHON_DIR}/lib-dynload/_tkinter.*.so" # provide python-pyvenv from python3-venv RPROVIDES:${PN}-venv += "${MLPREFIX}python3-pyvenv"
@@ -448,13 +447,14 @@ RPROVIDES:${PN}-venv += "${MLPREFIX}python3-pyvenv" # package libpython3 PACKAGES =+ "libpython3 libpython3-staticdev" FILES:libpython3 = "${libdir}/libpython*.so.*" -FILES:libpython3-staticdev += "${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}-*/libpython${PYTHON_MAJMIN}.a" +FILES:libpython3-staticdev += "${libdir}/${PYTHON_DIR}/config-${PYTHON_MAINVERSION}-*/lib${PYTHON_DIR}.a" INSANE_SKIP:${PN}-dev += "dev-elf" INSANE_SKIP:${PN}-ptest = "dev-deps" # catch all the rest (unsorted) PACKAGES += "${PN}-misc" RDEPENDS:${PN}-misc += "\ + bash \ ${PN}-audio \ ${PN}-codecs \ ${PN}-core \
@@ -466,7 +466,7 @@ RDEPENDS:${PN}-misc += "\ RDEPENDS:${PN}-modules:append:class-target = " ${MLPREFIX}python3-misc" RDEPENDS:${PN}-modules:append:class-nativesdk = " ${MLPREFIX}python3-misc" RDEPENDS:${PN}-modules:append:class-target = " ${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '${MLPREFIX}python3-gdbm', '', d)}" -FILES:${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload" +FILES:${PN}-misc = "${libdir}/${PYTHON_DIR} ${libdir}/${PYTHON_DIR}/lib-dynload" # catch manpage PACKAGES += "${PN}-man"
@@ -506,5 +506,5 @@ RDEPENDS:${PN}-tests:append:class-nativesdk = " ${MLPREFIX}bash" # Python's tests contain large numbers of files we don't need in the recipe sysroots SYSROOT_PREPROCESS_FUNCS += " py3_sysroot_cleanup" py3_sysroot_cleanup () { - rm -rf ${SYSROOT_DESTDIR}${libdir}/python${PYTHON_MAJMIN}/test + rm -rf ${SYSROOT_DESTDIR}${libdir}/${PYTHON_DIR}/test }
Signature · 1 line
2.53.0
PATCH v2 4/12 python3native.bbclass: Stop using PYTHON_ABI
In reply to Zoltán BöszörményiPYTHON_DIR now contains PYTHON_ABI.
--- meta/classes-recipe/python3native.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/classes-recipe/python3native.bbclass +2 -2
@@ -20,8 +20,8 @@ export STAGING_LIBDIR # find_package(PythonLibs REQUIRED) # which ends up using libs/includes from build host # Therefore pre-empt that effort -export PYTHON_LIBRARY = "${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so" -export PYTHON_INCLUDE_DIR = "${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}" +export PYTHON_LIBRARY = "${STAGING_LIBDIR}/lib${PYTHON_DIR}.so" +export PYTHON_INCLUDE_DIR = "${STAGING_INCDIR}/${PYTHON_DIR}" # suppress host user's site-packages dirs. export PYTHONNOUSERSITE = "1"
Signature · 1 line
2.53.0
PATCH v2 5/12 python_pyo3.bbclass: Pass ABI flag and use PYTHON_MAINVERSION
In reply to Zoltán BöszörményiSetting the ABI flag correctly is necessary for modules using python_maturin.bbclass and others based on pyo3.
--- meta/classes-recipe/python_pyo3.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/classes-recipe/python_pyo3.bbclass +3 -1
@@ -12,7 +12,8 @@ inherit cargo python3-dir siteinfo export PYO3_CROSS = "1" -export PYO3_CROSS_PYTHON_VERSION = "${PYTHON_BASEVERSION}" +export PYO3_CROSS_PYTHON_VERSION = "${PYTHON_MAINVERSION}" +export ABIFLAGS = "${PYTHON_ABI}" export PYO3_CROSS_LIB_DIR = "${STAGING_LIBDIR}" export CARGO_BUILD_TARGET = "${RUST_HOST_SYS}" export RUSTFLAGS
@@ -25,6 +26,7 @@ implementation=CPython version=${PYTHON_BASEVERSION} shared=true abi3=false +abiflags=${PYTHON_ABI} lib_name=${PYTHON_DIR} lib_dir=${STAGING_LIBDIR} pointer_width=${SITEINFO_BITS}
Signature · 1 line
2.53.0
PATCH v2 6/12 clang: Use PYTHON_MAINVERSION for python module versioning
In reply to Zoltán BöszörményiUse the new complete main version setting instead of just PYTHON_BASEVERSION that does not include PYTHON_ABI.
--- meta/recipes-devtools/clang/clang_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/clang/clang_git.bb +1 -1
@@ -46,7 +46,7 @@ PACKAGECONFIG[lld] = "-DCLANG_DEFAULT_LINKER=lld,,," PACKAGECONFIG[lto] = "-DLLVM_ENABLE_LTO=Full -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR},,binutils," PACKAGECONFIG[thin-lto] = "-DLLVM_ENABLE_LTO=Thin -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR},,binutils," PACKAGECONFIG[unwindlib] = "-DCLANG_DEFAULT_UNWINDLIB=libunwind,-DCLANG_DEFAULT_UNWINDLIB=libgcc,," -PACKAGECONFIG[libclang-python] = "-DCLANG_PYTHON_BINDINGS_VERSIONS=${PYTHON_BASEVERSION},," +PACKAGECONFIG[libclang-python] = "-DCLANG_PYTHON_BINDINGS_VERSIONS=${PYTHON_MAINVERSION},," OECMAKE_SOURCEPATH = "${S}/clang"
Signature · 1 line
2.53.0
PATCH v2 7/12 gdb, gdb-cross-canadian: Stop using PYTHON_ABI
In reply to Zoltán BöszörményiPYTHON_DIR now contains PYTHON_ABI, don't use the latter. Simplify the linked library name to use -l${PYTHON_DIR}.
--- meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 4 ++-- meta/recipes-devtools/gdb/gdb_17.1.bb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-devtools/gdb/gdb-cross-canadian.inc +2 -2
@@ -22,8 +22,8 @@ do_configure:prepend() { cat > ${WORKDIR}/python << EOF #! /bin/sh case "\$2" in - --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}/" ;; - --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" ;; + --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; + --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -l${PYTHON_DIR}" ;; --exec-prefix) echo "${exec_prefix}" ;; *) exit 1 ;; esac
meta/recipes-devtools/gdb/gdb_17.1.bb +2 -2
@@ -26,8 +26,8 @@ do_configure:prepend() { cat > ${WORKDIR}/python << EOF #!/bin/sh case "\$2" in - --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}/" ;; - --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" ;; + --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; + --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -l${PYTHON_DIR}" ;; --exec-prefix) echo "${exec_prefix}" ;; *) exit 1 ;; esac
Signature · 1 line
2.53.0
PATCH v2 8/12 boost: Stop using PYTHON_ABI
In reply to Zoltán BöszörményiPYTHON_DIR now contains PYTHON_ABI, fix the settings accordingly.
--- meta/recipes-support/boost/boost.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/boost/boost.inc +1 -1
@@ -174,7 +174,7 @@ do_configure() { # If we want Python then we need to tell Boost *exactly* where to find it if ${@bb.utils.contains('BOOST_LIBS', 'python', 'true', 'false', d)}; then - echo "using python : ${PYTHON_BASEVERSION} : ${STAGING_DIR_HOST}${bindir}/python3 : ${STAGING_DIR_HOST}${includedir}/${PYTHON_DIR}${PYTHON_ABI} : ${STAGING_DIR_HOST}${libdir}/${PYTHON_DIR} ;" >> ${WORKDIR}/user-config.jam + echo "using python : ${PYTHON_MAINVERSION} : ${STAGING_DIR_HOST}${bindir}/python3 : ${STAGING_DIR_HOST}${includedir}/${PYTHON_DIR} : ${STAGING_DIR_HOST}${libdir}/${PYTHON_DIR} ;" >> ${WORKDIR}/user-config.jam fi if ${@bb.utils.contains('BOOST_LIBS', 'mpi', 'true', 'false', d)}; then
Signature · 1 line
2.53.0
PATCH v2 9/12 lttng-tools: Stop using PYTHON_ABI
In reply to Zoltán BöszörményiPYTHON_DIR now contains PYTHON_ABI, use it.
--- meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb +1 -1
@@ -35,7 +35,7 @@ INSANE_SKIP:${PN}-ptest += "dev-deps" PYTHON_OPTION = "am_cv_python_pyexecdir='${PYTHON_SITEPACKAGES_DIR}' \ am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \ - PYTHON_INCLUDE='-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}' \ + PYTHON_INCLUDE='-I${STAGING_INCDIR}/${PYTHON_DIR}' \ " PACKAGECONFIG ??= "${LTTNGUST} kmod" PACKAGECONFIG[python] = "--enable-python-bindings ${PYTHON_OPTION},,python3 swig-native"
Signature · 1 line
2.53.0
PATCH v2 10/12 lttng-ust: Stop using PYTHON_ABI
In reply to Zoltán BöszörményiPYTHON_DIR now contains PYTHON_ABI, use it.
--- meta/recipes-kernel/lttng/lttng-ust_2.14.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/lttng/lttng-ust_2.14.0.bb +1 -1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b04e8f34dbcf08198c6618d05e8fe7b" PYTHON_OPTION = "am_cv_python_pyexecdir='${PYTHON_SITEPACKAGES_DIR}' \ am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \ - PYTHON_INCLUDE='-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}' \ + PYTHON_INCLUDE='-I${STAGING_INCDIR}/${PYTHON_DIR}' \ " inherit autotools lib_package manpages python3native pkgconfig
Signature · 1 line
2.53.0
PATCH v2 11/12 libcap-ng-python: Use PYTHON_DIR for FILES
In reply to Zoltán BöszörményiPYTHON_DIR now contains PYTHON_ABI, use it.
--- meta/recipes-support/libcap-ng/libcap-ng-python_0.9.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libcap-ng/libcap-ng-python_0.9.1.bb +1 -1
@@ -14,4 +14,4 @@ do_install() { oe_runmake 'DESTDIR=${D}' install -C ${B}/bindings/python3 } -FILES:${PN} = "${libdir}/python${PYTHON_BASEVERSION}" +FILES:${PN} = "${libdir}/${PYTHON_DIR}"
Signature · 1 line
2.53.0
PATCH v2 12/12 hwlatdetect: Use PYTHON_DIR
In reply to Zoltán BöszörményiInstead of custom constructing the python directory, use PYTHON_DIR for consistency.
--- meta/recipes-rt/rt-tests/hwlatdetect_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-rt/rt-tests/hwlatdetect_git.bb +3 -3
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" require rt-tests.inc inherit python3-dir -EXTRA_OEMAKE += "PYLIB=${libdir}/python${PYTHON_BASEVERSION}/dist-packages" +EXTRA_OEMAKE += "PYLIB=${libdir}/${PYTHON_DIR}/dist-packages" do_compile() { oe_runmake hwlatdetect
@@ -18,9 +18,9 @@ do_install() { oe_runmake install_hwlatdetect DESTDIR=${D} SBINDIR=${sbindir} \ MANDIR=${mandir} INCLUDEDIR=${includedir} - sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py + sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/${PYTHON_DIR}/dist-packages/hwlatdetect.py } -FILES:${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py" +FILES:${PN} += "${libdir}/${PYTHON_DIR}/dist-packages/hwlatdetect.py" RDEPENDS:${PN} = "python3-core " RRECOMMENDS:${PN} = "kernel-module-hwlat-detector"
Signature · 1 line
2.53.0
2026. 03. 26. 15:16 keltezéssel, Gyorgy Sarvari írta:
Quoted 1 line
Wrong ML?
Yes. Careless copy&paste from ~/.bash_history. Sorry.
Quoted 41 lines · Zoltan Boszormenyi via lists.openembedded.org
Quoted 38 lines
The warning comment is really needed. While Python 3.14 supports free-threading officially, the ecosystem around it does not yet.
Signed-off-by Zoltán Böszörményi <[email protected]>--- meta/recipes-devtools/python/python3_3.14.3.bb | 7 +++++++ 1 file changed, 7 insertions(+)meta/recipes-devtools/python/python3_3.14.3.bb +7
-1@@ -112,7 +112,14 @@ CACHED_CONFIGUREVARS:append:libc-musl = "\ # PGO currently causes builds to not be reproducible so disable by default, see YOCTO #13407 PACKAGECONFIG ??= "editline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}" + +# Some LLVM/CLANG subprojects (e.g. lldb) and many Python modules +# do not build when free-threading is enabled. Also, the support +# for free-threading in many Python modules is not yet production level, +# although they may build fine. +# This is highly experimental. Do not enable it! PACKAGECONFIG[freethreading] = "--disable-gil,--enable-gil" + PACKAGECONFIG[readline] = "--with-readline=readline,,readline,,,editline" PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline" # Use profile guided optimisation by running PyBench inside qemu-user -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#125723): https://lists.openembedded.org/g/openembedded-devel/message/125723
Mute This Topic: https://lists.openembedded.org/mt/118518888/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH v3 1/12 python3: Add warning comment before PACKAGECONFIG[freethreading]
In reply to a message not in the archiveThe warning comment is really needed. While Python 3.14 supports free-threading officially, the ecosystem around it does not yet.
--- meta/recipes-devtools/python/python3_3.14.3.bb | 7 +++++++ 1 file changed, 7 insertions(+)
meta/recipes-devtools/python/python3_3.14.3.bb +7 -0
@@ -113,7 +113,14 @@ CACHED_CONFIGUREVARS:append:libc-musl = "\ # PGO currently causes builds to not be reproducible so disable by default, see YOCTO #13407 PACKAGECONFIG ??= "editline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}" + +# Some LLVM/CLANG subprojects (e.g. lldb) and many Python modules +# do not build when free-threading is enabled. Also, the support +# for free-threading in many Python modules is not yet production level, +# although they may build fine. +# This is highly experimental. Do not enable it! PACKAGECONFIG[freethreading] = "--disable-gil,--enable-gil" + PACKAGECONFIG[readline] = "--with-readline=readline,,readline,,,editline" PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline" # Use profile guided optimisation by running PyBench inside qemu-user
Signature · 1 line
2.53.0
PATCH v3 2/12 python3-dir.bbclass: Move PYTHON_ABI into PYTHON_DIR
PYTHON_DIR is now suffixed with PYTHON_ABI.
Python build helper classes and the python build modules use PYTHON_DIR internally, some of them do not care about the ABI flag. So it's important that the destination directory is set correctly.
This will also allow fixing recipes that may or may not have been using PYTHON_ABI consistently, since it was set to an empty string.
Also added a new variable called PYTHON_MAINVERSION which is a combination of PYTHON_BASEVERSION and PYTHON_ABI.
--- meta/classes-recipe/python3-dir.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes-recipe/python3-dir.bbclass +2 -1
@@ -6,6 +6,7 @@ PYTHON_BASEVERSION = "3.14" PYTHON_ABI = "" -PYTHON_DIR = "python${PYTHON_BASEVERSION}" +PYTHON_MAINVERSION = "${PYTHON_BASEVERSION}${PYTHON_ABI}" +PYTHON_DIR = "python${PYTHON_MAINVERSION}" PYTHON_PN = "python3" PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"
Signature · 1 line
2.53.0
PATCH v3 4/12 python3native.bbclass: Stop using PYTHON_ABI
In reply to Zoltán BöszörményiPYTHON_DIR now contains PYTHON_ABI.
--- meta/classes-recipe/python3native.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/classes-recipe/python3native.bbclass +2 -2
@@ -20,8 +20,8 @@ export STAGING_LIBDIR # find_package(PythonLibs REQUIRED) # which ends up using libs/includes from build host # Therefore pre-empt that effort -export PYTHON_LIBRARY = "${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so" -export PYTHON_INCLUDE_DIR = "${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}" +export PYTHON_LIBRARY = "${STAGING_LIBDIR}/lib${PYTHON_DIR}.so" +export PYTHON_INCLUDE_DIR = "${STAGING_INCDIR}/${PYTHON_DIR}" # suppress host user's site-packages dirs. export PYTHONNOUSERSITE = "1"
Signature · 1 line
2.53.0
PATCH v3 12/12 hwlatdetect: Use PYTHON_DIR
In reply to Zoltán BöszörményiInstead of custom constructing the python directory, use PYTHON_DIR for consistency.
--- meta/recipes-rt/rt-tests/hwlatdetect_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-rt/rt-tests/hwlatdetect_git.bb +3 -3
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" require rt-tests.inc inherit python3-dir -EXTRA_OEMAKE += "PYLIB=${libdir}/python${PYTHON_BASEVERSION}/dist-packages" +EXTRA_OEMAKE += "PYLIB=${libdir}/${PYTHON_DIR}/dist-packages" do_compile() { oe_runmake hwlatdetect
@@ -18,9 +18,9 @@ do_install() { oe_runmake install_hwlatdetect DESTDIR=${D} SBINDIR=${sbindir} \ MANDIR=${mandir} INCLUDEDIR=${includedir} - sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py + sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/${PYTHON_DIR}/dist-packages/hwlatdetect.py } -FILES:${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py" +FILES:${PN} += "${libdir}/${PYTHON_DIR}/dist-packages/hwlatdetect.py" RDEPENDS:${PN} = "python3-core " RRECOMMENDS:${PN} = "kernel-module-hwlat-detector"
Signature · 1 line
2.53.0
PATCH v3 3/12 python3: Use the variables from python3-dir.bbclass
In reply to Zoltán BöszörményiReplace using PYTHON_MAJMIN and various custom constructed settings with inherit python3-dir and its variables.
Adapted the manifest generator scripts and the manifest.
---
v3: Rebased over the "bitbake -c create_manifest" fix
.../python/python3/create_manifest3.py | 10 +- .../python/python3/get_module_deps3.py | 2 +- .../python/python3/python3-manifest.json | 890 +++++++++--------- .../recipes-devtools/python/python3_3.14.3.bb | 56 +- 4 files changed, 479 insertions(+), 479 deletions(-)
meta/recipes-devtools/python/python3/create_manifest3.py +5 -5
@@ -50,7 +50,7 @@ if '-d' in sys.argv: else: debugFlag = '' -# Get python version from ${PYTHON_MAJMIN} +# Get python version from ${PYTHON_MAINVERSION} pyversion = str(sys.argv[1]) # Hack to get native python search path (for folders), not fond of it but it works for now
@@ -71,7 +71,7 @@ hasfolders = [] allfolders = [] def isFolder(value): - value = value.replace('${PYTHON_MAJMIN}',pyversion) + value = value.replace('${PYTHON_MAINVERSION}',pyversion) if os.path.isdir(value.replace('${libdir}',nativelibfolder+'/usr/lib')) or os.path.isdir(value.replace('${libdir}',nativelibfolder+'/usr/lib64')) or os.path.isdir(value.replace('${libdir}',nativelibfolder+'/usr/lib32')): return True else:
@@ -122,7 +122,7 @@ print_indent('Getting dependencies for package: core', 0) output = subprocess.check_output([sys.executable, 'get_module_deps3.py', 'python-core-package', '%s' % debugFlag]).decode('utf8') for coredep in output.split(): - coredep = coredep.replace(pyversion,'${PYTHON_MAJMIN}') + coredep = coredep.replace(pyversion,'${PYTHON_MAINVERSION}') if isCached(coredep): if coredep not in old_manifest['core']['cached']: old_manifest['core']['cached'].append(coredep)
@@ -173,7 +173,7 @@ for filedep in old_manifest['core']['files']: for pymodule_dep in output.split(): - pymodule_dep = pymodule_dep.replace(pyversion,'${PYTHON_MAJMIN}') + pymodule_dep = pymodule_dep.replace(pyversion,'${PYTHON_MAINVERSION}') if isCached(pymodule_dep): if pymodule_dep not in old_manifest['core']['cached']:
@@ -318,7 +318,7 @@ for pypkg in old_manifest: # is folder_string inside path/folder1/folder2/filename?, # Yes, it works, but we waste a couple of milliseconds. - pymodule_dep = pymodule_dep.replace(pyversion,'${PYTHON_MAJMIN}') + pymodule_dep = pymodule_dep.replace(pyversion,'${PYTHON_MAINVERSION}') inFolders = False for folder in allfolders: # The module could have a directory named after it, e.g. xml, if we take out the filename from the path
meta/recipes-devtools/python/python3/get_module_deps3.py +1 -1
@@ -116,7 +116,7 @@ for item in dif: # Site-customize is a special case since we (OpenEmbedded) put it there manually if 'sitecustomize' in dep_path: - dep_path = '${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py' + dep_path = '${libdir}/python${PYTHON_MAINVERSION}/sitecustomize.py' # Prints out result, which is what will be used by create_manifest print (dep_path) continue
meta/recipes-devtools/python/python3/python3-manifest.json +445 -445
1,285 lines not on this page · raw message
meta/recipes-devtools/python/python3_3.14.3.bb +28 -28
173 lines not on this page · raw message
Signature · 1 line
2.53.0
PATCH v3 5/12 python_pyo3.bbclass: Pass ABI flag and use PYTHON_MAINVERSION
In reply to Zoltán BöszörményiSetting the ABI flag correctly is necessary for modules using python_maturin.bbclass and others based on pyo3.
--- meta/classes-recipe/python_pyo3.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/classes-recipe/python_pyo3.bbclass +3 -1
@@ -12,7 +12,8 @@ inherit cargo python3-dir siteinfo export PYO3_CROSS = "1" -export PYO3_CROSS_PYTHON_VERSION = "${PYTHON_BASEVERSION}" +export PYO3_CROSS_PYTHON_VERSION = "${PYTHON_MAINVERSION}" +export ABIFLAGS = "${PYTHON_ABI}" export PYO3_CROSS_LIB_DIR = "${STAGING_LIBDIR}" export CARGO_BUILD_TARGET = "${RUST_HOST_SYS}" export RUSTFLAGS
@@ -25,6 +26,7 @@ implementation=CPython version=${PYTHON_BASEVERSION} shared=true abi3=false +abiflags=${PYTHON_ABI} lib_name=${PYTHON_DIR} lib_dir=${STAGING_LIBDIR} pointer_width=${SITEINFO_BITS}
Signature · 1 line
2.53.0
PATCH v3 6/12 clang: Use PYTHON_MAINVERSION for python module versioning
In reply to Zoltán BöszörményiUse the new complete main version setting instead of just PYTHON_BASEVERSION that does not include PYTHON_ABI.
--- meta/recipes-devtools/clang/clang_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/clang/clang_git.bb +1 -1
@@ -46,7 +46,7 @@ PACKAGECONFIG[lld] = "-DCLANG_DEFAULT_LINKER=lld,,," PACKAGECONFIG[lto] = "-DLLVM_ENABLE_LTO=Full -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR},,binutils," PACKAGECONFIG[thin-lto] = "-DLLVM_ENABLE_LTO=Thin -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR},,binutils," PACKAGECONFIG[unwindlib] = "-DCLANG_DEFAULT_UNWINDLIB=libunwind,-DCLANG_DEFAULT_UNWINDLIB=libgcc,," -PACKAGECONFIG[libclang-python] = "-DCLANG_PYTHON_BINDINGS_VERSIONS=${PYTHON_BASEVERSION},," +PACKAGECONFIG[libclang-python] = "-DCLANG_PYTHON_BINDINGS_VERSIONS=${PYTHON_MAINVERSION},," OECMAKE_SOURCEPATH = "${S}/clang"
Signature · 1 line
2.53.0
PATCH v3 7/12 gdb, gdb-cross-canadian: Stop using PYTHON_ABI
In reply to Zoltán BöszörményiPYTHON_DIR now contains PYTHON_ABI, don't use the latter. Simplify the linked library name to use -l${PYTHON_DIR}.
--- meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 4 ++-- meta/recipes-devtools/gdb/gdb_17.1.bb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-devtools/gdb/gdb-cross-canadian.inc +2 -2
@@ -22,8 +22,8 @@ do_configure:prepend() { cat > ${WORKDIR}/python << EOF #! /bin/sh case "\$2" in - --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}/" ;; - --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" ;; + --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; + --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -l${PYTHON_DIR}" ;; --exec-prefix) echo "${exec_prefix}" ;; *) exit 1 ;; esac
meta/recipes-devtools/gdb/gdb_17.1.bb +2 -2
@@ -26,8 +26,8 @@ do_configure:prepend() { cat > ${WORKDIR}/python << EOF #!/bin/sh case "\$2" in - --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}/" ;; - --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" ;; + --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; + --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -l${PYTHON_DIR}" ;; --exec-prefix) echo "${exec_prefix}" ;; *) exit 1 ;; esac
Signature · 1 line
2.53.0
PATCH v3 8/12 boost: Stop using PYTHON_ABI
In reply to Zoltán BöszörményiPYTHON_DIR now contains PYTHON_ABI, fix the settings accordingly.
--- meta/recipes-support/boost/boost.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/boost/boost.inc +1 -1
@@ -174,7 +174,7 @@ do_configure() { # If we want Python then we need to tell Boost *exactly* where to find it if ${@bb.utils.contains('BOOST_LIBS', 'python', 'true', 'false', d)}; then - echo "using python : ${PYTHON_BASEVERSION} : ${STAGING_DIR_HOST}${bindir}/python3 : ${STAGING_DIR_HOST}${includedir}/${PYTHON_DIR}${PYTHON_ABI} : ${STAGING_DIR_HOST}${libdir}/${PYTHON_DIR} ;" >> ${WORKDIR}/user-config.jam + echo "using python : ${PYTHON_MAINVERSION} : ${STAGING_DIR_HOST}${bindir}/python3 : ${STAGING_DIR_HOST}${includedir}/${PYTHON_DIR} : ${STAGING_DIR_HOST}${libdir}/${PYTHON_DIR} ;" >> ${WORKDIR}/user-config.jam fi if ${@bb.utils.contains('BOOST_LIBS', 'mpi', 'true', 'false', d)}; then
Signature · 1 line
2.53.0
PATCH v3 9/12 lttng-tools: Stop using PYTHON_ABI
In reply to Zoltán BöszörményiPYTHON_DIR now contains PYTHON_ABI, use it.
--- meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb +1 -1
@@ -35,7 +35,7 @@ INSANE_SKIP:${PN}-ptest += "dev-deps" PYTHON_OPTION = "am_cv_python_pyexecdir='${PYTHON_SITEPACKAGES_DIR}' \ am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \ - PYTHON_INCLUDE='-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}' \ + PYTHON_INCLUDE='-I${STAGING_INCDIR}/${PYTHON_DIR}' \ " PACKAGECONFIG ??= "${LTTNGUST} kmod" PACKAGECONFIG[python] = "--enable-python-bindings ${PYTHON_OPTION},,python3 swig-native"
Signature · 1 line
2.53.0
PATCH v3 10/12 lttng-ust: Stop using PYTHON_ABI
In reply to Zoltán BöszörményiPYTHON_DIR now contains PYTHON_ABI, use it.
--- meta/recipes-kernel/lttng/lttng-ust_2.14.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/lttng/lttng-ust_2.14.0.bb +1 -1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b04e8f34dbcf08198c6618d05e8fe7b" PYTHON_OPTION = "am_cv_python_pyexecdir='${PYTHON_SITEPACKAGES_DIR}' \ am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \ - PYTHON_INCLUDE='-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}' \ + PYTHON_INCLUDE='-I${STAGING_INCDIR}/${PYTHON_DIR}' \ " inherit autotools lib_package manpages python3native pkgconfig
Signature · 1 line
2.53.0
PATCH v3 11/12 libcap-ng-python: Use PYTHON_DIR for FILES
In reply to Zoltán BöszörményiPYTHON_DIR now contains PYTHON_ABI, use it.
--- meta/recipes-support/libcap-ng/libcap-ng-python_0.9.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libcap-ng/libcap-ng-python_0.9.1.bb +1 -1
@@ -14,4 +14,4 @@ do_install() { oe_runmake 'DESTDIR=${D}' install -C ${B}/bindings/python3 } -FILES:${PN} = "${libdir}/python${PYTHON_BASEVERSION}" +FILES:${PN} = "${libdir}/${PYTHON_DIR}"
Signature · 1 line
2.53.0
Quoted 5 lines · Zoltan Boszormenyi via lists.openembedded.org
The warning comment is really needed. While Python 3.14 supports free-threading officially, the ecosystem around it does not yet.
Signed-off-by Zoltán Böszörményi <[email protected]>---
Hi Zoltán,
Thanks for your patch. We are seeing two issues on the autobuilder:
First, some file is not shipped:
ERROR: nativesdk-python3-3.14.3-r0 do_package: QA Issue: nativesdk-python3: Files/directories were installed but not shipped in any package:
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/python3.14.real
Then, some package conflict:
ERROR: core-image-sato-1.0-r0 do_rootfs: Could not invoke dnf. Command '/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/rootfs/etc/yum.repos.d --installroot=/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/rootfs --setopt=logdir=/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/temp --repofrompath=oe-repo,/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/oe-rootfs-repo --nogpgcheck install dnf packagegroup-base-extended packagegroup-core-boot packagegroup-core-ssh-dropbear packagegroup-core-x11-base packagegroup-core-x11-sato psplash rpm run-postinsts locale-base-c locale-base-en-us locale-base-en-gb' returned 1:
DNF version: 4.24.0
cachedir: /srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/rootfs/var/cache/dnf
Added oe-repo repo from /srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/oe-rootfs-repo
User-Agent: falling back to 'libdnf': could not detect OS or basearch
repo: using cache for: oe-repo
oe-repo: using metadata from Thu 26 Mar 2026 09:57:24 PM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem 1: conflicting requests
- nothing provides python3-compression needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-ctypes needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-email needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-json needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-logging needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-shell needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-threading needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-codecs needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-curses needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-netclient needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-sqlite3 needed by dnf-4.24.0-r0.core2_64 from oe-repo
Problem 2: package packagegroup-core-x11-sato-base-1.0-r0.genericx86_64 from oe-repo requires settings-daemon, but none of the providers can be installed
- package packagegroup-core-x11-sato-1.0-r0.genericx86_64 from oe-repo requires packagegroup-core-x11-sato-base, but none of the providers can be installed
- package settings-daemon-0.0.2+git0+df669c6579-r0.core2_64 from oe-repo requires libgconf-2.so.4()(64bit), but none of the providers can be installed
- package settings-daemon-0.0.2+git0+df669c6579-r0.core2_64 from oe-repo requires gconf >= 3.2.6, but none of the providers can be installed
- conflicting requests
- nothing provides python3-xml needed by gconf-3.2.6-r0.core2_64 from oe-repo
(try to add '--skip-broken' to skip uninstallable packages)
https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3478
Can you have a look at the issues?
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
2026. 03. 27. 9:37 keltezéssel, Mathieu Dubois-Briand írta:
Quoted 45 lines · Zoltan Boszormenyi via lists.openembedded.org
Quoted 5 lines
The warning comment is really needed. While Python 3.14 supports free-threading officially, the ecosystem around it does not yet.
Signed-off-by Zoltán Böszörményi <[email protected]>---
Hi Zoltán,
Thanks for your patch. We are seeing two issues on the autobuilder:
First, some file is not shipped:
ERROR: nativesdk-python3-3.14.3-r0do_package: QA Issue: nativesdk-python3: Files/directories were installed but not shipped in any package:/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/python3.14.realThen, some package conflict:
ERROR: core-image-sato-1.0-r0do_rootfs: Could not invoke dnf. Command '/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/recipe-sysroot-native/usr/bin/dnf-v --rpmverbosity=info -y -c/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/rootfs/etc/dnf/dnf.conf--setopt=reposdir=/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/rootfs/etc/yum.repos.d --installroot=/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/rootfs --setopt=logdir=/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/temp --repofrompath=oe-repo,/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/oe-rootfs-repo --nogpgcheck install dnf packagegroup-base-extended packagegroup-core-boot packagegroup-core-ssh-dropbear packagegroup-core-x11-base packagegroup-core-x11-sato psplash rpm run-postinsts locale-base-c locale-base-en-us locale-base-en-gb' returned 1:
DNF version: 4.24.0
cachedir:/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/rootfs/var/cache/dnf
Added oe-repo repo from/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/oe-rootfs-repo
User-Agent: falling back to 'libdnf': could not detect OS or basearch
repo: using cache for: oe-repo
oe-repo: using metadata from Thu 26 Mar 2026 09:57:24 PM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem 1: conflicting requests
- nothing provides python3-compression needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-ctypes needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-email needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-json needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-logging needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-shell needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-threading needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-codecs needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-curses needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-netclient needed by dnf-4.24.0-r0.core2_64 from oe-repo
- nothing provides python3-sqlite3 needed by dnf-4.24.0-r0.core2_64 from oe-repo
Problem 2: package packagegroup-core-x11-sato-base-1.0-r0.genericx86_64 from oe-repo requires settings-daemon, but none of the providers can be installed
- package packagegroup-core-x11-sato-1.0-r0.genericx86_64 from oe-repo requires packagegroup-core-x11-sato-base, but none of the providers can be installed
- package settings-daemon-0.0.2+git0+df669c6579-r0.core2_64 from oe-repo requires libgconf-2.so.4()(64bit), but none of the providers can be installed
- package settings-daemon-0.0.2+git0+df669c6579-r0.core2_64 from oe-repo requires gconf >= 3.2.6, but none of the providers can be installed
- conflicting requests
- nothing provides python3-xml needed by gconf-3.2.6-r0.core2_64 from oe-repo
(try to add '--skip-broken' to skip uninstallable packages)
Quoted 3 lines
https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3478
Can you have a look at the issues?
The v3 series over the patch entitled "python3: Fix manifest" fixes both of these problems.
Re: [OE-core] [PATCH v3 09/12] lttng-tools: Stop using PYTHON_ABI
In reply to Zoltán BöszörményiQuoted 4 lines · Zoltan Boszormenyi via lists.openembedded.org
PYTHON_DIRnow containsPYTHON_ABI, use it.Signed-off-by Zoltán Böszörményi <[email protected]>---
Hi Zoltán,
Thanks for your patch. It looks like lttng-tools build is now failing:
ERROR: lttng-tools-2.15.0-r0 do_configure: Execution of '/srv/pokybuild/yocto-worker/genericarm64-alt/build/build/tmp/work/armv8a-poky-linux/lttng-tools/2.15.0/temp/run.do_configure.1174739' failed with exit code 1
...
| configure: error: Package requirements (lttng-ust >= 2.15 lttng-ust < 2.16) were not met: | | Package dependency requirement 'lttng-ust >= 2.15' could not be satisfied. | Package 'lttng-ust' has version '2.14.0', required version is '>= 2.15' | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables UST_CFLAGS | and UST_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. | NOTE: The following config.log files may provide further information. | NOTE: /srv/pokybuild/yocto-worker/genericarm64-alt/build/build/tmp/work/armv8a-poky-linux/lttng-tools/2.15.0/build/config.log | ERROR: configure failed
https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3489
https://autobuilder.yoctoproject.org/valkyrie/#/builders/9/builds/3454
Can you have a look at the issue?
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Re: [OE-core] [PATCH v3 09/12] lttng-tools: Stop using PYTHON_ABI
2026. 03. 28. 8:57 keltezéssel, Mathieu Dubois-Briand írta:
Quoted 26 lines · Zoltan Boszormenyi via lists.openembedded.org
Quoted 4 lines
PYTHON_DIRnow containsPYTHON_ABI, use it.Signed-off-by Zoltán Böszörményi <[email protected]>---
Hi Zoltán,
Thanks for your patch. It looks like lttng-tools build is now failing:
ERROR: lttng-tools-2.15.0-r0
do_configure: Execution of '/srv/pokybuild/yocto-worker/genericarm64-alt/build/build/tmp/work/armv8a-poky-linux/lttng-tools/2.15.0/temp/run.do_configure.1174739' failed with exit code 1
...| configure: error: Package requirements (lttng-ust >= 2.15 lttng-ust < 2.16) were not met: | | Package dependency requirement 'lttng-ust >= 2.15' could not be satisfied. | Package 'lttng-ust' has version '2.14.0', required version is '>= 2.15' | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables UST_CFLAGS | and UST_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. | NOTE: The following config.log files may provide further information. | NOTE: /srv/pokybuild/yocto-worker/genericarm64-alt/build/build/tmp/work/armv8a-poky-linux/lttng-tools/2.15.0/build/config.log | ERROR: configure failed
Quoted 4 lines
https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3489
https://autobuilder.yoctoproject.org/valkyrie/#/builders/9/builds/3454Can you have a look at the issue?
I tested the build with my patches, there was no such issue.
It's caused by another patch that updated lttng-tools without also updating lttng-ust.
My guess is because these were not in a patch series:
https://lists.openembedded.org/g/openembedded-core/message/233485
https://lists.openembedded.org/g/openembedded-core/message/234080
Re: [OE-core] [PATCH v3 09/12] lttng-tools: Stop using PYTHON_ABI
Quoted 27 lines · Böszörményi Zoltán
2026. 03. 28. 8:57 keltezéssel, Mathieu Dubois-Briand írta:
Quoted 26 lines · Zoltan Boszormenyi via lists.openembedded.org
Quoted 4 lines
PYTHON_DIRnow containsPYTHON_ABI, use it.Signed-off-by Zoltán Böszörményi <[email protected]>---
Hi Zoltán,
Thanks for your patch. It looks like lttng-tools build is now failing:
ERROR: lttng-tools-2.15.0-r0
do_configure: Execution of '/srv/pokybuild/yocto-worker/genericarm64-alt/build/build/tmp/work/armv8a-poky-linux/lttng-tools/2.15.0/temp/run.do_configure.1174739' failed with exit code 1
...| configure: error: Package requirements (lttng-ust >= 2.15 lttng-ust < 2.16) were not met: | | Package dependency requirement 'lttng-ust >= 2.15' could not be satisfied. | Package 'lttng-ust' has version '2.14.0', required version is '>= 2.15' | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables UST_CFLAGS | and UST_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. | NOTE: The following config.log files may provide further information. | NOTE: /srv/pokybuild/yocto-worker/genericarm64-alt/build/build/tmp/work/armv8a-poky-linux/lttng-tools/2.15.0/build/config.log | ERROR: configure failed
Quoted 9 lines
Quoted 4 lines
https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3489
https://autobuilder.yoctoproject.org/valkyrie/#/builders/9/builds/3454Can you have a look at the issue?
I tested the build with my patches, there was no such issue.
It's caused by another patch that updated lttng-tools without also updating lttng-ust.
Yes indeed, I confirm this errors does not come from your series.
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Re: [OE-core] [PATCH v3 09/12] lttng-tools: Stop using PYTHON_ABI
2026. 03. 29. 19:52 keltezéssel, Mathieu Dubois-Briand írta:
Quoted 31 lines · Böszörményi Zoltán
Quoted 30 lines
2026. 03. 28. 8:57 keltezéssel, Mathieu Dubois-Briand írta:
Quoted 29 lines · Zoltan Boszormenyi via lists.openembedded.org
Quoted 4 lines
PYTHON_DIRnow containsPYTHON_ABI, use it.Signed-off-by Zoltán Böszörményi <[email protected]>---
Hi Zoltán,
Thanks for your patch. It looks like lttng-tools build is now failing:
ERROR: lttng-tools-2.15.0-r0
do_configure: Execution of '/srv/pokybuild/yocto-worker/genericarm64-alt/build/build/tmp/work/armv8a-poky-linux/lttng-tools/2.15.0/temp/run.do_configure.1174739' failed with exit code 1
...| configure: error: Package requirements (lttng-ust >= 2.15 lttng-ust < 2.16) were not met: | | Package dependency requirement 'lttng-ust >= 2.15' could not be satisfied. | Package 'lttng-ust' has version '2.14.0', required version is '>= 2.15' | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables UST_CFLAGS | and UST_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. | NOTE: The following config.log files may provide further information. | NOTE: /srv/pokybuild/yocto-worker/genericarm64-alt/build/build/tmp/work/armv8a-poky-linux/lttng-tools/2.15.0/build/config.log | ERROR: configure failedhttps://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3489
https://autobuilder.yoctoproject.org/valkyrie/#/builders/9/builds/3454
Quoted 6 lines
Quoted 5 lines
Quoted 1 line
Can you have a look at the issue?
I tested the build with my patches, there was no such issue.
It's caused by another patch that updated lttng-tools without also updating lttng-ust.
Yes indeed, I confirm this errors does not come from your series.
I noticed that this series was dropped from master-next. I thought it was too late for Yocto 6.0.
Should I rebase and resend early for 6.1?
There was another patch that was dropped, namely the one that fixes
bitbake -c create_manifest python3
That is a separate issue and it was a separate patch, unrelated to this series. Running "bitbake -c create_manifest python3" still fails in current master. Unless it's stated that the manifest file must only be edited manually from this point. Then do_create_manifest task can also be deleted.
Which is the preferred way?