← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1179747] Re: install action fails with pip-build directory error with pip > 1.2.1

 

** Changed in: anvil
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to anvil.
https://bugs.launchpad.net/bugs/1179747

Title:
  install action fails with pip-build directory error with pip > 1.2.1

Status in ANVIL for forging OpenStack.:
  Fix Released

Bug description:
  Get this error output with pip 1.3.1 installed, problem goes away with
  pip 1.2.1.

  Related change: https://github.com/pypa/pip/pull/780/files

  ...
  ...
  INFO: @anvil.actions.install : Installing general.
  INFO: @anvil.components : Setting up 25 distribution packages:
  INFO: @anvil.components : |-- iputils
  INFO: @anvil.components : |-- sudo
  INFO: @anvil.components : |-- mlocate
  INFO: @anvil.components : |-- curl
  INFO: @anvil.components : |-- git
  INFO: @anvil.components : |-- coreutils
  INFO: @anvil.components : |-- python-devel
  INFO: @anvil.components : |-- python
  INFO: @anvil.components : |-- tcpdump
  INFO: @anvil.components : |-- python-distutils-extra
  INFO: @anvil.components : |-- python-setuptools
  INFO: @anvil.components : |-- unzip
  INFO: @anvil.components : |-- openssh-server
  INFO: @anvil.components : |-- gawk
  INFO: @anvil.components : |-- python-paste-deploy1.5
  INFO: @anvil.components : |-- wget
  INFO: @anvil.components : |-- libxslt-devel
  INFO: @anvil.components : |-- python-sphinx10
  INFO: @anvil.components : |-- dnsmasq-utils
  INFO: @anvil.components : |-- python-webob1.0
  INFO: @anvil.components : |-- python-routes1.12
  INFO: @anvil.components : |-- libxml2-devel
  INFO: @anvil.components : |-- psmisc
  INFO: @anvil.components : |-- python-nose1.1
  INFO: @anvil.components : |-- lsof
  Installing: 100% |#########################################################################################################################################################################################################################################################################################| Time: 00:00:00
  INFO: @anvil.components : Setting up 20 python packages:
  INFO: @anvil.components : |-- nose-exclude
  INFO: @anvil.components : |-- python-subunit
  INFO: @anvil.components : |-- openstack.nose_plugin
  INFO: @anvil.components : |-- lxml
  INFO: @anvil.components : |-- testtools
  INFO: @anvil.components : |-- testrepository
  INFO: @anvil.components : |-- pycrypto
  INFO: @anvil.components : |-- prettytable
  INFO: @anvil.components : |-- pylint
  INFO: @anvil.components : |-- distribute
  INFO: @anvil.components : |-- keyring
  INFO: @anvil.components : |-- pep8
  INFO: @anvil.components : |-- nosehtmloutput
  INFO: @anvil.components : |-- sqlalchemy
  INFO: @anvil.components : |-- coverage
  INFO: @anvil.components : |-- sqlalchemy-migrate
  INFO: @anvil.components : |-- requests
  INFO: @anvil.components : |-- fixtures
  INFO: @anvil.components : |-- pysqlite
  INFO: @anvil.components : |-- cliff
  Installing: 100% |#########################################################################################################################################################################################################################################################################################| Time: 00:00:00
   _______________
  / She turned me \
  \ into a newt!  /
   ---------------
    \         ||       ||
      \    __ ||-----mm||
        \ (  )/_________)//
          (oo)/
          v--v
  ProcessExecutionError: Unexpected error while running command.
  Command: pip-python install -q cliff
  Exit code: 1
  Stdout: 'The temporary folder for building (/tmp/pip-build-melwitt) is not owned by your user!\npip will not work until the temporary folder is either deleted or owned by your user account.\n'
  Stderr: 'Traceback (most recent call last):\n  File "/usr/bin/pip-python", line 9, in <module>\n    load_entry_point(\'pip==1.3.1\', \'console_scripts\', \'pip\')()\n  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in load_entry_point\n    return get_distribution(dist).load_entry_point(group, name)\n  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in load_entry_point\n    return ep.load()\n  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load\n    entry = __import__(self.module_name, globals(),globals(), [\'__name__\'])\n  File "/usr/lib/python2.6/site-packages/pip/__init__.py", line 9, in <module>\n    from pip.util import get_installed_distributions, get_prog\n  File "/usr/lib/python2.6/site-packages/pip/util.py", line 15, in <module>\n    from pip.locations import site_packages, running_under_virtualenv, virtualenv_no_global\n  File "/usr/lib/python2.6/site-packages/pip/locations.py", line 64, in <module>\n    build_prefix = _get_build_prefix()\n  File "/usr/lib/python2.6/site-packages/pip/locations.py", line 54, in _get_build_prefix\n    raise pip.exceptions.InstallationError(msg)\npip.exceptions.InstallationError: The temporary folder for building (/tmp/pip-build-melwitt) is not owned by your user!\n'

To manage notifications about this bug go to:
https://bugs.launchpad.net/anvil/+bug/1179747/+subscriptions