[MacPorts] #61165: reinteract: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/reinteract already exists and does not belong to a registered port

MacPorts noreply at macports.org
Fri Sep 11 21:49:01 UTC 2020


#61165: reinteract: Image error:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/reinteract
already exists and does not belong to a registered port
-------------------------+------------------------
  Reporter:  ryandesign  |      Owner:  ryandesign
      Type:  defect      |     Status:  accepted
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.3
Resolution:              |   Keywords:
      Port:  reinteract  |
-------------------------+------------------------
Changes (by ryandesign):

 * owner:  (none) => ryandesign
 * status:  new => accepted


Comment:

 There must be an adverse reaction between the python portgroup, whose
 default behavior is to create a symlink at /opt/local/bin/reinteract
 pointing to
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/reinteract,
 and the reinteract portfile, which has this block (and has had it since
 before the port started using the python portgroup):
 {{{
     post-destroot {
         xinstall ${worksrcpath}/bin/reinteract ${destroot}${prefix}/bin/
     }
 }}}

 Maybe this used to work back in 2012 when this port was last updated. The
 python portgroup has changed a lot since then.

 Actually I do see the problem on my 10.13 system when I build from source
 but not when I get the binary the buildbot created. Maybe there was a
 change in the python portgroup between November 2, 2018 when the last
 (private) archive was successfully created and now.

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


More information about the macports-tickets mailing list