Problem running setuptools bdist_rpm

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Problem running setuptools bdist_rpm

Brent Bushnell

Hi folks,

While trying to build an RPM of CherryPy version 3.1.2 I ran into the
following error:

[brent@fc10 /opt/vendor/python/CherryPy-3.1.2]$ sudo python
running install_data
error: can't copy 'cherrypy/favicon.ico': doesn't exist or not a
regular file
error: Bad exit status from /var/tmp/rpm-tmp.B3lqaj (%install)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.B3lqaj (%install)
error: command 'rpmbuild' failed with exit status 1

Adding the files listed in the install_data section of to the
MANIFEST seemed to remedy the problem.

[brent@fc10 /opt/vendor/python/CherryPy-3.1.2]$ diff MANIFEST
< cherrypy/favicon.ico
< cherrypy/LICENSE.txt
< cherrypy/scaffold/example.conf
< cherrypy/scaffold/site.conf
< cherrypy/scaffold/static/made_with_cherrypy_small.png
< cherrypy/test/style.css
< cherrypy/test/test.pem
< cherrypy/test/static/index.html
< cherrypy/test/static/dirback.jpg
< cherrypy/tutorial/tutorial.conf
< cherrypy/tutorial/README.txt
< cherrypy/tutorial/pdf_file.pdf
< cherrypy/tutorial/custom_error.html

Hopefully this is helpful.



You received this message because you are subscribed to the Google Groups "cherrypy-devel" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at