On mar, gen 07, 2014 at 09:10:35 +0100, Julian Taylor wrote:
> On 07.01.2014 21:02, Aaron M. Ucko wrote:
> > Source: pyzmq
> > Version: 14.0.1-1
> > Severity: serious
> > Justification: fails to build from source (but built successfully in the 
> > past)
> > 
> > The s390x build of pyzmq failed with an AssertionError when trying to
> > run the unit test under Python 2.7:
> > 
> >   Traceback (most recent call last):
> >     File "zmq/tests/test_poll.py", line 176, in test_timeout
> >       self.assertTrue(toc-tic < 0.1)
> >   AssertionError: False is not true
> > 
> > Could you please take a look?  You can find the full log at
> > https://buildd.debian.org/status/fetch.php?pkg=pyzmq&arch=s390x&ver=14.0.1-1&stamp=1389093313
> > 
> > Thanks!
> > 
> 
> caused by a minimum polling timeout of 0.5 seconds due to a bug in
> zeromqs timing src/clock.cpp:123  zmq::clock_t::rdtsc()
> 
> still investigating a fix.

Looking at the code:

> #elif defined(__s390__)
>     uint64_t tsc;
>     asm("\tstck\t%0\n" : "=Q" (tsc) : : "cc");
>     tsc >>= 12;               /* convert to microseconds just to be 
> consistent */
>     return(tsc);

Maybe the check needs to be "#elif defined(__s390__) || defined(__s390__)"? If
that's the case, feel free to reassign to libzmq3.

Cheers

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'

Attachment: signature.asc
Description: Digital signature

Reply via email to