2025-09-09T14:13:55,592 Created temporary directory: /tmp/pip-build-tracker-orlgc7se 2025-09-09T14:13:55,592 Initialized build tracking at /tmp/pip-build-tracker-orlgc7se 2025-09-09T14:13:55,592 Created build tracker: /tmp/pip-build-tracker-orlgc7se 2025-09-09T14:13:55,593 Entered build tracker: /tmp/pip-build-tracker-orlgc7se 2025-09-09T14:13:55,593 Created temporary directory: /tmp/pip-wheel-5k9dvqdt 2025-09-09T14:13:55,596 Created temporary directory: /tmp/pip-ephem-wheel-cache-tj37tts6 2025-09-09T14:13:55,654 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-09T14:13:55,656 2 location(s) to search for versions of bfloat16: 2025-09-09T14:13:55,656 * https://pypi.org/simple/bfloat16/ 2025-09-09T14:13:55,656 * https://www.piwheels.org/simple/bfloat16/ 2025-09-09T14:13:55,657 Fetching project page and analyzing links: https://pypi.org/simple/bfloat16/ 2025-09-09T14:13:55,657 Getting page https://pypi.org/simple/bfloat16/ 2025-09-09T14:13:55,658 Found index url https://pypi.org/simple/ 2025-09-09T14:13:55,806 Fetched page https://pypi.org/simple/bfloat16/ as application/vnd.pypi.simple.v1+json 2025-09-09T14:13:55,809 Found link https://files.pythonhosted.org/packages/0d/2c/9f1a4432bf44901c5102ccea72cef18d6ea53de2e8b6a3d82378fa595c4b/bfloat16-1.0.tar.gz (from https://pypi.org/simple/bfloat16/), version: 1.0 2025-09-09T14:13:55,809 Found link https://files.pythonhosted.org/packages/2a/b2/6f9269502cf8c73cdd23456866aa10d13c0d0c7084b226b97b24da373344/bfloat16-1.1.tar.gz (from https://pypi.org/simple/bfloat16/), version: 1.1 2025-09-09T14:13:55,810 Skipping link: No binaries permitted for bfloat16: https://files.pythonhosted.org/packages/da/ce/65b95e0acf18e317719bc67337b3cf515f69d3ee07ecb6aaa44c798496c5/bfloat16-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (from https://pypi.org/simple/bfloat16/) (requires-python:>=3.9) 2025-09-09T14:13:55,810 Skipping link: No binaries permitted for bfloat16: https://files.pythonhosted.org/packages/47/95/53d4b577cbdb65292e32aed44abef047f04bda62feec7fd0fdbc25e5e43b/bfloat16-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (from https://pypi.org/simple/bfloat16/) (requires-python:>=3.9) 2025-09-09T14:13:55,810 Skipping link: No binaries permitted for bfloat16: https://files.pythonhosted.org/packages/1f/35/88eea22fb58cf158556769a42a32b7c5a7471c448ed2b8e7048be0210093/bfloat16-1.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (from https://pypi.org/simple/bfloat16/) (requires-python:>=3.9) 2025-09-09T14:13:55,810 Skipping link: No binaries permitted for bfloat16: https://files.pythonhosted.org/packages/90/81/3e3999bb17c41c700715bf8e79966084006c29c15e0a72d8734532019019/bfloat16-1.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (from https://pypi.org/simple/bfloat16/) (requires-python:>=3.9) 2025-09-09T14:13:55,811 Fetching project page and analyzing links: https://www.piwheels.org/simple/bfloat16/ 2025-09-09T14:13:55,811 Getting page https://www.piwheels.org/simple/bfloat16/ 2025-09-09T14:13:55,813 Found index url https://www.piwheels.org/simple/ 2025-09-09T14:13:55,910 Fetched page https://www.piwheels.org/simple/bfloat16/ as text/html 2025-09-09T14:13:55,912 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.1-cp37-cp37m-linux_armv6l.whl#sha256=70ce6dfb33664a70c55ac943eed8a389b50fa07795b38cc1ce9e784042dcb30a (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:13:55,912 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.1-cp37-cp37m-linux_armv7l.whl#sha256=70ce6dfb33664a70c55ac943eed8a389b50fa07795b38cc1ce9e784042dcb30a (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:13:55,912 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.1-cp39-cp39-linux_armv6l.whl#sha256=70c8d9d09fc46434b1594039f741bd5005847cb6634ad96b4933c830da40c25e (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:13:55,913 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.1-cp39-cp39-linux_armv7l.whl#sha256=70c8d9d09fc46434b1594039f741bd5005847cb6634ad96b4933c830da40c25e (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:13:55,913 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.0-cp37-cp37m-linux_armv6l.whl#sha256=43c37f5259fc2432b7bca4939567a699edf75660dd32b4886adbd36236838cb3 (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:13:55,913 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.0-cp37-cp37m-linux_armv7l.whl#sha256=43c37f5259fc2432b7bca4939567a699edf75660dd32b4886adbd36236838cb3 (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:13:55,913 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.0-cp39-cp39-linux_armv6l.whl#sha256=0617cb85c83e5c600b9e0550831f5b5f8c81c38d8c2ef558e0fedfa08cf3ff19 (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:13:55,913 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.0-cp39-cp39-linux_armv7l.whl#sha256=0617cb85c83e5c600b9e0550831f5b5f8c81c38d8c2ef558e0fedfa08cf3ff19 (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:13:55,913 Skipping link: not a file: https://www.piwheels.org/simple/bfloat16/ 2025-09-09T14:13:55,913 Skipping link: not a file: https://pypi.org/simple/bfloat16/ 2025-09-09T14:13:55,935 Given no hashes to check 1 links for project 'bfloat16': discarding no candidates 2025-09-09T14:13:55,936 Collecting bfloat16==1.0 2025-09-09T14:13:55,938 Created temporary directory: /tmp/pip-unpack-5noanhw0 2025-09-09T14:13:56,094 Downloading bfloat16-1.0.tar.gz (550 kB) 2025-09-09T14:13:56,351 Added bfloat16==1.0 from https://files.pythonhosted.org/packages/0d/2c/9f1a4432bf44901c5102ccea72cef18d6ea53de2e8b6a3d82378fa595c4b/bfloat16-1.0.tar.gz to build tracker '/tmp/pip-build-tracker-orlgc7se' 2025-09-09T14:13:56,352 Running setup.py (path:/tmp/pip-wheel-5k9dvqdt/bfloat16_2645251ea0164a4fba188339f48c0326/setup.py) egg_info for package bfloat16 2025-09-09T14:13:56,352 Created temporary directory: /tmp/pip-pip-egg-info-pekxnpn_ 2025-09-09T14:13:56,352 Preparing metadata (setup.py): started 2025-09-09T14:13:56,353 Running command python setup.py egg_info 2025-09-09T14:13:57,559 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. 2025-09-09T14:13:57,559 !! 2025-09-09T14:13:57,560 ******************************************************************************** 2025-09-09T14:13:57,560 Usage of dash-separated 'description-file' will not be supported in future 2025-09-09T14:13:57,560 versions. Please use the underscore name 'description_file' instead. 2025-09-09T14:13:57,560 (Affected: bfloat16). 2025-09-09T14:13:57,560 By 2026-Mar-03, you need to update your project and remove deprecated calls 2025-09-09T14:13:57,560 or your builds will no longer be supported. 2025-09-09T14:13:57,560 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2025-09-09T14:13:57,560 ******************************************************************************** 2025-09-09T14:13:57,561 !! 2025-09-09T14:13:57,561 opt = self._enforce_underscore(opt, section) 2025-09-09T14:13:57,992 Preparing metadata (setup.py): finished with status 'done' 2025-09-09T14:13:57,997 Source in /tmp/pip-wheel-5k9dvqdt/bfloat16_2645251ea0164a4fba188339f48c0326 has version 1.0, which satisfies requirement bfloat16==1.0 from https://files.pythonhosted.org/packages/0d/2c/9f1a4432bf44901c5102ccea72cef18d6ea53de2e8b6a3d82378fa595c4b/bfloat16-1.0.tar.gz 2025-09-09T14:13:57,997 Removed bfloat16==1.0 from https://files.pythonhosted.org/packages/0d/2c/9f1a4432bf44901c5102ccea72cef18d6ea53de2e8b6a3d82378fa595c4b/bfloat16-1.0.tar.gz from build tracker '/tmp/pip-build-tracker-orlgc7se' 2025-09-09T14:13:58,000 Created temporary directory: /tmp/pip-unpack-abxs7zcm 2025-09-09T14:13:58,000 Created temporary directory: /tmp/pip-unpack-x5dd7dhv 2025-09-09T14:13:58,000 Building wheels for collected packages: bfloat16 2025-09-09T14:13:58,001 Created temporary directory: /tmp/pip-wheel-4sxy5udn 2025-09-09T14:13:58,002 DEPRECATION: Building 'bfloat16' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'bfloat16'. Discussion can be found at https://github.com/pypa/pip/issues/6334 2025-09-09T14:13:58,003 Building wheel for bfloat16 (setup.py): started 2025-09-09T14:13:58,004 Destination directory: /tmp/pip-wheel-4sxy5udn 2025-09-09T14:13:58,004 Running command python setup.py bdist_wheel 2025-09-09T14:13:59,205 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. 2025-09-09T14:13:59,205 !! 2025-09-09T14:13:59,205 ******************************************************************************** 2025-09-09T14:13:59,205 Usage of dash-separated 'description-file' will not be supported in future 2025-09-09T14:13:59,205 versions. Please use the underscore name 'description_file' instead. 2025-09-09T14:13:59,205 (Affected: bfloat16). 2025-09-09T14:13:59,206 By 2026-Mar-03, you need to update your project and remove deprecated calls 2025-09-09T14:13:59,206 or your builds will no longer be supported. 2025-09-09T14:13:59,206 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2025-09-09T14:13:59,206 ******************************************************************************** 2025-09-09T14:13:59,206 !! 2025-09-09T14:13:59,206 opt = self._enforce_underscore(opt, section) 2025-09-09T14:14:03,253 bfloat16.cc:57:47: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 2025-09-09T14:14:03,253 57 | using Safe_PyObjectPtr = std::unique_ptr; 2025-09-09T14:14:03,254 | ^~~~~~~~~~ 2025-09-09T14:14:03,254 bfloat16.cc:37:1: note: ‘std::unique_ptr’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 2025-09-09T14:14:03,254 36 | #include "numpy/ufuncobject.h" 2025-09-09T14:14:03,254 +++ |+#include 2025-09-09T14:14:03,254 37 | 2025-09-09T14:14:03,269 bfloat16.cc:58:17: error: ‘Safe_PyObjectPtr’ does not name a type 2025-09-09T14:14:03,270 58 | Safe_PyObjectPtr make_safe(PyObject *object) 2025-09-09T14:14:03,270 | ^~~~~~~~~~~~~~~~ 2025-09-09T14:14:03,304 bfloat16.cc: In function ‘bool greenwaves::{anonymous}::CastToBfloat16(PyObject*, bfloat16*)’: 2025-09-09T14:14:03,305 bfloat16.cc:166:33: error: ‘Safe_PyObjectPtr’ was not declared in this scope 2025-09-09T14:14:03,305 166 | Safe_PyObjectPtr ref; 2025-09-09T14:14:03,305 | ^~~~~~~~~~~~~~~~ 2025-09-09T14:14:03,306 bfloat16.cc:170:41: error: ‘ref’ was not declared in this scope; did you mean ‘std::ref’? 2025-09-09T14:14:03,306 170 | ref = make_safe(PyArray_Cast(arr, npy_bfloat16)); 2025-09-09T14:14:03,306 | ^~~ 2025-09-09T14:14:03,306 | std::ref 2025-09-09T14:14:03,306 In file included from /usr/include/c++/14/string:52, 2025-09-09T14:14:03,306 from /usr/include/c++/14/bits/locale_classes.h:40, 2025-09-09T14:14:03,307 from /usr/include/c++/14/bits/ios_base.h:41, 2025-09-09T14:14:03,307 from /usr/include/c++/14/ios:44, 2025-09-09T14:14:03,307 from /usr/include/c++/14/ostream:40, 2025-09-09T14:14:03,307 from /usr/include/c++/14/iostream:41, 2025-09-09T14:14:03,307 from bfloat16.cc:20: 2025-09-09T14:14:03,307 /usr/include/c++/14/bits/refwrap.h:445:5: note: ‘std::ref’ declared here 2025-09-09T14:14:03,307 445 | ref(reference_wrapper<_Tp> __t) noexcept 2025-09-09T14:14:03,307 | ^~~ 2025-09-09T14:14:03,325 bfloat16.cc:170:47: error: ‘make_safe’ was not declared in this scope 2025-09-09T14:14:03,326 170 | ref = make_safe(PyArray_Cast(arr, npy_bfloat16)); 2025-09-09T14:14:03,326 | ^~~~~~~~~ 2025-09-09T14:14:03,332 bfloat16.cc: At global scope: 2025-09-09T14:14:03,333 bfloat16.cc:470:17: error: too many initializers for ‘PyArray_Descr’ {aka ‘_PyArray_Descr’} 2025-09-09T14:14:03,333 470 | }; 2025-09-09T14:14:03,333 | ^ 2025-09-09T14:14:03,333 bfloat16.cc: In function ‘PyObject* greenwaves::{anonymous}::NPyBfloat16_GetItem(void*, void*)’: 2025-09-09T14:14:03,333 bfloat16.cc:478:43: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘f’ 2025-09-09T14:14:03,333 478 | NPyBfloat16_Descr.f->copyswap(&x, data, !PyArray_ISNOTSWAPPED(reinterpret_cast(arr)), NULL); 2025-09-09T14:14:03,333 | ^ 2025-09-09T14:14:03,385 bfloat16.cc: In function ‘bool greenwaves::{anonymous}::RegisterUFunc(PyObject*, const char*)’: 2025-09-09T14:14:03,385 bfloat16.cc:985:25: error: ‘Safe_PyObjectPtr’ was not declared in this scope 2025-09-09T14:14:03,385 985 | Safe_PyObjectPtr ufunc_obj = make_safe(PyObject_GetAttrString(numpy, name)); 2025-09-09T14:14:03,385 | ^~~~~~~~~~~~~~~~ 2025-09-09T14:14:03,404 bfloat16.cc:986:30: error: ‘ufunc_obj’ was not declared in this scope 2025-09-09T14:14:03,404 986 | if (!ufunc_obj) 2025-09-09T14:14:03,404 | ^~~~~~~~~ 2025-09-09T14:14:03,421 bfloat16.cc:990:82: error: ‘ufunc_obj’ was not declared in this scope 2025-09-09T14:14:03,421 990 | PyUFuncObject *ufunc = reinterpret_cast(ufunc_obj.get()); 2025-09-09T14:14:03,421 | ^~~~~~~~~ 2025-09-09T14:14:03,428 bfloat16.cc: In function ‘std::pair greenwaves::{anonymous}::ufuncs::divmod(float, float)’: 2025-09-09T14:14:03,428 bfloat16.cc:1035:72: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 2025-09-09T14:14:03,428 1035 | std::pair divmod(float a, float b) 2025-09-09T14:14:03,428 | ^ 2025-09-09T14:14:03,484 bfloat16.cc: In member function ‘greenwaves::{anonymous}::bfloat16 greenwaves::{anonymous}::ufuncs::NextAfter::operator()(greenwaves::{anonymous}::bfloat16, greenwaves::{anonymous}::bfloat16)’: 2025-09-09T14:14:03,484 bfloat16.cc:1662:63: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘using greenwaves::{anonymous}::bfloat16 = struct Eigen::bfloat16’ {aka ‘struct Eigen::bfloat16’} from an array of ‘uint16_t’ {aka ‘short unsigned int’} [-Wclass-memaccess] 2025-09-09T14:14:03,484 1662 | memcpy(&out, &out_int, sizeof(bfloat16)); 2025-09-09T14:14:03,484 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-09T14:14:03,484 In file included from eigen/Eigen/Core:170, 2025-09-09T14:14:03,485 from bfloat16.cc:33: 2025-09-09T14:14:03,485 eigen/Eigen/src/Core/arch/Default/BFloat16.h:58:8: note: ‘using greenwaves::{anonymous}::bfloat16 = struct Eigen::bfloat16’ {aka ‘struct Eigen::bfloat16’} declared here 2025-09-09T14:14:03,485 58 | struct bfloat16 : public bfloat16_impl::bfloat16_base { 2025-09-09T14:14:03,485 | ^~~~~~~~ 2025-09-09T14:14:03,485 bfloat16.cc:1674:47: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘using greenwaves::{anonymous}::bfloat16 = struct Eigen::bfloat16’ {aka ‘struct Eigen::bfloat16’} from an array of ‘uint16_t’ {aka ‘short unsigned int’} [-Wclass-memaccess] 2025-09-09T14:14:03,485 1674 | memcpy(&out, &out_int, sizeof(bfloat16)); 2025-09-09T14:14:03,486 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-09T14:14:03,486 eigen/Eigen/src/Core/arch/Default/BFloat16.h:58:8: note: ‘using greenwaves::{anonymous}::bfloat16 = struct Eigen::bfloat16’ {aka ‘struct Eigen::bfloat16’} declared here 2025-09-09T14:14:03,486 58 | struct bfloat16 : public bfloat16_impl::bfloat16_base { 2025-09-09T14:14:03,486 | ^~~~~~~~ 2025-09-09T14:14:03,519 bfloat16.cc: In function ‘bool greenwaves::Initialize()’: 2025-09-09T14:14:03,519 bfloat16.cc:1691:17: error: ‘Safe_PyObjectPtr’ was not declared in this scope 2025-09-09T14:14:03,520 1691 | Safe_PyObjectPtr numpy_str = make_safe(PyUnicode_FromString("numpy")); 2025-09-09T14:14:03,520 | ^~~~~~~~~~~~~~~~ 2025-09-09T14:14:03,537 bfloat16.cc:1692:22: error: ‘numpy_str’ was not declared in this scope 2025-09-09T14:14:03,537 1692 | if (!numpy_str) 2025-09-09T14:14:03,537 | ^~~~~~~~~ 2025-09-09T14:14:03,537 bfloat16.cc:1696:33: error: expected ‘;’ before ‘numpy’ 2025-09-09T14:14:03,538 1696 | Safe_PyObjectPtr numpy = make_safe(PyImport_Import(numpy_str.get())); 2025-09-09T14:14:03,538 | ^~~~~~ 2025-09-09T14:14:03,538 | ; 2025-09-09T14:14:03,550 bfloat16.cc:1697:22: error: ‘numpy’ was not declared in this scope 2025-09-09T14:14:03,550 1697 | if (!numpy) 2025-09-09T14:14:03,551 | ^~~~~ 2025-09-09T14:14:03,589 bfloat16.cc:1710:31: error: ‘PyArray_TypeNumFromName’ was not declared in this scope; did you mean ‘PyArray_SimpleNewFromData’? 2025-09-09T14:14:03,589 1710 | int typenum = PyArray_TypeNumFromName(const_cast("bfloat16")); 2025-09-09T14:14:03,589 | ^~~~~~~~~~~~~~~~~~~~~~~ 2025-09-09T14:14:03,589 | PyArray_SimpleNewFromData 2025-09-09T14:14:03,589 bfloat16.cc:1717:45: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘f’ 2025-09-09T14:14:03,590 1717 | if (descr && descr->f && descr->f->argmax) 2025-09-09T14:14:03,590 | ^ 2025-09-09T14:14:03,590 bfloat16.cc:1717:57: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘f’ 2025-09-09T14:14:03,590 1717 | if (descr && descr->f && descr->f->argmax) 2025-09-09T14:14:03,590 | ^ 2025-09-09T14:14:03,591 In file included from /usr/include/python3.13/Python.h:72, 2025-09-09T14:14:03,591 from bfloat16.cc:27: 2025-09-09T14:14:03,591 /usr/include/python3.13/object.h:344:30: error: lvalue required as left operand of assignment 2025-09-09T14:14:03,591 344 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob)) 2025-09-09T14:14:03,591 | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ 2025-09-09T14:14:03,592 bfloat16.cc:1747:17: note: in expansion of macro ‘Py_TYPE’ 2025-09-09T14:14:03,592 1747 | Py_TYPE(&NPyBfloat16_Descr) = &PyArrayDescr_Type; 2025-09-09T14:14:03,592 | ^~~~~~~ 2025-09-09T14:14:03,592 bfloat16.cc:1748:57: error: cannot convert ‘PyArray_Descr*’ {aka ‘_PyArray_Descr*’} to ‘PyArray_DescrProto*’ in argument passing 2025-09-09T14:14:03,592 1748 | npy_bfloat16 = PyArray_RegisterDataType(&NPyBfloat16_Descr); 2025-09-09T14:14:03,592 | ^~~~~~~~~~~~~~~~~~ 2025-09-09T14:14:03,592 | | 2025-09-09T14:14:03,592 | PyArray_Descr* {aka _PyArray_Descr*} 2025-09-09T14:14:03,606 bfloat16.cc:1841:85: error: ‘numpy’ was not declared in this scope 2025-09-09T14:14:03,607 1841 | RegisterUFunc>(numpy.get(), "add") && 2025-09-09T14:14:03,607 | ^~~~~ 2025-09-09T14:14:04,001 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2025-09-09T14:14:04,141 ERROR: python setup.py bdist_wheel exited with 1 2025-09-09T14:14:04,153 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-09-09T14:14:04,153 exec(compile('"'"''"'"''"'"' 2025-09-09T14:14:04,153 # This is -- a caller that pip uses to run setup.py 2025-09-09T14:14:04,153 # 2025-09-09T14:14:04,153 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-09T14:14:04,153 # import from `distutils.core` to work with newer packaging standards. 2025-09-09T14:14:04,153 # - It provides a clear error message when setuptools is not installed. 2025-09-09T14:14:04,153 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-09T14:14:04,153 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-09T14:14:04,153 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-09T14:14:04,153 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-09T14:14:04,153 import os, sys, tokenize, traceback 2025-09-09T14:14:04,153 2025-09-09T14:14:04,153 try: 2025-09-09T14:14:04,153 import setuptools 2025-09-09T14:14:04,153 except ImportError: 2025-09-09T14:14:04,153 print( 2025-09-09T14:14:04,153 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-09T14:14:04,153 "the build environment with exception:", 2025-09-09T14:14:04,153 file=sys.stderr, 2025-09-09T14:14:04,153 ) 2025-09-09T14:14:04,153 traceback.print_exc() 2025-09-09T14:14:04,153 sys.exit(1) 2025-09-09T14:14:04,153 2025-09-09T14:14:04,153 __file__ = %r 2025-09-09T14:14:04,153 sys.argv[0] = __file__ 2025-09-09T14:14:04,153 2025-09-09T14:14:04,153 if os.path.exists(__file__): 2025-09-09T14:14:04,153 filename = __file__ 2025-09-09T14:14:04,153 with tokenize.open(__file__) as f: 2025-09-09T14:14:04,153 setup_py_code = f.read() 2025-09-09T14:14:04,153 else: 2025-09-09T14:14:04,153 filename = "" 2025-09-09T14:14:04,153 setup_py_code = "from setuptools import setup; setup()" 2025-09-09T14:14:04,153 2025-09-09T14:14:04,153 exec(compile(setup_py_code, filename, "exec")) 2025-09-09T14:14:04,153 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-5k9dvqdt/bfloat16_2645251ea0164a4fba188339f48c0326/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-4sxy5udn[/] 2025-09-09T14:14:04,153 [bold magenta]cwd[/]: /tmp/pip-wheel-5k9dvqdt/bfloat16_2645251ea0164a4fba188339f48c0326/ 2025-09-09T14:14:04,153 Building wheel for bfloat16 (setup.py): finished with status 'error' 2025-09-09T14:14:04,154 ERROR: Failed building wheel for bfloat16 2025-09-09T14:14:04,155 Running setup.py clean for bfloat16 2025-09-09T14:14:04,155 Running command python setup.py clean 2025-09-09T14:14:05,346 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. 2025-09-09T14:14:05,346 !! 2025-09-09T14:14:05,346 ******************************************************************************** 2025-09-09T14:14:05,346 Usage of dash-separated 'description-file' will not be supported in future 2025-09-09T14:14:05,347 versions. Please use the underscore name 'description_file' instead. 2025-09-09T14:14:05,347 (Affected: bfloat16). 2025-09-09T14:14:05,347 By 2026-Mar-03, you need to update your project and remove deprecated calls 2025-09-09T14:14:05,347 or your builds will no longer be supported. 2025-09-09T14:14:05,347 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2025-09-09T14:14:05,347 ******************************************************************************** 2025-09-09T14:14:05,347 !! 2025-09-09T14:14:05,347 opt = self._enforce_underscore(opt, section) 2025-09-09T14:14:05,567 'build/lib.linux-armv7l-cpython-313' does not exist -- can't clean it 2025-09-09T14:14:05,567 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-09-09T14:14:05,567 'build/scripts-3.13' does not exist -- can't clean it 2025-09-09T14:14:05,702 Failed to build bfloat16 2025-09-09T14:14:05,703 ERROR: Failed to build one or more wheels 2025-09-09T14:14:05,704 Exception information: 2025-09-09T14:14:05,704 Traceback (most recent call last): 2025-09-09T14:14:05,704 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-09T14:14:05,704 status = _inner_run() 2025-09-09T14:14:05,704 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-09T14:14:05,704 return self.run(options, args) 2025-09-09T14:14:05,704 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-09T14:14:05,704 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-09T14:14:05,704 return func(self, options, args) 2025-09-09T14:14:05,704 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-09-09T14:14:05,704 raise CommandError("Failed to build one or more wheels") 2025-09-09T14:14:05,704 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-09-09T14:14:05,708 Removed build tracker: '/tmp/pip-build-tracker-orlgc7se'