Wily: currently broken, needs rebuild?

Bug #1479163 reported by Jason Gerard DeRose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-nacl (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

python-nacl and python3-nacl are currently broken on Wily.

I believe the issue is it needs to be rebuild against python-cffi 1.1.2-1ubuntu2, although I'm not that familiar with CFFI.

This is easy to test with:

$ python3 -c "import nacl.public"

Which will give you this trace:

Traceback (most recent call last):
  ...
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/nacl/_lib/__pycache__/_cffi__xec632e8ax2d69d42f.c'

I'm guessing that "xec632e8ax2d69d42f" is a hash of some files in python3-cffi or libsodium, or possibly a hash of both.

But these are the built extensions installed by python3-nacl:

_cffi__x88f29b3bxa11bf422.cpython-34m-x86_64-linux-gnu.so
_cffi__x42031028xa11bf422.cpython-35m-x86_64-linux-gnu.so

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: python3-nacl 0.2.3-2build1
ProcVersionSignature: Ubuntu 4.1.0-3.3-generic 4.1.3
Uname: Linux 4.1.0-3-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.18-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jul 28 18:26:52 2015
SourcePackage: python-nacl
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jason Gerard DeRose (jderose) wrote :
Revision history for this message
Jason Gerard DeRose (jderose) wrote :

I tried a local rebuild with pbuilder and it soft of fixes things. python3-nacl now includes these files:

_cffi__x2692a599x2d69d42f.cpython-35m-x86_64-linux-gnu.so
_cffi__xec632e8ax2d69d42f.cpython-34m-x86_64-linux-gnu.so

But there still is a concerning warning:

$ python3.5 -c "import nacl.public"
/usr/lib/python3/dist-packages/cffi/vengine_cpy.py:188: UserWarning: reimporting '_cffi__x2692a599x2d69d42f' might overwrite older definitions
  % (self.verifier.get_module_name()))

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Looks like this has been fixed as of python3-nacl 0.3.0-1.

Changed in python-nacl (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.