[MacPorts] #58038: py37-backports.weakref not found...

MacPorts noreply at macports.org
Mon Feb 11 10:35:46 UTC 2019


#58038: py37-backports.weakref not found...
-----------------------------------+--------------------------
  Reporter:  josephsacco           |      Owner:  emcrisostomo
      Type:  defect                |     Status:  assigned
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:
Resolution:                        |   Keywords:
      Port:  py-backports.weakref  |
-----------------------------------+--------------------------

Comment (by ptighin):

 Replying to [comment:2 reneeotten]:
 > that's my mistake... sorry about that! I fixed the installation issue
 for {{{py-backports.weakref}}} in [https://github.com/macports/macports-
 ports/commit/fd46f1b5af8005bff0b344df922da4c68e16e3e7 this commit], and
 intended to remove the py35/py36 subports as they are not needed since the
 functionality is introduced in Python 3.4. Instead I moved them to {{{py-
 graveyard}}} and now they are set to be {{{replaced_by
 py37-backports.weakref}}}, which (correctly) does not exist. I'll attempt
 to correct this later tonight!
 >
 > Either way, I assume you have this installed because of
 {{{py36-tensorflow}}}? If so, as a workaround for now you can do a {{{port
 upgrade py36-tensorflow}}} first and then you can uninstall
 {{{py36-backports.weakref}}}.

 Thanks for your prompt response Renee. I tried your workaround but I get
 an error:

 {{{
 xinstall: mkdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tensorboard/py36-tensorboard/work/destroot/opt/local/share/doc/py36-tensorboard
 xinstall: mkdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tensorboard/py36-tensorboard/work/destroot/opt/local/share/doc/py36-tensorboard/examples
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tensorboard/py36-tensorboard/work/tensorboard-1.12.0-py3-none-any" &&
 pip-3.6 install --no-cache-dir --no-dependencies --root
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tensorboard/py36-tensorboard/work/destroot
 /opt/local/var/macports/distfiles/py-tensorboard/tensorboard-1.12.0-py3
 -none-any.whl
 Processing /opt/local/var/macports/distfiles/py-
 tensorboard/tensorboard-1.12.0-py3-none-any.whl
 Installing collected packages: tensorboard
   Found existing installation: tensorboard 1.11.0
     Uninstalling tensorboard-1.11.0:
 Could not install packages due to an EnvironmentError: [Errno 1] Operation
 not permitted:
 '/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/tensorboard'

 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tensorboard/py36-tensorboard/work/tensorboard-1.12.0-py3-none-any" &&
 pip-3.6 install --no-cache-dir --no-dependencies --root
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tensorboard/py36-tensorboard/work/destroot
 /opt/local/var/macports/distfiles/py-tensorboard/tensorboard-1.12.0-py3
 -none-any.whl
 Exit code: 1
 Error: Failed to destroot py36-tensorboard: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tensorboard/py36-tensorboard/main.log for details.
 Error: Problem while installing py36-tensorboard
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

 Should I file another bug report?

 Petru

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


More information about the macports-tickets mailing list