delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/03/31/02:38:57

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 52V6cv8t1610602
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 52V6cv8t1610602
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=MH1rk1Zj
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5264F3857739
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1743403135;
bh=PQeIoD+IeeTbm2CH+uzy6uftHmSEC7Wz1me4AVcPkt8=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=MH1rk1ZjRiojcBBE9cIezCBdOYNBNwTq17ZDnTwDlkoOLNb9pDRho+xlEKuhWgDyh
oip9tOOpheet6FhIUV5eHM7lTE0RX2Fg14HcVc4Jlcy160sbt3UAeX0NRJfBzkOob4
AA/+93mBW2ckBP/mR2m0uoNHVZxA8p07AT8oMGuI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B80373858423
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B80373858423
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1743403073; cv=none;
b=REkZZiuaP88MeU3ETodnMFcEzKayIb0XLLD8utbAPwpdDzGZnqwN4aBNpsVVHq/r1u+qS5f4Idv3HFSQQ06SJ72XHdrCIktYgigAoZIcyeTLhQaYXZDaA0Zi0e5TXoJUskDF+Xnrwvh7BnvWAfaKb6+j8anpKmMWhle+/byUJnM=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1743403073; c=relaxed/simple;
bh=iq6wKSWTCzAhFBTVylJlPaOj/5GQz2vcHe/lvOuLUxk=;
h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
b=LG2bYmxIB0vi5Dc9CmhAd3BYpk44JmwZQk7XhBSDJTj9UuEnaVUOcswSHjxG+ImhEY1cKRE1SmL+O80/G16oBG2+9QLGxSKZF6TDKG/bQjQbWnlMZ6mXEhZVG/gdNuR8bSYXbZMGC0iTT9RLBh1clN9ZMDrJqwnmiLNsmhxrRzA=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B80373858423
Message-ID: <aaf6a885-8aff-4a73-bfcd-7a4d00070afd@systematicsw.ab.ca>
Date: Mon, 31 Mar 2025 00:37:50 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: [maintainer] coreutils-9.5 and 9.6 regression in cp (and maybe
ln? mv?)
To: cygwin AT cygwin DOT com
References: <Z-m7Bpdi2Te_FEhk AT calimero DOT vinschen DOT de>
Autocrypt: addr=Brian DOT Inglis AT systematicsw DOT ab DOT ca; keydata=
xjMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePbN
LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT7ClgQTFggA
PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW
AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO
WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDM44BF6KcfMSCisGAQQBl1UB
BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAfCfgQYFggAJhYhBMM5
/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF
IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5
RSyTY8X+AQ==
Organization: Systematic Software
In-Reply-To: <Z-m7Bpdi2Te_FEhk@calimero.vinschen.de>
X-Rspamd-Server: rspamout03
X-Rspamd-Queue-Id: BDE9120010
X-Stat-Signature: igisyerq57487ibnno85948d4fors3yh
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX19FS2EGj8vakzX6Lrr0KqKTXd3qnbo5FFU=
X-HE-Tag: 1743403071-434657
X-HE-Meta: U2FsdGVkX194fCHGKhOGgXBuDTwXZgnJhLlwnusxH+G4DorAbiAT0Xpt4VXZSakFjApxCMZjlxVRbifqk9nOyUbvGv2HufjGzGUyZYIpAqy/M36q24XV8ZRuFywylIAv7bpdZVH02TK7eYnbcYhhaGrYfW81cu9EmcV9xLWdKDxkyYWtL3UE9lI0PeiXejzuE6Ew3L56Jq9qALt/IeNg7HkrhxZnRPNBYVKqsswKOC1j1BC/ww8bC+zu4GhOpltxtKMEAJ1mGw/zlSEqANqjbXxBUXh+Wo5+a53h7ssSkP3Cd64HRmcM4Z03xkLvA61Tv9D/lFyjpGRW/9U6BU/cNDFRNqG7qEigHUMx9o9FWrwScuA0hOJkl8XnKJPCAKlzUi/WjbWx1VzK2KpRZPyDlQ==
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT systematicsw DOT ab DOT ca>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 52V6cv8t1610602

On 2025-03-30 15:43, Corinna Vinschen wrote:
> Hi Brian
> 
> Regression in 9.5 and 9.6:
> 
>    $ ls -l /bin/setfacl*
>    -rwxr-xr-x 1 corinna Administrators 109379 Mar 30 21:24 /bin/setfacl.exe
>    $ cd <cygwin-build-dir>
>    $ ls -l x86_64-pc-cygwin/winsup/utils/setfacl*
>    -rwxr-xr-x 1 corinna vinschen 109379 Mar 30 21:19 x86_64-pc-cygwin/winsup/utils/setfacl.exe
>    -rw-r--r-- 1 corinna vinschen  46188 Mar 30 21:19 x86_64-pc-cygwin/winsup/utils/setfacl.o
> 
> With coreutils 9.0:
> 
>    $ cp x86_64-pc-cygwin/winsup/utils/setfacl /bin
>    $ echo $?
>    0
>    $ ls -l /bin/setfacl*
>    -rwxr-xr-x 1 corinna Administrators 109379 Mar 30 21:25 /bin/setfacl.exe
> 
> With coreutils 9.5 and 9.6:
> 
>    $ cp x86_64-pc-cygwin/winsup/utils/setfacl /bin
>    cp: cannot create regular file '/bin/setfacl': File exists
> 
> I think the .exe suffix handling affects not only cp(1), but I didn't
> check explicitely.  It looks like code from 9.0 is missing in 9.5 and 9.6.

In coreutils 9.1 the approach changed to using the dir FD relative API ...at 
functions:

faccessat, fchmodat, fchownat, fstatat, futimesat, linkat, mkdirat, mkfifoat, 
mknodat, openat/2, readlinkat, renameat/2, scandirat, symlinkat, unlinkat, utimensat

which required splitting Eric's former single patch, reworking many file patches 
extensively, and I still had to withdraw 9.1 because of issues; some patches 
need changes for each release, and may not all be complete yet, which is why I 
have managed only test releases so far.

The changes and patches require a cygwin.[ch]:cygwin_spelling() function (by 
Eric) which only handles .exe not .lnk etc, and affects lib/same.c same_name() 
function, and copy, install, ls, and stat program sources, as far as I can tell.

As well as the acl issues identified, there are also issues with sparse file 
detection (not "supported", even though it works), and testing, and the usual 
confusion between Cygwin, Msys, Mingw, and Windows histories.

Recent releases have also become more difficult to test because more cases just 
hang or loop and need killed to proceed: perl test timeouts do not break out 
reliably!
And file system loops create gigs of permission denied errors and log diffs.

Please (anyone!) feel free to review and suggest alternate/better approaches to 
patching and testing.

https://cygwin.com/git/?p=git/cygwin-packages/coreutils.git;a=tree;h=refs/heads/playground;hb=refs/heads/playground

[Ports might have been easier had we kept to targeting BSD, SunOS, Solaris, plus 
POSIX, user lands, and ignored Linux, as being Linux-like but not supporting 
their headers, syscalls, and roots, seems to confuse some upstreams ;^> ]

-- 
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 à retrancher  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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019