All of lore.kernel.org
 help / color / mirror / Atom feed
* QT4 and cmake patches
@ 2010-03-27 11:32 Koen Kooi
  2010-03-27 14:42 ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2010-03-27 11:32 UTC (permalink / raw)
  To: matthew, valentin.longchamp, Holger Freyther; +Cc: openembedded-devel

Hi,

While going throught patchwork I noticed a lot of outstanding patches from Matthew where Holger and Valentin commented on. The patches were sadly linewrapped, so I couldn't test them.

I'm currently fixing outstanding bugs with our qt4 recipes so I can use them in and hostside as well as target side sdk and cmake support  would be helpfull :)

Matthew, could you please resend all your outstanding patches (hopefully with the comments addressed)?

regards,

Koen


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

* Re: QT4 and cmake patches
  2010-03-27 11:32 QT4 and cmake patches Koen Kooi
@ 2010-03-27 14:42 ` Martin Jansa
  2010-03-27 17:55   ` Koen Kooi
  2010-03-28 15:27   ` Koen Kooi
  0 siblings, 2 replies; 5+ messages in thread
From: Martin Jansa @ 2010-03-27 14:42 UTC (permalink / raw)
  To: openembedded-devel; +Cc: valentin.longchamp, Holger Freyther

On Sat, Mar 27, 2010 at 12:32:15PM +0100, Koen Kooi wrote:
> I'm currently fixing outstanding bugs with our qt4 recipes so I can use them in and hostside as well as target side sdk and cmake support  would be helpfull :)

Have you seen this error? 

I get this with bitbake master and 1.8 too. 

Reverting 971efeefff1520607b704cdded86deed43c459fb makes it building fine.

NOTE: Running task 7194 of 14520 (ID: 8380, /home/shr/shr-unstable/openembedded/recipes/qt4/qt4-x11-free_4.6.2.bb, do_package)
NOTE: The path does not exist:/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qt4-x11-free-4.6.2-r17.2/image/usr/lib/qt4/plugins/accessible/
NOTE: The path does not exist:/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qt4-x11-free-4.6.2-r17.2/image/usr/lib/qt4/plugins/decorations/
NOTE: The path does not exist:/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qt4-x11-free-4.6.2-r17.2/image/usr/lib/qt4/plugins/gfxdrivers/
NOTE: The path does not exist:/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qt4-x11-free-4.6.2-r17.2/image/usr/lib/qt4/plugins/mousedrivers/
NOTE: The path does not exist:/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qt4-x11-free-4.6.2-r17.2/image/usr/lib/qt4/plugins/styles/
NOTE: the following files were installed but not shipped in any package:
NOTE:   /usr/bin/.debug/uic
NOTE:   /usr/bin/.debug/rcc        
NOTE:   /usr/bin/.debug/uic3
NOTE:   /usr/bin/.debug/qttracereplay
NOTE:   /usr/bin/.debug/qdoc3
NOTE:   /usr/bin/.debug/moc
NOTE: <type 'exceptions.Exception'>:variable includedir references itself! while evaluating:
${includedir}
NOTE: <type 'exceptions.Exception'>:variable includedir references itself! while evaluating:
-I${includedir}/qt4/Qt3Support -DQT_SHARED -I${includedir}/qt4 -DQT3_SUPPORT -I${includedir}
ERROR: Error in executing: /home/shr/shr-unstable/openembedded/recipes/qt4/qt4-x11-free_4.6.2.bb
ERROR: Exception:<type 'exceptions.Exception'> Message:variable includedir references itself!
ERROR: Printing the environment of the function
ERROR:  0055:                   os.remove(pkgs_file)
ERROR:  0056:           if pkgconfig_provided[pkg] != []:
ERROR:  0057:                   f = open(pkgs_file, 'w')
ERROR:  0058:                   for p in pkgconfig_provided[pkg]:
ERROR:  0059:                           f.write('%s\n' % p)
ERROR:  0060:                   f.close()
ERROR:  0061:                   package_stagefile(pkgs_file, d)
ERROR:  0062:
ERROR:  0063:   for dir in [shlibs_dir]:
ERROR: Error in executing: /home/shr/shr-unstable/openembedded/recipes/qt4/qt4-x11-free_4.6.2.bb
ERROR: Exception:<type 'exceptions.Exception'> Message:variable includedir references itself!
ERROR: Printing the environment of the function
ERROR: Error in executing: /home/shr/shr-unstable/openembedded/recipes/qt4/qt4-x11-free_4.6.2.bb
ERROR: Exception:<type 'exceptions.Exception'> Message:variable includedir references itself!
ERROR: Printing the environment of the function
ERROR: Error in executing: /home/shr/shr-unstable/openembedded/recipes/qt4/qt4-x11-free_4.6.2.bb
ERROR: Exception:<type 'exceptions.Exception'> Message:variable includedir references itself!
ERROR: Printing the environment of the function
ERROR: Build of /home/shr/shr-unstable/openembedded/recipes/qt4/qt4-x11-free_4.6.2.bb do_package failed
Traceback (most recent call last):
  File "/home/shr/shr-unstable/bitbake/bin/bitbake", line 143, in <module>
    main()
  File "/home/shr/shr-unstable/bitbake/bin/bitbake", line 140, in main
    cooker.cook()
  File "/home/shr/shr-unstable/bitbake/lib/bb/cooker.py", line 640, in cook
    return self.buildTargets(pkgs_to_build)
  File "/home/shr/shr-unstable/bitbake/lib/bb/cooker.py", line 547, in buildTargets
    failures = rq.execute_runqueue()
  File "/home/shr/shr-unstable/bitbake/lib/bb/runqueue.py", line 841, in execute_runqueue
    self.execute_runqueue_internal()
  File "/home/shr/shr-unstable/bitbake/lib/bb/runqueue.py", line 950, in execute_runqueue_internal
    self.cooker.tryBuild(fn)
  File "/home/shr/shr-unstable/bitbake/lib/bb/cooker.py", line 136, in tryBuild
    return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
  File "/home/shr/shr-unstable/bitbake/lib/bb/cooker.py", line 110, in tryBuildPackage
    bb.build.exec_task('do_%s' % task, the_data)
  File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 283, in exec_task
    exec_func(task, localdata)
  File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 120, in exec_func
    exec_func_python(func, d)
  File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 141, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/shr/shr-unstable/bitbake/lib/bb/utils.py", line 185, in better_exec
    exec code in context
  File "do_package", line 4, in <module>
  File "do_package", line 2, in do_package
  File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 120, in exec_func
    exec_func_python(func, d)
  File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 141, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/shr/shr-unstable/bitbake/lib/bb/utils.py", line 185, in better_exec
    exec code in context
  File "package_ipk_do_package", line 4, in <module>
  File "package_ipk_do_package", line 2, in package_ipk_do_package
  File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 120, in exec_func
    exec_func_python(func, d)
  File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 141, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/shr/shr-unstable/bitbake/lib/bb/utils.py", line 185, in better_exec
    exec code in context
  File "package_do_package", line 21, in <module>
  File "package_do_package", line 18, in package_do_package
  File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 120, in exec_func
    exec_func_python(func, d)
  File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 141, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/shr/shr-unstable/bitbake/lib/bb/utils.py", line 185, in better_exec
    exec code in context
  File "package_do_pkgconfig", line 101, in <module>
  File "package_do_pkgconfig", line 44, in package_do_pkgconfig
  File "/home/shr/shr-unstable/bitbake/lib/bb/data.py", line 279, in expand
    return d.expand(s, varname)
  File "/home/shr/shr-unstable/bitbake/lib/bb/data_smart.py", line 83, in expand
    s = __expand_var_regexp__.sub(var_sub, s)
  File "/home/shr/shr-unstable/bitbake/lib/bb/data_smart.py", line 60, in var_sub
    var = self.getVar(key, 1)
  File "/home/shr/shr-unstable/bitbake/lib/bb/data_smart.py", line 166, in getVar
    return self.expand(value,var)
  File "/home/shr/shr-unstable/bitbake/lib/bb/data_smart.py", line 83, in expand
    s = __expand_var_regexp__.sub(var_sub, s)
  File "/home/shr/shr-unstable/bitbake/lib/bb/data_smart.py", line 59, in var_sub
    raise Exception("variable %s references itself!" % varname)
Exception: variable includedir references itself!

Regards,

-- 
uin:136542059                jid:Martin.Jansa@gmail.com
Jansa Martin                 sip:jamasip@voip.wengo.fr 
JaMa                         



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

* Re: QT4 and cmake patches
  2010-03-27 14:42 ` Martin Jansa
@ 2010-03-27 17:55   ` Koen Kooi
  2010-03-29  7:36     ` Martin Jansa
  2010-03-28 15:27   ` Koen Kooi
  1 sibling, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2010-03-27 17:55 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27-03-10 15:42, Martin Jansa wrote:
> On Sat, Mar 27, 2010 at 12:32:15PM +0100, Koen Kooi wrote:
>> I'm currently fixing outstanding bugs with our qt4 recipes so I can use them in and hostside as well as target side sdk and cmake support  would be helpfull :)
> 
> Have you seen this error? 
> 
> I get this with bitbake master and 1.8 too. 

Could you try changing

# QT abuses $includedir to point to its headers, which breaks pkgconfig
sysroot, so manually fix it up here:

to

# QT abuses includedir to point to its headers, which breaks pkgconfig
sysroot, so manually fix it up here:

regards,

Koen


> 
> Reverting 971efeefff1520607b704cdded86deed43c459fb makes it building fine.
> 
> NOTE: Running task 7194 of 14520 (ID: 8380, /home/shr/shr-unstable/openembedded/recipes/qt4/qt4-x11-free_4.6.2.bb, do_package)
> NOTE: The path does not exist:/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qt4-x11-free-4.6.2-r17.2/image/usr/lib/qt4/plugins/accessible/
> NOTE: The path does not exist:/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qt4-x11-free-4.6.2-r17.2/image/usr/lib/qt4/plugins/decorations/
> NOTE: The path does not exist:/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qt4-x11-free-4.6.2-r17.2/image/usr/lib/qt4/plugins/gfxdrivers/
> NOTE: The path does not exist:/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qt4-x11-free-4.6.2-r17.2/image/usr/lib/qt4/plugins/mousedrivers/
> NOTE: The path does not exist:/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qt4-x11-free-4.6.2-r17.2/image/usr/lib/qt4/plugins/styles/
> NOTE: the following files were installed but not shipped in any package:
> NOTE:   /usr/bin/.debug/uic
> NOTE:   /usr/bin/.debug/rcc        
> NOTE:   /usr/bin/.debug/uic3
> NOTE:   /usr/bin/.debug/qttracereplay
> NOTE:   /usr/bin/.debug/qdoc3
> NOTE:   /usr/bin/.debug/moc
> NOTE: <type 'exceptions.Exception'>:variable includedir references itself! while evaluating:
> ${includedir}
> NOTE: <type 'exceptions.Exception'>:variable includedir references itself! while evaluating:
> -I${includedir}/qt4/Qt3Support -DQT_SHARED -I${includedir}/qt4 -DQT3_SUPPORT -I${includedir}
> ERROR: Error in executing: /home/shr/shr-unstable/openembedded/recipes/qt4/qt4-x11-free_4.6.2.bb
> ERROR: Exception:<type 'exceptions.Exception'> Message:variable includedir references itself!
> ERROR: Printing the environment of the function
> ERROR:  0055:                   os.remove(pkgs_file)
> ERROR:  0056:           if pkgconfig_provided[pkg] != []:
> ERROR:  0057:                   f = open(pkgs_file, 'w')
> ERROR:  0058:                   for p in pkgconfig_provided[pkg]:
> ERROR:  0059:                           f.write('%s\n' % p)
> ERROR:  0060:                   f.close()
> ERROR:  0061:                   package_stagefile(pkgs_file, d)
> ERROR:  0062:
> ERROR:  0063:   for dir in [shlibs_dir]:
> ERROR: Error in executing: /home/shr/shr-unstable/openembedded/recipes/qt4/qt4-x11-free_4.6.2.bb
> ERROR: Exception:<type 'exceptions.Exception'> Message:variable includedir references itself!
> ERROR: Printing the environment of the function
> ERROR: Error in executing: /home/shr/shr-unstable/openembedded/recipes/qt4/qt4-x11-free_4.6.2.bb
> ERROR: Exception:<type 'exceptions.Exception'> Message:variable includedir references itself!
> ERROR: Printing the environment of the function
> ERROR: Error in executing: /home/shr/shr-unstable/openembedded/recipes/qt4/qt4-x11-free_4.6.2.bb
> ERROR: Exception:<type 'exceptions.Exception'> Message:variable includedir references itself!
> ERROR: Printing the environment of the function
> ERROR: Build of /home/shr/shr-unstable/openembedded/recipes/qt4/qt4-x11-free_4.6.2.bb do_package failed
> Traceback (most recent call last):
>   File "/home/shr/shr-unstable/bitbake/bin/bitbake", line 143, in <module>
>     main()
>   File "/home/shr/shr-unstable/bitbake/bin/bitbake", line 140, in main
>     cooker.cook()
>   File "/home/shr/shr-unstable/bitbake/lib/bb/cooker.py", line 640, in cook
>     return self.buildTargets(pkgs_to_build)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/cooker.py", line 547, in buildTargets
>     failures = rq.execute_runqueue()
>   File "/home/shr/shr-unstable/bitbake/lib/bb/runqueue.py", line 841, in execute_runqueue
>     self.execute_runqueue_internal()
>   File "/home/shr/shr-unstable/bitbake/lib/bb/runqueue.py", line 950, in execute_runqueue_internal
>     self.cooker.tryBuild(fn)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/cooker.py", line 136, in tryBuild
>     return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/cooker.py", line 110, in tryBuildPackage
>     bb.build.exec_task('do_%s' % task, the_data)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 283, in exec_task
>     exec_func(task, localdata)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 120, in exec_func
>     exec_func_python(func, d)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 141, in exec_func_python
>     utils.better_exec(comp, g, tmp, bbfile)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/utils.py", line 185, in better_exec
>     exec code in context
>   File "do_package", line 4, in <module>
>   File "do_package", line 2, in do_package
>   File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 120, in exec_func
>     exec_func_python(func, d)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 141, in exec_func_python
>     utils.better_exec(comp, g, tmp, bbfile)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/utils.py", line 185, in better_exec
>     exec code in context
>   File "package_ipk_do_package", line 4, in <module>
>   File "package_ipk_do_package", line 2, in package_ipk_do_package
>   File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 120, in exec_func
>     exec_func_python(func, d)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 141, in exec_func_python
>     utils.better_exec(comp, g, tmp, bbfile)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/utils.py", line 185, in better_exec
>     exec code in context
>   File "package_do_package", line 21, in <module>
>   File "package_do_package", line 18, in package_do_package
>   File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 120, in exec_func
>     exec_func_python(func, d)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/build.py", line 141, in exec_func_python
>     utils.better_exec(comp, g, tmp, bbfile)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/utils.py", line 185, in better_exec
>     exec code in context
>   File "package_do_pkgconfig", line 101, in <module>
>   File "package_do_pkgconfig", line 44, in package_do_pkgconfig
>   File "/home/shr/shr-unstable/bitbake/lib/bb/data.py", line 279, in expand
>     return d.expand(s, varname)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/data_smart.py", line 83, in expand
>     s = __expand_var_regexp__.sub(var_sub, s)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/data_smart.py", line 60, in var_sub
>     var = self.getVar(key, 1)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/data_smart.py", line 166, in getVar
>     return self.expand(value,var)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/data_smart.py", line 83, in expand
>     s = __expand_var_regexp__.sub(var_sub, s)
>   File "/home/shr/shr-unstable/bitbake/lib/bb/data_smart.py", line 59, in var_sub
>     raise Exception("variable %s references itself!" % varname)
> Exception: variable includedir references itself!
> 
> Regards,
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLrkanMkyGM64RGpERAljXAJ4kE2qgvfgWKWQZV63GZHiUoD0bzwCguyHf
s4CjUDSQDvMCey8KFK/php0=
=Kc5g
-----END PGP SIGNATURE-----




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

* Re: QT4 and cmake patches
  2010-03-27 14:42 ` Martin Jansa
  2010-03-27 17:55   ` Koen Kooi
@ 2010-03-28 15:27   ` Koen Kooi
  1 sibling, 0 replies; 5+ messages in thread
From: Koen Kooi @ 2010-03-28 15:27 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27-03-10 15:42, Martin Jansa wrote:
> On Sat, Mar 27, 2010 at 12:32:15PM +0100, Koen Kooi wrote:
>> I'm currently fixing outstanding bugs with our qt4 recipes so I can use them in and hostside as well as target side sdk and cmake support  would be helpfull :)
> 
> Have you seen this error? 

I see it now as well (only for qt4-x11 for some reason), and I'm trying
this fix:

- --- a/recipes/qt4/qt4.inc
+++ b/recipes/qt4/qt4.inc
@@ -265,7 +265,7 @@ do_install() {

        # QT abuses $includedir to point to its headers, which breaks
pkgconfig sysroot, so manually fix it up here:
        for pc in ${D}${libdir}/pkgconfig/*.pc ; do
- -               sed -i -e "s:prefix}include/${QT_BASE_NAME}/$(basename
$pc .pc):includedir}:" \
+               sed -i -e "s:prefix}include/${QT_BASE_NAME}/$(basename
$pc .pc):prefix}/include:" \

Will push if it works.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLr3VUMkyGM64RGpERAkDFAJ9DsIVx86Z9bRz7Y1f86BTvLDkyNwCfZKR8
KenGmR1WHpR1eBzPVu51ptc=
=S21L
-----END PGP SIGNATURE-----




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

* Re: QT4 and cmake patches
  2010-03-27 17:55   ` Koen Kooi
@ 2010-03-29  7:36     ` Martin Jansa
  0 siblings, 0 replies; 5+ messages in thread
From: Martin Jansa @ 2010-03-29  7:36 UTC (permalink / raw)
  To: openembedded-devel

On Sat, Mar 27, 2010 at 06:55:51PM +0100, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 27-03-10 15:42, Martin Jansa wrote:
> > On Sat, Mar 27, 2010 at 12:32:15PM +0100, Koen Kooi wrote:
> >> I'm currently fixing outstanding bugs with our qt4 recipes so I can use them in and hostside as well as target side sdk and cmake support  would be helpfull :)
> > 
> > Have you seen this error? 
> > 
> > I get this with bitbake master and 1.8 too. 
> 
> Could you try changing
> 
> # QT abuses $includedir to point to its headers, which breaks pkgconfig
> sysroot, so manually fix it up here:
> 
> to
> 
> # QT abuses includedir to point to its headers, which breaks pkgconfig
> sysroot, so manually fix it up here:
> 
> regards,
> 
> Koen

Sorry for long delay, this didn't help, but your 2nd fix, fixed it for
me too, thanks!.

Regards,

-- 
uin:136542059                jid:Martin.Jansa@gmail.com
Jansa Martin                 sip:jamasip@voip.wengo.fr 
JaMa                         



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

end of thread, other threads:[~2010-03-29  7:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-27 11:32 QT4 and cmake patches Koen Kooi
2010-03-27 14:42 ` Martin Jansa
2010-03-27 17:55   ` Koen Kooi
2010-03-29  7:36     ` Martin Jansa
2010-03-28 15:27   ` Koen Kooi

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.