delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/07/06/17:55:32

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=ouK
AmjxvtSwaa4JHk12NPJFZrYxLzd7EhHi8+qeyd7kHpWMolD4FsYj14Om7EyqsClE
n6z4uUKPz0BIWP1ZtU0uCK0AvANb9b+wjiYxSSqwj+Er9Ti7DRjRHuXQhqMjMsUS
U9UAaww2ZcXIzvBBIW7twSr/we3373WN6sWxEbwo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=YNaQhrOQc
ttYES5z5PdVppyBatk=; b=sqHU/ZIu7MOMwmORZ+3QUtM6NyxD6iQbb0dG+Yka6
SAryQ3N955l0WPWRGbWOAVybHtAcgAgcZ/Sm6WhNz9Tv2pcwHEHGkRE2hvtqHyL7
uDvln8Qz85Z2qtUuJAruf8q7MZUu0EfpksDZbVc8ZOLHZpbH3Ce2yA5wWH59m0xV
UY=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f52.google.com
X-Received: by 10.180.95.136 with SMTP id dk8mr1626170wib.8.1404683709189; Sun, 06 Jul 2014 14:55:09 -0700 (PDT)
Message-ID: <53B9C5B7.7050203@gmail.com>
Date: Sun, 06 Jul 2014 23:55:03 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: cygport bug on installl
X-IsSubscribed: yes

Hi Yaakov,
just found a curious bug on cygport during install phase.

during the install phase the expected behavior is

--------------------------------
Fixing symlinks:
Fixing libtool modules:
Stripping executables:
         usr/bin/cygglpk-36.dll
         usr/bin/glpsol.exe
Preparing debuginfo source files:
         145 files
Preparing executables for UAC:
---------------------------------

However if the first level directory is a symlink

$ ls -l /pub
lrwxrwxrwx 1 marco Administrators 19 Jun 26 19:07 /pub -> 
/cygdrive/e/cyg_pub

the install phase never complete.
 From debug I see a that the dlname test fails as
the left term expands the symlink but the left term does not.

+ '[' /cygdrive/e/cyg_pub/devel/glpk/32bit/prova '!=' 
/pub/devel/glpk/32bit/prova/glpk-4.54-1/inst/usr ']'
+ dlname=../../../../../bin/cygglpk-36.dll
++ readlink -f usr/lib/../../../../..
++ __host_prefix
++ local prefix sysroot
++ inherited cross
++ local class
++ local classname
++ for class in '"$@"'
++ classname=cross
++ defined _cross_CYGCLASS_
++ ((  1 != 1  ))
++ '[' -n '' ']'
++ return 1
++ return 1
++ sysroot=
++ case ${CHOST} in
++ prefix=/usr
++ echo -n /usr
+ '[' /cygdrive/e/cyg_pub/devel/glpk/32bit '!=' 
/pub/devel/glpk/32bit/prova/glpk-4.54-1/inst/usr ']'
+ dlname=../../../../../../bin/cygglpk-36.dll
++ readlink -f usr/lib/../../../../../..

and go on...

Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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