This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
cygport chases symlink loop infintely
- From: Warren Young <warren at etr-usa dot com>
- To: Cygwin Apps List <cygwin-apps at cygwin dot com>
- Date: Wed, 04 Apr 2012 14:26:17 -0600
- Subject: cygport chases symlink loop infintely
There's something about the way I have one of my development systems set
up that causes Cygport to chase a symlink loop infinitely in the "Fixing
libtool modules:" step of "cygport install".
It apparently has something to do with the fact that the source for the
package in question lives under /usr/local/src, and I've symlinked src
into my home directory so I can "cd ~/src/somepackage".
If instead I "cd /usr/local/src/somepackage" and "cygport install" from
there, the install process completes successfully.
I've posted the relevant snippet of cygport's output when running under
bash -x here: http://pastebin.com/gLqgydPA
Notice the "dlname=..." and "readlink..." line pairs. Another "../"
gets added each time through the loop.
The problem can't be as simple as I've diagnosed it so far, because I
symlink /usr/local/src into my home directory on every one of my
systems, and I built a Cygport package on another of these systems just
a few days ago. So, there's got to be something more that's odd about
this particular build machine, but I don't see it.
I have a workaround for now, but it'd be nice to be able to keep cd'ing
through my ~/src symlink.