[ANNOUNCEMENT] Updated: lua-5.3.6-2

Lemures Lemniscati lemures.lemniscati@gmail.com
Mon May 31 04:12:08 GMT 2021


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


More information about the Cygwin mailing list