[MacPorts] #55931: postgresql91 @9.1.24_2: "port select" creates invalid links
MacPorts
noreply at macports.org
Fri Mar 2 08:33:16 UTC 2018
#55931: postgresql91 @9.1.24_2: "port select" creates invalid links
--------------------+--------------------------
Reporter: chwx | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Keywords: | Port: postgresql91
--------------------+--------------------------
When selecting the postgresql91 port, some links created in /opt/local/bin
are missing or wrong.
E.g.:
{{{
$ sudo port -d select --set postgresql postgresql91
}}}
output (wrong):
{{{
...
DEBUG: ln -sf /opt/local/lib/postgresql91/bin/pg_resetxlog
/opt/local/bin/pg_resetwal
...
}}}
Correct output would be:
{{{
...
DEBUG: ln -sf /opt/local/lib/postgresql91/bin/pg_resetxlog
/opt/local/bin/pg_resetxlog
...
}}}
It seem to me that the file
/opt/local/etc/select/postgresql/postgresql91
contains a wrong number of lines consisting of a single "-" character. I
attached a corrected version of that file which works correctly for me.
My OS is macOS High Sierra.
--
Ticket URL: <https://trac.macports.org/ticket/55931>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list