All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikolay Dimitrov <picmaster@mail.bg>
To: Peter Bergin <peter.bergin@tritech.se>
Cc: "meta-freescale@yoctoproject.org"
	<meta-freescale@yoctoproject.org>,
	Martin Jansa <Martin.Jansa@gmail.com>,
	Otavio Salvador <otavio@ossystems.com.br>
Subject: Re: Problem building chromium for framebuffer
Date: Sat, 09 May 2015 21:29:56 +0300	[thread overview]
Message-ID: <554E5224.1050707@mail.bg> (raw)
In-Reply-To: <43F0718C449F6A46B393DA2BEC8E01280C81268F@post>

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


  reply	other threads:[~2015-05-09 18:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-09 14:22 Problem building chromium for framebuffer Peter Bergin
2015-05-09 18:29 ` Nikolay Dimitrov [this message]
2015-05-10 18:19   ` Otavio Salvador
2015-05-11 17:20 ` Prabhu S

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=554E5224.1050707@mail.bg \
    --to=picmaster@mail.bg \
    --cc=Martin.Jansa@gmail.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=otavio@ossystems.com.br \
    --cc=peter.bergin@tritech.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.