[yocto] Creating a recipe for python3-pillow

Oliver Westermann owestermann at gmail.com
Fri Jul 6 06:06:31 PDT 2018


Of course, thats the reason I'm here ;)

SUMMARY = "Pillow (The friendly PIL fork)"
HOMEPAGE = "http://python-pillow.org/"
LICENSE = "EPLv1"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c6379001ecb47e2a0420c40177fc1125"

SRC_URI[md5sum] = "52d93a34f4180abcff04876f23eaa9b9"

PYPI_PACKAGE = "Pillow"

inherit pypi setuptools3

BBCLASSEXTEND = "native nativesdk"

DEPENDS = "jpeg zlib"

CLEANBROKEN="1"

So the exact same from above, just with the missing libs as dependencies
and the CLEANBROKEN/do_configure line. I've also deleted and rebuild the
build subdir, are there other things to clean manually to be sure?

Olli

Am Fr., 6. Juli 2018 um 14:58 Uhr schrieb Burton, Ross <
ross.burton at intel.com>:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180706/b99e8fe8/attachment-0001.html>


More information about the yocto mailing list