[meta-freescale] [PATCH v2 2/2] wayland-protocols: Fix PACKAGE_ARCH for i.MX-specific version

Otavio Salvador otavio.salvador at ossystems.com.br
Wed Sep 12 05:47:29 PDT 2018


On Wed, Sep 12, 2018 at 6:18 AM Andreas Müller <schnitzeltony at gmail.com> wrote:
> On Tue, Sep 11, 2018 at 6:55 PM, Otavio Salvador
> <otavio.salvador at ossystems.com.br> wrote:
> > On Tue, Sep 11, 2018 at 12:12 PM Andreas Müller <schnitzeltony at gmail.com> wrote:
> >>
> >> On Tue, Sep 11, 2018 at 4:40 PM, Otavio Salvador
> >> <otavio.salvador at ossystems.com.br> wrote:
> > ...
> >> Cannot test with fresh rootfs and switch machines back and forth
> >> currently - that is a time consuming business and nobody gives me that
> >> time...
> >
> > In fact it can indeed misbehave. I suggest you clean tmpdir and do a test.
> >
> > Doing the build from sstate should be fine.
> Just cleaned up my temp dir and did build from scratch for
>
> * imx6-based board with use-mainline-bsp
> * raspberrypi3:
>   ERROR: wayland-protocols-1.13.imx-r0 do_unpack: Unpack failure for
> URL: 'https://wayland.freedesktop.org/releases/wayland-protocols-1.13.tar.xz'.
> Unpack command PATH="/home/superandy/oe-core/sources/openembedded-core/scripts:/home/superandy/tmp/oe-core-glibc/work/${MACHINE_SOCARCH}-angstrom-linux-gnueabi/wayland-protocols/1.13.imx-r0/recipe-sysroot-native/usr/bin/arm-angstrom-linux-gnueabi:/home/superandy/tmp/oe-core-glibc/work/${MACHINE_SOCARCH}-angstrom-linux-gnueabi/wayland-protocols/1.13.imx-r0/recipe-sysroot/usr/bin/crossscripts:/home/superandy/tmp/oe-core-glibc/work/${MACHINE_SOCARCH}-angstrom-linux-gnueabi/wayland-protocols/1.13.imx-r0/recipe-sysroot-native/usr/sbin:/home/superandy/tmp/oe-core-glibc/work/${MACHINE_SOCARCH}-angstrom-linux-gnueabi/wayland-protocols/1.13.imx-r0/recipe-sysroot-native/usr/bin:/home/superandy/tmp/oe-core-glibc/work/${MACHINE_SOCARCH}-angstrom-linux-gnueabi/wayland-protocols/1.13.imx-r0/recipe-sysroot-native/sbin:/home/superandy/tmp/oe-core-glibc/work/${MACHINE_SOCARCH}-angstrom-linux-gnueabi/wayland-protocols/1.13.imx-r0/recipe-sysroot-native/bin:/home/superandy/oe-core/sources/bitbake/bin:/home/superandy/tmp/oe-core-glibc/hosttools"
> xz -dc /home/superandy/data/Downloads/packets/dl/wayland-protocols-1.13.tar.xz
> | tar x --no-same-owner -f - failed with return value 2
> ERROR: wayland-protocols-1.13.imx-r0 do_unpack: Function failed: base_do_unpack
> ERROR: Logfile of failure stored in:
> /home/superandy/tmp/oe-core-glibc/work/${MACHINE_SOCARCH}-angstrom-linux-gnueabi/wayland-protocols/1.13.imx-r0/temp/log.do_unpack.26847
> ERROR: Task (/home/superandy/oe-core/sources/meta-freescale/recipes-graphics/wayland/wayland-protocols_1.13.imx.bb:do_unpack)
> failed with exit code '1'
>
> Both same: it tries to build non-allarch wayland-protocols 1.13.imx.
>
> Something in my configuration is different but I won't check further
> since I am really tired of BSP-layers with umpteen of quirks for
> graphic-BLOB-pin-all-to-versions-and-still-not-working shit.
>
> Sorry for the harshness, but this waste of resources drives me insane :)

Oh you are using angstrom.

I fixed a missing compatible machine settings which should do the trick.

https://github.com/Freescale/meta-freescale/commit/82e14816a9f07781a792eda4cb2f72b94a7bba8c

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list