NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.79k stars 13.9k forks source link

python module tensorflow-bin #194217

Closed PlumpMath closed 2 years ago

PlumpMath commented 2 years ago

error: builder for '/nix/store/nvcrjrjlamyhkadqa8f35kgrz1932gxw-python3.10-tensorflow-2.9.1.drv' failed with exit code 1; last 10 log lines:

Processing ./tensorflow_cpu-2.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Requirement already satisfied: six>=1.12.0 in /nix/store/qb8l07yw65mhmnvffvcn3sj0dnp7jww1-python3.10-six-1.16.0/lib/python3.10/site-packages (from tensorflow-cpu==2.9.1) (1.16.0) Requirement already satisfied: termcolor>=1.1.0 in /nix/store/q685b9rgwpscrg4gdkc3j6wygsl9c1bd-python3.10-termcolor-2.0.1/lib/python3.10/site-packages (from tensorflow-cpu==2.9.1) (2.0.1) Requirement already satisfied: numpy>=1.20 in /nix/store/im3vjpskp1ismclgasz8466klyjiz0sr-python3.10-numpy-1.23.3/lib/python3.10/site-packages (from tensorflow-cpu==2.9.1) (1.23.3) Requirement already satisfied: grpcio<2.0,>=1.24.3 in /nix/store/kd0sy48r02vgpbmqd9nj0gn3765i0g0z-python3.10-grpcio-1.48.1/lib/python3.10/site-packages (from tensorflow-cpu==2.9.1) (1.48.1) Requirement already satisfied: setuptools in /nix/store/3jb3dgp57429y07my17hnhbd5q9f1rm8-python3.10-setuptools-65.3.0/lib/python3.10/site-packages (from tensorflow-cpu==2.9.1) (65.3.0.post0) Requirement already satisfied: typing-extensions>=3.6.6 in /nix/store/cyw1g8k4cx9sbhcriyrmn1cjpp3qk7wv-python3.10-typing-extensions-4.3.0/lib/python3.10/site-packages (from tensorflow-cpu==2.9.1) (4.3.0) ERROR: Could not find a version that satisfies the requirement tensorboard<2.10,>=2.9 (from tensorflow-cpu) (from versions: none) ERROR: No matching distribution found for tensorboard<2.10,>=2.9

For full logs, run 'nix log /nix/store/nvcrjrjlamyhkadqa8f35kgrz1932gxw-python3.10-tensorflow-2.9.1.drv'. error: 1 dependencies of derivation '/nix/store/6nplv3x96ss068x75yw5k0ypypm3rfck-python3-3.10.7-env.drv' failed to build error: 1 dependencies of derivation '/nix/store/hcr62717yy3rbyqqiwznrlpxypbijivx-system-path.drv' failed to build error: 1 dependencies of derivation '/nix/store/jvcb0wmmydsp2axw2snmwp0v9m3hqnv4-nixos-system-gram-22.11.20221003.5f53dac.drv' failed to build

PlumpMath commented 2 years ago

$ nix log /nix/store/nvcrjrjlamyhkadqa8f35kgrz1932gxw-python3.10-tensorflow-2.9.1.drv Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing wheel setup hook Using wheelUnpackPhase Sourcing pip-install-hook Using pipInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources Executing wheelUnpackPhase Finished executing wheelUnpackPhase @nix { "action": "setPhase", "phase": "patchPhase" } patching sources @nix { "action": "setPhase", "phase": "configurePhase" } configuring /tmp/nix-build-python3.10-tensorflow-2.9.1.drv-0/dist /tmp/nix-build-python3.10-tensorflow-2.9.1.drv-0 Unpacking to: unpacked/tensorflow_cpu-2.9.1...OK Repacking wheel as ./tensorflow_cpu-2.9.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl...OK /tmp/nix-build-python3.10-tensorflow-2.9.1.drv-0 no configure script, doing nothing configurePhase completed in 1 minutes 15 seconds @nix { "action": "setPhase", "phase": "buildPhase" } building no Makefile, doing nothing @nix { "action": "setPhase", "phase": "installPhase" } installing Executing pipInstallPhase /tmp/nix-build-python3.10-tensorflow-2.9.1.drv-0/dist /tmp/nix-build-python3.10-tensorflow-2.9.1.drv-0 Processing ./tensorflow_cpu-2.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Requirement already satisfied: six>=1.12.0 in /nix/store/qb8l07yw65mhmnvffvcn3sj0dnp7jww1-python3.10-six-1.16.0/lib/python3.10/site-packages (from tensorflo> Requirement already satisfied: termcolor>=1.1.0 in /nix/store/q685b9rgwpscrg4gdkc3j6wygsl9c1bd-python3.10-termcolor-2.0.1/lib/python3.10/site-packages (from> Requirement already satisfied: numpy>=1.20 in /nix/store/im3vjpskp1ismclgasz8466klyjiz0sr-python3.10-numpy-1.23.3/lib/python3.10/site-packages (from tensorf> Requirement already satisfied: grpcio<2.0,>=1.24.3 in /nix/store/kd0sy48r02vgpbmqd9nj0gn3765i0g0z-python3.10-grpcio-1.48.1/lib/python3.10/site-packages (fro> Requirement already satisfied: setuptools in /nix/store/3jb3dgp57429y07my17hnhbd5q9f1rm8-python3.10-setuptools-65.3.0/lib/python3.10/site-packages (from ten> Requirement already satisfied: typing-extensions>=3.6.6 in /nix/store/cyw1g8k4cx9sbhcriyrmn1cjpp3qk7wv-python3.10-typing-extensions-4.3.0/lib/python3.10/sit> ERROR: Could not find a version that satisfies the requirement tensorboard<2.10,>=2.9 (from tensorflow-cpu) (from versions: none) ERROR: No matching distribution found for tensorboard<2.10,>=2.9

FRidh commented 2 years ago

Please use the provided template when opening an issue.

We might want to revert the tensorboard upgrade made in f256380dc2d3ad45f2d7bee8ca7cfc4fa89df675 but it is up to the maintainers to decide.

PlumpMath commented 2 years ago

@FRidh Again I will try to register as a maintainer, so please do it. (I don't know how to use git and it's annoying, haha I have to watch the ms staff uncle's utop lecture again and follow it.) I will do my best to report bugs. In my life, there is only dev pleasure nix.

PlumpMath commented 2 years ago

error: builder for '/nix/store/cd3j3ilh7zfb4arxymc2gyf1h3l0w7rn-tensorflow-2.10.0-deps.tar.gz.drv' failed with exit code 1; last 10 log lines:

INFO: 0 processes. Analyzing: 2 targets (288 packages loaded, 4563 targets configured) currently loading: @local_config_rocm//rocm FAILED: Build did NOT complete successfully (288 packages loaded, 4563 targets\ configured) currently loading: @local_config_rocm//rocm FAILED: Build did NOT complete successfully (288 packages loaded, 4563 targets\ configured) currently loading: @local_config_rocm//rocm

For full logs, run 'nix log /nix/store/cd3j3ilh7zfb4arxymc2gyf1h3l0w7rn-tensorflow-2.10.0-deps.tar.gz.drv'. error: 1 dependencies of derivation '/nix/store/b0xavx8sl1abns5kwdny3mscahdqmp9d-tensorflow-2.10.0.drv' failed to build error: 1 dependencies of derivation '/nix/store/zfmr1smlyrm3plcwv3vzqlkxmfmmspdx-python3.10-tensorflow-2.10.0.drv' failed to build error: 1 dependencies of derivation '/nix/store/r487r9slxbv6yxbszwkvvajyjw503465-python3-3.10.7-env.drv' failed to build error: 1 dependencies of derivation '/nix/store/n12il73h96rc28baif56j517wlckpjli-system-applications.drv' failed to build error: 1 dependencies of derivation '/nix/store/z065vy58528a7zswgi5h3y7r2ns3fmky-darwin-system-22.11.20221004.d51fd78+darwin4.02d2551.drv' failed to build Already up-to-date.

PlumpMath commented 2 years ago

1 │ @nix { "action": "setPhase", "phase": "unpackPhase" } 2 │ unpacking sources 3 │ unpacking source archive /nix/store/mjknvlnj2v30yr3xb395180y41nkcqdh-source 4 │ source root is source 5 │ @nix { "action": "setPhase", "phase": "patchPhase" } 6 │ patching sources 7 │ @nix { "action": "setPhase", "phase": "configurePhase" } 8 │ configuring 9 │ patching script interpreter paths in configure 10 │ configure: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/8q570yrfxa7f2yslrqal1jscx79939dy-bash-5.1-p16/bin/bash" 11 │ You have bazel 5.2.0- (@non-git) installed. 12 │ Do you wish to build TensorFlow with ROCm support? [y/N]: No ROCm support will be enabled for TensorFlow. 13 │ 14 │ Do you wish to download a fresh release of clang? (Experimental) [y/N]: Clang will not be downloaded. 15 │ 16 │ Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -Wno-sign-compare]: 17 │ 18 │ Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: Not configuring the WORKSPACE for Android builds. 19 │ 20 │ Do you wish to build TensorFlow with iOS support? [y/N]: No iOS support will be enabled for TensorFlow. 21 │ 22 │ Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See .bazelrc for more details. 23 │ --config=mkl # Build with MKL support. 24 │ --config=mkl_aarch64 # Build with oneDNN and Compute Library for the Arm Architecture (ACL). 25 │ --config=monolithic # Config for mostly static monolithic build. 26 │ --config=numa # Build with NUMA support. 27 │ --config=dynamic_kernels # (Experimental) Build kernels into separate shared objects. 28 │ --config=v1 # Build with TensorFlow 1 API instead of TF 2 API. 29 │ Preconfigured Bazel build configs to DISABLE default on features: 30 │ --config=nogcp # Disable GCP support. 31 │ --config=nonccl # Disable NVIDIA NCCL support. 32 │ Configuration finished 33 │ @nix { "action": "setPhase", "phase": "buildPhase" } 34 │ building 35 │ Extracting Bazel installation... 36 │ INFO: Options provided by the client: 37 │ Inherited 'common' options: --isatty=1 --terminal_columns=0 38 │ INFO: Reading rc options for 'build' from /private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/source/.bazelrc: 39 │ Inherited 'common' options: --experimental_repo_remote_exec 40 │ INFO: Reading rc options for 'build' from /nix/store/mrk7bbl382pxknjidpxxl0dipihb8cp2-bazel-rc: 41 │ 'build' options: --distdir=/nix/store/kkmpl3h28lq7wwss647381n6dhiyxlcs-bazel-deps --extra_toolchains=@bazel_tools//tools/jdk:nonprebuilt_toolchain │ _definition --tool_java_runtime_version=local_jdk_11 --java_runtime_version=local_jdk_11 42 │ INFO: Reading rc options for 'build' from /private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/source/.bazelrc: 43 │ 'build' options: --define framework_shared_object=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=stan │ dalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --enable_platform_specificconfig --define=with │ xla_support=true --config=short_logs --config=v2 --define=no_aws_support=true --define=no_hdfs_support=true --experimental_cc_shared_library --exper │ imental_link_static_libraries_once=false 44 │ INFO: Reading rc options for 'build' from /private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/source/.tf_configure.bazelrc: 45 │ 'build' options: --action_env PYTHON_BIN_PATH=/nix/store/0lswmzqhh9mq3w2j11f08g2v41h2sbra-python3-3.10.7-env/bin/python3.10 --action_env PYTHON_LI │ B_PATH=/private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/site-packages --python_path=/nix/store/0lswmzqhh9mq3w2j11f08g2v41h2sbra-python3-3. │ 10.7-env/bin/python3.10 --define=with_xla_support=false --action_env TF_SYSTEM_LIBS=absl_py,astor_archive,astunparse_archive,boringssl,com_github_gr │ pc_grpc,com_google_protobuf,curl,cython,dill_archive,double_conversion,flatbuffers,functools32_archive,gast_archive,gif,hwloc,icu,jsoncpp_git,libjpe │ g_turbo,lmdb,nasm,opt_einsum_archive,org_sqlite,pasta,png,pybind11,six_archive,snappy,tblib_archive,termcolor_archive,typing_extensions_archive,wrap │ t,zlib --define=INCLUDEDIR=/nix/store/8zgm3rdzn79mzh7k9jzr5cz8avkqbczw-tensorflow-deps-merged/include --define=PROTOBUF_INCLUDE_PATH=/nix/store/9mw6 │ p3qs6r6s9k7zak0g3zycs1chdp2w-protobuf-3.21.6/include 46 │ INFO: Reading rc options for 'build' from /private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/source/.bazelrc: 47 │ 'build' options: --deleted_packages=tensorflow/compiler/mlir/tfrt,tensorflow/compiler/mlir/tfrt/benchmarks,tensorflow/compiler/mlir/tfrt/jit/pytho │ n_binding,tensorflow/compiler/mlir/tfrt/jit/transforms,tensorflow/compiler/mlir/tfrt/python_tests,tensorflow/compiler/mlir/tfrt/tests,tensorflow/com │ piler/mlir/tfrt/tests/ir,tensorflow/compiler/mlir/tfrt/tests/analysis,tensorflow/compiler/mlir/tfrt/tests/jit,tensorflow/compiler/mlir/tfrt/tests/lh │ lo_to_tfrt,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_jitrt,tensorflow/compiler/mlir/tfrt/tests/tf_to_corert,tensorflow/compiler/mlir/tfrt/tests/tf │ _to_tfrt_data,tensorflow/compiler/mlir/tfrt/tests/saved_model,tensorflow/compiler/mlir/tfrt/transforms/lhlo_gpu_to_tfrtgpu,tensorflow/core/runtime │ fallback,tensorflow/core/runtime_fallback/conversion,tensorflow/core/runtime_fallback/kernel,tensorflow/core/runtime_fallback/opdefs,tensorflow/core │ /runtime_fallback/runtime,tensorflow/core/runtime_fallback/util,tensorflow/core/tfrt/common,tensorflow/core/tfrt/eager,tensorflow/core/tfrt/eager/ba │ ckends/cpu,tensorflow/core/tfrt/eager/backends/gpu,tensorflow/core/tfrt/eager/core_runtime,tensorflow/core/tfrt/eager/cpp_tests/core_runtime,tensorf │ low/core/tfrt/gpu,tensorflow/core/tfrt/run_handler_thread_pool,tensorflow/core/tfrt/runtime,tensorflow/core/tfrt/saved_model,tensorflow/core/tfrt/gr │ aph_executor,tensorflow/core/tfrt/saved_model/tests,tensorflow/core/tfrt/tpu,tensorflow/core/tfrt/utils 48 │ INFO: Found applicable config definition build:short_logs in file /private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/source/.bazelrc: --outp │ ut_filter=DONT_MATCH_ANYTHING 49 │ INFO: Found applicable config definition build:v2 in file /private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/source/.bazelrc: --define=tf_ap │ i_version=2 --action_env=TF2_BEHAVIOR=1 50 │ INFO: Found applicable config definition build:macos in file /private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/source/.bazelrc: --apple_pla │ tform_type=macos --copt=-DGRPC_BAZEL_BUILD --copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --defi │ ne=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 51 │ WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/6ca793b5d862ef6c50f242d77a811f06cc │ e9b60a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found 128 │ WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/0538e5431afdb1fa05bdcedf70ee502ccfc │ d112a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found 891 │ WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/6b409ac0a3090ebe74d0cdfb494c4cd91485ad │ 39.zip failed: class java.io.FileNotFoundException GET returned 404 Not Found 1205 │ WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz failed: cla │ ss java.io.FileNotFoundException GET returned 404 Not Found 1251 │ INFO: Repository local_config_cc instantiated at: 1257 │ /DEFAULT.WORKSPACE.SUFFIX:519:13: in 1258 │ /private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/output/external/bazel_tools/tools/cpp/cc_configure.bzl:184:16: in cc_configure 1259 │ Repository rule cc_autoconf defined at: 1260 │ /private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/output/external/bazel_tools/tools/cpp/cc_configure.bzl:145:30: in 1261 │ ERROR: An error occurred during the fetch of repository 'local_config_cc': 1265 │ Traceback (most recent call last): 1266 │ File "/private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/output/external/bazel_tools/tools/cpp/cc_configure.bzl", line 127, column 33, i │ n cc_autoconf_impl 1267 │ configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools) 1268 │ File "/private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/output/external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 375, column │ 46, in configure_unix_toolchain 1269 │ overriden_tools["ar"] = _find_generic(repository_ctx, "libtool", "LIBTOOL", overriden_tools) 1270 │ File "/private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/output/external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 306, column │ 32, in _find_generic 1271 │ auto_configure_fail(msg) 1272 │ File "/private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/output/external/bazel_tools/tools/cpp/lib_cc_configure.bzl", line 112, column 9 │ , in auto_configure_fail 1273 │ fail("\n%sAuto-Configuration Error:%s %s\n" % (red, no_color, msg)) 1274 │ Error in fail: 1275 │ Auto-Configuration Error: Cannot find libtool or LIBTOOL; either correct your path or set the LIBTOOL environment variable 1276 │ ERROR: /DEFAULT.WORKSPACE.SUFFIX:519:13: fetching cc_autoconf rule //external:local_config_cc: Traceback (most recent call last): 1279 │ File "/private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/output/external/bazel_tools/tools/cpp/cc_configure.bzl", line 127, column 33, i │ n cc_autoconf_impl 1280 │ configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools) 1281 │ File "/private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/output/external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 375, column │ 46, in configure_unix_toolchain 1282 │ overriden_tools["ar"] = _find_generic(repository_ctx, "libtool", "LIBTOOL", overriden_tools) 1283 │ File "/private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/output/external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 306, column │ 32, in _find_generic 1284 │ auto_configure_fail(msg) 1285 │ File "/private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/output/external/bazel_tools/tools/cpp/lib_cc_configure.bzl", line 112, column 9 │ , in auto_configure_fail 1286 │ fail("\n%sAuto-Configuration Error:%s %s\n" % (red, no_color, msg)) 1287 │ Error in fail: 1288 │ Auto-Configuration Error: Cannot find libtool or LIBTOOL; either correct your path or set the LIBTOOL environment variable 1289 │ ERROR: /private/tmp/nix-build-tensorflow-2.10.0-deps.tar.gz.drv-1/source/tensorflow/lite/python/BUILD:68:10: //tensorflow/lite/python:tflite_convert │ depends on @local_config_cc//:cc-compiler-darwin in repository @local_config_cc which failed to fetch. no such package '@local_config_cc//': 1292 │ Auto-Configuration Error: Cannot find libtool or LIBTOOL; either correct your path or set the LIBTOOL environment variable 1293 │ ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted: 1296 │ INFO: Elapsed time: 156.677s 1299 │ INFO: 0 processes. 1302 │ FAILED: Build did NOT complete successfully (288 packages loaded, 4563 targets\ 1308 │ configured) 1309 │ currently loading: @local_config_rocm//rocm 1310 │

PlumpMath commented 2 years ago

I just downloaded the stable nixpkgs version and the build was successful.