[yocto] Creating a recipe for python3-pillow

Burton, Ross ross.burton at intel.com
Fri Jul 6 05:58:34 PDT 2018


What. You've got inherit setuptools3 so it should be using our own
python3 and have setuptools present. This makes no sense. :/

Can  you share the recipe you're building?

Ross

On 6 July 2018 at 13:56, Oliver Westermann <owestermann at gmail.com> wrote:
> Am Fr., 6. Juli 2018 um 14:38 Uhr schrieb Burton, Ross
> <ross.burton at intel.com>:
>>
>> That's very odd.  I'd suggest maybe something really weird happened,
>> what happens if you bitbake -cclean python3-pillow ; bitbake
>> python3-pillow?
>
>
> It fails with another error *dudum*
>
> ERROR: python3-pillow-5.2.0-r0 do_compile: python3 setup.py build_ext
> execution failed.
> ERROR: python3-pillow-5.2.0-r0 do_compile: Function failed: do_compile (log
> file is located at
> /data/workspace/yocto-build/build/mysys/tmp/work/aarch64-poky-linux/python3-pillow/5.2.0-r0/temp/log.do_compile.328)
> ERROR: Logfile of failure stored in:
> /data/workspace/yocto-build/build/mysys/tmp/work/aarch64-poky-linux/python3-pillow/5.2.0-r0/temp/log.do_compile.328
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | Traceback (most recent call last):
> |   File "setup.py", line 22, in <module>
> |     from setuptools import Extension, setup
> | ImportError: No module named 'setuptools'
> | ERROR: python3 setup.py build_ext execution failed.
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at
> /data/workspace/yocto-build/build/mysys/tmp/work/aarch64-poky-linux/python3-pillow/5.2.0-r0/temp/log.do_compile.328)
>
> Olli
>
> Am Fr., 6. Juli 2018 um 14:38 Uhr schrieb Burton, Ross
> <ross.burton at intel.com>:
>>
>> On 6 July 2018 at 13:32, Oliver Westermann <owestermann at gmail.com> wrote:
>> >  This does not seem to work as expected. With option 1) and 2) it fails
>> > in
>> > do_compile:
>> >
>> > | DEBUG: Executing shell function do_compile
>> > |
>> >
>> > /data/workspace/yocto-build/build/mysys/tmp/work/aarch64-poky-linux/python3-pillow/5.2.0-r0/temp/run.do_compile.14093:
>> > 112:
>> >
>> > /data/workspace/yocto-build/build/mysys/tmp/work/aarch64-poky-linux/python3-pillow/5.2.0-r0/temp/run.do_compile.14093:
>> >
>> > /data/workspace/yocto-build/build/mysys/tmp/work/aarch64-poky-linux/python3-pillow/5.2.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3:
>> > not found
>> > | ERROR: python3 setup.py build_ext execution failed.
>> > | WARNING: exit code 1 from a shell command.
>> > | ERROR: Function failed: do_compile (log file is located at
>> >
>> > /data/workspace/yocto-build/build/mysys/tmp/work/aarch64-poky-linux/python3-pillow/5.2.0-r0/temp/log.do_compile.14093)
>>
>> That's very odd.  I'd suggest maybe something really weird happened,
>> what happens if you bitbake -cclean python3-pillow ; bitbake
>> python3-pillow?
>>
>> Ross


More information about the yocto mailing list