[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2217: SandboxViolation: mkdir('/usr/lib/python2.7/site-packages/cryptography/hazmat/bindings/__pycache__', 511) {}

Tahoe-LAFS trac at tahoe-lafs.org
Tue Apr 15 15:15:00 UTC 2014


#2217: SandboxViolation: mkdir('/usr/lib/python2.7/site-
packages/cryptography/hazmat/bindings/__pycache__', 511) {}
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  daira
  aredridel              |     Status:  assigned
         Type:  defect   |  Milestone:  undecided
     Priority:  normal   |    Version:  1.10.0
    Component:           |   Keywords:  setuptools distribute build cffi
  packaging              |  cryptography
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by zooko):

 Replying to [comment:22 aredridel]:
 > pkg_resources.!VersionConflict: (pyOpenSSL 0.14 (/usr/share/python2.7
 /site-packages), Requirement.parse('pyOpenSSL<=0.13'))

 Urrrrgh. Okay, this explains it. I think. Actually only partially. The
 thing is, this appears to be saying that you already have pyOpenSSL 0.14
 installed in your system. Okay, fine, that explains why builds of the
 cryptography.io library/hazmat library are triggered when you build Tahoe-
 LAFS. Except, actually it totally doesn't because:

 1. Why is it trying to write a cache file into your read-only system-wide
 filesystem if it is already installed?

 2. Why is it doing ''anything'' with pyOpenSSL 0.14 when we've already
 specified that pyOpenSSL 0.14 is unacceptable for our version
 requirements?

 Sigh, okay, so this suggests a workaround that you can do: remove
 pyOpenSSL (0.14) from your system and see if that gets past your problem.
 However, I will feel guilty if we do not report these issues to
 ''someone'' who can do something about them, to help the next user who
 comes after you. I'm not 100% sure who that would be, though. Who can do
 something about Python packaging madness? ☹

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2217#comment:23>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list