X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 25 Mar 2008 10:59:20 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Angelo Graziosi cc: cygwin AT cygwin DOT com Subject: Re: Wrong links? (Attn: netpbm, cvs, and webcheck maintainers) In-Reply-To: <47E90E44.2050402@alice.it> Message-ID: References: <47E90E44 DOT 2050402 AT alice DOT it> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, 25 Mar 2008, Angelo Graziosi wrote: > I have noticed that if I do 'ls -l /bin' > > I get the following wrong links: > > X11 -> ../X11R6/bin > > pnmnoraw -> pnmtoplainpnm.exe [1] > > rcs2log -> ../share/cvs/contrib/rcs2log > webcheck -> ../share/webcheck/webcheck.py > > > If I do 'ls -l /usr/bin', only [1] is still wrong, the remaining links > are OK. > > Regarding [1], 'pnmtoplainpnm.exe' does not exist, only 'pnmtoplainpnm' is > there, without '.exe'! [1] is a packaging error. pnmtoplainpnm is a bash script, and the link is in this form in the binary tarball. > Is this different behaviour ('ls -l /bin' / 'ls -l /usr/bin') to be > expected? Well, yes. Since the links are relative, doing "ls -l /bin" will attempt to find the files in /share, which doesn't exist. These are also packaging errors because, again, the links exist in the relative form in the binary tarballs (I've only checked the cvs tarball, but I assume webcheck has the same issue). This may be a cygport bug as well. Good catch. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "That which is hateful to you, do not do to your neighbor. That is the whole Torah; the rest is commentary. Go and study it." -- Rabbi Hillel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/