On Sun, Aug 12, 2018 at 09:48:19PM +0800, Xi Ruoyao wrote:
> On 2018-08-12 13:03 +0100, Ken Moffat wrote:
> > On Sun, Aug 12, 2018 at 02:19:39PM +0800, Xi Ruoyao wrote:
>
> It "should" abort because a Glibc bug in 2015. In Glibc-2.28 the bug
> is finally fixed.
>
> > [...]
> > > >
> > > > Looking at the log from the same version (3.1) when I last built it,
> > > > the main tests had two XFAIL, backref-alt and triple-backref but
> > > > WITHOUT an assertion failure.
> > >
> > > I rebuilt grep-3.1 on my LFS-8.2 with Glibc-2.27. Both
> > > triple-backref and backref-alt aborted because of fail assertions.
> > > Please recheck your result.
> > >
> >
> > On my 20180726 system the results were as I said, no sign of any
> > messages for them except XFAIL, and the tests completed with normal
> > status.
>
> `grep -B1 Aborted test-suite.log` then you'll see the two tests fail
> because of assertion fail.
>
I only have the log of what was in stdout and stderr from that
previous build and 'Aborted' does not appear.
> > >
> > > The "main" test "failed" (XPASS in fact) then `make` just bailed out.
> > > With "make check -k" gnulib-test would run.
> > >
> > > We can
> > >
> > > sed '/^am__append_2/d' -i tests/Makefile
> > >
> > > after configuring Grep, or just use "make check -k" and tell the
> > > audiences there would be a XPASS test with Glibc-2.28.
>
> > Using 'make -k check' sounds plausible.
>
> The issue is grep test suite considers XPASS as failure. I think it makes
> the test suite a fragile "status detector". In the next release of grep
> backref-alt has been removed from XPASS list.
>
> If I recall, several other packages also have XPASS but they do not
> consider XPASS as failure.
Hmm, in the detail of my current build backref-alt ends with status
0
XPASS backref-alt (exit status: 0)
but the triple-backref is reported as dumping core
+ grep -E '(.?)(.?)(.?)\3\2\1' in
grep: regexec.c:1359: pop_fail_stack: Assertion `num >= 0' failed.
./triple-backref: line 15: 8025 Aborted (core dumped) grep -E
'(.?)(.?)(.?)\3\2\1' in > out
leading to
XFAIL triple-backref (exit status: 1)
ĸen
--
Entropy not found, thump keyboard to continue
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page