See https://ci.linaro.org/job/ldcg-python-manylinux-tensorflow-nightly/290/display/redirect
Changes:
------------------------------------------ [...truncated 116.30 KB...] numpy/core/src/multiarray/scalartypes.c.src:2975:31: error: incompatible type for argument 1 of _Py_HashDouble 2975 | hashreal = _Py_HashDouble((double) | ^~~~~~~~ | | | double 2976 | PyArrayScalar_VAL(obj, C@name@).real); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/python/cp310-cp310/include/python3.10/Python.h:77, from numpy/core/src/multiarray/scalartypes.c.src:3: /opt/python/cp310-cp310/include/python3.10/pyhash.h:10:38: note: expected PyObject * {aka struct _object *} but argument is of type double 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double); | ^~~~~~~~~~ numpy/core/src/multiarray/scalartypes.c.src:2975:16: error: too few arguments to function _Py_HashDouble 2975 | hashreal = _Py_HashDouble((double) | ^~~~~~~~~~~~~~ In file included from /opt/python/cp310-cp310/include/python3.10/Python.h:77, from numpy/core/src/multiarray/scalartypes.c.src:3: /opt/python/cp310-cp310/include/python3.10/pyhash.h:10:23: note: declared here 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double); | ^~~~~~~~~~~~~~ numpy/core/src/multiarray/scalartypes.c.src:2981:31: error: incompatible type for argument 1 of _Py_HashDouble 2981 | hashimag = _Py_HashDouble((double) | ^~~~~~~~ | | | double 2982 | PyArrayScalar_VAL(obj, C@name@).imag); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/python/cp310-cp310/include/python3.10/Python.h:77, from numpy/core/src/multiarray/scalartypes.c.src:3: /opt/python/cp310-cp310/include/python3.10/pyhash.h:10:38: note: expected PyObject * {aka struct _object *} but argument is of type double 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double); | ^~~~~~~~~~ numpy/core/src/multiarray/scalartypes.c.src:2981:16: error: too few arguments to function _Py_HashDouble 2981 | hashimag = _Py_HashDouble((double) | ^~~~~~~~~~~~~~ In file included from /opt/python/cp310-cp310/include/python3.10/Python.h:77, from numpy/core/src/multiarray/scalartypes.c.src:3: /opt/python/cp310-cp310/include/python3.10/pyhash.h:10:23: note: declared here 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double); | ^~~~~~~~~~~~~~ numpy/core/src/multiarray/scalartypes.c.src: In function half_arrtype_hash: numpy/core/src/multiarray/scalartypes.c.src:2997:27: error: incompatible type for argument 1 of _Py_HashDouble 2997 | return _Py_HashDouble(npy_half_to_double(PyArrayScalar_VAL(obj, Half))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | double In file included from /opt/python/cp310-cp310/include/python3.10/Python.h:77, from numpy/core/src/multiarray/scalartypes.c.src:3: /opt/python/cp310-cp310/include/python3.10/pyhash.h:10:38: note: expected PyObject * {aka struct _object *} but argument is of type double 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double); | ^~~~~~~~~~ numpy/core/src/multiarray/scalartypes.c.src:2997:12: error: too few arguments to function _Py_HashDouble 2997 | return _Py_HashDouble(npy_half_to_double(PyArrayScalar_VAL(obj, Half))); | ^~~~~~~~~~~~~~ In file included from /opt/python/cp310-cp310/include/python3.10/Python.h:77, from numpy/core/src/multiarray/scalartypes.c.src:3: /opt/python/cp310-cp310/include/python3.10/pyhash.h:10:23: note: declared here 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double); | ^~~~~~~~~~~~~~ gcc: numpy/core/src/npymath/halffloat.c gcc: build/src.linux-aarch64-3.10/numpy/core/src/npymath/npy_math_complex.c numpy/core/src/multiarray/scalartypes.c.src: In function longdouble_arrtype_hash: numpy/core/src/multiarray/scalartypes.c.src:2968:1: warning: control reaches end of non-void function [-Wreturn-type] 2968 | } | ^ numpy/core/src/multiarray/scalartypes.c.src: In function float_arrtype_hash: numpy/core/src/multiarray/scalartypes.c.src:2968:1: warning: control reaches end of non-void function [-Wreturn-type] 2968 | } | ^ numpy/core/src/multiarray/scalartypes.c.src: In function half_arrtype_hash: numpy/core/src/multiarray/scalartypes.c.src:2998:1: warning: control reaches end of non-void function [-Wreturn-type] 2998 | } | ^ gcc: numpy/core/src/common/array_assign.c gcc: numpy/core/src/common/mem_overlap.c gcc: numpy/core/src/common/npy_longdouble.c gcc: numpy/core/src/common/ucsnarrow.c gcc: numpy/core/src/common/ufunc_override.c gcc: numpy/core/src/common/numpyos.c gcc: build/src.linux-aarch64-3.10/numpy/core/src/common/npy_cpu_features.c gcc: numpy/core/src/common/cblasfuncs.c gcc: numpy/core/src/common/python_xerbla.c numpy/core/src/multiarray/nditer_api.c: In function npyiter_coalesce_axes: numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ numpy/core/src/multiarray/nditer_api.c:1684:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1684 | perm[idim] = (npy_int8)idim; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from numpy/core/src/multiarray/nditer_api.c:16: numpy/core/src/multiarray/nditer_impl.h:148:10: note: at offset 0 to object iter_flexdata with size 1 declared here 148 | char iter_flexdata; | ^~~~~~~~~~~~~ error: Command "gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_CBLAS -Ibuild/src.linux-aarch64-3.10/numpy/core/src/umath -Ibuild/src.linux-aarch64-3.10/numpy/core/src/npymath -Ibuild/src.linux-aarch64-3.10/numpy/core/src/common -Inumpy/core/include -Ibuild/src.linux-aarch64-3.10/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/tmp/workspace/venv-cp310-cp310/include -I/opt/python/cp310-cp310/include/python3.10 -Ibuild/src.linux-aarch64-3.10/numpy/core/src/common -Ibuild/src.linux-aarch64-3.10/numpy/core/src/npymath -c build/src.linux-aarch64-3.10/numpy/core/src/multiarray/scalartypes.c -o build/temp.linux-aarch64-3.10/build/src.linux-aarch64-3.10/numpy/core/src/multiarray/scalartypes.o -MMD -MF build/temp.linux-aarch64-3.10/build/src.linux-aarch64-3.10/numpy/core/src/multiarray/scalartypes.o.d -std=c99" failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for numpy Failed to build numpy ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly WARNING: You are using pip version 21.2.4; however, version 22.0.3 is available. You should consider upgrading via the '/tmp/workspace/venv-cp310-cp310/bin/python3 -m pip install --upgrade pip' command. ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/a7/81/20d5d994c91ed8347efda90d32c396... (from https://pypi.org/simple/h5py/) (requires-python:>=3.6). Command errored out with exit status 1: /tmp/workspace/venv-cp310-cp310/bin/python3 /tmp/pip-standalone-pip-g5sffb0w/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-kakhqn74/normal --no-warn-script-location --no-binary h5py --only-binary :none: -i https://pypi.org/simple --extra-index-url https://snapshots.linaro.org/ldcg/python-cache/ -- pkgconfig 'Cython >=0.29.14; python_version>='"'"'3.8'"'"'' 'numpy ==1.17.5; python_version=='"'"'3.8'"'"'' 'numpy ==1.12; python_version=='"'"'3.6'"'"'' 'numpy ==1.19.3; python_version>='"'"'3.9'"'"'' 'Cython >=0.29; python_version<'"'"'3.8'"'"'' 'numpy ==1.14.5; python_version=='"'"'3.7'"'"'' Check the logs for full command output. ERROR: Cannot install h5py~=3.1.0 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies WARNING: You are using pip version 21.2.4; however, version 22.0.3 is available. You should consider upgrading via the '/tmp/workspace/venv-cp310-cp310/bin/python3 -m pip install --upgrade pip' command. stderr_lines: <omitted> stdout: |- Looking in indexes: https://pypi.org/simple, https://snapshots.linaro.org/ldcg/python-cache/ Collecting h5py~=3.1.0 Using cached h5py-3.1.0.tar.gz (371 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: still running... Installing backend dependencies: finished with status 'error'
The conflict is caused by: The user requested h5py~=3.1.0 The user requested (constraint) h5py~=3.1.0
To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict stdout_lines: <omitted>
PLAY RECAP ********************************************************************* localhost : ok=156 changed=87 unreachable=0 failed=1 skipped=14 rescued=0 ignored=0
Monday 28 February 2022 00:05:10 +0000 (0:02:29.872) 5:54:36.389 ******* =============================================================================== tensorflow : Run unit tests on TensorFlow git for cp39-cp39 ---------- 4416.29s tensorflow : Run unit tests on TensorFlow git for cp37-cp37m --------- 4288.85s tensorflow : Run unit tests on TensorFlow git for cp38-cp38 ---------- 4224.59s tensorflow : build TensorFlow git for cp38-cp38 ---------------------- 1946.25s tensorflow : build TensorFlow git for cp39-cp39 ---------------------- 1900.40s tensorflow : build TensorFlow git for cp37-cp37m --------------------- 1750.01s python : build wheels of Python package Keras_Applications ------------ 243.20s python : build wheels of Python package h5py~=3.1.0 ------------------- 149.87s install bazel build requirements --------------------------------------- 41.40s tensorflow : populate cp310-cp310 virtualenv --------------------------- 35.83s tensorflow : populate cp39-cp39 virtualenv ----------------------------- 35.28s tensorflow : install Python package ------------------------------------ 34.28s tensorflow : populate cp37-cp37m virtualenv ---------------------------- 33.57s tensorflow : install Python package ------------------------------------ 33.40s tensorflow : populate cp38-cp38 virtualenv ----------------------------- 33.31s tensorflow : install Python package ------------------------------------ 29.57s python : install numpy build requirements ------------------------------ 27.49s fetch tensorflow from git ---------------------------------------------- 23.00s fetch tensorflow from git ---------------------------------------------- 21.99s fetch tensorflow from git ---------------------------------------------- 21.70s Build step 'Execute shell' marked build as failure