All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Problem building chromium for framebuffer
@ 2015-05-09 14:22 Peter Bergin
  2015-05-09 18:29 ` Nikolay Dimitrov
  2015-05-11 17:20 ` Prabhu S
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Bergin @ 2015-05-09 14:22 UTC (permalink / raw
  To: meta-freescale@yoctoproject.org

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



Best regards,
/Peter







Peter Bergin



peter.bergin@tritech.se
+46 733 35 21 05


www.tritech.se
+46 31 763 38 00
Nordstadstorget 6
SE-411 05 G?teborg, Sweden


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem building chromium for framebuffer
  2015-05-09 14:22 Problem building chromium for framebuffer Peter Bergin
@ 2015-05-09 18:29 ` Nikolay Dimitrov
  2015-05-10 18:19   ` Otavio Salvador
  2015-05-11 17:20 ` Prabhu S
  1 sibling, 1 reply; 4+ messages in thread
From: Nikolay Dimitrov @ 2015-05-09 18:29 UTC (permalink / raw
  To: Peter Bergin
  Cc: meta-freescale@yoctoproject.org, Martin Jansa, Otavio Salvador

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem building chromium for framebuffer
  2015-05-09 18:29 ` Nikolay Dimitrov
@ 2015-05-10 18:19   ` Otavio Salvador
  0 siblings, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2015-05-10 18:19 UTC (permalink / raw
  To: Nikolay Dimitrov; +Cc: meta-freescale@yoctoproject.org, Martin Jansa

On Sat, May 9, 2015 at 3:29 PM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
> On 05/09/2015 05:22 PM, Peter Bergin wrote:
>> 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.

X11 or Wayland are still required for Chromium.

I know there is a undergoing work to allow it to work with Framebuffer
but not sure how far is it from completion.

-- 
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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem building chromium for framebuffer
  2015-05-09 14:22 Problem building chromium for framebuffer Peter Bergin
  2015-05-09 18:29 ` Nikolay Dimitrov
@ 2015-05-11 17:20 ` Prabhu S
  1 sibling, 0 replies; 4+ messages in thread
From: Prabhu S @ 2015-05-11 17:20 UTC (permalink / raw
  To: Peter Bergin; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 4106 bytes --]

https://01.org/chromium/blogs/tiagovignatti/2014/chromium-ozone-gbm-explained
is the way to enable Chromium with FBDEV, but currently ozone-BGM is very
much tightly integrated with Mesa drivers. AFAIK, current chromium have the
support to build for FBDEV.

On Sat, May 9, 2015 at 9:22 AM, Peter Bergin <peter.bergin@tritech.se>
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
>
>
>
> Best regards,
> /Peter
>
>
>
>
>
>
>
> Peter Bergin
>
>
>
> peter.bergin@tritech.se
> +46 733 35 21 05
>
>
> www.tritech.se
> +46 31 763 38 00
> Nordstadstorget 6
> SE-411 05 G?teborg, Sweden
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>

[-- Attachment #2: Type: text/html, Size: 5447 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-11 17:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-09 14:22 Problem building chromium for framebuffer Peter Bergin
2015-05-09 18:29 ` Nikolay Dimitrov
2015-05-10 18:19   ` Otavio Salvador
2015-05-11 17:20 ` Prabhu S

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.