Opened 3 years ago

Closed 20 months ago

#61537 closed defect (fixed)

gindent @2.2.12 binary port contains faulty symbolic links

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: gindent

Description

pete 407 /\ l -L /opt/local/bin
gls: Zugriff auf '/opt/local/bin/gnutexinfo2man' nicht möglich: No such file or directory

The install log contains:

x ./opt/local/libexec/gnubin/indent
x ./opt/local/libexec/gnubin/texinfo2man
x ./opt/local/bin/gnutexinfo2man
x ./opt/local/bin/gnuindent
x ./opt/local/bin/gindent

and

DEBUG: activating file: /opt/local/bin/gindent
DEBUG: activating file: /opt/local/bin/gnuindent
DEBUG: activating file: /opt/local/bin/gnutexinfo2man
DEBUG: activating file: /opt/local/libexec/gnubin/indent
DEBUG: activating file: /opt/local/libexec/gnubin/texinfo2man

and finally

DEBUG: Updating binary flag for file 1 of 2: /opt/local/bin/gnutexinfo2man
DEBUG: Updating binary flag for file 2 of 2: /opt/local/libexec/gnubin/texinfo2man

Result is:

pete 559 /\ l -L /opt/local/libexec/gnubin/{indent,texinfo2man}
-rwxr-xr-x  1 root  admin  109624 17 Nov 17:56 /opt/local/libexec/gnubin/indent
lrwxr-xr-x  1 root  admin      22 17 Nov 17:56 /opt/local/libexec/gnubin/texinfo2man -> ../../bin/gtexinfo2man
ls: texinfo2man: No such file or directory
Exit 1
pete 560 /\ l -L /opt/local/bin/{gnutexinfo2man,gnuindent,gindent}
-rwxr-xr-x  1 root  admin  109624 17 Nov 17:56 /opt/local/bin/gindent
-rwxr-xr-x  1 root  admin  109624 17 Nov 17:56 /opt/local/bin/gnuindent
lrwxr-xr-x  1 root  admin      12 17 Nov 17:56 /opt/local/bin/gnutexinfo2man -> gtexinfo2man
ls: gnutexinfo2man: No such file or directory
Exit 1

When installing from source the result is the same faulty installation.

Change History (4)

comment:1 Changed 3 years ago by mf2k (Frank Schima)

Cc: larryv@… removed
Keywords: bigsur removed
Owner: set to larryv
Status: newassigned

comment:2 Changed 23 months ago by ballapete (Peter "Pete" Dyballa)

gls -lL `port -q contents gindent` | egrep '^gls' shows on macOS High Sierra, Version 10.13.6 the same faulty sym-links.

comment:3 Changed 20 months ago by larryv (Lawrence Velázquez)

Status: assignedaccepted

I'd left the dangling symlinks intentionally to maintain backward compatibility after changing the program prefix, but it's probably time to just get rid of them.

comment:4 Changed 20 months ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: acceptedclosed

In 56784a553b10c926048575cfa13202131a18f2e5/macports-ports (master):

gindent: Remove extra symlinks

The compatibility links are well past their expiration date, and one of
the gnubin links points to an executable that doesn't get installed
anymore (if it ever did get installed).

See: 40c2cea1504636836844ce5b5aa3e0bf7da2a2f2/macports-ports
Closes: #61537

Note: See TracTickets for help on using tickets.