[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#630902: m4: FTBFS: FAIL: test-readlink
From: |
Santiago Vila |
Subject: |
Re: Bug#630902: m4: FTBFS: FAIL: test-readlink |
Date: |
Fri, 29 Jul 2011 12:54:02 +0200 (CEST) |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Tue, 26 Jul 2011, Eric Blake wrote:
> On 07/26/2011 07:50 AM, Santiago Vila wrote:
> > --- SIGCHLD (Child exited) @ 0 (0) ---
> > readlink("no_such", 0x7fff370e7340, 80) = -1 ENOENT (No such file or
> > directory)
> > readlink("no_such/", 0x7fff370e7340, 80) = -1 ENOENT (No such file or
> > directory)
> > readlink("", 0x7fff370e7340, 80) = -1 EINVAL (Invalid argument)
>
> There's the bug. This is failing with EINVAL instead of ENOENT, which is
> contrary to POSIX. However, this kernel bug has already been papered over in
> gnulib, which means that it is merely a matter of updating m4 to use newer
> gnulib to make this test failure go away.
>
> http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=dc446909
Thanks a lot! I patched the Debian package for m4 accordingly and the
problem is now gone.