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!


The contents of /etc/postinstall/lua.sh in package lua-5.3.6-2 is

$ cat /etc/postinstall/lua.sh.done
/usr/sbin/alternatives \
  --install /usr/bin/lua lua /usr/bin/lua5.3 503 \
  --slave /usr/bin/luac luac /usr/bin/luac5.3 \
  --slave /usr/share/man/man1/lua.1.gz lua.1.gz /usr/share/man/man1/lua5.3.1.gz 
\
  --slave /usr/share/man/man1/luac.1.gz luac.1.gz 
/usr/share/man/man1/luac5.3.1.gz \
  --slave /usr/lib/liblua.dll.a liblua.dll.a /usr/lib/liblua5.3.dll.a \
  --slave /usr/lib/pkgconfig/lua.pc lua.pc /usr/lib/pkgconfig/lua5.3.pc \
;


And this is a part of my /var/log/setup.log.full
when I update lua from lua-5.3.6-1 to lua-5.3.6-2
(no warning about /tmp and  /etc/postinstall/lua.sh seems to work well)
---
...
Rebasing with list /var/cache/rebase/rebase_all, built from 
/var/cache/rebase/rebase_lst /var/cache/rebase/rebase_dyn 
/var/cache/rebase/rebase_user.
2021/05/31 07:58:34 running: C:\cygwin64\bin\dash.exe 
"/etc/postinstall/0p_texlive_prep.dash"
2021/05/31 07:58:34 running: C:\cygwin64\bin\dash.exe 
"/etc/postinstall/0p_update-info-dir.dash"
2021/05/31 07:58:36 running: C:\cygwin64\bin\bash.exe --norc --noprofile 
"/etc/postinstall/lua.sh"
2021/05/31 07:58:37 running: C:\cygwin64\bin\bash.exe --norc --noprofile 
"/etc/postinstall/zp_adwaita-icon-theme.sh"
2021/05/31 07:58:37 running: C:\cygwin64\bin\bash.exe --norc --noprofile 
"/etc/postinstall/zp_breeze-icons.sh"
...
---

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

Reply via email to