GNU bug report logs - #63484
FAIL: y2038-vs-32-bit

Previous Next

Package: grep;

Reported by: Andreas Schwab <schwab <at> linux-m68k.org>

Date: Sat, 13 May 2023 14:15:02 UTC

Severity: normal

To reply to this bug, email your comments to 63484 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-grep <at> gnu.org:
bug#63484; Package grep. (Sat, 13 May 2023 14:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Schwab <schwab <at> linux-m68k.org>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Sat, 13 May 2023 14:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: bug-grep <at> gnu.org
Subject: FAIL: y2038-vs-32-bit
Date: Sat, 13 May 2023 16:14:11 +0200
FAIL: y2038-vs-32-bit
=====================

diff: in: Value too large for defined data type
FAIL y2038-vs-32-bit (exit status: 1)

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-grep <at> gnu.org:
bug#63484; Package grep. (Sat, 13 May 2023 14:34:01 GMT) Full text and rfc822 format available.

Message #8 received at 63484 <at> debbugs.gnu.org (full text, mbox):

From: Carlo Marcelo Arenas Belón <carenas <at> gmail.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 63484 <at> debbugs.gnu.org
Subject: Re: bug#63484: FAIL: y2038-vs-32-bit
Date: Sat, 13 May 2023 07:33:09 -0700
[Message part 1 (text/plain, inline)]
Would the attached workaround the issue?

Carlo
[0001-tests-skip-y2038-test-upon-compare-failure.patch (text/plain, attachment)]

Information forwarded to bug-grep <at> gnu.org:
bug#63484; Package grep. (Sat, 13 May 2023 14:49:02 GMT) Full text and rfc822 format available.

Message #11 received at 63484 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Carlo Marcelo Arenas Belón <carenas <at> gmail.com>
Cc: 63484 <at> debbugs.gnu.org
Subject: Re: bug#63484: FAIL: y2038-vs-32-bit
Date: Sat, 13 May 2023 16:48:02 +0200
On Mai 13 2023, Carlo Marcelo Arenas Belón wrote:

>   on linux m68k.

???




Information forwarded to bug-grep <at> gnu.org:
bug#63484; Package grep. (Sat, 13 May 2023 15:11:02 GMT) Full text and rfc822 format available.

Message #14 received at 63484 <at> debbugs.gnu.org (full text, mbox):

From: Carlo Arenas <carenas <at> gmail.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 63484 <at> debbugs.gnu.org
Subject: Re: bug#63484: FAIL: y2038-vs-32-bit
Date: Sat, 13 May 2023 08:10:01 -0700
On Sat, May 13, 2023 at 7:48 AM Andreas Schwab <schwab <at> linux-m68k.org> wrote:
>
> On Mai 13 2023, Carlo Marcelo Arenas Belón wrote:
>
> >   on linux m68k.
>
> ???

Well; the report didn't provide much information, so I made an educated guess.
Would you provide a more accurate description?

Also, out of curiosity; does `cmp` also fail?, would that user visible
EOVERFLOW from diff be also worth fixing?

Carlo




Information forwarded to bug-grep <at> gnu.org:
bug#63484; Package grep. (Sat, 13 May 2023 15:42:01 GMT) Full text and rfc822 format available.

Message #17 received at 63484 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Carlo Arenas <carenas <at> gmail.com>
Cc: 63484 <at> debbugs.gnu.org
Subject: Re: bug#63484: FAIL: y2038-vs-32-bit
Date: Sat, 13 May 2023 17:41:03 +0200
https://build.opensuse.org/package/show/home:Andreas_Schwab:Factory/grep




Information forwarded to bug-grep <at> gnu.org:
bug#63484; Package grep. (Sat, 13 May 2023 16:00:02 GMT) Full text and rfc822 format available.

Message #20 received at 63484 <at> debbugs.gnu.org (full text, mbox):

From: Carlo Marcelo Arenas Belón <carenas <at> gmail.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 63484 <at> debbugs.gnu.org
Subject: Re: bug#63484: FAIL: y2038-vs-32-bit
Date: Sat, 13 May 2023 08:59:03 -0700
[Message part 1 (text/plain, inline)]
Could you apply the attached patch?

Carlo
[v2-0001-tests-protect-y2038-against-diff-failures.patch (text/x-patch, attachment)]

Information forwarded to bug-grep <at> gnu.org:
bug#63484; Package grep. (Sun, 14 May 2023 02:55:02 GMT) Full text and rfc822 format available.

Message #23 received at 63484 <at> debbugs.gnu.org (full text, mbox):

From: Carlo Marcelo Arenas Belón <carenas <at> gmail.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 63484 <at> debbugs.gnu.org
Subject: Re: bug#63484: FAIL: y2038-vs-32-bit
Date: Sat, 13 May 2023 19:54:32 -0700
[Message part 1 (text/plain, inline)]
On Sat, May 13, 2023 at 05:41:03PM +0200, Andreas Schwab wrote:
> 
> https://build.opensuse.org/package/show/home:Andreas_Schwab:Factory/grep

confirmed the diffutils (version 3.9) in that version of openSUSE, is
affected (both diff and cmp) by the Y2K38 bug[1], but grep is not.

attached v3 would workaround the diffutils bug in the test, and show that
grep is working.

Carlo

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63492
[v3-0001-tests-protect-y2038-vs-32-bit-against-diff-cmp-fa.patch (text/x-patch, attachment)]

Information forwarded to bug-grep <at> gnu.org:
bug#63484; Package grep. (Mon, 15 May 2023 16:30:02 GMT) Full text and rfc822 format available.

Message #26 received at 63484 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Carlo Marcelo Arenas Belón <carenas <at> gmail.com>
Cc: 63484 <at> debbugs.gnu.org
Subject: Re: bug#63484: FAIL: y2038-vs-32-bit
Date: Mon, 15 May 2023 18:29:10 +0200
On Mai 13 2023, Carlo Marcelo Arenas Belón wrote:

> * tests/y2038-vs-32-bit: Recreate `in` before `compare` to prevent
>   the possibility of failures if the underlying tool cannot itself
>   handle dates after Y2K38

That fixes the failure.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




This bug report was last modified 1 year and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.