bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-5.96 testsuite failures under Solaris 9


From: Jim Meyering
Subject: Re: coreutils-5.96 testsuite failures under Solaris 9
Date: Tue, 23 May 2006 23:49:03 +0200

Ralf Menzel <address@hidden> wrote:
> I compiled release 5.96 of coreutils under Solaris 9. The compiler is
> GCC 3.4.5. When I run `make check' I get three failures. Attached to
> this mail, you can find the log for `make check' and -- with
> VERBOSE=yes set -- for the three failing test cases. Tell me if I can
> help by providing further information.

Thank you for the fine bug report.
I traced it back to a bug in autoconf-2.59d, which I've just fixed:

2006-05-23  Jim Meyering  <address@hidden>

        * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
        Fix typo introduced with 2006-04-02 change.  It reversed the sense
        of the test.

While you wait for coreutils-5.97, you can manually fix the
configure script with this patch:

--- configure.~1~       2006-05-23 23:38:07.940258176 +0200
+++ configure   2006-05-23 23:38:26.930750625 +0200
@@ -18483,7 +18483,7 @@ struct stat sbuf;
      /* Linux will dereference the symlink and fail.
        That is better in the sense that it means we will not
        have to compile and use the lstat wrapper.  */
-     return lstat ("conftest.sym/", &sbuf) != 0;
+     return lstat ("conftest.sym/", &sbuf) == 0;
   ;
   return 0;
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]