All of lore.kernel.org
 help / color / mirror / Atom feed
* meta-qt5, master, qtwebkit-examples build failure
@ 2013-10-04 13:03 Trevor Woerner
  2013-10-04 14:14 ` Martin Jansa
  0 siblings, 1 reply; 7+ messages in thread
From: Trevor Woerner @ 2013-10-04 13:03 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Abhijit Potnis

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'


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

* Re: meta-qt5, master, qtwebkit-examples build failure
  2013-10-04 13:03 meta-qt5, master, qtwebkit-examples build failure Trevor Woerner
@ 2013-10-04 14:14 ` Martin Jansa
  2013-10-04 16:50   ` Trevor Woerner
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2013-10-04 14:14 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: Abhijit Potnis, openembedded-devel

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

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.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: meta-qt5, master, qtwebkit-examples build failure
  2013-10-04 14:14 ` Martin Jansa
@ 2013-10-04 16:50   ` Trevor Woerner
  2013-10-04 17:39     ` Martin Jansa
  0 siblings, 1 reply; 7+ messages in thread
From: Trevor Woerner @ 2013-10-04 16:50 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Abhijit Potnis, openembedded-devel

Thanks Martin,

On 4 October 2013 10:14, Martin Jansa <martin.jansa@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)?


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

* Re: meta-qt5, master, qtwebkit-examples build failure
  2013-10-04 16:50   ` Trevor Woerner
@ 2013-10-04 17:39     ` Martin Jansa
  2013-10-07 17:53       ` Denys Dmytriyenko
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2013-10-04 17:39 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: Abhijit Potnis, openembedded-devel

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

On Fri, Oct 04, 2013 at 12:50:17PM -0400, Trevor Woerner wrote:
> Thanks Martin,
> 
> On 4 October 2013 10:14, Martin Jansa <martin.jansa@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.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: meta-qt5, master, qtwebkit-examples build failure
  2013-10-04 17:39     ` Martin Jansa
@ 2013-10-07 17:53       ` Denys Dmytriyenko
  2013-10-08  4:28         ` Trevor Woerner
  0 siblings, 1 reply; 7+ messages in thread
From: Denys Dmytriyenko @ 2013-10-07 17:53 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Abhijit Potnis

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.jansa@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.Jansa@gmail.com



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



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

* Re: meta-qt5, master, qtwebkit-examples build failure
  2013-10-07 17:53       ` Denys Dmytriyenko
@ 2013-10-08  4:28         ` Trevor Woerner
  2013-10-08  4:37           ` Denys Dmytriyenko
  0 siblings, 1 reply; 7+ messages in thread
From: Trevor Woerner @ 2013-10-08  4:28 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: Abhijit Potnis, openembedded-devel

On 7 October 2013 13:53, Denys Dmytriyenko <denis@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".


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

* Re: meta-qt5, master, qtwebkit-examples build failure
  2013-10-08  4:28         ` Trevor Woerner
@ 2013-10-08  4:37           ` Denys Dmytriyenko
  0 siblings, 0 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2013-10-08  4:37 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: Abhijit Potnis, openembedded-devel

On Tue, Oct 08, 2013 at 12:28:06AM -0400, Trevor Woerner wrote:
> On 7 October 2013 13:53, Denys Dmytriyenko <denis@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


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

end of thread, other threads:[~2013-10-08  4:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-04 13:03 meta-qt5, master, qtwebkit-examples build failure Trevor Woerner
2013-10-04 14:14 ` Martin Jansa
2013-10-04 16:50   ` Trevor Woerner
2013-10-04 17:39     ` Martin Jansa
2013-10-07 17:53       ` Denys Dmytriyenko
2013-10-08  4:28         ` Trevor Woerner
2013-10-08  4:37           ` Denys Dmytriyenko

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.