Problem writing tar (with Cygwin default sys) symlinks before target created
under Cygwin 3.5.0 - error messages are issued and tar exits with failure status!
Also failed with the same issues under my own dev build based off origin/main
commit 2023-05-01 3bee68248fc8e164a8bb6bba3f105b10fdec8a71 Cygwin: Fix compiling
with w32api-headers v11.0.0.
The only likely culprit between 3.4.6 and that commit seems to be commit
2023-04-18 fa84aa4dd2fb43eaf7fcdfb040aef854f2f19d01 Cygwin: fix errno values set
by readlinkat.
Still seems to work as expected despite the error messages and failure status.
Runs without any messages or failure under Cygwin stable 3.4.6.
Symlinks are captoinfo and infotocap -> tic, reset -> tset, ncurses6-config ->
ncursesw6-config.
$ uname -srvmo
CYGWIN_NT-10.0-19044 3.5.0-0.303.g4840a5632520.x86_64 2023-05-24 21:41 UTC
x86_64 Cygwin
$ tar -xvf
ncurses-6.4-6.20230520.x86_64/dist/ncurses/ncurses-6.4-6.20230520.tar.xz
usr/bin/captoinfo
/bin/tar: usr/bin/captoinfo: Cannot change mode to rwxr-xr-x: Not a directory
usr/bin/clear.exe
usr/bin/infocmp.exe
usr/bin/infotocap
/bin/tar: usr/bin/infotocap: Cannot change mode to rwxr-xr-x: Not a directory
usr/bin/reset
/bin/tar: usr/bin/reset: Cannot change mode to rwxr-xr-x: Not a directory
usr/bin/tabs.exe
usr/bin/tic.exe
usr/bin/toe.exe
usr/bin/tput.exe
usr/bin/tset.exe
usr/share/doc/ncurses/
usr/share/doc/ncurses/ANNOUNCE
usr/share/doc/ncurses/AUTHORS
usr/share/doc/ncurses/COPYING
usr/share/doc/ncurses/NEWS
usr/share/doc/ncurses/README
usr/share/man/man1/captoinfo.1m.gz
usr/share/man/man1/clear.1.gz
usr/share/man/man1/infocmp.1m.gz
usr/share/man/man1/infotocap.1m.gz
usr/share/man/man1/reset.1.gz
usr/share/man/man1/tabs.1.gz
usr/share/man/man1/tic.1m.gz
usr/share/man/man1/toe.1m.gz
usr/share/man/man1/tput.1.gz
usr/share/man/man1/tset.1.gz
/bin/tar: Exiting with failure status due to previous errors
$ tar -xvf
ncurses-6.4-6.20230520.x86_64/dist/ncurses/libncurses-devel/libncurses-devel-6.4-6.20230520.tar.xz:
extracting...
usr/bin/ncurses6-config
/bin/tar: usr/bin/ncurses6-config: Cannot change mode to rwxr-xr-x: Not a
directory
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry
--
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