Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *python3-numpy* to *2.1.2* has Failed(do_compile).
Detailed error information: do_compile failed Next steps: - apply the patch: git am 0001-python3-numpy-upgrade-1.26.4-2.1.2.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 -- >8 -- >From d65b7c4b3cca834e1bea61f9f55c21243656f51f Mon Sep 17 00:00:00 2001 From: Upgrade Helper <a...@yoctoproject.org> Date: Tue, 15 Oct 2024 08:39:52 +0000 Subject: [PATCH] python3-numpy: upgrade 1.26.4 -> 2.1.2 --- ...-and-so-on-for-libraries-by-default-.patch | 5 ++-- ...1-numpy-core-Define-RISCV-32-support.patch | 23 ++++++++----------- .../python3-numpy/fix_reproducibility.patch | 23 ++++++++++++------- ...numpy_1.26.4.bb => python3-numpy_2.1.2.bb} | 23 +++++++++++++++++-- 4 files changed, 48 insertions(+), 26 deletions(-) rename meta/recipes-devtools/python/{python3-numpy_1.26.4.bb => python3-numpy_2.1.2.bb} (74%) diff --git a/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch b/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch index bbe309c556..cb703bf8c5 100644 --- a/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch +++ b/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch @@ -1,4 +1,4 @@ -From 46eea664cf89d0602e7ff16d587c37c045b125b7 Mon Sep 17 00:00:00 2001 +From 5b9dfd0e55049e2c54ec725283e7198ce9835991 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <alex.kana...@gmail.com> Date: Thu, 10 Dec 2015 13:20:30 +0200 Subject: [PATCH] Don't search /usr and so on for libraries by default to @@ -8,13 +8,12 @@ Subject: [PATCH] Don't search /usr and so on for libraries by default to Upstream-Status: Inappropriate (As the code stands, this is a hack) Signed-off-by: Ross Burton <ross.bur...@intel.com> Signed-off-by: Alexander Kanavin <alex.kana...@gmail.com> - --- numpy/distutils/system_info.py | 42 +++++----------------------------- 1 file changed, 6 insertions(+), 36 deletions(-) diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py -index feb28f6..a48d6d1 100644 +index edf5690..3b55df1 100644 --- a/numpy/distutils/system_info.py +++ b/numpy/distutils/system_info.py @@ -327,44 +327,14 @@ def add_system_root(library_root): diff --git a/meta/recipes-devtools/python/python3-numpy/0001-numpy-core-Define-RISCV-32-support.patch b/meta/recipes-devtools/python/python3-numpy/0001-numpy-core-Define-RISCV-32-support.patch index 676bdbb3af..8db696601a 100644 --- a/meta/recipes-devtools/python/python3-numpy/0001-numpy-core-Define-RISCV-32-support.patch +++ b/meta/recipes-devtools/python/python3-numpy/0001-numpy-core-Define-RISCV-32-support.patch @@ -1,4 +1,4 @@ -From eb6d6579150bf4684603ce377c51e90ad3bb8109 Mon Sep 17 00:00:00 2001 +From 0b8eb223cc34a33fdba9362e7bdedc20f7814a15 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.k...@gmail.com> Date: Sun, 15 Nov 2020 15:32:39 -0800 Subject: [PATCH] numpy/core: Define RISCV-32 support @@ -8,14 +8,14 @@ Helps compile on riscv32 Upstream-Status: Submitted [https://github.com/numpy/numpy/pull/17780] Signed-off-by: Khem Raj <raj.k...@gmail.com> --- - numpy/core/include/numpy/npy_cpu.h | 3 +++ - numpy/core/include/numpy/npy_endian.h | 1 + + numpy/_core/include/numpy/npy_cpu.h | 3 +++ + numpy/_core/include/numpy/npy_endian.h | 1 + 2 files changed, 4 insertions(+) -diff --git a/numpy/core/include/numpy/npy_cpu.h b/numpy/core/include/numpy/npy_cpu.h -index 78d229e..04be511 100644 ---- a/numpy/core/include/numpy/npy_cpu.h -+++ b/numpy/core/include/numpy/npy_cpu.h +diff --git a/numpy/_core/include/numpy/npy_cpu.h b/numpy/_core/include/numpy/npy_cpu.h +index a19f8e6..d824d4e 100644 +--- a/numpy/_core/include/numpy/npy_cpu.h ++++ b/numpy/_core/include/numpy/npy_cpu.h @@ -19,6 +19,7 @@ * NPY_CPU_ARCEB * NPY_CPU_RISCV64 @@ -33,10 +33,10 @@ index 78d229e..04be511 100644 #elif defined(__loongarch__) #define NPY_CPU_LOONGARCH #elif defined(__EMSCRIPTEN__) -diff --git a/numpy/core/include/numpy/npy_endian.h b/numpy/core/include/numpy/npy_endian.h +diff --git a/numpy/_core/include/numpy/npy_endian.h b/numpy/_core/include/numpy/npy_endian.h index 5e58a7f..0926212 100644 ---- a/numpy/core/include/numpy/npy_endian.h -+++ b/numpy/core/include/numpy/npy_endian.h +--- a/numpy/_core/include/numpy/npy_endian.h ++++ b/numpy/_core/include/numpy/npy_endian.h @@ -49,6 +49,7 @@ || defined(NPY_CPU_PPC64LE) \ || defined(NPY_CPU_ARCEL) \ @@ -45,6 +45,3 @@ index 5e58a7f..0926212 100644 || defined(NPY_CPU_LOONGARCH) \ || defined(NPY_CPU_WASM) #define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN --- -2.20.1 - diff --git a/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch b/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch index d952aed00c..95cecee98c 100644 --- a/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch +++ b/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch @@ -1,7 +1,11 @@ -This regex decides whether to use O3 opimisation on numpy or not. +From 849d2fe972b0d1543057c82cf506ae34852f341a Mon Sep 17 00:00:00 2001 +From: Richard Purdie <richard.pur...@linuxfoundation.org> +Date: Fri, 29 Sep 2023 22:53:24 +0100 +Subject: [PATCH] This regex decides whether to use O3 opimisation on numpy or + not. It includes "od", which happens to be a substring of "reproducible" -but not "qemux86-world". +but not "qemux86-world". The regex will run against all compiler options including things like: @@ -17,12 +21,15 @@ reproducible target ran first and won the race to populate sstate. Upstream-Status: Inappropriate [upstream have dropped distutils and switched to meson] Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> - -Index: numpy-1.26.0/numpy/distutils/ccompiler_opt.py -=================================================================== ---- numpy-1.26.0.orig/numpy/distutils/ccompiler_opt.py -+++ numpy-1.26.0/numpy/distutils/ccompiler_opt.py -@@ -990,7 +990,7 @@ class _CCompiler: +--- + numpy/distutils/ccompiler_opt.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/numpy/distutils/ccompiler_opt.py b/numpy/distutils/ccompiler_opt.py +index b1a6fa3..7b0302b 100644 +--- a/numpy/distutils/ccompiler_opt.py ++++ b/numpy/distutils/ccompiler_opt.py +@@ -991,7 +991,7 @@ def __init__(self): ("cc_is_nocc", "", ""), ) detect_args = ( diff --git a/meta/recipes-devtools/python/python3-numpy_1.26.4.bb b/meta/recipes-devtools/python/python3-numpy_2.1.2.bb similarity index 74% rename from meta/recipes-devtools/python/python3-numpy_1.26.4.bb rename to meta/recipes-devtools/python/python3-numpy_2.1.2.bb index 914245507c..32a92b44de 100644 --- a/meta/recipes-devtools/python/python3-numpy_1.26.4.bb +++ b/meta/recipes-devtools/python/python3-numpy_2.1.2.bb @@ -1,9 +1,28 @@ +# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'. +# The following is the difference between the old and the new license text. +# Please update the LICENSE value if needed, and summarize the changes in +# the commit message via 'License-Update:' tag. +# (example: 'License-Update: copyright years updated.') +# +# The changes: +# +# --- LICENSE.txt +# +++ LICENSE.txt +# @@ -1,4 +1,4 @@ +# -Copyright (c) 2005-2023, NumPy Developers. +# +Copyright (c) 2005-2024, NumPy Developers. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# +# + SUMMARY = "A sophisticated Numeric Processing Package for Python" HOMEPAGE = "https://numpy.org/" DESCRIPTION = "NumPy is the fundamental package needed for scientific computing with Python." SECTION = "devel/python" LICENSE = "BSD-3-Clause & BSD-2-Clause & PSF-2.0 & Apache-2.0 & MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a752eb20459cf74a9d84ee4825e8317c" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1de863c37a83e71b1e97b64d036ea78b" SRCNAME = "numpy" @@ -13,7 +32,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ file://fix_reproducibility.patch \ file://run-ptest \ " -SRC_URI[sha256sum] = "2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010" +SRC_URI[sha256sum] = "13532a088217fa624c99b843eeb54640de23b3414b14aa66d023805eb731066c" GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases" UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$" -- 2.44.1
0001-python3-numpy-upgrade-1.26.4-2.1.2.patch
Description: Binary data
NOTE: Reconnecting to bitbake server... Loading cache...done. Loaded 1877 entries from dependency cache. Parsing recipes...done. Parsing of 919 .bb files complete (918 cached, 1 parsed). 1875 targets, 41 skipped, 0 masked, 0 errors. Removing 1 recipes from the core2-64 sysroot...done. Removing 1 recipes from the qemux86_64 sysroot...done. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "2.9.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "x86_64-poky-linux" MACHINE = "qemux86-64" DISTRO = "poky" DISTRO_VERSION = "5.1" TUNE_FEATURES = "m64 core2" TARGET_FPU = "" meta meta-poky meta-yocto-bsp workspace = "tmp-auh-upgrades:73832299977a8233c36067b39ee00b7f8df6e03a" Initialising tasks...NOTE: The /proc/pressure files can't be read. Continuing build without monitoring pressure Sstate summary: Wanted 367 Local 356 Mirrors 0 Missed 11 Current 391 (97% match, 98% complete) done. NOTE: Executing Tasks NOTE: Running setscene task 469 of 758 (/srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_recipe_qa_setscene) NOTE: recipe python3-numpy-2.1.2-r0: task do_recipe_qa_setscene: Started NOTE: recipe python3-numpy-2.1.2-r0: task do_recipe_qa_setscene: Succeeded NOTE: Setscene tasks completed NOTE: Running task 1981 of 2129 (/srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_fetch) NOTE: recipe python3-numpy-2.1.2-r0: task do_fetch: Started NOTE: recipe python3-numpy-2.1.2-r0: task do_fetch: Succeeded NOTE: Running task 2107 of 2129 (/srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_unpack) NOTE: Running task 2108 of 2129 (/srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_prepare_recipe_sysroot) NOTE: recipe python3-numpy-2.1.2-r0: task do_unpack: Started NOTE: recipe python3-numpy-2.1.2-r0: task do_prepare_recipe_sysroot: Started NOTE: recipe python3-numpy-2.1.2-r0: task do_prepare_recipe_sysroot: Succeeded NOTE: recipe python3-numpy-2.1.2-r0: task do_unpack: Succeeded NOTE: Running task 2109 of 2129 (/srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_patch) NOTE: Running task 2110 of 2129 (/srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_collect_spdx_deps) NOTE: recipe python3-numpy-2.1.2-r0: task do_patch: Started NOTE: recipe python3-numpy-2.1.2-r0: task do_collect_spdx_deps: Started NOTE: recipe python3-numpy-2.1.2-r0: task do_collect_spdx_deps: Succeeded NOTE: recipe python3-numpy-2.1.2-r0: task do_patch: Succeeded NOTE: Running task 2111 of 2129 (/srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_deploy_source_date_epoch) NOTE: Running task 2112 of 2129 (/srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_check_backend) NOTE: Running task 2113 of 2129 (/srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_populate_lic) NOTE: recipe python3-numpy-2.1.2-r0: task do_deploy_source_date_epoch: Started NOTE: recipe python3-numpy-2.1.2-r0: task do_check_backend: Started NOTE: recipe python3-numpy-2.1.2-r0: task do_populate_lic: Started NOTE: recipe python3-numpy-2.1.2-r0: task do_check_backend: Succeeded NOTE: recipe python3-numpy-2.1.2-r0: task do_populate_lic: Succeeded NOTE: Task /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_populate_lic unihash changed to 96f78e726cff99b00a9732f89706797a662013f8dbd18ded7b2338a3cfcdda54 NOTE: recipe python3-numpy-2.1.2-r0: task do_deploy_source_date_epoch: Succeeded NOTE: Task /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_deploy_source_date_epoch unihash changed to f218f3bceb80d88f07ba0d3cb5c61dd58800d9694decdd780534e898f587fdb3 NOTE: Setscene tasks completed NOTE: Running task 2114 of 2129 (/srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_configure) NOTE: recipe python3-numpy-2.1.2-r0: task do_configure: Started NOTE: recipe python3-numpy-2.1.2-r0: task do_configure: Succeeded NOTE: Running task 2115 of 2129 (/srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_configure_ptest_base) NOTE: recipe python3-numpy-2.1.2-r0: task do_configure_ptest_base: Started NOTE: recipe python3-numpy-2.1.2-r0: task do_configure_ptest_base: Succeeded NOTE: Running task 2116 of 2129 (/srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_compile) NOTE: recipe python3-numpy-2.1.2-r0: task do_compile: Started Log data follows: | DEBUG: Executing shell function do_compile | /srv/pokybuild/yocto-worker/auh/build/build/tmp/work/core2-64-poky-linux/python3-numpy/2.1.2/recipe-sysroot-native/usr/bin/python3-native/python3: can't open file '/srv/pokybuild/yocto-worker/auh/build/build/tmp/work/core2-64-poky-linux/python3-numpy/2.1.2/numpy-2.1.2/setup.py': [Errno 2] No such file or directory | ERROR: 'python3 setup.py bdist_wheel ' execution failed. | WARNING: /srv/pokybuild/yocto-worker/auh/build/build/tmp/work/core2-64-poky-linux/python3-numpy/2.1.2/temp/run.do_compile.4128821:181 exit 1 from 'exit 1' | WARNING: Backtrace (BB generated script): | #1: bbfatal_log, /srv/pokybuild/yocto-worker/auh/build/build/tmp/work/core2-64-poky-linux/python3-numpy/2.1.2/temp/run.do_compile.4128821, line 181 | #2: setuptools3_do_compile, /srv/pokybuild/yocto-worker/auh/build/build/tmp/work/core2-64-poky-linux/python3-numpy/2.1.2/temp/run.do_compile.4128821, line 171 | #3: do_compile, /srv/pokybuild/yocto-worker/auh/build/build/tmp/work/core2-64-poky-linux/python3-numpy/2.1.2/temp/run.do_compile.4128821, line 153 | #4: main, /srv/pokybuild/yocto-worker/auh/build/build/tmp/work/core2-64-poky-linux/python3-numpy/2.1.2/temp/run.do_compile.4128821, line 185 NOTE: recipe python3-numpy-2.1.2-r0: task do_compile: Failed NOTE: Tasks Summary: Attempted 2116 tasks of which 2105 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory NOTE: Writing buildhistory took: 1 seconds NOTE: The errors for this build are stored in /srv/pokybuild/yocto-worker/auh/build/build/tmp/log/error-report/error_report_20241015083937.txt You can send the errors to a reports server by running: send-error-report /srv/pokybuild/yocto-worker/auh/build/build/tmp/log/error-report/error_report_20241015083937.txt [-s server] NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending. Summary: 1 task failed: /srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_compile log: /srv/pokybuild/yocto-worker/auh/build/build/tmp/work/core2-64-poky-linux/python3-numpy/2.1.2/temp/log.do_compile.4128821 Summary: There were 2 ERROR messages, returning a non-zero exit code. ERROR: python3-numpy-2.1.2-r0 do_compile: 'python3 setup.py bdist_wheel ' execution failed. ERROR: python3-numpy-2.1.2-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/auh/build/build/tmp/work/core2-64-poky-linux/python3-numpy/2.1.2/temp/run.do_compile.4128821' failed with exit code 1 ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/auh/build/build/tmp/work/core2-64-poky-linux/python3-numpy/2.1.2/temp/log.do_compile.4128821 ERROR: Task (/srv/pokybuild/yocto-worker/auh/build/meta/recipes-devtools/python/python3-numpy_2.1.2.bb:do_compile) failed with exit code '1'
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#205845): https://lists.openembedded.org/g/openembedded-core/message/205845 Mute This Topic: https://lists.openembedded.org/mt/109020991/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-