This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygport bug on installl


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]