From: Brian Inglis <Brian.Inglis@Shaw.ca>
To: cygwin@cygwin.com
Subject: Cygwin test 3.5.0 tar symlinks error messages and failure status
Date: Sat, 27 May 2023 18:05:06 -0600 [thread overview]
Message-ID: <afc7d261-6116-7f4b-9642-0533d1fdde92@Shaw.ca> (raw)
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
next reply other threads:[~2023-05-28 0:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-28 0:05 Brian Inglis [this message]
2023-05-28 5:42 ` Achim Gratz
2023-06-24 8:30 ` David Allsopp
2023-06-21 6:05 Daniel Abrahamsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=afc7d261-6116-7f4b-9642-0533d1fdde92@Shaw.ca \
--to=brian.inglis@shaw.ca \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).