Re: parse-datetime bug on NetBSD 10.0

2025-06-10 Thread Paul Eggert
On 6/10/25 19:39, Collin Funk wrote: [1]https://austingroupbugs.net/view.php?id=1614 Although that's related, it's a precursor to the discussion that I vaguely recall. And the fix that it proposes (which I don't see in POSIX.1-2024) isn't right either. It's a real mess.

Re: parse-datetime bug on NetBSD 10.0

2025-06-10 Thread Collin Funk
Hi Paul, Paul Eggert writes: > Yes, this is an iffy area in the mktime spec. I installed the attached > further coreutils patch to try to avoid the iffy area. Thanks, the test passes with that patch. I guess non-existent times due to daylight savings were probably an after thought when writing

Re: parse-datetime bug on NetBSD 10.0

2025-06-10 Thread Paul Eggert
Yes, this is an iffy area in the mktime spec. I installed the attached further coreutils patch to try to avoid the iffy area.From 5c5e8b4a981346086449f3b8c37e0a85dbfdfabe Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 10 Jun 2025 12:51:05 -0700 Subject: [PATCH] date: port test to NetBSD 10

Re: parse-datetime bug on NetBSD 10.0

2025-06-09 Thread Collin Funk
Hi Paul, Paul Eggert writes: > On 2025-06-08 17:39, Collin Funk wrote: >> Posting on bug-gnulib since this test failure seems to be caused by >> parse-datetime despite being caught by tests/date/date-debug.sh in >> Coreutils. > > I installed the attached patch to Gnulib, along with a minor testc

Re: parse-datetime bug on NetBSD 10.0

2025-06-09 Thread Bruno Haible via Gnulib discussion list
Collin Funk wrote: > > This is a NetBSD 10.0/arm64 machine. What about NetBSD 10.0/x86_64? > ... > I don't think this is needed since I think this has already been > confirmed to fail on NetBSD 10.0/x86_64 from your CI. There is a patch > that is applied marking it XFAIL on that platform [1]. Ah,

Re: parse-datetime bug on NetBSD 10.0

2025-06-08 Thread Paul Eggert
On 2025-06-08 17:39, Collin Funk wrote: Posting on bug-gnulib since this test failure seems to be caused by parse-datetime despite being caught by tests/date/date-debug.sh in Coreutils. I installed the attached patch to Gnulib, along with a minor testcase patch in Coreutils. Please give it a t

Re: parse-datetime bug on NetBSD 10.0

2025-06-08 Thread Collin Funk
Bruno Haible writes: >> Posting on bug-gnulib since this test failure seems to be caused by >> parse-datetime despite being caught by tests/date/date-debug.sh in >> Coreutils. >> >> On NetBSD 10.0 (cfarm428.cfarm.net) it fails with the following: > > This is a NetBSD 10.0/arm64 machine. What abo

Re: parse-datetime bug on NetBSD 10.0

2025-06-08 Thread Bruno Haible via Gnulib discussion list
Hi Collin, > Posting on bug-gnulib since this test failure seems to be caused by > parse-datetime despite being caught by tests/date/date-debug.sh in > Coreutils. > > On NetBSD 10.0 (cfarm428.cfarm.net) it fails with the following: This is a NetBSD 10.0/arm64 machine. What about NetBSD 10.0/x86_

parse-datetime bug on NetBSD 10.0

2025-06-08 Thread Collin Funk
Hi, Posting on bug-gnulib since this test failure seems to be caused by parse-datetime despite being caught by tests/date/date-debug.sh in Coreutils. On NetBSD 10.0 (cfarm428.cfarm.net) it fails with the following: + returns_ 1 date --debug -d 'TZ="America/Edmonton" 2006-04-02 02:30:00'