Re: Python code not being byte-compiled when build on ARM ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 08/05/2013 11:03 PM, Toshio Kuratomi wrote:
On Mon, Aug 05, 2013 at 10:41:18PM +0200, Hans de Goede wrote:
Hi all,

During the F-20 mass-rebuild a noarch package of mine
ended up being build on arm (which by itself is fine),
but it failed to build because the numerous .py files
were not byte-compiled ?

See:
http://koji.fedoraproject.org/koji/taskinfo?taskID=5753892

So is this a packaging bug in my package/ Maybe byte-compiled
python files are not noarch?

byte compiled python files are noarch

Or is this a problem with the arm build config, which somehow
causes the files to no be byte-compiled there?

This could be.  I just took a look at some python packages that were built
on arm builders and they appear okay (I took a look at the pathname that
the .pyc and .pyo files refer to -- in the past, the pathnames would be
wrong if they weren't compiled with brp-python-compile but this might have
been fixed).

Thanks for looking into this, it turns out that this is a generic
F-20 issue with vegastrike. The buildroot no longer contains the
necessary bits for bytecompiling by default. Adding a
"BuildRequires: python-devel" fixes things (likely just python is enough).

Regards,

Hans
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux