[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils
Subject:    Re: coreutils-9.3 test-strto[u]ll
From:       Bruno Haible <bruno () clisp ! org>
Date:       2023-04-18 17:56:37
Message-ID: 3032728.9VTjjQsp5K () nimes
[Download RAW message or body]

Hi Kamil,

> I had to revert the following gnulib commit to be able to build it
> in the Fedora Rawhide buildroot:
> https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=4e38f4a0c65d4d19883b404a84169088b84b60d2
>  
> ... where it was failing with:
> 
> FAIL: test-strtoll
> ==================
> ../../gnulib-tests/test-strtoll.c:290: assertion 'ptr == input + 1' failed
> FAIL test-strtoll (exit status: 134)
> FAIL: test-strtoull
> ===================
> ../../gnulib-tests/test-strtoull.c:289: assertion 'ptr == input + 1' failed
> FAIL test-strtoull (exit status: 134)

When you say that it did not "build", it sounds like there was a compilation
error or link error. In fact, there were only test failures. Maybe that is
a particular slang inside Fedora, but in my understanding (outside Fedora)
test failures are of a lower severity than compilation errors.

Regarding these two unit tests: The unit tests are correct. It's the code
in glibc (post 2.37) that isn't. I have now opened a glibc bug about it:
https://sourceware.org/bugzilla/show_bug.cgi?id=30371

Bruno


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic