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

Re: hiredis FTBFS on sparc



On Tue, Nov 01, 2011 at 06:09:54PM +0100, Alessandro Ghedini wrote:
> On Mon, Oct 24, 2011 at 08:45:05PM +0200, Alessandro Ghedini wrote:
> > Hi,
> > 
> > the package "hiredis" is failing to build on sparc because of test 
> > failures and I can't understand why.
> > 
> > The tests are run against a local redis instance listening on 
> > 127.0.0.1:6379 but on sparc the connections get refused:
> > 
> >     Testing against TCP connection (127.0.0.1:6379):
> >     Connection error: Connection refused
> >     make[2]: *** [test] Error 1
> > 
> > Given that sparc is the only architecture where this happens, I disabled 
> > the tests on it in the last upload, but I'd like to find a better solution 
> > if possible.
> > 
> > Any clue on why this happens only on sparc? Am I doing something wrong?
> > 
> > Full build logs at [0] and [1] (the package never built on sparc with the 
> > tests enabled).
> > 
> > Thanks
> > 
> > P.S. Please CC me since I'm not subscribed to this list.
> > 
> > [0] https://buildd.debian.org/status/fetch.php?pkg=hiredis&arch=sparc&ver=0.10.0-1&stamp=1309300018
> > [1] https://buildd.debian.org/status/fetch.php?pkg=hiredis&arch=sparc&ver=0.10.1-2&stamp=1309770719
> 
> Ping?

It happens because redis-server you are trying to test against dies 
with a segmentation fault on startup on sparc. I see the following in 
the redis-server.log:

[3491] 03 Nov 19:37:36 # ======= Ooops! Redis 2.2.12 got signal: -10- =======
[3491] 03 Nov 19:37:36 # ======= Ooops! Redis 2.2.12 got signal: -11- =======

and in dmesg:

[ 1826.573524] redis-server[3491]: segfault at 24 ip 000000000001cc70 (rpc 000000000001cc54) sp 00000000ffe7e6d8 error 30001 in redis-server[10000+36000]

Best regards,
-- 
Jurij Smakov                                           jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC


Reply to: