delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/11/20/18:21:19

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5AKNLI3T3160798
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 5AKNLI3T3160798
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=gTBaAarS
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9FBE4385AC24
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1763680876;
bh=BFwO30lyTu3MmouKGt7njuA/Qti39hZ5aRQHPjSsZgs=;
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=gTBaAarSqVR4E9BcxedLYcjeqJV6CbSP0bAPit67+9pDeFgmrOQmSXr0g2evgdNsY
iISW5nh7IdSQS0zGBwsW8W5dYwjwBuU7GuNA8yGLVGDp2ulUY1+tJg1gCzrakOv6Qg
kMTn8FjgQYoesL51aOee6HmogENo33m/ATYI1GjQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DB2733858D1E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DB2733858D1E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763680855; cv=none;
b=uhqm6tGCuKUDiu/quI+iWVBcyVj+3xS6XKlKElMFIwPw6qld+ha6rXVbuXQahL7fimgHy9/KHFX4CVmUadqYkEvrKJ5uxLEzhxbpa/zvZk+z7XZ6Zg1gmUVig923QLJFN6oosImf9ZEEcGBLv9L3gbnneNFro3ugGCnoOptiSoY=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1763680855; c=relaxed/simple;
bh=4SBFVSI5rIrJetq8ZPqlGq6eDDTcu3XyjCdwSSDyb+s=;
h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
b=j/5ml0WVEWXYv5ViFvpiQLxS//zgUiIQz3JdbtQAZR5VDCaTMFkwKSCyFBhKoSiuqHQxXYULgdPx9kz/kYSf3Pq/Gm2Xh2i9C5wL77YU2ZNvk9MHL4NA8ZIPdSbDLIp2GoRAB8RIqLrs+whU7HrXIuDYZPfvDC59Ae8Nto+kK5w=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB2733858D1E
Message-ID: <882b13e3-d959-4a98-9eed-12a15e8fea0b@SystematicSW.ab.ca>
Date: Thu, 20 Nov 2025 16:20:51 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Bug in curl 8.17.0-1?
To: cygwin AT cygwin DOT com
References: <BLAPR09MB625854C692A437557DA10949E2D7A AT BLAPR09MB6258 DOT namprd09 DOT prod DOT outlook DOT com>
Organization: Systematic Software
In-Reply-To: <BLAPR09MB625854C692A437557DA10949E2D7A@BLAPR09MB6258.namprd09.prod.outlook.com>
X-Stat-Signature: pie5mtcha4owo6qn5se67cbw7nkpypkk
X-Rspamd-Server: rspamout01
X-Rspamd-Queue-Id: B297720011
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX1/CUeJHLE5ejQuCtmrVXW9oOgkiz97wzu0=
X-HE-Tag: 1763680852-43290
X-HE-Meta: U2FsdGVkX1/hAwAHjf7vpiKMLJWlva1cc/5KxyoIbQEhCyuzydw3JdQDEnNurKVpR9XiyF+CQov1wzfJRPFPvabeGLVaG32vpkeq+NgYq/V5Uw6HqronllfR56j9SzeuC6xiWvA6mT3SJLtditfWfgZElHg/yv670WkjEN7PBN3aRUGgFHtsFltWafDnB6FQkDcUqZhkK5kNLFzTMq85/b21T+09jxnZMjomCFqbNpF7U5XVMW4wJjwnyyZ5Ibixznd5npzGIZ1pXRSx7ua7fFowZ5AY8lJeoQaUYcfCJ+I2u05iJ/zDoCu5SuBcjpZsUTT4F+0bSUHqsUDVM/PzT0S7bUjq3vgteJLbknhze463xE6uQYt9Gg==
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 5AKNLI3T3160798

On 2025-11-19 06:47, Goltz, James (NIH/CIT) [E] via Cygwin wrote:
> Upon (finally) coming back from the government shutdown, I found a script I wrote that uses curl had stopped working.  I was able to trace it back to curl's behavior with --netrc-file.
> As of 8.17.0-1 (2025-11-09):
>    --netrc-file full-path/netrc-file does not work
>    --netrc-file netrc-file works, *if* netrc-file is in the current directory
> I've confirmed via rollback that 8.16.0-1 works as it did previously.  Curl 8.16.0-1 is able to find the netrc file using its full path.
> Has anyone else encountered this?
I only currently use that file in my Cygwin home dir to provide my email address 
for Anonymous logins if such are required and honoured nowadays.

No message with default ~/.netrc but using --netrc-file gives [elided]:

$ curl --verbose --netrc-file ~/.netrc ftp://ftp.gnu.org/pub/gnu/wget/
* Couldn't find host ftp.gnu.org in the /home/.../.netrc file; using defaults
...

same with $HOME/.netrc etc, so no obvious issues.

Run `which -a curl` to see which `curl` command is being run from where with 
what options?
Run your `curl` command with --verbose to get a diagnostic trace in case there 
are issues.

Do you have the HOME env var set to your Cygwin home directory?
Do you have a Cygwin home directory and have you tried using .netrc there?

Do you have a NETRC env var set to the Cygwin path of the file?
Used 1st as of 8.16.0 - except --netrc-file says that overrides all other ways! 
That is mutually exclusive with --netrc, and its opposite --netrc-optional, 
which allows --netrc-file to not be used, otherwise it is used and must be correct!

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