[MacPorts] #62685: py39-tensorflow +native : dependencies are broken

MacPorts noreply at macports.org
Tue Apr 13 16:23:38 UTC 2021


#62685: py39-tensorflow +native : dependencies are broken
------------------------------+------------------------------------
  Reporter:  mouse07410       |      Owner:  Chris Jones <jonesc@…>
      Type:  defect           |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:  fixed            |   Keywords:
      Port:  py39-tensorflow  |
------------------------------+------------------------------------

Comment (by mouse07410):

 With the fix applied - {{{py39-tensorflow-addons}}} fails to configure:
 {{{
 $ sudo port install py39-tensorflow-addons +native
 Enter PIN for 'Certificate For PIV Authentication :
 Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not
 build correctly.
 Warning: You can install it as part of the Xcode Command Line Tools
 package by running `xcode-select --install'.
 --->  Computing dependencies for py39-tensorflow-addons
 --->  Configuring py39-tensorflow-addons
 Error: Failed to configure py39-tensorflow-addons: configure failure:
 command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-tensorflow-addons/py39-tensorflow-
 addons/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port py39-tensorflow-addons failed
 }}}

 Does not matter whether {{{+native}}} is added or not.

 From the log:
 {{{
 :debug:configure
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
 :info:configure Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-tensorflow-addons/py39-tensorflow-
 addons/work/addons-0.12.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
 configure.py
 :debug:configure system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-tensorflow-addons/py39-tensorflow-
 addons/work/addons-0.12.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
 configure.py
 :info:configure Traceback (most recent call last):
 :info:configure   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-tensorflow-addons/py39-tensorflow-
 addons/work/tensorflow-addons-1e05eb9/configure.py", line 24, in <module>
 :info:configure     import tensorflow as tf
 :info:configure ModuleNotFoundError: No module named 'tensorflow'
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-tensorflow-addons/py39-tensorflow-
 addons/work/addons-0.12.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
 configure.py
 :info:configure Exit code: 1
 :error:configure Failed to configure py39-tensorflow-addons: configure
 failure: command execution failed
 }}}

 Complete log attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/62685#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list