----- Mail original -----
> De: "Qrux" <qrux....@gmail.com>
> À: "LFS Developers Mailinglist" <lfs-dev@linuxfromscratch.org>
> Envoyé: Vendredi 9 Mars 2012 14:53:02
> Objet: [lfs-dev] m4 test error
> 
> Howdy.
> 
> In trying to build LFS-7.0 with LFS-7.0, I'm getting this error:
> 
>       FAIL: test-readlink (exit: 134)
>       ===============================
> 
>       test-readlink.h:41: assertion failed
> 
> It seems to be a fairly well-known issue:
> 
>       http://old.nabble.com/test-readlink-failure-td32037575.html
> 
There is more info later at

http://lists.gnu.org/archive/html/bug-m4/2011-10/msg00000.html

> And it looks like 7.1 works around this by issuing a sed:
> 
>       sed -i -e '41s/ENOENT/& || errno == EINVAL/' tests/test-readlink.h
> 
> OOH, it doesn't appear to be a "huge issue", so the sed is
> nice...OTOH, it's still a red flag because I don't see this issue
> when building from my host platform (openSUSE-11.4).  That makes me
> think there's a glibc or kernel patch that we're missing.
>
The anwser should be no ( not fixed on kernel side or glibc).
So adjusting the test is the proper fix.
That way, the test support all kernels (as newer report EINVAL).

Gilles
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to