bug-gnulib
[Top][All Lists]
Advanced

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

Re: coreutils-8.12.178-df9cd on Solaris 10


From: Pádraig Brady
Subject: Re: coreutils-8.12.178-df9cd on Solaris 10
Date: Tue, 06 Sep 2011 15:48:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0

On 09/06/2011 03:21 PM, Ben Walton wrote:
> Excerpts from Jim Meyering's message of Tue Sep 06 05:09:50 -0400 2011:
> 
> Hi All,
> 
>> I've confirmed that with these (though not yet with your latest irix
>> fix) changes, all coreutils tests pass on both Fedora 15 and Solaris
>> 10.
> 
> I found yesterday that the misc/stdbuf test fails on Solaris 9,
> although I think the failure would happen on 10 as well.  The failing
> part of the test is:
> 
> + stdbuf -o1 no_such
> stdbuf: failed to find `libstdbuf.so'
> + test 125 = 127
> + fail=1
> 
> After walking through the code, I think that because no_such is not in
> a PATH (obviously) the default locations (. and $PKGLIBEXECDIR) are
> searched unsuccessfully for libstdbuf.so.  If
> $PKGLIBEXECDIR/libstdbuf.so exists (I tested this), the test passes as
> expected.  The other tests pass because they are running tools that
> live in the same directory as libstdbuf.so so stdbuf.c:set_LD_PRELOAD
> is happy.
> 
> I think this is entirely a test bug and that the program is
> functioning correctly.  A valid fix, if the previous statements are
> correct would be to do something like changing no_such to
> $srcdir/no_such.  This should force program_path to be $srcdir and
> thus the search for libstdbuf.so would be successful.

Thanks.
I think it is a bug though which should be fixed by:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=197cd09

cheers,
Pádraig.



reply via email to

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