Skip to contentSkip to conversation

python3-numpy: disable ccache

PATCH Martin Jansa 1 participant 1 message Aug 23, 2024 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

It seems to be bigger issue in multiple python recipes (numpy was the only one shown in my image builds), in world build with ccache enabled I see:

meta-oe/meta-python/recipes-devtools/python/python3-msgpack_1.0.8.bb:do_compile) failed with exit code '1' meta-oe/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb:do_compile) failed with exit code '1' meta-oe/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb:do_compile) failed with exit code '1' meta-oe/meta-python/recipes-devtools/python/python3-greenlet_3.0.3.bb:do_compile) failed with exit code '1' meta-oe/meta-python/recipes-devtools/python/python3-matplotlib_3.7.2.bb:do_compile) failed with exit code '1' meta-oe/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.0.bb:do_compile) failed with exit code '1' meta-oe/meta-python/recipes-devtools/python/python3-kiwisolver_1.4.5.bb:do_compile) failed with exit code '1' meta-oe/meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb:do_compile) failed with exit code '1' meta-oe/meta-python/recipes-devtools/python/python3-snappy_0.6.1.bb:do_compile) failed with exit code '1' meta-oe/meta-python/recipes-devtools/python/python3-icu_2.13.1.bb:do_compile) failed with exit code '1' meta-oe/meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.2.bb:do_compile) failed with exit code '1' meta-oe/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb:do_compile) failed with exit code '1' meta-oe/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb:do_compile) failed with exit code '1'

probably because of the same issue, so setuptools should probably be fixed instead.

Quoted 40 lines · Martin Jansa via lists.openembedded.org

* fails to parse CXX correctly since the setuptools upgrade from 72.1.0 to 72.2.0
* it can be resolved by upgrading numpy as in:
https://lists.openembedded.org/g/openembedded-core/message/203231
which switches from setuptools3 to python_mesonpy, but before that is merged, we can just disable ccache here
* more details in:
https://lists.openembedded.org/g/openembedded-core/message/203658

---
 meta/recipes-devtools/python/python3-numpy_1.26.4.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-devtools/python/python3-numpy_1.26.4.bb +3 -1
index 914245507c..7cd9d30d2d 100644
@@ -24,6 +24,9 @@ inherit ptest setuptools3 github-releases
 
 S = "${WORKDIR}/numpy-${PV}"
 
+# fails to parse CXX correctly since the setuptools upgrade from 72.1.0 to 72.2.0
+# https://lists.openembedded.org/g/openembedded-core/message/203658
+CCACHE_DISABLE = "1"
 CLEANBROKEN = "1"
 
 do_compile:prepend() {
--

2.46.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#203660): https://lists.openembedded.org/g/openembedded-core/message/203660
Mute This Topic: https://lists.openembedded.org/mt/108043577/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-