From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::108]) by sourceware.org (Postfix) with ESMTPS id 5D6B93854803 for ; Mon, 31 May 2021 09:05:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5D6B93854803 Received: from iva1-fcc2a0b4c175.qloud-c.yandex.net (iva1-fcc2a0b4c175.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:7ab:0:640:fcc2:a0b4]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 4332FB202BC; Mon, 31 May 2021 12:05:01 +0300 (MSK) Received: from iva8-a4a480c9f089.qloud-c.yandex.net (iva8-a4a480c9f089.qloud-c.yandex.net [2a02:6b8:c0c:da5:0:640:a4a4:80c9]) by iva1-fcc2a0b4c175.qloud-c.yandex.net (mxback/Yandex) with ESMTP id LCI0duW61Z-51JC9FLh; Mon, 31 May 2021 12:05:01 +0300 Received: by iva8-a4a480c9f089.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id wpTiJHfmLQ-50L4STts; Mon, 31 May 2021 12:05:00 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Mon, 31 May 2021 08:54:02 -0000 Date: Mon, 31 May 2021 11:54:01 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home Reply-To: cygwin@cygwin.com X-Priority: 3 (Normal) Message-ID: <508296605.20210531115401@yandex.ru> To: Lemures Lemniscati , cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated: lua-5.3.6-2 In-Reply-To: <20210531131205.7AFD.50F79699@gmail.com> References: <1104601526.20210531003857@yandex.ru> <20210531083054.2C12.50F79699@gmail.com> <20210531131205.7AFD.50F79699@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, KAM_THEBAT, NICE_REPLY_A, 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 09:05:06 -0000 Greetings, Lemures Lemniscati! > On Mon, 31 May 2021 08:30:56 +0900, Lemures Lemniscati >> On Mon, 31 May 2021 00:38:57 +0300, Andrey Repin via Cygwin >> > Greetings, Lemures Lemniscati via Cygwin-announce via Cygwin! >> > >> > > The following packages have been uploaded to the Cygwin distribution: >> > >> > > * lua-5.3.6-2 >> > > * liblua5.3-5.3.6-2 >> > > * liblua-devel-5.3.6-2 >> > >> > > * lua-5.3.6-2-src >> > > * lua-debuginfo-5.3.6-2 >> > >> > >> > > In this cygwin update, some files come with version number: >> > > e.g: lua5.3.exe, which is symlinked from lua by alternatives. >> > >> > 2021/05/29 18:02:19 running: C:\Programs\Cygwin_64\bin\bash.exe --norc --noprofile "/etc/postinstall/lua.sh" >> > bash.exe: warning: could not find /tmp, please create! >> > failed to read link /usr/bin/lua: No such file or directory >> > failed to link /usr/bin/lua -> /etc/alternatives/lua: No such file or directory >> > failed to link /usr/bin/luac -> /etc/alternatives/luac: No such file or directory >> > failed to link /usr/lib/liblua.dll.a -> /etc/alternatives/liblua.dll.a: No such file or directory >> > failed to link /usr/lib/pkgconfig/lua.pc -> /etc/alternatives/lua.pc: No such file or directory >> > failed to link /usr/share/man/man1/lua.1.gz -> /etc/alternatives/lua.1.gz: No such file or directory >> > failed to link /usr/share/man/man1/luac.1.gz -> /etc/alternatives/luac.1.gz: No such file or directory >> > 2021/05/29 18:02:19 abnormal exit: exit code=2 >> > >> > $ cygcheck -vf /etc/postinstall/lua.sh >> > /etc/postinstall/lua.sh: found in package lua-5.3.6-2 >> > >> >> Sorry, I cannot reproduce it yet. >> It seems weird that bash can not find /tmp. >> But, I don't know it is related to the issue. >> >> > bash.exe: warning: could not find /tmp, please create! > Sorry, I cannot reproduce it yet. > It seems weird that bash can not find /tmp. > But, I don't know it is related to the issue. I can't understand the /tmp issue either. This is from /etc/fstab : none /tmp usertemp binary,nouser,posix=1 0 0 > I've partially reproduced it by installing cygwin from scratch > and selecting base Category and lua-5.3.6-2. > Now, I've got a failure: > failed to link /usr/lib/pkgconfig/lua.pc -> /etc/alternatives/lua.pc: No such file or directory > It seems that a cause of the failure was that a directory > /usr/lib/pkgconfig > was not prepared at that time. > So, some of the failures pointed out might be avoidable, > by packaging empty directories into lua-5.3.6-* > usr/lib/pkgconfig/ > I'll try it. > But, this workaround will not enough in order to resolve all the failures... > Please, Andrey, describe more precisely how to reproduce. No good idea. My upgrade path was 5.3.5-1 -> 5.3.6-1 -> 5.3.6-2 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 -- With best regards, Andrey Repin Monday, May 31, 2021 11:17:02 Sorry for my terrible english...