Opened 7 years ago
Closed 7 years ago
#55931 closed defect (fixed)
postgresql91 @9.1.24_2: "port select" creates invalid links
Reported by: | chwx | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | Cc: | ||
Port: | postgresql84, postgresql90, postgresql91 |
Description
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.
Attachments (1)
Change History (4)
Changed 7 years ago by chwx
Attachment: | postgresql91 added |
---|
comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | postgresql84 postgresql90 added |
---|
This applies to postgresql84, postgresql90, and postgresql91. Their select files only have 33 lines, whereas the files from postgresql92 and later have 38 lines. The three wrong files need to be corrected, and the revisions of the ports need to be increased to cause those ports to be rebuilt.
comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Status: | new → accepted |
The problem was introduced in [c08949f7b44f36f9bf7210c925f7eb2e7ce16226/macports-ports].
comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
/opt/local/etc/select/postgresql/postgresql91