[100%] Generating __init__.py files for Python API.
cd /tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python && /gnu/store/ygab8v4ci9iklaykapq52bfsshpvi8pw-cmake-minimal-3.24.2/bin/cmake -E remove -f /tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/__init__.py
cd /tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python && /gnu/store/ygab8v4ci9iklaykapq52bfsshpvi8pw-cmake-minimal-3.24.2/bin/cmake -E env PYTHONPATH=/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python /gnu/store/l6fpy0i9hlll9b6k8vy2i2a4cshwz3cv-python-wrapper-3.10.7/bin/python /tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/tools/api/generator/create_python_api.py --root_init_template=/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/api_template.__init__.py --apidir=/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow /tmp/guix-build-tensorflow-1.9.0.drv-0/source/api_init_files_list.txt
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/ops.py:65: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  _USE_C_SHAPES = os.getenv("TF_C_API_GRAPH_CONSTRUCTION_SHAPES", "0") is not "0"
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py:523: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py:524: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py:532: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
Traceback (most recent call last):
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/tools/api/generator/create_python_api.py", line 27, in <module>
    from tensorflow.python.util import tf_decorator
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/__init__.py", line 63, in <module>
    from tensorflow.python.framework.framework_lib import *  # pylint: disable=redefined-builtin
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/framework_lib.py", line 52, in <module>
    from tensorflow.python.framework.importer import import_graph_def
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/importer.py", line 27, in <module>
    from tensorflow.python.framework import function
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/function.py", line 36, in <module>
    from tensorflow.python.ops import resource_variable_ops
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/ops/resource_variable_ops.py", line 37, in <module>
    from tensorflow.python.ops import math_ops
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/ops/math_ops.py", line 1130, in <module>
    _OverrideBinaryOperatorHelper(gen_math_ops.logical_or, "or")
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/ops/math_ops.py", line 887, in _OverrideBinaryOperatorHelper
    clazz_object._override_operator("__%s__" % op_name, binary_op_wrapper)
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/ops.py", line 642, in _override_operator
    _override_helper(Tensor, operator, func)
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/ops.py", line 99, in _override_helper
    raise ValueError("operator %s cannot be overwritten again on class %s." %
ValueError: operator __or__ cannot be overwritten again on class <class 'tensorflow.python.framework.ops.Tensor'>.
make[3]: *** [CMakeFiles/tf_python_api.dir/build.make:75: tf_python/tensorflow/__init__.py] Error 1
make[3]: Leaving directory '/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build'
make[2]: *** [CMakeFiles/Makefile2:7591: CMakeFiles/tf_python_api.dir/all] Error 2
make[2]: Leaving directory '/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build'
make[1]: *** [CMakeFiles/Makefile2:7629: CMakeFiles/tf_python_build_pip_package.dir/rule] Error 2
make[1]: Leaving directory '/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build'
make: *** [Makefile:3331: tf_python_build_pip_package] Error 2
error: in phase 'build-pip-package': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "16" "tf_python_build_pip_package") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `build-pip-package' failed after 159.7 seconds
command "make" "-j" "16" "tf_python_build_pip_package" failed with status 2
note: keeping build directory `/tmp/guix-build-tensorflow-1.9.0.drv-0'
builder for `/gnu/store/xjmha26hmvv6jrc99bmi6syz0p7ja0cr-tensorflow-1.9.0.drv' failed with exit code 1
build of /gnu/store/xjmha26hmvv6jrc99bmi6syz0p7ja0cr-tensorflow-1.9.0.drv failed
View build log at '/var/log/guix/drvs/xj/mha26hmvv6jrc99bmi6syz0p7ja0cr-tensorflow-1.9.0.drv.gz'.
guix build: error: build of `/gnu/store/xjmha26hmvv6jrc99bmi6syz0p7ja0cr-tensorflow-1.9.0.drv' failed

Generated by Ricardo Wurmus using scpaste at Fri Apr 21 10:05:32 2023. CEST. (original)