[Distutils] Problem using bdist_rpm with Fedora 10
Lloyd Kvam
python at venix.com
Thu Jun 11 19:02:18 CEST 2009
On Thu, 2009-06-11 at 12:26 -0400, Stanley A. Klein wrote:
> I tried to build java2python using bdist_rpm on Fedora 10 and got the
> following errors:
>
> RPM build errors:
> Installed (but unpackaged) file(s) found:
> /usr/lib/python2.5/site-packages/java2python/__init__.pyo
> /usr/lib/python2.5/site-packages/java2python/lib/__init__.pyo
> /usr/lib/python2.5/site-packages/java2python/lib/defaultconfig.pyo
> /usr/lib/python2.5/site-packages/java2python/lib/lexer.pyo
> /usr/lib/python2.5/site-packages/java2python/lib/parser.pyo
> /usr/lib/python2.5/site-packages/java2python/lib/sourcetypes.pyo
> /usr/lib/python2.5/site-packages/java2python/lib/walker.pyo
> error: command 'rpmbuild' failed with exit status 1
>
> This had been an issue in the past, and the recommended solution was to
> prepare a setup.cfg containing
>
> [install]
> optimize = 1
>
> This had worked in the past, but it had no effect this time.
>
> I found some discussion of the issue and some aspect of it is supposedly
> addressed in a change to Fedora. I upgraded to the latest rpm packages
> (version -4.6.1-1.fc10), but got the same behavior.
>
> How can I proceed to do the build?
https://bugzilla.redhat.com/show_bug.cgi?id=236535#c20
I believe this patch is still appropriate. Presumably it is not in the
latest rpms.
>
> Thanks.
>
>
> Stan Klein
>
>
>
>
>
>
>
> _______________________________________________
> Fedora-python-devel-list mailing list
> Fedora-python-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-python-devel-list
--
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug
More information about the Distutils-SIG
mailing list