Package: cardstories
Version: 1.0.6-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


This ftbfs was found on i386 on Ubuntu.  The cause is that the test poll value
is greater than sys.maxint on i386, which causes twisted to throw an
exception.  The fix appears simple - just use sys.maxint no matter what in the
test.


*** /tmp/tmpnTOYj9
In Ubuntu, the attached patch was applied to achieve the following:

  * Fix test where poll interval was > sys.maxint on i386.  (LP: #831344)


Thanks for considering the patch.


- -- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric'), (100, 'oneiric-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-11-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOeo3qAAoJEBJutWOnSwa/TAEQAIg4wmuDZYeRZVGZ1HJ6zdit
48G3gRmWXCz/hxKecqSX0W4SvpS6aavYAK45XDo2UvEMY+PG6J2bipAKPyk1Oqeu
OEjw3bxeMUNUN9bW0w9omk82L9znXVEvxJjPctzVVCJlwPV0FzJgFQuymyIgdLgf
z1jEH9/qfEahmeptOlXk0JVXWQTcnNXLL3qMxRK1pzfZOYtJqt4Ci/Bs9ySALpvu
z9sy8WXzIDEgLC0IZ6jMaWN2CocBRFQfrwyA6vUpdbtdLIeU1OxfWFIR3B8sQA0w
2i44dnatcnZD8U/XwZnUaaPApSBmLVPyDoJ8T7EKqPRRX+6mVBlE45o+zbqjzOM1
ZKzQp3Ti9PsKpzRjYgU82/14ZOS3xb/CutKmcdye/dZTyrnErcBzB2Ern5VpJehZ
vTcF+GQKF3naqqOnzda+sC1Xm4HwLOo1ONtABKaEn5pJWZoutiefLR0sUju1HN5h
eHkBIwgJB++AQSJa3M0sCP1hmRj5cxBND0O76l7+w2RnIatMQ0ACsWg6v0k2kWHQ
1ONQIziYxLQ0gU0VGp7Bw5/VyYMaKlwKBg90R/giwaMNsx0pClH7E+Ko/rYeHlUa
pSehEiJD5VlXdB3uk+3fZdiAat88XkUVD20YCH0XcyQIAoSUuRpp9EyAOvFmUrGD
mBR69A3SQ0dbMon1RGFa
=rxIo
-----END PGP SIGNATURE-----
=== modified file 'debian/changelog'

=== added directory 'debian/patches'
=== added file 'debian/patches/series'
--- debian/patches/series	1970-01-01 00:00:00 +0000
+++ debian/patches/series	2011-09-22 01:13:59 +0000
@@ -0,0 +1 @@
+test08_poll_i386.patch

=== added file 'debian/patches/test08_poll_i386.patch'
--- debian/patches/test08_poll_i386.patch	1970-01-01 00:00:00 +0000
+++ debian/patches/test08_poll_i386.patch	2011-09-22 01:14:38 +0000
@@ -0,0 +1,11 @@
+--- a/tests/test_service.py
++++ b/tests/test_service.py
+@@ -535,7 +535,7 @@
+         #
+         class Plugin(pollable):
+             def __init__(self):
+-                pollable.__init__(self, 200000000000)
++                pollable.__init__(self, sys.maxint)
+             def name(self):
+                 return 'plugin'
+         plugin = Plugin()

Reply via email to