All of lore.kernel.org
 help / color / mirror / Atom feed
* [AUH] python3-setuptools-scm: upgrading to 7.0.3 FAILED
@ 2022-07-01 14:51 auh
  0 siblings, 0 replies; only message in thread
From: auh @ 2022-07-01 14:51 UTC (permalink / raw)
  To: Tim Orling; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]

Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe *python3-setuptools-scm* to *7.0.3* has Failed(do_compile).

Detailed error information:

do_compile failed



Next steps:
    - apply the patch: git am 0001-python3-setuptools-scm-upgrade-6.4.2-7.0.3.patch
    - check the changes to upstream patches and summarize them in the commit message,
    - compile an image that contains the package
    - perform some basic sanity tests
    - amend the patch and sign it off: git commit -s --reset-author --amend
    - send it to the appropriate mailing list

Alternatively, if you believe the recipe should not be upgraded at this time,
you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that
automatic upgrades would no longer be attempted.

Please review the attached files for further information and build/update failures.
Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler

Regards,
The Upgrade Helper

[-- Attachment #2: bitbake-output-qemux86.txt --]
[-- Type: text/plain, Size: 8059 bytes --]

WARNING: Host distribution "almalinux-8.6" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache...done.
Loaded 1654 entries from dependency cache.
Parsing recipes...done.
Parsing of 886 .bb files complete (885 cached, 1 parsed). 1654 targets, 36 skipped, 0 masked, 0 errors.
Removing 1 recipes from the core2-32 sysroot...done.
Removing 1 recipes from the qemux86 sysroot...done.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "2.0.1"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "i686-poky-linux"
MACHINE              = "qemux86"
DISTRO               = "poky"
DISTRO_VERSION       = "4.1+snapshot-dc128ddf4c8486553c5a564a4dddc0edd3444afe"
TUNE_FEATURES        = "m32 core2"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "tmp-auh-upgrades:dc128ddf4c8486553c5a564a4dddc0edd3444afe"
workspace            = "master:6958024ed2aa199e56851bf960c06dec1a3d81a1"

Initialising tasks...done.
Sstate summary: Wanted 89 Local 82 Mirrors 0 Missed 7 Current 219 (92% match, 97% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
NOTE: Running task 946 of 1154 (/home/pokybuild/yocto-worker/auh/build/build/poky/meta/recipes-devtools/python/python3-setuptools-scm_7.0.3.bb:do_fetch)
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_fetch: Started
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_fetch: Succeeded
NOTE: Running task 1141 of 1154 (/home/pokybuild/yocto-worker/auh/build/build/poky/meta/recipes-devtools/python/python3-setuptools-scm_7.0.3.bb:do_unpack)
NOTE: Running task 1142 of 1154 (/home/pokybuild/yocto-worker/auh/build/build/poky/meta/recipes-devtools/python/python3-setuptools-scm_7.0.3.bb:do_prepare_recipe_sysroot)
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_unpack: Started
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_prepare_recipe_sysroot: Started
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_unpack: Succeeded
NOTE: Running task 1143 of 1154 (/home/pokybuild/yocto-worker/auh/build/build/poky/meta/recipes-devtools/python/python3-setuptools-scm_7.0.3.bb:do_patch)
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_patch: Started
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_patch: Succeeded
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_prepare_recipe_sysroot: Succeeded
NOTE: Running task 1144 of 1154 (/home/pokybuild/yocto-worker/auh/build/build/poky/meta/recipes-devtools/python/python3-setuptools-scm_7.0.3.bb:do_deploy_source_date_epoch)
NOTE: Running task 1145 of 1154 (/home/pokybuild/yocto-worker/auh/build/build/poky/meta/recipes-devtools/python/python3-setuptools-scm_7.0.3.bb:do_populate_lic)
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_deploy_source_date_epoch: Started
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_populate_lic: Started
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_populate_lic: Succeeded
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_deploy_source_date_epoch: Succeeded
NOTE: Running task 1146 of 1154 (/home/pokybuild/yocto-worker/auh/build/build/poky/meta/recipes-devtools/python/python3-setuptools-scm_7.0.3.bb:do_configure)
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_configure: Started
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_configure: Succeeded
NOTE: Running task 1147 of 1154 (/home/pokybuild/yocto-worker/auh/build/build/poky/meta/recipes-devtools/python/python3-setuptools-scm_7.0.3.bb:do_compile)
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_compile: Started
Log data follows:
| DEBUG: Executing shell function do_compile
| Traceback (most recent call last):
|   File "<string>", line 1, in <module>
|   File "/home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 244, in build_wheel
|     return self._build_with_temp_dir(['bdist_wheel'], '.whl',
|   File "/home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 229, in _build_with_temp_dir
|     self.run_setup()
|   File "/home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 174, in run_setup
|     exec(compile(code, __file__, 'exec'), locals())
|   File "setup.py", line 51, in <module>
|     version=scm_version(),
|   File "setup.py", line 26, in scm_version
|     from setuptools_scm import get_version
|   File "/home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/setuptools_scm-7.0.3/src/setuptools_scm/__init__.py", line 13, in <module>
|     from ._entrypoints import _call_entrypoint_fn
|   File "/home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/setuptools_scm-7.0.3/src/setuptools_scm/_entrypoints.py", line 11, in <module>
|     from .version import ScmVersion
|   File "/home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/setuptools_scm-7.0.3/src/setuptools_scm/version.py", line 24, in <module>
|     from ._version_cls import Version as PkgVersion
|   File "/home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/setuptools_scm-7.0.3/src/setuptools_scm/_version_cls.py", line 5, in <module>
|     from packaging.version import InvalidVersion
| ModuleNotFoundError: No module named 'packaging'
| WARNING: /home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/temp/run.do_compile.3404961:159 exit 1 from 'nativepython3 -c "import setuptools.build_meta as api; api.build_wheel('/home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/dist')"'
| WARNING: Backtrace (BB generated script):
| 	#1: python_pep517_do_compile, /home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/temp/run.do_compile.3404961, line 159
| 	#2: do_compile, /home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/temp/run.do_compile.3404961, line 153
| 	#3: main, /home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/temp/run.do_compile.3404961, line 163
NOTE: recipe python3-setuptools-scm-7.0.3-r0: task do_compile: Failed
NOTE: Tasks Summary: Attempted 1147 tasks of which 1139 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds

Summary: 1 task failed:
  /home/pokybuild/yocto-worker/auh/build/build/poky/meta/recipes-devtools/python/python3-setuptools-scm_7.0.3.bb:do_compile
Summary: There was 1 WARNING message.
Summary: There was 1 ERROR message, returning a non-zero exit code.
/usr/lib64/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
  return f(*args, **kwds)
ERROR: python3-setuptools-scm-7.0.3-r0 do_compile: ExecutionError('/home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/temp/run.do_compile.3404961', 1, None, None)
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-32-poky-linux/python3-setuptools-scm/7.0.3-r0/temp/log.do_compile.3404961
ERROR: Task (/home/pokybuild/yocto-worker/auh/build/build/poky/meta/recipes-devtools/python/python3-setuptools-scm_7.0.3.bb:do_compile) failed with exit code '1'

[-- Attachment #3: 0001-python3-setuptools-scm-upgrade-6.4.2-7.0.3.patch --]
[-- Type: application/octet-stream, Size: 1406 bytes --]

From dc534c9129c8d8eb3e082ff7080d9747302ba889 Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Fri, 1 Jul 2022 08:58:04 +0000
Subject: [PATCH] python3-setuptools-scm: upgrade 6.4.2 -> 7.0.3

---
 ...-setuptools-scm_6.4.2.bb => python3-setuptools-scm_7.0.3.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-setuptools-scm_6.4.2.bb => python3-setuptools-scm_7.0.3.bb} (90%)

diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb b/meta/recipes-devtools/python/python3-setuptools-scm_7.0.3.bb
similarity index 90%
rename from meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb
rename to meta/recipes-devtools/python/python3-setuptools-scm_7.0.3.bb
index 9aaae071d3..810f89fd95 100644
--- a/meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb
+++ b/meta/recipes-devtools/python/python3-setuptools-scm_7.0.3.bb
@@ -4,7 +4,7 @@ DESCRIPTION = "setuptools_scm handles managing your Python package versions in S
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
 
-SRC_URI[sha256sum] = "6833ac65c6ed9711a4d5d2266f8024cfa07c533a0e55f4c12f6eff280a5a9e30"
+SRC_URI[sha256sum] = "cf8ab8e235bed840cd4559b658af0d8e8a70896a191bbc510ee914ec5325332d"
 
 PYPI_PACKAGE = "setuptools_scm"
 inherit pypi python_setuptools_build_meta
-- 
2.31.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-01 14:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-01 14:51 [AUH] python3-setuptools-scm: upgrading to 7.0.3 FAILED auh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.