[Python-modules-team] Bug#734521: pyzmq: FTBFS for s390x: test_timeout AssertionError
Alessandro Ghedini
ghedo at debian.org
Tue Jan 7 20:23:35 UTC 2014
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'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140107/fa1fb9e7/attachment.sig>
More information about the Python-modules-team
mailing list