tox failed: No package 'libvirt' found

Bug #1490802 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas-deployer
New
Undecided
Unassigned

Bug Description

$ tox

____________________________________________________________________ summary _____________________________________________________________________
  pylint: commands succeeded
ERROR: pep8: could not install deps [-r/home/nobuto/dev/maas-deployer_next/requirements.txt, -r/home/nobuto/dev/maas-deployer_next/test-requirements.txt]; v = InvocationError('/home/nobuto/dev/maas-deployer_next/.tox/pep8/bin/pip install -r/home/nobuto/dev/maas-deployer_next/requirements.txt -r/home/nobuto/dev/maas-deployer_next/test-requirements.txt (see /home/nobuto/dev/maas-deployer_next/.tox/pep8/log/pep8-1.log)', 1)
ERROR: py27: could not install deps [-r/home/nobuto/dev/maas-deployer_next/requirements.txt, -r/home/nobuto/dev/maas-deployer_next/test-requirements.txt]; v = InvocationError('/home/nobuto/dev/maas-deployer_next/.tox/py27/bin/pip install -r/home/nobuto/dev/maas-deployer_next/requirements.txt -r/home/nobuto/dev/maas-deployer_next/test-requirements.txt (see /home/nobuto/dev/maas-deployer_next/.tox/py27/log/py27-1.log)', 1)

Revision history for this message
Nobuto Murata (nobuto) wrote :

Downloading/unpacking jinja2 (from -r /home/nobuto/dev/maas-deployer_fix-sticky-ip/requirements.txt (line 3))
Downloading/unpacking libvirt-python (from -r /home/nobuto/dev/maas-deployer_fix-sticky-ip/requirements.txt (line 4))
  Running setup.py (path:/tmp/pip-build-d8iwGw/libvirt-python/setup.py) egg_info for package libvirt-python
    Package libvirt was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libvirt.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libvirt' found
    Package libvirt was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libvirt.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libvirt' found

    file build/libvirt.py (for module libvirt) not found
    file build/libvirt_qemu.py (for module libvirt_qemu) not found
Downloading/unpacking lxml (from -r /home/nobuto/dev/maas-deployer_fix-sticky-ip/requirements.txt (line 5))
  Running setup.py (path:/tmp/pip-build-d8iwGw/lxml/setup.py) egg_info for package lxml
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
      warnings.warn(msg)
    Building lxml version 3.4.4.
    Building without Cython.
    Using build configuration of libxslt 1.1.28

    warning: no previously-included files found matching '*.py'

Revision history for this message
Nobuto Murata (nobuto) wrote :

I was missing libvirt-dev, python-dev, libxslt1-dev and zlib1g-dev package.

Revision history for this message
Nobuto Murata (nobuto) wrote :

ok, missing packages from trusty ubuntu-cloud image as follows.

$ sudo apt-get install python-tox pkg-config libvirt-dev python-dev libxslt1-dev zlib1g-dev
$ tox
 -> works.

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.