[oe] [PATCH] nativesdk-qtbase: do qmake replacement in ${D} instead of ${B}

Otavio Salvador otavio at ossystems.com.br
Tue Feb 18 14:58:39 UTC 2014


Hello Denys,

On Mon, Feb 17, 2014 at 6:05 PM, Denys Dmytriyenko <denis at denix.org> wrote:
> From: Denys Dmytriyenko <denys at ti.com>
>
> This way we don't mangle ${B} and can repeat do_install if necessary. And
> previously it would require running do_compile again to restore the proper
> state of ${B}.
>
> Signed-off-by: Denys Dmytriyenko <denys at ti.com>

This seems to not work as expected.

| make[1]: Leaving directory
`.../yocto/build/tmp/work/i686-nativesdk-oelsdk-linux/nativesdk-qtbase/5.2.0-r0/build/src'
| install: cannot stat
`.../yocto/build/tmp/work/i686-nativesdk-oelsdk-linux/nativesdk-qtbase/5.2.0-r0/build/bin/qmake-real':
No such file or directory

This happens when we have a work dir populated. So as do_compile hash
will match we need to bump the PR to ensure a full rebuild.

Another issue:

ERROR: QA Issue: nativesdk-qtbase: Files/directories were installed
but not shipped
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/bin/qmake
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/bin/.debug
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/bin/.debug/qmake

You should install it at OE_QMAKE_PATH_QT_BINS so we can have multiple
Qt toolchains in same SDK.

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



More information about the Openembedded-devel mailing list