From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by sourceware.org (Postfix) with ESMTPS id 98B713858D37 for ; Mon, 13 Jul 2020 16:18:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 98B713858D37 Received: by mail-io1-xd44.google.com with SMTP id y2so14098937ioy.3 for ; Mon, 13 Jul 2020 09:18:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=mc4BEXhbarRB+q0qDEHnaTSOlE9gfQKmQFLDXjboYOQ=; b=XQKCdJeokjSm48SUYZkUy0QaD2TTgc1oBkrhe0MpnQ/lqkvaNVO/LTRPp1oiwtH/9N BYbNPvkomKm2Q3qMUetM3m4ukaw/xStuaFJGnvuTg3OjuK0dnEC/yTsEDPFNAYJ5xRFZ Q6c8HMj41iX8wjhfEGOTl6uCfmsceiEvgfZURrxHCVmFsnGV38MBd4WetRQc6m8YdCxf ooRLHna9K2XmAf60STyJR1wBrayWw8SU3yYEr5BcL9TxUvLHMymLLkUgKyx+e8YU1vnt 8YzIdH9b8A44d43k5eMOYlnafqlJswqk9ydGcVPqGWLOppm2rfurBB5A+IpipfRelWnB K0Tg== X-Gm-Message-State: AOAM533ZmVFqJIZXul/wkXwBqCIEVyqu+s7/H0CH2Wr3lf/6NxiizrIu AR/cvjXPMhVdMcLnsmhy/U9zXKpH7KREA+19DRfKo9roBjI= X-Google-Smtp-Source: ABdhPJxqVVXAfmG9aQ+U68ET9dXIqPwxIGPhkvwPsCqH62KimJMUNy2fARE02ZpHtSJwmNmWDKdNBI2S+bZ0DhUL4hU= X-Received: by 2002:a6b:e812:: with SMTP id f18mr499414ioh.54.1594657109706; Mon, 13 Jul 2020 09:18:29 -0700 (PDT) MIME-Version: 1.0 References: <20200713131116.18339-1-Brian.Inglis@SystematicSW.ab.ca> In-Reply-To: <20200713131116.18339-1-Brian.Inglis@SystematicSW.ab.ca> From: Doug Henderson Date: Mon, 13 Jul 2020 10:18:17 -0600 Message-ID: Subject: Re: [PATCH] cygport install infinite loop when symlink in path To: Cygwin Apps X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, HK_RANDOM_ENVFROM, HK_RANDOM_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2020 16:18:31 -0000 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