Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: QT4 and cmake patches
Date: Sat, 27 Mar 2010 18:55:51 +0100	[thread overview]
Message-ID: <holgr8$8l9$1@dough.gmane.org> (raw)
In-Reply-To: <20100327144204.GJ3458@jama>

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




  reply	other threads:[~2010-03-27 17:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2010-03-29  7:36     ` Martin Jansa
2010-03-28 15:27   ` Koen Kooi

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='holgr8$8l9$1@dough.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox