X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A9A7B3857C44 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1685232323; bh=WtjeQm5dqX0QPZyRRmqY7QbwfxVdWYD0lWspqBohrCE=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=gRE7LOLOZaeMYfCHbbCxd+4t7QnuJjsiH3ZAINHFCwVOdqJovCjE1ymHZn9ngrJL9 fqODCatILDPLMnbl0pOJrPMnkwXeLSox/kMYa3nK9x7bRzMtEO+erzcAD6S8fuBKhV aXlBZ5whH7gU439roCXeNywW1f+Qm03KVhlyV0hE= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7BED03858D3C X-Authority-Analysis: v=2.4 cv=J8G5USrS c=1 sm=1 tr=0 ts=64729ab3 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=30KeihfUasEDSKDPGhkA:9 a=QEXdDO2ut3YA:10 Message-ID: Date: Sat, 27 May 2023 18:05:06 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-CA To: cygwin AT cygwin DOT com Subject: Cygwin test 3.5.0 tar symlinks error messages and failure status Organization: Inglis X-CMAE-Envelope: MS4xfKgkQGTUIdWrnRg8iR+FfyHzuGD75DV4CT80bOyIXeWwub/ZNC9TBbKF6hrr5kXBMne+ZhaXt/aBxOCkOS6cnt63948fpgsn0h3C73MB3lAme75PFW4F 1TJ+VdS95nxnXa9z4ftNfKbBrZoLY/ve64CTdJYJ9D6OE/YRwXPXFUoez35knBWxqS4QUkn+otKRzw== X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: Brian DOT Inglis AT Shaw DOT ca Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 34S05kbG002575 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