cygport chases symlink loop infintely
Wed Apr 4 20:26:00 GMT 2012
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.
More information about the Cygwin-apps