[MacPorts] #57510: postgresql11 port conflicts with postgresql10

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #57510: postgresql11 port conflicts with postgresql10

MacPorts
#57510: postgresql11 port conflicts with postgresql10
----------------------+--------------------------
 Reporter:  alexius2  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.5.4
 Keywords:            |       Port:  postgresql11
----------------------+--------------------------
 Hello,

 I couldn't install postgresql11 port when postgresql10 is installed (I
 need both):

 {{{
 Error: Failed to activate postgresql11: Image error: /opt/local/bin/psql10
 is being used by the active postgresql10 port.  Please deactivate this
 port first, or use 'port -f activate postgresql11' to force the
 activation.
 }}}



 Probably need to change line in PORTFILE:

 {{{
 post-destroot {
     system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql
 psql10"
 }}}


 to psql11 and rename file bin/psql10 to psql11 and patch CONTENTS file.

 I tried all that locally but still got:

 {{{
 Failed to activate postgresql11: Image error: Source file
 /opt/local/var/macports/software/postgresql11/mpextractF6ie984I/opt/local/bin/psql10
 does not appear to exist (cannot lstat it).  Unable to activate port
 postgresql11.
 }}}


 Perhaps I missed something about how ports work.

--
Ticket URL: <https://trac.macports.org/ticket/57510>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57510: postgresql11 port conflicts with postgresql10

MacPorts
#57510: postgresql11 port conflicts with postgresql10
---------------------------+----------------------------
  Reporter:  alexius2      |      Owner:  jyrkiwahlstedt
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.5.4
Resolution:                |   Keywords:
      Port:  postgresql11  |
---------------------------+----------------------------
Changes (by alexius2):

 * owner:  (none) => jyrkiwahlstedt
 * status:  new => assigned


--
Ticket URL: <https://trac.macports.org/ticket/57510#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57510: postgresql11 port conflicts with postgresql10

MacPorts
In reply to this post by MacPorts
#57510: postgresql11 port conflicts with postgresql10
---------------------------+----------------------------
  Reporter:  alexius2      |      Owner:  jyrkiwahlstedt
      Type:  defect        |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.5.4
Resolution:  fixed         |   Keywords:
      Port:  postgresql11  |
---------------------------+----------------------------
Changes (by Jyrki Wahlstedt <jyrki.wahlstedt@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"20ff6202ce83460e4dc91f7a68b8c65fdfc3279a/macports-ports"
 20ff6202ce83460e4dc91f7a68b8c65fdfc3279a/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="20ff6202ce83460e4dc91f7a68b8c65fdfc3279a"
 postgresql11: fixing an omission, previous version was still in one place

 Closes: https://trac.macports.org/ticket/57510
 }}}

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