tensorflow.inc: add write permission to 2 more directories
PATCH 1/1 tensorflow.inc: add write permission to 2 more directories
From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable
Removing 41 recipes from the core2-64 sysroot: 100% |##########################################################################################################################################################################| Time: 0:00:21 Removing 35 recipes from the qemux86_64 sysroot: 100% |########################################################################################################################################################################| Time: 0:00:00 ERROR: Execution of event handler 'sstate_eventhandler_reachablestamps' failed | ETA: 0:00:07
Traceback (most recent call last):
File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, in sstate_eventhandler_reachablestamps
bb.utils.remove(workdir, recurse = True)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in remove
subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/subprocess.py", line 421, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.
ERROR: Command execution failed: Traceback (most recent call last):
File "/OE/build/oe-core/bitbake/lib/bb/command.py", line 123, in runAsyncCommand
self.cooker.updateCache()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/OE/build/oe-core/bitbake/lib/bb/cooker.py", line 1646, in updateCache
bb.event.fire(event, self.databuilder.mcdata[mc])
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 224, in fire
fire_class_handlers(event, d)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 131, in fire_class_handlers
execute_handler(name, handler, event, d)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 102, in execute_handler
ret = handler(event, d)
File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, in sstate_eventhandler_reachablestamps
bb.utils.remove(workdir, recurse = True)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in remove
subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/subprocess.py", line 421, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
OE qemux86-64@ /OE/build/oe-core $ find /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/schema_generated.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/__init__.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house/tensorflow-2.17.0-cp312-cp312-linux_x86_64.whl
--- recipes-framework/tensorflow/tensorflow.inc | 3 +++ 1 file changed, 3 insertions(+)
recipes-framework/tensorflow/tensorflow.inc +3 -0
@@ -61,6 +61,9 @@ export TS_DL_DIR do_compile[network] = "1" +# Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable do_compile:append() { chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/conversion_metadata_schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/tools/pip_package/wheel_house || true }
Hi,
thank you for merging both, the way how you're applying the changes from e-mail still mangles the author and commit message.
I've tried to add explicit From: in the e-mail body in hope to avoid "via lists.yoctoproject.org <[email protected]>" but it didn't really help, instead the From: is still in the merged commit message together with "CAUTION: .." message from your e-mail configuration.
meta-tensorflow $ git show -1 --pretty=fuller origin/scarthgap | head -n 14 commit c382865206fe925a02a1cdbdd856e16310bc9dbc
Author: Martin Jansa via lists.yoctoproject.org
<[email protected]>
AuthorDate: Fri Mar 7 08:56:10 2025 +0100 Commit: Hongxu Jia <[email protected]> CommitDate: Fri Mar 7 16:16:58 2025 +0800
tensorflow.inc: add write permission to 2 more directories
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the
sender and know the content is safe.
From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g.
when recipe becomes unreachable
....
Quoted 85 lines · On Fri, Mar 7, 2025 at 8:56 AM <[email protected]> wrote:
From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable
Removing 41 recipes from the core2-64 sysroot: 100% |##########################################################################################################################################################################| Time: 0:00:21 Removing 35 recipes from the qemux86_64 sysroot: 100% |########################################################################################################################################################################| Time: 0:00:00 ERROR: Execution of event handler 'sstate_eventhandler_reachablestamps' failed | ETA: 0:00:07Traceback (most recent call last):
File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, insstate_eventhandler_reachablestamps
bb.utils.remove(workdir, recurse = True)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in removesubprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.ERROR: Command execution failed: Traceback (most recent call last):
File "/OE/build/oe-core/bitbake/lib/bb/command.py", line 123, in runAsyncCommandself.cooker.updateCache() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/OE/build/oe-core/bitbake/lib/bb/cooker.py", line 1646, in updateCache bb.event.fire(event, self.databuilder.mcdata[mc]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 224, in fire fire_class_handlers(event, d) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 131, in fire_class_handlers execute_handler(name, handler, event, d) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 102, in execute_handler ret = handler(event, d) File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, in sstate_eventhandler_reachablestamps bb.utils.remove(workdir, recurse = True) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in remove subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.Summary: There were 2 ERROR messages, returning a non-zero exit code.
OE qemux86-64@ /OE/build/oe-core $ find /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/schema_generated.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/__init__.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house/tensorflow-2.17.0-cp312-cp312-linux_x86_64.whlSigned-off-by Martin Jansa <[email protected]>--- recipes-framework/tensorflow/tensorflow.inc | 3 +++ 1 file changed, 3 insertions(+)recipes-framework/tensorflow/tensorflow.inc +3
-0@@ -61,6 +61,9 @@ export TS_DL_DIR do_compile[network] = "1" +# Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable do_compile:append() { chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/conversion_metadata_schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/tools/pip_package/wheel_house || true }
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Hongxu,
I see you've created styhead branch, but the python3-numpy added in:
https://git.yoctoproject.org/meta-tensorflow/commit/?h=styhead&id=2565836457994a84776e0d02356ead3bbba093de
doesn't even parse with styhead because of:
meta-tensorflow/recipes-devtools/python/python3-numpy_2.1.3.bb:21:
Could not inherit file classes/cython.bbclass
Please check that.
Cheers,
Quoted 129 lines · Martin Jansa via lists.yoctoproject.org
Hi,
thank you for merging both, the way how you're applying the changes from e-mail still mangles the author and commit message.
I've tried to add explicit From: in the e-mail body in hope to avoid "via lists.yoctoproject.org <[email protected]>" but it didn't really help, instead the From: is still in the merged commit message together with "CAUTION: .." message from your e-mail configuration.
meta-tensorflow $ git show -1 --pretty=fuller origin/scarthgap | head -n 14 commit
c382865206fe925a02a1cdbdd856e16310bc9dbc
Author: Martin Jansa via lists.yoctoproject.org
<[email protected]>AuthorDate: Fri Mar 7 08:56:10 2025 +0100 Commit: Hongxu Jia <[email protected]> CommitDate: Fri Mar 7 16:16:58 2025 +0800tensorflow.inc: add write permission to 2 more directories
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the
sender and know the content is safe.From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g.
when recipe becomes unreachable
....Quoted 76 lines · On Fri, Mar 7, 2025 at 8:56 AM <[email protected]> wrote:
From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable
Removing 41 recipes from the core2-64 sysroot: 100% |##########################################################################################################################################################################| Time: 0:00:21 Removing 35 recipes from the qemux86_64 sysroot: 100% |########################################################################################################################################################################| Time: 0:00:00 ERROR: Execution of event handler 'sstate_eventhandler_reachablestamps' failed | ETA: 0:00:07Traceback (most recent call last):
File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, insstate_eventhandler_reachablestamps
bb.utils.remove(workdir, recurse = True)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in removesubprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.ERROR: Command execution failed: Traceback (most recent call last):
File "/OE/build/oe-core/bitbake/lib/bb/command.py", line 123, in runAsyncCommandself.cooker.updateCache() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/OE/build/oe-core/bitbake/lib/bb/cooker.py", line 1646, in updateCache bb.event.fire(event, self.databuilder.mcdata[mc]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 224, in fire fire_class_handlers(event, d) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 131, in fire_class_handlers execute_handler(name, handler, event, d) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 102, in execute_handler ret = handler(event, d) File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, in sstate_eventhandler_reachablestamps bb.utils.remove(workdir, recurse = True) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in remove subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.Summary: There were 2 ERROR messages, returning a non-zero exit code.
OE qemux86-64@ /OE/build/oe-core $ find /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/schema_generated.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/__init__.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house/tensorflow-2.17.0-cp312-cp312-linux_x86_64.whlSigned-off-by Martin Jansa <[email protected]>--- recipes-framework/tensorflow/tensorflow.inc | 3 +++ 1 file changed, 3 insertions(+)recipes-framework/tensorflow/tensorflow.inc +0
-0recipes-framework/tensorflow/tensorflow.inc export TS_DL_DIR · line 69
Quoted 9 lines
recipes-framework/tensorflow/tensorflow.inc +3
-0@@ -61,6 +61,9 @@ export TS_DL_DIR do_compile[network] = "1" +# Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable do_compile:append() { chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/conversion_metadata_schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/tools/pip_package/wheel_house || true }-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1164): https://lists.yoctoproject.org/g/yocto-patches/message/1164
Mute This Topic: https://lists.yoctoproject.org/mt/111564223/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13388836/3617156/66960823/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Sorry for the error, I've corrected for styhead branch,
https://git.yoctoproject.org/meta-tensorflow/log/?h=styhead
would you please retry it
//Hongxu
________________________________
From: Martin Jansa <[email protected]>
Sent: Monday, March 24, 2025 6:13 PM
To: [email protected] <[email protected]>; Jia, Hongxu <[email protected]>
Subject: Re: [yocto-patches] [meta-tensorflow][scarthgap][PATCH] tensorflow.inc: add write permission to 2 more directories
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi Hongxu,
I see you've created styhead branch, but the python3-numpy added in:
https://git.yoctoproject.org/meta-tensorflow/commit/?h=styhead&id=2565836457994a84776e0d02356ead3bbba093de
doesn't even parse with styhead because of:
meta-tensorflow/recipes-devtools/python/python3-numpy_2.1.3.bb:21:
Could not inherit file classes/cython.bbclass
Please check that.
Cheers,
Quoted 129 lines · Martin Jansa via lists.yoctoproject.org
Hi,
thank you for merging both, the way how you're applying the changes from e-mail still mangles the author and commit message.
I've tried to add explicit From: in the e-mail body in hope to avoid "via lists.yoctoproject.org <[email protected]>" but it didn't really help, instead the From: is still in the merged commit message together with "CAUTION: .." message from your e-mail configuration.
meta-tensorflow $ git show -1 --pretty=fuller origin/scarthgap | head -n 14 commit
c382865206fe925a02a1cdbdd856e16310bc9dbc
Author: Martin Jansa via lists.yoctoproject.org
<[email protected]>AuthorDate: Fri Mar 7 08:56:10 2025 +0100 Commit: Hongxu Jia <[email protected]> CommitDate: Fri Mar 7 16:16:58 2025 +0800tensorflow.inc: add write permission to 2 more directories
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the
sender and know the content is safe.From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g.
when recipe becomes unreachable
....Quoted 76 lines · On Fri, Mar 7, 2025 at 8:56 AM <[email protected]> wrote:
From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable
Removing 41 recipes from the core2-64 sysroot: 100% |##########################################################################################################################################################################| Time: 0:00:21 Removing 35 recipes from the qemux86_64 sysroot: 100% |########################################################################################################################################################################| Time: 0:00:00 ERROR: Execution of event handler 'sstate_eventhandler_reachablestamps' failed | ETA: 0:00:07Traceback (most recent call last):
File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, insstate_eventhandler_reachablestamps
bb.utils.remove(workdir, recurse = True)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in removesubprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.ERROR: Command execution failed: Traceback (most recent call last):
File "/OE/build/oe-core/bitbake/lib/bb/command.py", line 123, in runAsyncCommandself.cooker.updateCache() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/OE/build/oe-core/bitbake/lib/bb/cooker.py", line 1646, in updateCache bb.event.fire(event, self.databuilder.mcdata[mc]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 224, in fire fire_class_handlers(event, d) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 131, in fire_class_handlers execute_handler(name, handler, event, d) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 102, in execute_handler ret = handler(event, d) File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, in sstate_eventhandler_reachablestamps bb.utils.remove(workdir, recurse = True) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in remove subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.Summary: There were 2 ERROR messages, returning a non-zero exit code.
OE qemux86-64@ /OE/build/oe-core $ find /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/schema_generated.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/__init__.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house/tensorflow-2.17.0-cp312-cp312-linux_x86_64.whlSigned-off-by Martin Jansa <[email protected]>--- recipes-framework/tensorflow/tensorflow.inc | 3 +++ 1 file changed, 3 insertions(+)recipes-framework/tensorflow/tensorflow.inc +0
-0recipes-framework/tensorflow/tensorflow.inc export TS_DL_DIR · line 69
Quoted 9 lines
recipes-framework/tensorflow/tensorflow.inc +3
-0@@ -61,6 +61,9 @@ export TS_DL_DIR do_compile[network] = "1" +# Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable do_compile:append() { chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/conversion_metadata_schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/tools/pip_package/wheel_house || true }-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1164): https://lists.yoctoproject.org/g/yocto-patches/message/1164
Mute This Topic: https://lists.yoctoproject.org/mt/111564223/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13388836/3617156/66960823/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
yes, that fixes the parsing.
To build it with python-3.13 in walnascar you can backport
https://github.com/tensorflow/tensorflow/pull/82768 , tensorflow-lite builds fine with it.
To build with gcc-15 it needs
https://github.com/abseil/abseil-cpp/commit/809e5de7b92950849289236a5a09e9cb4f32c7b9
applied in absl from third_party/absl/workspace.bzl
Cheers,
Quoted 162 lines · Hongxu
Sorry for the error, I've corrected for styhead branch,
https://git.yoctoproject.org/meta-tensorflow/log/?h=styhead
would you please retry it
//Hongxu
________________________________
From: Martin Jansa <[email protected]>
Sent: Monday, March 24, 2025 6:13 PM
To: [email protected] <[email protected]>; Jia, Hongxu <[email protected]>
Subject: Re: [yocto-patches] [meta-tensorflow][scarthgap][PATCH] tensorflow.inc: add write permission to 2 more directoriesCAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.Hi Hongxu,
I see you've created styhead branch, but the python3-numpy added in:
https://git.yoctoproject.org/meta-tensorflow/commit/?h=styhead&id=2565836457994a84776e0d02356ead3bbba093de
doesn't even parse with styhead because of:
meta-tensorflow/recipes-devtools/python/python3-numpy_2.1.3.bb:21:
Could not inherit file classes/cython.bbclassPlease check that.
Cheers,
Quoted 129 lines · Martin Jansa via lists.yoctoproject.org
Hi,
thank you for merging both, the way how you're applying the changes from e-mail still mangles the author and commit message.
I've tried to add explicit From: in the e-mail body in hope to avoid "via lists.yoctoproject.org <[email protected]>" but it didn't really help, instead the From: is still in the merged commit message together with "CAUTION: .." message from your e-mail configuration.
meta-tensorflow $ git show -1 --pretty=fuller origin/scarthgap | head -n 14 commit
c382865206fe925a02a1cdbdd856e16310bc9dbc
Author: Martin Jansa via lists.yoctoproject.org
<[email protected]>AuthorDate: Fri Mar 7 08:56:10 2025 +0100 Commit: Hongxu Jia <[email protected]> CommitDate: Fri Mar 7 16:16:58 2025 +0800tensorflow.inc: add write permission to 2 more directories
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the
sender and know the content is safe.From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g.
when recipe becomes unreachable
....Quoted 76 lines · On Fri, Mar 7, 2025 at 8:56 AM <[email protected]> wrote:
From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable
Removing 41 recipes from the core2-64 sysroot: 100% |##########################################################################################################################################################################| Time: 0:00:21 Removing 35 recipes from the qemux86_64 sysroot: 100% |########################################################################################################################################################################| Time: 0:00:00 ERROR: Execution of event handler 'sstate_eventhandler_reachablestamps' failed | ETA: 0:00:07Traceback (most recent call last):
File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, insstate_eventhandler_reachablestamps
bb.utils.remove(workdir, recurse = True)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in removesubprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.ERROR: Command execution failed: Traceback (most recent call last):
File "/OE/build/oe-core/bitbake/lib/bb/command.py", line 123, in runAsyncCommandself.cooker.updateCache() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/OE/build/oe-core/bitbake/lib/bb/cooker.py", line 1646, in updateCache bb.event.fire(event, self.databuilder.mcdata[mc]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 224, in fire fire_class_handlers(event, d) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 131, in fire_class_handlers execute_handler(name, handler, event, d) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 102, in execute_handler ret = handler(event, d) File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, in sstate_eventhandler_reachablestamps bb.utils.remove(workdir, recurse = True) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in remove subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.Summary: There were 2 ERROR messages, returning a non-zero exit code.
OE qemux86-64@ /OE/build/oe-core $ find /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/schema_generated.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/__init__.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house/tensorflow-2.17.0-cp312-cp312-linux_x86_64.whlSigned-off-by Martin Jansa <[email protected]>--- recipes-framework/tensorflow/tensorflow.inc | 3 +++ 1 file changed, 3 insertions(+)recipes-framework/tensorflow/tensorflow.inc +0
-0recipes-framework/tensorflow/tensorflow.inc export TS_DL_DIR · line 69
Quoted 9 lines
recipes-framework/tensorflow/tensorflow.inc +3
-0@@ -61,6 +61,9 @@ export TS_DL_DIR do_compile[network] = "1" +# Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable do_compile:append() { chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/conversion_metadata_schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/tools/pip_package/wheel_house || true }-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1164): https://lists.yoctoproject.org/g/yocto-patches/message/1164
Mute This Topic: https://lists.yoctoproject.org/mt/111564223/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13388836/3617156/66960823/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 5 lines · Martin Jansa
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.yes, that fixes the parsing.
Quoted 7 lines
To build it with python-3.13 in walnascar you can backport
https://github.com/tensorflow/tensorflow/pull/82768 , tensorflow-lite builds fine with it.To build with gcc-15 it needs
https://github.com/abseil/abseil-cpp/commit/809e5de7b92950849289236a5a09e9cb4f32c7b9
applied in absl from third_party/absl/workspace.bzl
Done, update master and walnascar branch in meta-tensorflow[1] to support python 3.13
[1] https://git.yoctoproject.org/meta-tensorflow/
//Hongxu
Quoted 161 lines
Cheers,
Quoted 158 lines · Hongxu
Sorry for the error, I've corrected for styhead branch,
https://git.yoctoproject.org/meta-tensorflow/log/?h=styhead
would you please retry it
//Hongxu
________________________________
From: Martin Jansa <[email protected]>
Sent: Monday, March 24, 2025 6:13 PM
To: [email protected] <[email protected]>; Jia, Hongxu <[email protected]>
Subject: Re: [yocto-patches] [meta-tensorflow][scarthgap][PATCH] tensorflow.inc: add write permission to 2 more directoriesCAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.Hi Hongxu,
I see you've created styhead branch, but the python3-numpy added in:
https://git.yoctoproject.org/meta-tensorflow/commit/?h=styhead&id=2565836457994a84776e0d02356ead3bbba093de
doesn't even parse with styhead because of:
meta-tensorflow/recipes-devtools/python/python3-numpy_2.1.3.bb:21:
Could not inherit file classes/cython.bbclassPlease check that.
Cheers,
Quoted 126 lines · Martin Jansa via lists.yoctoproject.org
Hi,
thank you for merging both, the way how you're applying the changes from e-mail still mangles the author and commit message.
I've tried to add explicit From: in the e-mail body in hope to avoid "via lists.yoctoproject.org <[email protected]>" but it didn't really help, instead the From: is still in the merged commit message together with "CAUTION: .." message from your e-mail configuration.
meta-tensorflow $ git show -1 --pretty=fuller origin/scarthgap | head -n 14 commit
c382865206fe925a02a1cdbdd856e16310bc9dbc
Author: Martin Jansa via lists.yoctoproject.org
<[email protected]>AuthorDate: Fri Mar 7 08:56:10 2025 +0100 Commit: Hongxu Jia <[email protected]> CommitDate: Fri Mar 7 16:16:58 2025 +0800tensorflow.inc: add write permission to 2 more directories
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the
sender and know the content is safe.From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g.
when recipe becomes unreachable
....Quoted 75 lines · On Fri, Mar 7, 2025 at 8:56 AM <[email protected]> wrote:
From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable
Removing 41 recipes from the core2-64 sysroot: 100% |##########################################################################################################################################################################| Time: 0:00:21 Removing 35 recipes from the qemux86_64 sysroot: 100% |########################################################################################################################################################################| Time: 0:00:00 ERROR: Execution of event handler 'sstate_eventhandler_reachablestamps' failed | ETA: 0:00:07Traceback (most recent call last):
File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, insstate_eventhandler_reachablestamps
bb.utils.remove(workdir, recurse = True)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in removesubprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.ERROR: Command execution failed: Traceback (most recent call last):
File "/OE/build/oe-core/bitbake/lib/bb/command.py", line 123, in runAsyncCommandself.cooker.updateCache() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/OE/build/oe-core/bitbake/lib/bb/cooker.py", line 1646, in updateCache bb.event.fire(event, self.databuilder.mcdata[mc]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 224, in fire fire_class_handlers(event, d) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 131, in fire_class_handlers execute_handler(name, handler, event, d) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 102, in execute_handler ret = handler(event, d) File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, in sstate_eventhandler_reachablestamps bb.utils.remove(workdir, recurse = True) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in remove subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.Summary: There were 2 ERROR messages, returning a non-zero exit code.
OE qemux86-64@ /OE/build/oe-core $ find /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/schema_generated.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/__init__.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house/tensorflow-2.17.0-cp312-cp312-linux_x86_64.whlSigned-off-by Martin Jansa <[email protected]>--- recipes-framework/tensorflow/tensorflow.inc | 3 +++ 1 file changed, 3 insertions(+)recipes-framework/tensorflow/tensorflow.inc +0
-0recipes-framework/tensorflow/tensorflow.inc export TS_DL_DIR · line 69
Quoted 9 lines
recipes-framework/tensorflow/tensorflow.inc +3
-0@@ -61,6 +61,9 @@ export TS_DL_DIR do_compile[network] = "1" +# Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable do_compile:append() { chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/conversion_metadata_schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/tools/pip_package/wheel_house || true }-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1164): https://lists.yoctoproject.org/g/yocto-patches/message/1164
Mute This Topic: https://lists.yoctoproject.org/mt/111564223/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13388836/3617156/66960823/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi,
in the last patch you've merged the author e-mail is OK now, but there is still the notice from Wind River e-mail as well as second From:
meta-tensorflow $ git show -1 9e89de7 --pretty=fuller commit 9e89de7d5e4a7e58e3ffa4cf81a3b96f15ec5c30
Author: Martin Jansa <[email protected]> AuthorDate: Wed Apr 2 18:00:08 2025 +0200 Commit: Hongxu Jia <[email protected]> CommitDate: Mon Apr 7 10:19:24 2025 +0800
bazel: add whitespace around assignments
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the
sender and know the content is safe.
From: Martin Jansa <[email protected]>
With:
....
Regards,
Quoted 129 lines · Martin Jansa via lists.yoctoproject.org
Hi,
thank you for merging both, the way how you're applying the changes from e-mail still mangles the author and commit message.
I've tried to add explicit From: in the e-mail body in hope to avoid "via lists.yoctoproject.org <[email protected]>" but it didn't really help, instead the From: is still in the merged commit message together with "CAUTION: .." message from your e-mail configuration.
meta-tensorflow $ git show -1 --pretty=fuller origin/scarthgap | head -n 14 commit
c382865206fe925a02a1cdbdd856e16310bc9dbc
Author: Martin Jansa via lists.yoctoproject.org
<[email protected]>AuthorDate: Fri Mar 7 08:56:10 2025 +0100 Commit: Hongxu Jia <[email protected]> CommitDate: Fri Mar 7 16:16:58 2025 +0800tensorflow.inc: add write permission to 2 more directories
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the
sender and know the content is safe.From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g.
when recipe becomes unreachable
....Quoted 76 lines · On Fri, Mar 7, 2025 at 8:56 AM <[email protected]> wrote:
From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable
Removing 41 recipes from the core2-64 sysroot: 100% |##########################################################################################################################################################################| Time: 0:00:21 Removing 35 recipes from the qemux86_64 sysroot: 100% |########################################################################################################################################################################| Time: 0:00:00 ERROR: Execution of event handler 'sstate_eventhandler_reachablestamps' failed | ETA: 0:00:07Traceback (most recent call last):
File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, insstate_eventhandler_reachablestamps
bb.utils.remove(workdir, recurse = True)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in removesubprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.ERROR: Command execution failed: Traceback (most recent call last):
File "/OE/build/oe-core/bitbake/lib/bb/command.py", line 123, in runAsyncCommandself.cooker.updateCache() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/OE/build/oe-core/bitbake/lib/bb/cooker.py", line 1646, in updateCache bb.event.fire(event, self.databuilder.mcdata[mc]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 224, in fire fire_class_handlers(event, d) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 131, in fire_class_handlers execute_handler(name, handler, event, d) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 102, in execute_handler ret = handler(event, d) File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, in sstate_eventhandler_reachablestamps bb.utils.remove(workdir, recurse = True) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in remove subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.Summary: There were 2 ERROR messages, returning a non-zero exit code.
OE qemux86-64@ /OE/build/oe-core $ find /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/schema_generated.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/__init__.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house/tensorflow-2.17.0-cp312-cp312-linux_x86_64.whlSigned-off-by Martin Jansa <[email protected]>--- recipes-framework/tensorflow/tensorflow.inc | 3 +++ 1 file changed, 3 insertions(+)recipes-framework/tensorflow/tensorflow.inc +0
-0recipes-framework/tensorflow/tensorflow.inc export TS_DL_DIR · line 69
Quoted 9 lines
recipes-framework/tensorflow/tensorflow.inc +3
-0@@ -61,6 +61,9 @@ export TS_DL_DIR do_compile[network] = "1" +# Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable do_compile:append() { chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/conversion_metadata_schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/tools/pip_package/wheel_house || true }-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1164): https://lists.yoctoproject.org/g/yocto-patches/message/1164
Mute This Topic: https://lists.yoctoproject.org/mt/111564223/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13388836/3617156/66960823/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 15 lines · Martin Jansa via lists.yoctoproject.org
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.Hi,
in the last patch you've merged the author e-mail is OK now, but there is still the notice from Wind River e-mail as well as second From:
meta-tensorflow $ git show -1 9e89de7 --pretty=fuller commit
9e89de7d5e4a7e58e3ffa4cf81a3b96f15ec5c30Author: Martin Jansa <[email protected]> AuthorDate: Wed Apr 2 18:00:08 2025 +0200 Commit: Hongxu Jia <[email protected]> CommitDate: Mon Apr 7 10:19:24 2025 +0800
Quoted 5 lines
bazel: add whitespace around assignments
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the
sender and know the content is safe.
Sorry for the noisy message, it was added by my company's firewall,
I need to clean it up more carefully at next time
//Hongxu
Quoted 140 lines
From: Martin Jansa <[email protected]>
With:
....Regards,
Quoted 108 lines · Martin Jansa via lists.yoctoproject.org
Hi,
thank you for merging both, the way how you're applying the changes from e-mail still mangles the author and commit message.
I've tried to add explicit From: in the e-mail body in hope to avoid "via lists.yoctoproject.org <[email protected]>" but it didn't really help, instead the From: is still in the merged commit message together with "CAUTION: .." message from your e-mail configuration.
meta-tensorflow $ git show -1 --pretty=fuller origin/scarthgap | head -n 14 commit
c382865206fe925a02a1cdbdd856e16310bc9dbc
Author: Martin Jansa via lists.yoctoproject.org
<[email protected]>AuthorDate: Fri Mar 7 08:56:10 2025 +0100 Commit: Hongxu Jia <[email protected]> CommitDate: Fri Mar 7 16:16:58 2025 +0800tensorflow.inc: add write permission to 2 more directories
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the
sender and know the content is safe.From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g.
when recipe becomes unreachable
....Quoted 76 lines · On Fri, Mar 7, 2025 at 8:56 AM <[email protected]> wrote:
From: Martin Jansa <[email protected]>
Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable
Removing 41 recipes from the core2-64 sysroot: 100% |##########################################################################################################################################################################| Time: 0:00:21 Removing 35 recipes from the qemux86_64 sysroot: 100% |########################################################################################################################################################################| Time: 0:00:00 ERROR: Execution of event handler 'sstate_eventhandler_reachablestamps' failed | ETA: 0:00:07Traceback (most recent call last):
File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, insstate_eventhandler_reachablestamps
bb.utils.remove(workdir, recurse = True)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in removesubprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.ERROR: Command execution failed: Traceback (most recent call last):
File "/OE/build/oe-core/bitbake/lib/bb/command.py", line 123, in runAsyncCommandself.cooker.updateCache() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/OE/build/oe-core/bitbake/lib/bb/cooker.py", line 1646, in updateCache bb.event.fire(event, self.databuilder.mcdata[mc]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 224, in fire fire_class_handlers(event, d) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 131, in fire_class_handlers execute_handler(name, handler, event, d) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/event.py", line 102, in execute_handler ret = handler(event, d) File "/OE/build/oe-core/openembedded-core/meta/classes-global/sstate.bbclass", line 1293, in sstate_eventhandler_reachablestamps bb.utils.remove(workdir, recurse = True) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/OE/build/oe-core/bitbake/lib/bb/utils.py", line 751, in remove subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "
/usr/lib/python3.13/subprocess.py", line 421, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0']' returned non-zero exit status 1.Summary: There were 2 ERROR messages, returning a non-zero exit code.
OE qemux86-64@ /OE/build/oe-core $ find /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base
/OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/schema_generated.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/__init__.py /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house /OE/build/oe-core/tmp/work/x86_64-linux/tensorflow-native/2.17.0/bazel/output_base/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/tools/pip_package/wheel_house/tensorflow-2.17.0-cp312-cp312-linux_x86_64.whlSigned-off-by Martin Jansa <[email protected]>--- recipes-framework/tensorflow/tensorflow.inc | 3 +++ 1 file changed, 3 insertions(+)recipes-framework/tensorflow/tensorflow.inc +0
-0@@ -61,6 +61,9 @@ export TS_DL_DIRQuoted 12 lines
recipes-framework/tensorflow/tensorflow.inc export TS_DL_DIR · line 69
Quoted 8 lines
recipes-framework/tensorflow/tensorflow.inc +3
-0do_compile[network] = "1" +# Missing write permission prevents the WORKDIR to be deleted, e.g. when recipe becames unreachable do_compile:append() { chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/conversion_metadata_schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/schema_py_srcs_no_include_all || true + chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/tools/pip_package/wheel_house || true }-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1289): https://lists.yoctoproject.org/g/yocto-patches/message/1289
Mute This Topic: https://lists.yoctoproject.org/mt/111564223/3617049
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13176071/3617049/43253763/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-