Opened 5 years ago

Closed 5 years ago

#58931 closed defect (invalid)

py35-tensorflow @1.14.0 build failure

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: emcrisostomo (Enrico Maria Crisostomo)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cjones051073 (Chris Jones)
Port: py-tensorflow

Description

py35-tensorflow fails to build. Here are some of the errors from the log that might be relevant:

ERROR: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-tensorflow/py35-tensorflow/work/tensorflow-1.14.0/tensorflow/BUILD:742:1: Executing genrule //tensorflow:tf_python_api_gen_v1 failed (Exit 1)
Traceback (most recent call last):
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-tensorflow/py35-tensorflow/work/3ccdd86bf1329a8ce8b0012a94de44dd/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/create_tensorflow.python_api_1_tf_python_api_gen_v1.runfiles/org_tensorflow/tensorflow/python/tools/api/generator/create_python_api.py", line 27, in <module>
    from tensorflow.python.tools.api.generator import doc_srcs
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-tensorflow/py35-tensorflow/work/3ccdd86bf1329a8ce8b0012a94de44dd/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/create_tensorflow.python_api_1_tf_python_api_gen_v1.runfiles/org_tensorflow/tensorflow/python/__init__.py", line 83, in <module>
    from tensorflow.python import keras
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-tensorflow/py35-tensorflow/work/3ccdd86bf1329a8ce8b0012a94de44dd/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/create_tensorflow.python_api_1_tf_python_api_gen_v1.runfiles/org_tensorflow/tensorflow/python/keras/__init__.py", line 27, in <module>
    from tensorflow.python.keras import applications
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-tensorflow/py35-tensorflow/work/3ccdd86bf1329a8ce8b0012a94de44dd/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/create_tensorflow.python_api_1_tf_python_api_gen_v1.runfiles/org_tensorflow/tensorflow/python/keras/applications/__init__.py", line 81, in <module>
    from tensorflow.python.keras.applications.nasnet import NASNetLarge
ImportError: No module named 'tensorflow.python.keras.applications.nasnet'
FAILED: Build did NOT complete successfully

It takes 2 hours of building on the buildbot before it reaches this failure. This is terrible because it means that every little change to the port, even one that shouldn't affect the ability of the port to build, triggers a new build of this subport which makes the buildbot unavailable for other builds for 2 hours. If this build problem can be fixed, great, otherwise please remove this subport or cause it to error out early so that the buildbot is not blocked.

Change History (1)

comment:1 Changed 5 years ago by cjones051073 (Chris Jones)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.