[Distutils] Problem using bdist_rpm with Fedora 10

Tarek Ziadé ziade.tarek at gmail.com
Thu Jun 11 18:59:16 UTC 2009


The change mentioned in the red-hat patch has been included in Python
the upcoming Python releases.

If you still have an eeror with -O1, it's something else. You'll have
to provide more information



On Thu, Jun 11, 2009 at 7:02 PM, Lloyd Kvam<python at venix.com> wrote:
> 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
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>



-- 
Tarek Ziadé | http://ziade.org




More information about the Fedora-python-devel-list mailing list