Your message dated Wed, 04 Mar 2015 21:48:53 +0000
with message-id <[email protected]>
and subject line Bug#774787: fixed in python-cffi 0.9.0-1
has caused the Debian Bug report #774787,
regarding python-cffi: FTBFS on mips64el
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
774787: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774787
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-cffi
Version: 0.8.6-1
Severity: important

Hi,

python-cffi FTBFS on mips64el with a segfault in the testsuite:

> testing/test_verify.py 
> ..........s.............s.........................................................s.................................................s
> testing/test_verify2.py 
> ..........s.............s.........................................................s.................................................s
> testing/test_version.py .....
> Segmentation fault
> E: pybuild pybuild:256: test: plugin custom failed with: exit code=139: 
> python2.7 -m pytest c/ testing/

I did a bit of debugging which tracked it down to a segfault within
function in the libffi mips backend, caused by the test
test_opaque_integer_as_function_result in test_verify.py

It looked like CFFI told libffi that the return type of the function was
a structure of size 2 but with no elements - that seems illegal to me.

I worked around it using the attached patch which disables the test on
mips64 systems. I'm not entirely sure this is the "right" thing to do
though since it does look like there's a bug here.

Thanks,
James
--- a/testing/test_verify.py
+++ b/testing/test_verify.py
@@ -1162,6 +1162,8 @@ def test_opaque_integer_as_function_resu
     import platform
     if platform.machine().startswith('sparc'):
         py.test.skip('Breaks horribly on sparc (SIGILL + corrupted stack)')
+    elif platform.machine() == 'mips64' and sys.maxsize > 2**32:
+        py.test.skip('Segfaults on mips64el')
     # XXX bad abuse of "struct { ...; }".  It only works a bit by chance
     # anyway.  XXX think about something better :-(
     ffi = FFI()

--- End Message ---
--- Begin Message ---
Source: python-cffi
Source-Version: 0.9.0-1

We believe that the bug you reported is fixed in the latest version of
python-cffi, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated python-cffi package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 04 Mar 2015 14:58:17 +0200
Source: python-cffi
Binary: python-cffi python-cffi-dbg python3-cffi python3-cffi-dbg
Architecture: source all
Version: 0.9.0-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Description:
 python-cffi - Foreign Function Interface for Python calling C code
 python-cffi-dbg - Foreign Function Interface for Python calling C code (Debug 
versi
 python3-cffi - Foreign Function Interface for Python 3 calling C code
 python3-cffi-dbg - Foreign Function Interface for Python 3 calling C code 
(Debug ver
Closes: 733517 774787
Changes:
 python-cffi (0.9.0-1) experimental; urgency=medium
 .
   * New upstream release. (Closes: #733517, 774787)
   * Drop patches, applied upstream.
   * Point watch file at pypi.debian.net.
   * Update copyright years.
   * Bump Standards-Version to 3.9.6, no changes needed.
   * Upload to experimental, due to the freeze.
Checksums-Sha1:
 7b8145c78726f6c10ee730df7ec8d814546c61e5 2473 python-cffi_0.9.0-1.dsc
 02e44ecada40cb859e18e0b628cc52deba064a39 215503 python-cffi_0.9.0.orig.tar.gz
 42881fdf424c61bd22eae53fd8a8fe6d5522052a 3792 python-cffi_0.9.0-1.debian.tar.xz
Checksums-Sha256:
 a148f861ec751744d3e08f53a2728d5822ab961e3a455fbb4c217f0bba8587f9 2473 
python-cffi_0.9.0-1.dsc
 7b5cfbf8c7c67a132744846539def2ef9d0baed726d289416bd60ed2559a77d0 215503 
python-cffi_0.9.0.orig.tar.gz
 e5c7e2ed6faf0ac16ff2a5a9624cbd54fa21a8830aca6211dbeb5f9e73fe3788 3792 
python-cffi_0.9.0-1.debian.tar.xz
Files:
 a3cfc56c07755e77df9e0d3517b34e5a 2473 python optional python-cffi_0.9.0-1.dsc
 3a2f6b9f16e8082271aed6dcac51a71a 215503 python optional 
python-cffi_0.9.0.orig.tar.gz
 3e1d9873fc3901066d799a02c9d8b528 3792 python optional 
python-cffi_0.9.0-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJU93pQAAoJEACQ/CG1zRrMcmcP/2uiX6zwKUH2HN5nv6U/O6Tj
c2Lsdo6E+UiZBwpokLrT4EfndDet26+0LSaSz+se9C+gm4MLTjjeDg0qhoA3VHPS
bt/SPTEzw22tHEIjCk0m/Np91/plTCztmUelwiJqUhGOEWYhiaJgKkGfMejh3VEm
f5T+uws6de28viBO+seGaMTzzToUgvlBzno263J6stJ1eK07hryisWffeOOGvcdz
NbE1KH3P2fYYmVt4AIgeD+QHlyjt1i/yGUvNmqETxGFlvJ2Ir2HFy3ApUl3YGYTT
Xv4MpjEp9YmT7vG7AFAKZfgRDfTdqPPeaUHWPwKNjT+0ZGQnDddcEqKWrKxETSjw
x5D2Moa+Re/0hotISmsfg2RzzC/PlURvgBqL/0hDcmoUr2bQKEcekLx/d3pWjUVT
2rSCoB2m8914opH5VQZ/44k2NMhdhWfmhKkwRvjNAMrx65Q+SWJCzwZWTOAVU8I6
OhRu5v1LUX9/AnIP6t0o6cHjBJYRWuMr7zqZHQi2NCFVONqJ4Hv59uq2PkIMhAEX
/PWSRXRhrfS6que+/4BZqxRBsgQ0wFP5HgigRx+SLTbDbAAeOyAkgizwxsK1baF4
tMSKA9fEty1qFtSivFwF++Jbst3J8eXA1gu5WxQQaDNBEkOx2WY+segm1nxYtdaG
vH1iOX+i8a9iXhpCifpQ
=Lxrd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to