[MacPorts] #21877: bash-completion needs gnu readlink, not bsd
MacPorts
noreply at macports.org
Sat Oct 10 17:29:11 PDT 2009
#21877: bash-completion needs gnu readlink, not bsd
----------------------------------+-----------------------------------------
Reporter: andrew@… | Owner: raimue@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: coreutils readlink | Port: bash-completion
----------------------------------+-----------------------------------------
Comment(by adfernandes@…):
Replying to [comment:3 raimue@…]:
> Actually this should not happen at all. `type -p` is a bash builtin
returns the real path for the given command. As that is supposed to return
the correct path before it even tries to use readlink, I don't understand
how to reproduce the issue...
>
> Could you please share the output of `ls -la /opt/local/bin/vncviewer`?
Of course! You know, this is very weird, because there are no links
involved in vncviewer as far as I can tell; then again, I'm not sure how
bash-completion does its magic... I double-checked, reverting and re-
installing, and for me, at least, the behaviour is reproducible.
(I'm the original reporter, BTW... my macports handle changed in the past
couple days.)
{{{
Last login: Sat Oct 10 16:17:08 on ttys002
Assam:~ andrew$ ls -la /opt/local/bin/vncviewer
104 -r-xr-xr-x 2 root admin 104088 7 Apr 2009
/opt/local/bin/vncviewer*
Assam:~ andrew$ type vncviewer
vncviewer is /opt/local/bin/vncviewer
Assam:~ andrew$ port provides /opt/local/bin/vncviewer
/opt/local/bin/vncviewer is provided by: tightvnc
Assam:~ andrew$ port contents tightvnc
Port tightvnc contains:
/opt/local/bin/vncviewer
/opt/local/share/man/man1/vncviewer.1.gz
/opt/local/share/vnc/classes/AuthPanel.class
/opt/local/share/vnc/classes/ButtonPanel.class
/opt/local/share/vnc/classes/CapabilityInfo.class
/opt/local/share/vnc/classes/CapsContainer.class
/opt/local/share/vnc/classes/ClipboardFrame.class
/opt/local/share/vnc/classes/DesCipher.class
/opt/local/share/vnc/classes/index.vnc
/opt/local/share/vnc/classes/InStream.class
/opt/local/share/vnc/classes/MemInStream.class
/opt/local/share/vnc/classes/OptionsFrame.class
/opt/local/share/vnc/classes/RecordingFrame.class
/opt/local/share/vnc/classes/ReloginPanel.class
/opt/local/share/vnc/classes/RfbProto.class
/opt/local/share/vnc/classes/SessionRecorder.class
/opt/local/share/vnc/classes/SocketFactory.class
/opt/local/share/vnc/classes/VncCanvas.class
/opt/local/share/vnc/classes/VncCanvas2.class
/opt/local/share/vnc/classes/VncViewer.class
/opt/local/share/vnc/classes/VncViewer.jar
/opt/local/share/vnc/classes/ZlibInStream.class
Assam:~ andrew$
}}}
--
Ticket URL: <http://trac.macports.org/ticket/21877#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list