From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by sourceware.org (Postfix) with ESMTPS id 677ED386182B for ; Mon, 31 May 2021 10:41:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 677ED386182B Received: by mail-pj1-x1029.google.com with SMTP id pi6-20020a17090b1e46b029015cec51d7cdso6478909pjb.5 for ; Mon, 31 May 2021 03:41:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:in-reply-to:references :message-id:mime-version:content-transfer-encoding; bh=4bv3SS6gzJEnx7N1AYXNaS5G/dr6nKMqNAJogVuKTvY=; b=K3a/T5ky5gjyoRRMyu6zYAh+aWaS8HbMqM2xBgdnY7/SGI96Mg5q0piMH41+4mNOF7 xfQnn4Xb4kYgcglSxsh26HeQ2aF1KdUEhWkA/eedHyVDtl0155Ps2O4e+wKAmTwRE3xf fvgGknxSejza4VSaedhPuv8MtIA+q6slmRih7iEqfoBbgOepBIAxWwOmckvrltJ9gk8R 0S4usqeGohehztOrTbhrY4XhxxiI18mSsRgFKhAiQ93UzHzHe0rrXmvQukeDVvCzy87+ 7dSnVqvBuZuKefNcraEki/h6YNvvUERBZUoCJusi1aT8uCkihJkR1xiC8tauI0OtI5Rf iTMg== X-Gm-Message-State: AOAM533QezImOElYd4lDv/RAFEj8h0QBklS3SeFFIcroWlkUUAt4OjwM uLUQhjJEYr56QMs/Cw+9Pz9z/8UXS3A= X-Google-Smtp-Source: ABdhPJwR/ULQ0n4EDmDvAHLlCAfHmEDxiHtPLMJKXYkTiOOOqyJEVk1iqcDRO83biyR5q/JgEBbNIA== X-Received: by 2002:a17:902:ea0c:b029:f0:af3d:c5d6 with SMTP id s12-20020a170902ea0cb02900f0af3dc5d6mr19612853plg.45.1622457677391; Mon, 31 May 2021 03:41:17 -0700 (PDT) Received: from [172.26.80.1] ([2400:2411:aa20:4300:f0de:ddcf:7b1c:3667]) by smtp.gmail.com with ESMTPSA id w59sm1535858pjj.13.2021.05.31.03.41.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 May 2021 03:41:16 -0700 (PDT) Date: Mon, 31 May 2021 19:41:17 +0900 From: Lemures Lemniscati To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated: lua-5.3.6-2 In-Reply-To: <354617499.20210531122659@yandex.ru> References: <508296605.20210531115401@yandex.ru> <354617499.20210531122659@yandex.ru> Message-Id: <20210531194115.2C19.50F79699@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.75.04 [ja] X-Antivirus: Avast (VPS 210531-2, 2021/05/31), Outbound message X-Antivirus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, 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 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2021 10:41:19 -0000 On Mon, 31 May 2021 12:26:59 +0300, Andrey Repin via Cygwin > Greetings, Andrey Repin via Cygwin! > > > Trying to follow manually > > > # /usr/sbin/alternatives --install /usr/bin/lua lua /usr/bin/lua5.3 503 --verbose --test > > reading /var/lib/alternatives/lua > > auto > > /usr/bin/lua > > > /usr/bin/lua5.3 > > 503 > > would link /usr/bin/lua -> /etc/alternatives/lua > > would link /etc/alternatives/lua -> /usr/bin/lua5.3 > > > It seems "alternatives" is trying to create links to nonexistent files. > > Which is not possible under Windows. > > > Manually creating source link let the thing go > > > # ln -fsT /usr/bin/lua5.3 /etc/alternatives/lua > > # /usr/sbin/alternatives --install /usr/bin/lua lua /usr/bin/lua5.3 503 --verbose > > reading /var/lib/alternatives/lua > > Err, though I've included that in the reply, but it seems I was distracted at > the moment. > > CYGWIN=wincmdln winsymlinks:nativestrict glob:ignorecase > Thank you, Andrey Repin. I didn't know about an option 'winsymlinks' [1]. [1]: https://cygwin.com/cygwin-ug-net/using-cygwinenv.html#cygwinenv-implemented-options I think I've understood necessity to avoid making symlinks to non-existent files. I'll modify postinstall/preremove scripts. Regards, Lem