Re: [oe] meta-qt5, master, qtwebkit-examples build failure

2013-10-07 Thread Denys Dmytriyenko
On Fri, Oct 04, 2013 at 07:39:34PM +0200, Martin Jansa wrote:
 On Fri, Oct 04, 2013 at 12:50:17PM -0400, Trevor Woerner wrote:
  Thanks Martin,
  
  On 4 October 2013 10:14, Martin Jansa martin.ja...@gmail.com wrote:
   Just lucky guess, do you have ICU enabled in qtbase?
  
  That was a good guess!
  
  It appears there's very important rule to know when using meta-qt5's
  master branch (i.e. 5.1.0):
  - if all you need is qtbase then ICU is not required and therefore not
  enabled (to save space)
  - if you need anything on top of qtbase then ICU must be enabled in
  qtbase's configuration
  
  Do you think this would be a good thing to include in this layer's
  README (or is it somewhere I should have looked)?
 
 There are few comments in qtbase.inc where people should look when they
 are changing PACKAGECONFIG, but you're right that it isn't the place
 where most people will look when they get misleading error like this
 one.

FYI, besides the obvious ICU requirement, qtwebkit-examples was not actually 
building any examples for me, so I had to bbappend the recipe w/ a tiny patch:

http://arago-project.org/pipermail/meta-arago/2013-October/002107.html

-- 
Denys


 # separate some parts of PACKAGECONFIG which are often changed
 # be aware that you need to add icu to build qtwebkit, default
 # PACKAGECONFIG is kept rather minimal for people who don't need
 # stuff like webkit (and it's easier to add options than remove)
 
 # gl or gles needs to be enabled in order to build qtdeclarative
 # 
 http://qt.gitorious.org/qt/qtdeclarative/commit/e988998a08b1420ed10bd02d9d4b3b8ed2289df9
 PACKAGECONFIG_GL ?= ${@base_contains('DISTRO_FEATURES', 'opengl', 'gl',
 '', d)}
 
 # accessibility is required to compile qtquickcontrols
 PACKAGECONFIG[accessibility] = -accessibility,-no-accessibility
 
 # gl or gles2 is needed in order to build qtdeclarative
 # (qtdeclarative.do_configure fails to find quick module without)
 PACKAGECONFIG[gl] = -opengl desktop -no-eglfs,,virtual/libgl
 
 # depends on glib
 PACKAGECONFIG[gstreamer] = -gstreamer,-no-gstreamer,gstreamer
 
 # needed for qtdeclarative (qtdeclarative.do_configure fails to find
 # quick module without)
 PACKAGECONFIG[icu] = -icu,-no-icu,${ICU}
 
 I'm thinking about using bb.warn when building qtbase without one of
 them disabled, but again most people won't check qtbase build log when
 they see no such module qtwebkit error.
 
 I'll add at least some note to README file.
 
 -- 
 Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com



 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-devel

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] meta-qt5, master, qtwebkit-examples build failure

2013-10-07 Thread Trevor Woerner
On 7 October 2013 13:53, Denys Dmytriyenko de...@denix.org wrote:
 FYI, besides the obvious ICU requirement, qtwebkit-examples was not actually
 building any examples for me, so I had to bbappend the recipe w/ a tiny patch:

 http://arago-project.org/pipermail/meta-arago/2013-October/002107.html


:-)

I had noticed that issue as well. Any chance this could get merged upstream?

It's a bit unfortunate you need to add qtwebkit-examples-examples to
your IMAGE in order to actually get the examples into your image,
instead of just qtwebkit-examples.
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] meta-qt5, master, qtwebkit-examples build failure

2013-10-07 Thread Denys Dmytriyenko
On Tue, Oct 08, 2013 at 12:28:06AM -0400, Trevor Woerner wrote:
 On 7 October 2013 13:53, Denys Dmytriyenko de...@denix.org wrote:
  FYI, besides the obvious ICU requirement, qtwebkit-examples was not actually
  building any examples for me, so I had to bbappend the recipe w/ a tiny 
  patch:
 
  http://arago-project.org/pipermail/meta-arago/2013-October/002107.html
 
 
 :-)
 
 I had noticed that issue as well. Any chance this could get merged upstream?
 
 It's a bit unfortunate you need to add qtwebkit-examples-examples to
 your IMAGE in order to actually get the examples into your image,
 instead of just qtwebkit-examples.

I just submitted a patch, but forgot the [meta-qt5] prefix:

http://lists.openembedded.org/pipermail/openembedded-devel/2013-October/092499.html

-- 
Denys
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] meta-qt5, master, qtwebkit-examples build failure

2013-10-04 Thread Trevor Woerner
Hi,

I tried performing a

$ bitbake qtwebkit-examples

and had a build failure in do_configure. I was just wondering if anyone
else is seeing
the same thing?

Unknown module(s) in QT: webkit

Full error:

ERROR: Function failed: do_configure (log file is located at
/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/temp/log.do_configure.20401)
ERROR: Logfile of failure stored in:
/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/temp/log.do_configure.20401
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function qmake5_base_preconfigure
| DEBUG: Shell function qmake5_base_preconfigure finished
| DEBUG: Executing shell function do_configure
| Reading
/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/qtwebkit-examples-opensource-src-5.1.0/examples/
examples.pro[/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/build/examples]
|  Reading
/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/qtwebkit-examples-opensource-src-5.1.0/examples/webkitqml/
webkitqml.pro[/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/build/examples/webkitqml]
|   Reading
/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/qtwebkit-examples-opensource-src-5.1.0/examples/webkitqml/shared/
shared.pro[/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/build/examples/webkitqml/shared]
|   Reading
/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/qtwebkit-examples-opensource-src-5.1.0/examples/webkitqml/flickrview/
flickrview.pro[/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/build/examples/webkitqml/flickrview]
| Project ERROR: Unknown module(s) in QT: webkit
| ERROR: Error calling
/home/trevor/build/yocto/tmp/master/qemuarm/sysroots/x86_64-linux/usr/bin/qt5/qmake
-makefile -o Makefile  -r
/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/qtwebkit-examples-opensource-src-5.1.0/
qtwebkit-examples.pro
| WARNING:
/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/temp/run.do_configure.20401:1
exit 1 from
|   exit 1
| ERROR: Function failed: do_configure (log file is located at
/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/temp/log.do_configure.20401)
ERROR: Task 6 (/home/trevor/devel/yocto/git/meta-qt5/recipes-qt/qt5/
qtwebkit-examples_5.1.0.bb, do_configure) failed with exit code '1'
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] meta-qt5, master, qtwebkit-examples build failure

2013-10-04 Thread Martin Jansa
On Fri, Oct 04, 2013 at 09:03:06AM -0400, Trevor Woerner wrote:
 Hi,
 
 I tried performing a
 
 $ bitbake qtwebkit-examples
 
 and had a build failure in do_configure. I was just wondering if anyone
 else is seeing
 the same thing?
 
 Unknown module(s) in QT: webkit

Just lucky guess, do you have ICU enabled in qtbase?

 
 Full error:
 
 ERROR: Function failed: do_configure (log file is located at
 /home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/temp/log.do_configure.20401)
 ERROR: Logfile of failure stored in:
 /home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/temp/log.do_configure.20401
 Log data follows:
 | DEBUG: Executing python function sysroot_cleansstate
 | DEBUG: Python function sysroot_cleansstate finished
 | DEBUG: Executing shell function qmake5_base_preconfigure
 | DEBUG: Shell function qmake5_base_preconfigure finished
 | DEBUG: Executing shell function do_configure
 | Reading
 /home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/qtwebkit-examples-opensource-src-5.1.0/examples/
 examples.pro[/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/build/examples]
 |  Reading
 /home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/qtwebkit-examples-opensource-src-5.1.0/examples/webkitqml/
 webkitqml.pro[/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/build/examples/webkitqml]
 |   Reading
 /home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/qtwebkit-examples-opensource-src-5.1.0/examples/webkitqml/shared/
 shared.pro[/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/build/examples/webkitqml/shared]
 |   Reading
 /home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/qtwebkit-examples-opensource-src-5.1.0/examples/webkitqml/flickrview/
 flickrview.pro[/home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/build/examples/webkitqml/flickrview]
 | Project ERROR: Unknown module(s) in QT: webkit
 | ERROR: Error calling
 /home/trevor/build/yocto/tmp/master/qemuarm/sysroots/x86_64-linux/usr/bin/qt5/qmake
 -makefile -o Makefile  -r
 /home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/qtwebkit-examples-opensource-src-5.1.0/
 qtwebkit-examples.pro
 | WARNING:
 /home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/temp/run.do_configure.20401:1
 exit 1 from
 |   exit 1
 | ERROR: Function failed: do_configure (log file is located at
 /home/trevor/build/yocto/tmp/master/qemuarm/work/armv5te-poky-linux-gnueabi/qtwebkit-examples/5.1.0-r0/temp/log.do_configure.20401)
 ERROR: Task 6 (/home/trevor/devel/yocto/git/meta-qt5/recipes-qt/qt5/
 qtwebkit-examples_5.1.0.bb, do_configure) failed with exit code '1'

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] meta-qt5, master, qtwebkit-examples build failure

2013-10-04 Thread Trevor Woerner
Thanks Martin,

On 4 October 2013 10:14, Martin Jansa martin.ja...@gmail.com wrote:
 Just lucky guess, do you have ICU enabled in qtbase?

That was a good guess!

It appears there's very important rule to know when using meta-qt5's
master branch (i.e. 5.1.0):
- if all you need is qtbase then ICU is not required and therefore not
enabled (to save space)
- if you need anything on top of qtbase then ICU must be enabled in
qtbase's configuration

Do you think this would be a good thing to include in this layer's
README (or is it somewhere I should have looked)?
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] meta-qt5, master, qtwebkit-examples build failure

2013-10-04 Thread Martin Jansa
On Fri, Oct 04, 2013 at 12:50:17PM -0400, Trevor Woerner wrote:
 Thanks Martin,
 
 On 4 October 2013 10:14, Martin Jansa martin.ja...@gmail.com wrote:
  Just lucky guess, do you have ICU enabled in qtbase?
 
 That was a good guess!
 
 It appears there's very important rule to know when using meta-qt5's
 master branch (i.e. 5.1.0):
 - if all you need is qtbase then ICU is not required and therefore not
 enabled (to save space)
 - if you need anything on top of qtbase then ICU must be enabled in
 qtbase's configuration
 
 Do you think this would be a good thing to include in this layer's
 README (or is it somewhere I should have looked)?

There are few comments in qtbase.inc where people should look when they
are changing PACKAGECONFIG, but you're right that it isn't the place
where most people will look when they get misleading error like this
one.

# separate some parts of PACKAGECONFIG which are often changed
# be aware that you need to add icu to build qtwebkit, default
# PACKAGECONFIG is kept rather minimal for people who don't need
# stuff like webkit (and it's easier to add options than remove)

# gl or gles needs to be enabled in order to build qtdeclarative
# 
http://qt.gitorious.org/qt/qtdeclarative/commit/e988998a08b1420ed10bd02d9d4b3b8ed2289df9
PACKAGECONFIG_GL ?= ${@base_contains('DISTRO_FEATURES', 'opengl', 'gl',
'', d)}

# accessibility is required to compile qtquickcontrols
PACKAGECONFIG[accessibility] = -accessibility,-no-accessibility

# gl or gles2 is needed in order to build qtdeclarative
# (qtdeclarative.do_configure fails to find quick module without)
PACKAGECONFIG[gl] = -opengl desktop -no-eglfs,,virtual/libgl

# depends on glib
PACKAGECONFIG[gstreamer] = -gstreamer,-no-gstreamer,gstreamer

# needed for qtdeclarative (qtdeclarative.do_configure fails to find
# quick module without)
PACKAGECONFIG[icu] = -icu,-no-icu,${ICU}

I'm thinking about using bb.warn when building qtbase without one of
them disabled, but again most people won't check qtbase build log when
they see no such module qtwebkit error.

I'll add at least some note to README file.

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel