Hi Peter,
On 05/09/2015 05:22 PM, Peter Bergin wrote:
Hi,
I am trying to build chromium with framebuffer as backend but having trouble. I
am using fido branch of the FSL community bsp. When chromium is doing the
configure step it is halted with a message that the package gdk-2.0 is missing.
Can someone give a hint about whats wrong in my configuration and how to
proceed?
In my local.conf I have added:
DISTRO_FEATURES_remove = " x11 wayland"
PACKAGECONFIG_remove = " x11 wayland"
This is the output from 'bitbake chromium':
Loading cache: 100%
|##################################################################################|
ETA: 00:00:00
Loaded 2202 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
Build Configuration:
BB_VERSION = "1.26.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "cubox-i"
DISTRO = "poky"
DISTRO_VERSION = "1.8"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "fido:e2e522a6ede3165f63ad81c72f8ac6d3903f8296"
meta-oe
meta-gnome = "fido:5b0305d9efa4b5692cd942586fb7aa92dba42d59"
meta-fsl-arm = "fido:0cfe91f3291d5c333f7fe657df397ddb520b6d31"
meta-fsl-arm-extra = "fido:bc1269b1be74f319f492090ffd3d836e25d8a559"
meta-browser = "master:713b7f4dd6292461180be17882bf468e92ac43d2"
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (log file is located at
/work/yocto/fido/cubox-i/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/chromium/40.0.2214.91-r0/temp/log.do_configure.14136)
ERROR: Logfile of failure stored in:
/work/yocto/fido/cubox-i/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/chromium/40.0.2214.91-r0/temp/log.do_configure.14136
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| Updating projects from gyp files...
| Package gdk-2.0 was not found in the pkg-config search path.
| Perhaps you should add the directory containing `gdk-2.0.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'gdk-2.0' found
| gyp: Call to 'pkg-config --cflags gdk-2.0' returned exit status 1.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at
/work/yocto/fido/cubox-i/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/chromium/40.0.2214.91-r0/temp/log.do_configure.14136)
ERROR: Task 5
(/work/yocto/fido/sources/meta-browser/recipes-browser/chromium/chromium_40.0.2214.91.bb,
do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1670 tasks of which 567 didn't need to be rerun
and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/work/yocto/fido/sources/meta-browser/recipes-browser/chromium/chromium_40.0.2214.91.bb,
do_configure
NOTE: Writing buildhistory
gtk+ dependency (which contains gdk) is missing from the chromium
recipe when building without x11 or wayland.
Unfortunately gtk+ itself can't be compiled if "directfb"
DISTRO_FEATURE is enabled:
$ bitbake gtk+
Loading cache: 100%
|#################################################################################################################################|
ETA: 00:00:00
Loaded 2260 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for jpeg-native (jpeg-native,
libjpeg-turbo-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native
ERROR: Nothing PROVIDES 'directfb-native' (but
virtual:native:/home/picmaster/work/yocto-fido-test/sources/poky/meta/recipes-graphics/cairo/cairo_1.12.18.bb
DEPENDS on or otherwise requires it). Close matches:
re2c-native
db-native
orc-native
ERROR: Required build target 'gtk+' has no buildable providers.
Missing or unbuildable dependency chain was: ['gtk+',
'gdk-pixbuf-native', 'harfbuzz-native', 'cairo-native', 'directfb-native']
It seems that for some reason gtk+ triggers a chain of native
dependencies which reaches directfb. I'm adding Martin and Otavio into
the loop.
Regards,
Nikolay
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale