#157 bdist_rpm gives Installed (but unpackaged) files error

open
nobody
None
5
2006-12-28
2006-12-28
Tim Wegener
No

Doing 'python setup.py bdist_rpm' gives error output shown below (snipped). Summary: pyo files get installed but are apparently not listed in the installed file list.

Version info:
PyOpenGL-3.0.0a5
python-2.4.4-1.fc6
Fedora 6 Linux

Error output:

RPM build errors:
File listed twice: /usr/lib/python2.4/site-packages/PyOpenGL-3.0.0a5-py2.4.egg-info/PKG-INFO
File listed twice: /usr/lib/python2.4/site-packages/PyOpenGL-3.0.0a5-py2.4.egg-info/SOURCES.txt
File listed twice: /usr/lib/python2.4/site-packages/PyOpenGL-3.0.0a5-py2.4.egg-info/dependency_links.txt
File listed twice: /usr/lib/python2.4/site-packages/PyOpenGL-3.0.0a5-py2.4.egg-info/entry_points.txt
File listed twice: /usr/lib/python2.4/site-packages/PyOpenGL-3.0.0a5-py2.4.egg-info/not-zip-safe
File listed twice: /usr/lib/python2.4/site-packages/PyOpenGL-3.0.0a5-py2.4.egg-info/requires.txt
File listed twice: /usr/lib/python2.4/site-packages/PyOpenGL-3.0.0a5-py2.4.egg-info/top_level.txt
Installed (but unpackaged) file(s) found:
/usr/lib/python2.4/site-packages/OpenGL/AGL/__init__.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLE/cone.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLE/helix.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLE/maintest.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLE/texas.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLUT/gears.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLUT/gluttimerfunc_testCase.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLUT/molehill.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLUT/tom/arraytest.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLUT/tom/checker.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLUT/tom/cone.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLUT/tom/conechecker.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLUT/tom/conesave.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLUT/tom/logo.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLUT/tom/lorentz.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/GLUT/tom/text.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/NeHe/lesson1.pyo
/usr/lib/python2.4/site-packages/OpenGL/Demo/NeHe/lesson13.pyo

<snipped the rest for brevity>

/usr/lib/python2.4/site-packages/OpenGL/wrapper.pyo
error: command 'rpmbuild' failed with exit status 1

Discussion