From: Andreas Galauner <andreas@galauner.de>
To: yocto@yoctoproject.org
Subject: Python3-distribute-native build fails in daisy
Date: Sun, 08 Jun 2014 08:05:24 +0200 [thread overview]
Message-ID: <5393FD24.6090807@galauner.de> (raw)
Hi all,
I'm currently trying to add a few python packages to my image for which
I need Python 3.3 because a few of them depend on asyncio. These
packages (asyncio itself, websockets and django) are installed with the
usual distribute setup.py scripts either using setuptools or distribute.
Now when trying to build python3-distribute-native as a build dependency
for any of these packages, bitbake fails with the following message:
----------------------------> snip <----------------------------
> | copying DEVGUIDE.txt -> build/src
> | copying CHANGES.txt -> build/src
> | copying README.txt -> build/src
> | copying MANIFEST.in -> build/src
> | copying launcher.c -> build/src
> | Traceback (most recent call last):
> | File "setup.py", line 34, in <module>
> | util.run_2to3(outfiles_2to3)
> | File "/media/andy/Data/Zedboard/openembedded/build_poky/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python3.3/distutils/util.py", line 507, in run_2to3
> | from lib2to3.refactor import RefactoringTool, get_fixers_from_package
> | File "/media/andy/Data/Zedboard/openembedded/build_poky/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/refactor.py", line 19, in <module>
> | import logging
> | File "/media/andy/Data/Zedboard/openembedded/build_poky/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python3.3/logging/__init__.py", line 26, in <module>
> | import sys, os, time, io, traceback, warnings, weakref
> | ImportError: No module named 'time'
> | ERROR: python3 setup.py build_ext execution failed.
> | WARNING: /media/andy/Data/Zedboard/openembedded/build_poky/tmp-eglibc/work/x86_64-linux/python3-distribute-native/0.6.32-ml5/temp/run.do_compile.1363:1 exit 1 from
> | exit 1
> | ERROR: Function failed: do_compile (log file is located at /media/andy/Data/Zedboard/openembedded/build_poky/tmp-eglibc/work/x86_64-linux/python3-distribute-native/0.6.32-ml5/temp/log.do_compile.1363)
----------------------------> snip <----------------------------
(Note: even if the path says openembedded, it's yocto)
When using the devshell to launch python3 and trying to import time, it
fails in the same way.
I'm using an up-to-date checkout of the daisy branch.
Any ideas what the cause for this could be and how to solve this?
- Andy
next reply other threads:[~2014-06-08 6:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-08 6:05 Andreas Galauner [this message]
2014-06-08 9:45 ` Python3-distribute-native build fails in daisy Diego Sueiro
2014-06-09 2:28 ` Andreas Galauner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5393FD24.6090807@galauner.de \
--to=andreas@galauner.de \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.