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
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux