X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CB4963896819
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1622434336;
	bh=xakbg/6ELytBx30sV3OAbfXVCFFYDiX+b0WnelDuJBk=;
	h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=a9uInmefHO8g++p9r3/FWAhnImNyivafqYm3isFjeRKkyIRgEnaAHVfqkHQ62iSvf
	 2c+apBilfPfaJ0ga7FYudqbspWKJo1IsMYa0w37dXh0we21zb6n7jCuEkaR8wKuq75
	 +ANi6OeNCybjKD+nOxG9BpCohTLS4usas5g9a/As=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6AA7A3851C2C
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=Vjr7bNO8I3tnQjMpEbj1Q2R1ZeHUQfze2mMCTnNCt7E=;
 b=gPYyWUHc8Q/QwFIAENTnUjvSRe+AIoXeFqoeTqG09MBcaJ0ui+y5QrbmbacqUm5yy1
 wEpzdVEfBfpZcjW7mztC0i3ITKyCB8jWjd77vj0rNHCWbNTQh8NEZI3e4k+rxz4xudmC
 fWj7vYNJdoaZNaQu4fVlpqouAqFgtNIA13zNgR651LDVaqcTidmSJ3QUW9FPdps9SvYP
 kNah0IxGvuTELdVvvNpjaXkQGoXGsplrZEc5EttqhvdtzodWbvR2RpKqsvGNuUvIHsdk
 WvENA8Y055n2YPvhG+Al0ItaKD6fasONZSe4rUdDs45HYhmMMKCBKvWHhWy5dIYWHh0V
 pSQg==
X-Gm-Message-State: AOAM532Rmv8fYIr6sT2+HYNB8L9bSdK8KX6Ji9DmtT/VpTJBUVmHpHjS
 XrnUiFpPH/ioM9oZKWW+NATfZchgmnc=
X-Google-Smtp-Source: ABdhPJwZhKudfalAFLPwyRIj+suveZS4FVphVESGmPtxAbjVxpa5IDnGRJwM8dDwVGIKhbs8xQkAdg==
X-Received: by 2002:a63:5448:: with SMTP id e8mr20871170pgm.170.1622434329441; 
 Sun, 30 May 2021 21:12:09 -0700 (PDT)
Date: Mon, 31 May 2021 13:12:08 +0900
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: lua-5.3.6-2
In-Reply-To: <20210531083054.2C12.50F79699@gmail.com>
References: <1104601526.20210531003857@yandex.ru>
 <20210531083054.2C12.50F79699@gmail.com>
Message-Id: <20210531131205.7AFD.50F79699@gmail.com>
MIME-Version: 1.0
X-Mailer: Becky! ver. 2.75.01 [ja]
X-Antivirus: Avast (VPS 210529-0, 2021/05/29), 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Lemures Lemniscati via Cygwin <cygwin@cygwin.com>
Reply-To: Lemures Lemniscati <lemures.lemniscati@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

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!

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.

Lem

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
