Compile on RedHat 6.0 Fails

Bug #708828 reported by True-night
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pithos
New
Undecided
Unassigned

Bug Description

Upon running python setup.py install, the following errors occur:

ERROR: Python module LaunchpadIntegration not found
ERROR: Python module keybinder not found
ERROR: Python module appindicator not found
Traceback (most recent call last):
  File "setup.py", line 104, in <module>
    cmdclass={'install': InstallAndUpdateDataDirectory}
  File "/usr/lib/python2.6/site-packages/python_distutils_extra-2.22-py2.6.egg/DistUtilsExtra/auto.py", line 97, in setup
    distutils.core.setup(**attrs)
  File "/usr/lib/python2.6/distutils/core.py", line 113, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 225, in __init__
    _Distribution.__init__(self,attrs)
  File "/usr/lib/python2.6/distutils/dist.py", line 258, in __init__
    getattr(self.metadata, "set_" + key)(val)
  File "/usr/lib/python2.6/distutils/dist.py", line 1206, in set_provides
    distutils.versionpredicate.split_provision(v)
  File "/usr/lib/python2.6/distutils/versionpredicate.py", line 160, in split_provision
    raise ValueError("illegal provides specification: %r" % value)
ValueError: illegal provides specification: 'python-distutils-extra.DistUtilsExtra'

Not sure if you're willing to help out with this, but it'd be great to get this on RedHat systems as well.

RHEL6.0 Workstation

description: updated
Revision history for this message
True-night (hlpimfalling) wrote :

I commented out the lines that were throwing errors in setup.py and it seems to have successfully compiled.

Revision history for this message
Luke Faraone (lfaraone) wrote :

Which lines did you modify?

Revision history for this message
Rick Harris (rickfharris) wrote :

I get the same problem with this on Ubuntu 12.04.

It also presents itself in exactly the same way for indicator-weather as well.

Revision history for this message
Rick Harris (rickfharris) wrote :

And my instance turned out to be slightly different so sorry for the noise.

~ # python2.7 setup.py build -b build-2.7 install

Traceback (most recent call last):
  File "setup.py", line 81, in <module>
    cmdclass={'install': InstallAndUpdateDataDirectory, 'build_icons':build_icons, 'build':build_extra}
  File "/usr/lib64/python2.7/site-packages/DistUtilsExtra/auto.py", line 100, in setup
    distutils.core.setup(**attrs)
  File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib64/python2.7/distutils/dist.py", line 259, in __init__
    getattr(self.metadata, "set_" + key)(val)
  File "/usr/lib64/python2.7/distutils/dist.py", line 1229, in set_provides
    distutils.versionpredicate.split_provision(v)
  File "/usr/lib64/python2.7/distutils/versionpredicate.py", line 160, in split_provision
    raise ValueError("illegal provides specification: %r" % value)
ValueError: illegal provides specification: 'build-2.7.lib.pithos'

Worked around by specifying the build directory name with no numbers, like this:
~ # python2.7 setup.py build -b build install

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.