scons reports "UserWarning: Unbuilt egg for setuptools..."

Bug #631365 reported by Ingo Ruhnke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
scons (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: scons

Running a simple empty SConstruct file with scons leads to:

/usr/bin/scons:169: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)
  d = pkg_resources.get_distribution('scons')

Which probably indicates a problem with the scons package.

Full way to reproduce the problem:

$ touch SConstruct
$ scons
/usr/bin/scons:169: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)
  d = pkg_resources.get_distribution('scons')
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.
$

Revision history for this message
Ingo Ruhnke (grumbel) wrote :

Not an scons issue it seems, the bug is already documented at:

https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/576434

The workaround given there, namely:

sudo rmdir /usr/lib/python2.6/dist-packages/setuptools.egg-info
sudo apt-get install --reinstall python-setuptools

Solved the issue for me.

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.