This is the mail archive of the cygwin-apps 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 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:

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.

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