GNU bug report logs - #63632
diffutils 3.10: test suite is failing in test-strtoll unit

Previous Next

Package: diffutils;

Reported by: Tomasz Kłoczko <kloczko.tomasz <at> gmail.com>

Date: Sun, 21 May 2023 21:52:01 UTC

Severity: normal

To reply to this bug, email your comments to 63632 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-diffutils <at> gnu.org:
bug#63632; Package diffutils. (Sun, 21 May 2023 21:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tomasz Kłoczko <kloczko.tomasz <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Sun, 21 May 2023 21:52:02 GMT) Full text and rfc822 format available.

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

From: Tomasz Kłoczko <kloczko.tomasz <at> gmail.com>
To: bug-diffutils <at> gnu.org
Subject: diffutils 2.10: test suite is failing in test-strtoll unit
Date: Sun, 21 May 2023 22:50:38 +0100
[Message part 1 (text/plain, inline)]
Hi,

Looks like something is wrong in just release 3.10 because test suite is
failing in one unit

FAIL: test-strtoll
==================

test-strtoll.c:290: assertion 'ptr == input + 1' failed
FAIL test-strtoll (exit status: 134)

kloczek
-- 
Tomasz Kłoczko | LinkedIn: *http://lnkd.in/FXPWxH <http://lnkd.in/FXPWxH>*
[Message part 2 (text/html, inline)]

Information forwarded to bug-diffutils <at> gnu.org:
bug#63632; Package diffutils. (Mon, 22 May 2023 01:37:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Tomasz Kłoczko <kloczko.tomasz <at> gmail.com>
Cc: 63632 <at> debbugs.gnu.org, Gnulib bugs <bug-gnulib <at> gnu.org>
Subject: Re: bug#63632: diffutils 3.10: test suite is failing in test-strtoll
 unit
Date: Sun, 21 May 2023 18:36:51 -0700
[Message part 1 (text/plain, inline)]
On 2023-05-21 14:50, Tomasz Kłoczko wrote:
> test-strtoll.c:290: assertion 'ptr == input + 1' failed

I don't have that problem when I run the tests on Fedora 38 x86-64. What 
platform are you using, and how did you configure it?

I do see a potential on the Gnulib side, which I attempted to fix by 
installing the attached (and I'll cc bug-gnulib).

This is a Gnulib issue not a diffutils issue per se, so I wouldn't worry 
about it as far as diffutils go.
[0001-strtol-match-configure-to-make-check.patch (text/x-patch, attachment)]

Changed bug title to 'diffutils 3.10: test suite is failing in test-strtoll unit' from 'diffutils 2.10: test suite is failing in test-strtoll unit' Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Mon, 22 May 2023 01:45:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-diffutils <at> gnu.org:
bug#63632; Package diffutils. (Mon, 22 May 2023 06:27:01 GMT) Full text and rfc822 format available.

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

From: Bruno Haible <bruno <at> clisp.org>
To: bug-gnulib <at> gnu.org, Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Tomasz Kłoczko <kloczko.tomasz <at> gmail.com>,
 63632 <at> debbugs.gnu.org,
 Adhemerval Zanella Netto <adhemerval.zanella <at> linaro.org>
Subject: Re: bug#63632: diffutils 3.10: test suite is failing in test-strtoll
 unit
Date: Mon, 22 May 2023 08:26:31 +0200
Paul Eggert wrote:
> > test-strtoll.c:290: assertion 'ptr == input + 1' failed
> 
> I don't have that problem when I run the tests on Fedora 38 x86-64. What 
> platform are you using, and how did you configure it?

Possibly the reporter is using a glibc git checkout, and is encountering
https://sourceware.org/bugzilla/show_bug.cgi?id=30371 .

The last thing I heard regarding this bug (from 2023-04-18), is that
Adhemerval Zanella wanted to handle it. But I see no handling of this
bug in libc-alpha so far.

It would be a pity if glibc 2.38 would be released with this bug,
because it forces a gnulib override of strtol and strtoll.

Bruno







This bug report was last modified 2 years and 24 days ago.

Previous Next


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