[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
Mon Apr 14 23:59:12 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 aredridel):

 Hm. No dice. I started from a clean unpack of {{{allmydata-
 tahoe-1.10.0}}}, changed {{{"pyOpenSSL"}}} to {{{"pyOpenSSL <= 0.13"}}}
 and got this:

 {{{
 :; python setup.py build
 Not found: tahoe-deps
 Not found: ../tahoe-deps

 Installed /home/users/aredridel/allmydata-
 tahoe-1.10.0/Twisted-12.2.0-py2.7-linux-i686.egg
 running update_version
 no version-control data found, leaving _version.py alone
 running develop
 Not found: tahoe-deps
 Not found: ../tahoe-deps
 running egg_info
 writing requirements to src/allmydata_tahoe.egg-info/requires.txt
 writing src/allmydata_tahoe.egg-info/PKG-INFO
 writing top-level names to src/allmydata_tahoe.egg-info/top_level.txt
 writing dependency_links to src/allmydata_tahoe.egg-
 info/dependency_links.txt
 writing entry points to src/allmydata_tahoe.egg-info/entry_points.txt
 writing requirements to src/allmydata_tahoe.egg-info/requires.txt
 writing src/allmydata_tahoe.egg-info/PKG-INFO
 writing top-level names to src/allmydata_tahoe.egg-info/top_level.txt
 writing dependency_links to src/allmydata_tahoe.egg-
 info/dependency_links.txt
 writing entry points to src/allmydata_tahoe.egg-info/entry_points.txt
 package init file 'src/allmydata/web/static/__init__.py' not found (or not
 a regular file)
 package init file 'src/allmydata/web/static/css/__init__.py' not found (or
 not a regular file)
 reading manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt'
 reading manifest template 'MANIFEST.in'
 warning: no previously-included files matching '*~' found anywhere in
 distribution
 writing manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt'
 running build_ext
 Creating /home/users/aredridel/allmydata-
 tahoe-1.10.0/support/lib/python2.7/site-packages/site.py
 Processing setuptools-0.6c16dev4.egg
 Copying setuptools-0.6c16dev4.egg to /home/users/aredridel/allmydata-
 tahoe-1.10.0/support/lib/python2.7/site-packages
 Adding setuptools 0.6c16dev4 to easy-install.pth file
 Installing easy_install_z-2.6 script to support/bin
 Installing easy_install_z script to support/bin

 Installed /home/users/aredridel/allmydata-
 tahoe-1.10.0/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg
 Creating /home/users/aredridel/allmydata-
 tahoe-1.10.0/support/lib/python2.7/site-packages/allmydata-tahoe.egg-link
 (link to src)
 Adding allmydata-tahoe 1.10.0 to easy-install.pth file
 Installing tahoe script to support/bin

 Installed /home/users/aredridel/allmydata-tahoe-1.10.0/src
 Processing dependencies for allmydata-tahoe==1.10.0
 Searching for pycryptopp>=0.6.0
 Reading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-
 sdists/
 Reading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/
 Best match: pycryptopp
 0.6.0.1206569328141510525648634803928199668821045408958
 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-
 eggs/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-i686.egg
 Processing
 pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-i686.egg
 creating /home/users/aredridel/allmydata-
 tahoe-1.10.0/support/lib/python2.7/site-
 packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-i686.egg
 Extracting
 pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-i686.egg
 to /home/users/aredridel/allmydata-tahoe-1.10.0/support/lib/python2.7
 /site-packages
 Adding pycryptopp 0.6.0.1206569328141510525648634803928199668821045408958
 to easy-install.pth file

 Installed /home/users/aredridel/allmydata-
 tahoe-1.10.0/support/lib/python2.7/site-
 packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-i686.egg
 Searching for mock>=0.8.0
 Reading http://pypi.python.org/simple/mock/
 Best match: mock 1.0.1
 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-
 sdists/mock-1.0.1.tar.gz
 Processing mock-1.0.1.tar.gz
 Running mock-1.0.1/setup.py -q bdist_egg --dist-dir
 /home/users/aredridel/tmp/easy_install-UxieV4/mock-1.0.1/egg-dist-tmp-
 rmnR94
 warning: no files found matching '*.png' under directory 'docs'
 warning: no files found matching '*.css' under directory 'docs'
 warning: no files found matching '*.html' under directory 'docs'
 warning: no files found matching '*.js' under directory 'docs'
 zip_safe flag not set; analyzing archive contents...
 Adding mock 1.0.1 to easy-install.pth file

 Installed /home/users/aredridel/allmydata-
 tahoe-1.10.0/support/lib/python2.7/site-packages/mock-1.0.1-py2.7.egg
 Searching for pyasn1>=0.0.8a
 Reading http://pypi.python.org/simple/pyasn1/
 Best match: pyasn1 0.1.7
 Downloading
 https://pypi.python.org/packages/2.7/p/pyasn1/pyasn1-0.1.7-py2.7.egg#md5=15f079cabee01402bf86ca8b83356469
 Processing pyasn1-0.1.7-py2.7.egg
 creating /home/users/aredridel/allmydata-
 tahoe-1.10.0/support/lib/python2.7/site-packages/pyasn1-0.1.7-py2.7.egg
 Extracting pyasn1-0.1.7-py2.7.egg to /home/users/aredridel/allmydata-
 tahoe-1.10.0/support/lib/python2.7/site-packages
 Adding pyasn1 0.1.7 to easy-install.pth file

 Installed /home/users/aredridel/allmydata-
 tahoe-1.10.0/support/lib/python2.7/site-packages/pyasn1-0.1.7-py2.7.egg
 Searching for Nevow>=0.6.0
 Reading http://pypi.python.org/simple/Nevow/
 Best match: Nevow 0.10.0
 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-
 eggs/Nevow-0.10.0.tar.bz2
 Processing Nevow-0.10.0.tar.bz2
 Running Nevow-0.10.0/setup.py -q bdist_egg --dist-dir
 /home/users/aredridel/tmp/easy_install-S4fHff/Nevow-0.10.0/egg-dist-tmp-
 nPwwPz
 /usr/lib/python2.7/site-packages/zope/interface/interface.py:548:
 UserWarning: Hashing uninitialized InterfaceClass instance
 error: SandboxViolation: mkdir('/usr/lib/python2.7/site-
 packages/cryptography/hazmat/bindings/__pycache__', 511) {}

 The package setup script has attempted to modify files on your system
 that are not within the EasyInstall build area, and has been aborted.

 This package cannot be safely installed by EasyInstall, and may not
 support alternate installation locations even if you run its setup
 script by hand.  Please inform the package's author and the EasyInstall
 maintainers to find out if a fix or workaround is available.
 }}}

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


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