{"action":"closed","issue":{"url":"https://api.github.com/repos/lukeiwanski/tensorflow/issues/247","repository_url":"https://api.github.com/repos/lukeiwanski/tensorflow","labels_url":"https://api.github.com/repos/lukeiwanski/tensorflow/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/lukeiwanski/tensorflow/issues/247/comments","events_url":"https://api.github.com/repos/lukeiwanski/tensorflow/issues/247/events","html_url":"https://github.com/lukeiwanski/tensorflow/issues/247","id":333866775,"node_id":"MDU6SXNzdWUzMzM4NjY3NzU=","number":247,"title":"Cannot compile, Illegal ambiguous match on configurable attribute \"deps\" in @jpeg//:jpeg:","user":{"login":"metal3d","id":100080,"node_id":"MDQ6VXNlcjEwMDA4MA==","avatar_url":"https://avatars0.githubusercontent.com/u/100080?v=4","gravatar_id":"","url":"https://api.github.com/users/metal3d","html_url":"https://github.com/metal3d","followers_url":"https://api.github.com/users/metal3d/followers","following_url":"https://api.github.com/users/metal3d/following{/other_user}","gists_url":"https://api.github.com/users/metal3d/gists{/gist_id}","starred_url":"https://api.github.com/users/metal3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metal3d/subscriptions","organizations_url":"https://api.github.com/users/metal3d/orgs","repos_url":"https://api.github.com/users/metal3d/repos","events_url":"https://api.github.com/users/metal3d/events{/privacy}","received_events_url":"https://api.github.com/users/metal3d/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-19T22:52:14Z","updated_at":"2018-06-20T07:56:07Z","closed_at":"2018-06-20T07:56:07Z","author_association":"NONE","body":"### System information\r\n- **Have I written custom code (as opposed to using a stock example script provided in TensorFlow)**:\r\nno\r\n- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**:\r\nUbuntu:latest (Docker)\r\n- **TensorFlow installed from (source or binary)**:\r\nsource\r\n- **TensorFlow version (use command below)**:\r\n1.6.0\r\n- **Python version**: \r\nPython 3.6.5\r\n- **Bazel version (if compiling from source)**:\r\n bazel version\r\nBuild label: 0.14.1\r\nBuild target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar\r\nBuild time: Fri Jun 8 12:17:35 2018 (1528460255)\r\nBuild timestamp: 1528460255\r\nBuild timestamp as int: 1528460255\r\n\r\n- **GCC/Compiler version (if compiling from source)**:\r\n\r\n\r\n### Describe the problem\r\nI'm trying to build 1.6.0 release from this repository, inside a ubuntu docker container (fedora doesn't provides gcc 6 and g++ 6)\r\n\r\nAfter having use ./configure given /usr/bin/python3 as python binary, see the following log.\r\n\r\nNote that I followed https://github.com/tensorflow/tensorflow/issues/18450 report that says to downgrade bazel and use GCC-6 and G++-6\r\n\r\n### Source code / logs\r\n```\r\nbazel build --config=opt //tensorflow/tools/pip_package:build_pip_package\r\nStarting local Bazel server and connecting to it...\r\n...........\r\nERROR: /root/.cache/bazel/_bazel_root/eab0d61a99b6696edb3d2aff87b585e8/external/jpeg/BUILD:126:12: Illegal ambiguous match on configurable attribute \"deps\" in @jpeg//:jpeg:\r\n@jpeg//:k8\r\n@jpeg//:armeabi-v7a\r\nMultiple matches are not allowed unless one is unambiguously more specialized.\r\nERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted: \r\n\r\n/root/.cache/bazel/_bazel_root/eab0d61a99b6696edb3d2aff87b585e8/external/jpeg/BUILD:126:12: Illegal ambiguous match on configurable attribute \"deps\" in @jpeg//:jpeg:\r\n@jpeg//:k8\r\n@jpeg//:armeabi-v7a\r\nMultiple matches are not allowed unless one is unambiguously more specialized.\r\nINFO: Elapsed time: 11.715s\r\nINFO: 0 processes.\r\nFAILED: Build did NOT complete successfully (127 packages loaded)\r\n    currently loading: tensorflow/core/kernels\r\n\r\n```\r\n\r\nbuild config\r\n```\r\ncat ../.tf_configure.bazelrc \r\nbuild --action_env PYTHON_BIN_PATH=\"/usr/bin/python3\"\r\nbuild --action_env PYTHON_LIB_PATH=\"/usr/lib/python3/dist-packages\"\r\nbuild --force_python=py3\r\nbuild --host_force_python=py3\r\nbuild --python_path=\"/usr/bin/python3\"\r\nbuild --define with_jemalloc=true\r\nbuild:gcp --define with_gcp_support=true\r\nbuild:hdfs --define with_hdfs_support=true\r\nbuild:s3 --define with_s3_support=true\r\nbuild:kafka --define with_kafka_support=true\r\nbuild:xla --define with_xla_support=true\r\nbuild:gdr --define with_gdr_support=true\r\nbuild:verbs --define with_verbs_support=true\r\nbuild --action_env TF_NEED_OPENCL_SYCL=\"1\"\r\nbuild --action_env HOST_CXX_COMPILER=\"/usr/bin/g++-6\"\r\nbuild --action_env HOST_C_COMPILER=\"/usr/bin/gcc-6\"\r\nbuild --action_env TF_NEED_COMPUTECPP=\"0\"\r\nbuild --action_env TRISYCL_INCLUDE_DIR=\"/usr/local/triSYCL/include\"\r\nbuild --action_env TF_USE_DOUBLE_SYCL=\"1\"\r\nbuild --action_env TF_USE_HALF_SYCL=\"0\"\r\nbuild --action_env TF_NEED_CUDA=\"0\"\r\nbuild --define grpc_no_ares=true\r\nbuild:opt --copt=-march=native\r\nbuild:opt --host_copt=-march=native\r\nbuild:opt --define with_default_optimizations=true\r\nbuild --copt=-DGEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK\r\nbuild --host_copt=-DGEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK\r\n\r\n```\r\n\r\n\r\n"}}
{"actor":{"display_login":"metal3d"}}