setup.py build error: command 'intltool-update' failed with exit status 1

Bug #771489 reported by Peter Dalbhanjan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Jay Pipes

Bug Description

OS: Centos 5.6 64 bit

[root@Cloud1 nova]# python26 setup.py build
WARNING: syntax errors in nova/virt/vmwareapi/vm_util.py: invalid syntax (vm_util.py, line 2)
ERROR: Python module rrdtool not found
ERROR: Python module libvirt not found
ERROR: Python module libxml2 not found
ERROR: Python module nose not found
ERROR: Python module nose not found
ERROR: Python module nose not found
ERROR: Python module win32console not found
ERROR: Python module pywintypes not found
ERROR: Python module win32console not found
WARNING: syntax errors in nova/virt/vmwareapi/error_util.py: invalid syntax (error_util.py, line 2)
ERROR: Python module boto_v6.ec2.connection not found
WARNING: syntax errors in nova/virt/vmwareapi/fake.py: invalid syntax (fake.py, line 2)
ERROR: Python module bpython not found
ERROR: Python module IPython not found
ERROR: Python module memcache not found
WARNING: syntax errors in nova/tests/vmwareapi/db_fakes.py: invalid syntax (db_fakes.py, line 2)
ERROR: Python module boto_v6.ec2.instance not found
WARNING: syntax errors in nova/virt/vmwareapi_conn.py: invalid syntax (vmwareapi_conn.py, line 2)
WARNING: syntax errors in nova/tests/vmwareapi/stubs.py: invalid syntax (stubs.py, line 2)
WARNING: syntax errors in nova/virt/vmwareapi/vim.py: invalid syntax (vim.py, line 2)
WARNING: syntax errors in nova/virt/vmwareapi/vmops.py: invalid syntax (vmops.py, line 2)
ERROR: Python module paramiko not found
WARNING: syntax errors in plugins/xenserver/networking/etc/xensource/scripts/vif_rules.py: invalid syntax (vif_rules.py, line 55)
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module xenstore not found
ERROR: Python module simplejson not found
WARNING: syntax errors in nova/virt/vmwareapi/io_util.py: invalid syntax (io_util.py, line 2)
/usr/lib/python2.6/site-packages/python_distutils_extra-2.26-py2.6.egg/DistUtilsExtra/auto.py:315: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  mod = __import__(module)
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module bpython not found
ERROR: Python module IPython not found
ERROR: Python module paramiko not found
WARNING: syntax errors in nova/virt/vmwareapi/vmware_images.py: invalid syntax (vmware_images.py, line 2)
ERROR: Python module bzrlib.workingtree not found
WARNING: syntax errors in nova/tests/vmwareapi/__init__.py: invalid syntax (__init__.py, line 2)
WARNING: syntax errors in nova/tests/test_vmwareapi.py: invalid syntax (test_vmwareapi.py, line 2)
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module simplejson not found
WARNING: syntax errors in nova/virt/vmwareapi/network_utils.py: invalid syntax (network_utils.py, line 2)
WARNING: syntax errors in nova/virt/vmwareapi/read_write_util.py: invalid syntax (read_write_util.py, line 2)
ERROR: Python module nova_adminclient not found
ERROR: Python module XenAPI not found
WARNING: syntax errors in nova/virt/vmwareapi/vim_util.py: invalid syntax (vim_util.py, line 2)
ERROR: Python module nose not found
ERROR: Python module nose not found
ERROR: Python module nose not found
ERROR: Python module win32console not found
ERROR: Python module pywintypes not found
ERROR: Python module win32console not found
ERROR: Python module bzrlib.log not found
ERROR: Python module bzrlib.osutils not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module xenstore not found
ERROR: Python module simplejson not found
running build
running build_py
copying nova/vcsversion.py -> build/lib/nova
running egg_info
writing nova.egg-info/PKG-INFO
writing top-level names to nova.egg-info/top_level.txt
writing dependency_links to nova.egg-info/dependency_links.txt
reading manifest file 'nova.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'exercise_rsapi.py'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'nova/cloudpipe/bootscript.sh'
warning: no files found matching 'nova/compute/interfaces.template'
warning: no files found matching 'nova/tests/CA/'
warning: no files found matching 'nova/tests/CA/private/'
warning: no files found matching 'nova/tests/bundle/'
warning: no files found matching 'plugins/xenapi/README'
warning: no files found matching 'plugins/xenapi/etc/xapi.d/plugins/objectstore'
warning: no files found matching 'plugins/xenapi/etc/xapi.d/plugins/pluginlib_nova.py'
writing manifest file 'nova.egg-info/SOURCES.txt'
running build_scripts
running build_i18n
intltool-update -p -g nova
unable to execute intltool-update: No such file or directory
error: command 'intltool-update' failed with exit status 1

Tags: centos

Related branches

Revision history for this message
Jay Pipes (jaypipes) wrote :

Need to add a conditional import for systems that do not have distutils.extra, since distutils.extra only adds the i18n setup.py commands....

tags: added: centos
Changed in nova:
assignee: nobody → Jay Pipes (jaypipes)
importance: Undecided → Low
status: New → Triaged
Changed in nova:
status: Triaged → Fix Committed
Revision history for this message
Markus Wells (mwells-wphr) wrote :

 Hello,

 I'm new to Openstack/Nova, but I am getting this exact error. Trying to install on CentOS 5.6, and following all the OS specific instructions on openstack's site.

 Is there a workaround I can implement now to get this running?

 Thank you,

Markus

Revision history for this message
Thierry Carrez (ttx) wrote :

@Markus: yes, you can try to apply the patch from https://code.launchpad.net/~jaypipes/nova/bug771489/+merge/59135

Revision history for this message
Nathanael Burton (mathrock) wrote :

I ran into this same problem trying to build Nova on Red Hat 6.1 (x86_64) regardless of having python-distutils-extra = 2.19 installed. Removing python-distutils-extra and applying the referenced patch (https://code.launchpad.net/~jaypipes/nova/bug771489/+merge/59135) fixed the issue. Are there differences between python-distutils-extra 2.18 and up that would have broken this?

Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-1
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-1 → 2011.3
status: Fix Committed → 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.