[PATCH] cygport install infinite loop when symlink in path

Doug Henderson djndnbvg@gmail.com
Mon Jul 13 16:18:17 GMT 2020


On Mon, 13 Jul 2020 at 07:13, Brian Inglis <> wrote:

> src_postinstall(_prep_libtool_modules): infinite loop when symlink in path
> added readlink to also resolve symlinks in path to DEST host prefix
> ---
>  lib/src_postinst.cygpart | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>

Brian,

Please check that this patch works properly when
CYGWIN=winsymlinks:nativestrict

I have encountered problems when running cygport with this setting due to
the different behavior of unix symlinks and windows symlinks vis-a-vis
attempting to create a symlink that points to a non-existent location. [
https://cygwin.com/cygwin-ug-net/using-cygwinenv.html]

My simplistic solution was to force CYGWIN=winsymlinks.native in the
.cygport file.

Thanks,
Doug

-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.com


More information about the Cygwin-apps mailing list