[MacPorts] #58931: py35-tensorflow @1.14.0 build failure

MacPorts noreply at macports.org
Thu Sep 5 02:10:52 UTC 2019


#58931: py35-tensorflow @1.14.0 build failure
------------------------+---------------------------
 Reporter:  ryandesign  |      Owner:  emcrisostomo
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  py-tensorflow
------------------------+---------------------------
 [https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/37502
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/58931>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list