From: "Clayton Casciato" <ccasciato@21sw.us>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 11/15] python3-flit-core: upgrade 3.11.0 -> 3.12.0
Date: Sun, 18 May 2025 19:37:17 -0700 [thread overview]
Message-ID: <1020.1747622237944275271@lists.openembedded.org> (raw)
In-Reply-To: <1744073502-27695-11-git-send-email-wangmy@fujitsu.com>
[-- Attachment #1: Type: text/plain, Size: 9879 bytes --]
Hi, Wang!
I'm having trouble with the latest Poky builds (core-image-minimal) and believe I narrowed down the issue to this commit.
I see python3-flit-core is referenced in recipetool and believe I saw something related to this (though my scrollback wasn't enough).
See the three tests below (separated via "--").
Thank you!
Test 1 - commit previous to flit-core - success:
Build Configuration:
BB_VERSION = "2.12.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "beaglebone-yocto"
DISTRO = "poky"
DISTRO_VERSION = "5.2"
TUNE_FEATURES = "arm vfp cortexa8 neon callconvention-hard"
TARGET_FPU = "hard"
meta = "HEAD:557c12455e406571e829872fa83878510cbe94a1"
meta-selinux = "master:32adf788c70a3e75e947ea7394b9a746686bb01e"
meta-python
meta-oe = "HEAD:f3f094acd6c83c757378bae20d398cb14783e731"
meta-poky
meta-yocto-bsp = "HEAD:557c12455e406571e829872fa83878510cbe94a1"
meta-clang = "master:02e254ba1fb4937530d94a154b4c713c904c2d06"
meta-security = "master:784ca4b6584101e971b2d5d76ec7b716ad1301b5"
--
Test 2 - failure - HEAD:
Build Configuration:
BB_VERSION = "2.12.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "beaglebone-yocto"
DISTRO = "poky"
DISTRO_VERSION = "5.2"
TUNE_FEATURES = "arm vfp cortexa8 neon callconvention-hard"
TARGET_FPU = "hard"
meta = "master:e3d24e5cd8eee5d0d232abdfef33cacf0ad96787"
meta-selinux = "master:32adf788c70a3e75e947ea7394b9a746686bb01e"
meta-python
meta-oe = "master:1d6095b73fa21062fde2b347cd61b6c5104390d9"
meta-poky
meta-yocto-bsp = "master:e3d24e5cd8eee5d0d232abdfef33cacf0ad96787"
meta-clang = "master:02e254ba1fb4937530d94a154b4c713c904c2d06"
meta-security = "master:784ca4b6584101e971b2d5d76ec7b716ad1301b5"
[...]
ERROR: python3-markupsafe-native-3.0.2-r0 do_compile: Execution of '[...]/poky/build/tmp/work/x86_64-linux/python3-markupsafe-native/3.0.2/temp/run.do_compile.2646889' failed with exit code 1
ERROR: Logfile of failure stored in: [...]/poky/build/tmp/work/x86_64-linux/python3-markupsafe-native/3.0.2/temp/log.do_compile.2646889
Log data follows:
| DEBUG: Executing shell function do_compile
| * Getting build dependencies for wheel...
| [...]/poky/build/tmp/work/x86_64-linux/python3-markupsafe-native/3.0.2/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
| !!
|
| ********************************************************************************
| Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
|
| By 2026-Feb-18, you need to update your project and remove deprecated calls
| or your builds will no longer be supported.
|
| See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
| ********************************************************************************
|
| !!
| corresp(dist, value, root_dir)
| [...]/poky/build/tmp/work/x86_64-linux/python3-markupsafe-native/3.0.2/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
| !!
|
| ********************************************************************************
| Please consider removing the following classifiers in favor of a SPDX license expression:
|
| License :: OSI Approved :: BSD License
|
| See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
| ********************************************************************************
|
| !! dist._finalize_license_expression()
| [...]/poky/build/tmp/work/x86_64-linux/python3-markupsafe-native/3.0.2/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
| !!
|
| ********************************************************************************
| Please consider removing the following classifiers in favor of a SPDX license expression:
|
| License :: OSI Approved :: BSD License
|
| See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
| ******************************************************************************** |
| !!
| self._finalize_license_expression()
| usage: _in_process.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
| or: _in_process.py --help [cmd1 cmd2 ...]
| or: _in_process.py --help-commands
| or: _in_process.py cmd --help
|
| error: invalid command 'egg_info'
|
| ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
| WARNING: exit code 1 from a shell command.
ERROR: Task (virtual:native:[...]/poky/meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb:do_compile) failed with exit code '1'
--
Test 3 - this flit commit - failure:
Build Configuration:
BB_VERSION = "2.12.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "beaglebone-yocto"
DISTRO = "poky"
DISTRO_VERSION = "5.2"
TUNE_FEATURES = "arm vfp cortexa8 neon callconvention-hard"
TARGET_FPU = "hard"
meta = "HEAD:0034c8aac358fe613018f0456ad7c68c2da04684"
meta-selinux = "master:32adf788c70a3e75e947ea7394b9a746686bb01e"
meta-python
meta-oe = "HEAD:f3f094acd6c83c757378bae20d398cb14783e731"
meta-poky
meta-yocto-bsp = "HEAD:0034c8aac358fe613018f0456ad7c68c2da04684"
meta-clang = "master:02e254ba1fb4937530d94a154b4c713c904c2d06"
meta-security = "master:784ca4b6584101e971b2d5d76ec7b716ad1301b5"
[...]
NOTE: Executing Tasks
ERROR: python3-wheel-native-0.45.1-r0 do_compile: Execution of '[...]/poky/build/tmp/work/x86_64-linux/python3-wheel-native/0.45.1/temp/run.do_compile.2528661' failed with exit code 1
ERROR: Logfile of failure stored in: [...]/poky/build/tmp/work/x86_64-linux/python3-wheel-native/0.45.1/temp/log.do_compile.2528661
Log data follows:
| DEBUG: Executing shell function do_compile
| * Getting build dependencies for wheel...
|
| Traceback (most recent call last):
| File "[...]/poky/build/tmp/work/x86_64-linux/python3-wheel-native/0.45.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/__main__.py", line 178, in _handle_build_error
| yield
| File "[...]/poky/build/tmp/work/x86_64-linux/python3-wheel-native/0.45.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/__main__.py", line 429, in main
| built = build_call(
| args.srcdir,
| ...<5 lines>...
| args.installer,
| )
| File "[...]/poky/build/tmp/work/x86_64-linux/python3-wheel-native/0.45.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/__main__.py", line 238, in build_package
| out = _build(isolation, srcdir, outdir, distribution, config_settings, skip_dependency_check, installer)
| File "[...]/poky/build/tmp/work/x86_64-linux/python3-wheel-native/0.45.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/__main__.py", line 172, in _build
| return _build_in_current_env(srcdir, outdir, distribution, config_settings, skip_dependency_check)
| File "[...]/poky/build/tmp/work/x86_64-linux/python3-wheel-native/0.45.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/__main__.py", line 151, in _build_in_current_env
| missing = builder.check_dependencies(distribution, config_settings or {})
| File "[...]/poky/build/tmp/work/x86_64-linux/python3-wheel-native/0.45.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/_builder.py", line 243, in check_dependencies
| return {u for d in dependencies for u in check_dependency(d)}
| ~~~~~~~~~~~~~~~~^^^
| File "[...]/poky/build/tmp/work/x86_64-linux/python3-wheel-native/0.45.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/_util.py", line 53, in check_dependency
| if req.specifier and not req.specifier.contains(dist.version, prereleases=True):
| ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "[...]/poky/build/tmp/work/x86_64-linux/python3-wheel-native/0.45.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/packaging/specifiers.py", line 917, in contains
| item = Version(item)
| File "[...]/poky/build/tmp/work/x86_64-linux/python3-wheel-native/0.45.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/packaging/version.py", line 200, in __init__
| match = self._regex.search(version)
| TypeError: expected string or bytes-like object, got 'NoneType'
|
| ERROR expected string or bytes-like object, got 'NoneType'
| WARNING: exit code 1 from a shell command.
--
Clayton Casciato
[-- Attachment #2: Type: text/html, Size: 22696 bytes --]
next prev parent reply other threads:[~2025-05-19 2:37 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-08 0:51 [OE-core] [PATCH 01/15] curl: upgrade 8.12.1 -> 8.13.0 wangmy
2025-04-08 0:51 ` [OE-core] [PATCH 02/15] ell: upgrade 0.75 -> 0.76 wangmy
2025-04-08 0:51 ` [OE-core] [PATCH 03/15] gawk: upgrade 5.3.1 -> 5.3.2 wangmy
2025-04-08 0:51 ` [OE-core] [PATCH 04/15] harfbuzz: upgrade 11.0.0 -> 11.0.1 wangmy
2025-04-08 0:51 ` [OE-core] [PATCH 05/15] hwdata: upgrade 0.393 -> 0.394 wangmy
2025-04-08 0:51 ` [OE-core] [PATCH 06/15] libsolv: upgrade 0.7.31 -> 0.7.32 wangmy
2025-04-08 8:08 ` Alexander Kanavin
2025-04-08 0:51 ` [OE-core] [PATCH 07/15] lighttpd: upgrade 1.4.78 -> 1.4.79 wangmy
2025-04-08 0:51 ` [OE-core] [PATCH 08/15] llvm: upgrade 20.1.1 -> 20.1.2 wangmy
2025-04-08 0:51 ` [OE-core] [PATCH 09/15] meson: upgrade 1.7.1 -> 1.7.2 wangmy
2025-04-08 0:51 ` [OE-core] [PATCH 10/15] python3-calver: upgrade 2025.04.01 -> 2025.04.02 wangmy
2025-04-08 0:51 ` [OE-core] [PATCH 11/15] python3-flit-core: upgrade 3.11.0 -> 3.12.0 wangmy
2025-05-19 2:37 ` Clayton Casciato [this message]
2025-05-19 2:49 ` Clayton Casciato
2025-05-27 13:48 ` Clayton Casciato
2025-05-27 16:00 ` [OE-core] " Gyorgy Sarvari
2025-05-27 18:57 ` Clayton Casciato
2025-04-08 0:51 ` [OE-core] [PATCH 12/15] python3-lxml: upgrade 5.3.1 -> 5.3.2 wangmy
2025-04-08 0:51 ` [OE-core] [PATCH 13/15] python3-typing-extensions: upgrade 4.13.0 -> 4.13.1 wangmy
2025-04-08 0:51 ` [OE-core] [PATCH 14/15] sbc: upgrade 2.0 -> 2.1 wangmy
2025-04-08 10:21 ` Gyorgy Sarvari
2025-04-08 0:51 ` [OE-core] [PATCH 15/15] systemd: upgrade 257.4 -> 257.5 wangmy
2025-04-08 11:17 ` [OE-core] [PATCH 01/15] curl: upgrade 8.12.1 -> 8.13.0 Mathieu Dubois-Briand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1020.1747622237944275271@lists.openembedded.org \
--to=ccasciato@21sw.us \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox