www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/25/11:09:46

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <47E92203.2080807@alice.it>
Date: Tue, 25 Mar 2008 17:02:11 +0100
From: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Wrong links? (Attn: netpbm, cvs, terminfo, and webcheck maintainers)
References: <47E90E44 DOT 2050402 AT alice DOT it> <Pine DOT GSO DOT 4 DOT 63 DOT 0803251051080 DOT 5186 AT access1 DOT cims DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.63.0803251051080.5186@access1.cims.nyu.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Note-from-DJ: This may be spam

Igor Peshansky ha scritto:
> 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

Also 'ls -l /lib' / 'ls -l /usr/lib' shows something similar with:

X11 -> ../X11R6/lib/X11
terminfo -> ../share/terminfo


Angelo.


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019