[meta-freescale] 3.10.17-1.0.0_beta meta-fsl-bsp-release layer

Alok Kumar alokkat at gmail.com
Wed Jan 22 04:41:03 PST 2014


I ran into following errors while building chromium for nitrogen6X, could
someone advise if something not compatible in my conf layer (below)

/home/user/yocto/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/src/plugins/platforms/xcb/qxcbwindow.cpp:423:51:
warning: narrowing conversion of 'XEMBED_VERSION' from 'unsigned int' to
'long int' inside { } [-Wnarrowing]
     long data[] = { XEMBED_VERSION, XEMBED_MAPPED };
                                                   ^
/home/user/yocto/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/src/plugins/platforms/xcb/qxcbconnection.cpp:
In constructor 'QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool,
const char*)':
/home/user/yocto/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/src/plugins/platforms/xcb/qxcbconnection.cpp:275:50:
error: cannot convert 'Display* {aka _XDisplay*}' to 'EGLNativeDisplayType
{aka _FBDisplay*}' for argument '1' to 'void*
eglGetDisplay(EGLNativeDisplayType)'
         EGLDisplay eglDisplay = eglGetDisplay(dpy);
                                                  ^
make[5]: *** [.obj/release-shared/qxcbconnection.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory
`/home/user/yocto/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/src/plugins/platforms/xcb'
make[4]: *** [sub-xcb-plugin-pro-make_first-ordered] Error 2
make[4]: Leaving directory
`/home/user/yocto/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/src/plugins/platforms/xcb'
make[3]: *** [sub-xcb-make_first] Error 2
make[3]: Leaving directory
`/home/user/yocto/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/src/plugins/platforms'
make[2]: *** [sub-platforms-make_first] Error 2
make[2]: Leaving directory
`/home/user/yocto/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/src/plugins'
make[1]: *** [sub-plugins-make_first] Error 2
make[1]: Leaving directory
`/home/user/yocto/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/src'
make: *** [sub-src-make_first] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.

*My conf/bblayer.conf is as below:*
LCONF_VERSION = "6"

BBPATH = "${TOPDIR}"
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) +
'/../..')}"

BBFILES ?= ""
BBLAYERS = " \
  ${BSPDIR}/sources/poky/meta \
  ${BSPDIR}/sources/poky/meta-yocto \
  \
  ${BSPDIR}/sources/meta-openembedded/meta-oe \
  ${BSPDIR}/sources/meta-openembedded/meta-gnome \
  ${BSPDIR}/sources/meta-openembedded/meta-browser \
  \
  ${BSPDIR}/sources/meta-fsl-arm \
  ${BSPDIR}/sources/meta-fsl-arm-extra \
  ${BSPDIR}/sources/meta-fsl-demos \
  ${BSPDIR}/sources/meta-qt5 \
"
*And conf/local.conf*
MACHINE ??= 'nitrogen6x'
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh"
IMAGE_INSTALL_append = " eglibc-staticdev strace gcc g++ binutils libgcc
libgcc-dev libstdc++ libstdc++-dev libstdc++-staticdev tslib-conf
tslib-tests tslib-calibrate openssh-sftp-server alsa-lib alsa-tools
alsa-state alsa-utils-alsaconf tslib evtest dbus nano git qtbase gstreamer
cairo pango fontconfig freetype pulseaudio  qtbase qtbase-fonts
qtbase-plugins qtbase-examples chromium"

USER_CLASSES ?= "buildstats image-mklibs image-prelink"
LICENSE_FLAGS_WHITELIST = "commercial"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K"
CONF_VERSION = "1"

BB_NUMBER_THREADS = '8'
PARALLEL_MAKE = '-j 8'

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = ""


Thanks
Alok


On Tue, Jan 21, 2014 at 2:25 PM, Eric Nelson <
eric.nelson at boundarydevices.com> wrote:

> On 01/21/2014 07:42 AM, Diego wrote:
>
>> Eric Nelson wrote:
>>
>>> I got complaints about the license for libav and
>>>
>>> was prompted to add this to local.conf:
>>>         LICENSE_FLAGS_WHITELIST = "commercial"
>>>
>>> I think there's something screwy with that, though.
>>> The recipes in poky/meta/recipes-multimedia/libav/
>>> appear to have a combination of GPL and LGPL
>>> licenses.
>>>
>>
>> Eric, I'd bet the:
>> LICENSE_FLAGS = "commercial"
>> in the libav recipe is because of the patents that cover several of the
>> included codecs (gsm, x264, mp3lame, etc).
>>
>>  Thanks Diego,
>
> There seem to be lots of disclaimers about this library:
>         http://libav.org/legal.html
>
>
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>



-- 
Regards
Alok Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140122/27d826a5/attachment.html>


More information about the meta-freescale mailing list