[yocto] Yocto Daisy - Beaglebone Black - core-image-minimal - Error: do_compile

prashanthg prashanthg at vtitan.com
Fri Oct 24 04:40:19 PDT 2014


@PaulEggleton Thanks a lot. I tried 'bitbake -c clean file-native' but it didn't seem to solve the issue.

@DiegoSueiro I removed meta-yocto-bsp from bblayers.conf and even tried switching to master branch on the 'meta-qt5' folder. But the error remains the same.

If this is of any help, I get a Python error on the command line before the bitbake error occurs:

ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/vtitan/yocto/poky/bitbake/lib/bb/command.py", line 96, in runAsyncCommand
    self.cooker.updateCache()
  File "/home/vtitan/yocto/poky/bitbake/lib/bb/cooker.py", line 1306, in updateCache
    if not self.parser.parse_next():
  File "/home/vtitan/yocto/poky/bitbake/lib/bb/cooker.py", line 1809, in parse_next
    self.shutdown()
  File "/home/vtitan/yocto/poky/bitbake/lib/bb/cooker.py", line 1779, in shutdown
    bb.codeparser.parser_cache_savemerge(self.cooker.data)
  File "/home/vtitan/yocto/poky/bitbake/lib/bb/codeparser.py", line 86, in parser_cache_savemerge
    codeparsercache.save_merge(d)
  File "/home/vtitan/yocto/poky/bitbake/lib/bb/cache.py", line 818, in save_merge
    data, version = p.load()
AttributeError: 'module' object has no attribute 'pythonCacheLine'

Regards,

Prashanth Gandhiraj

---- On Fri, 24 Oct 2014 16:44:02 +0530 Paul Eggleton <paul.eggleton at linux.intel.com> wrote ---- 

On Friday 24 October 2014 09:06:00 Diego Sueiro wrote: 
> On Fri, Oct 24, 2014 at 8:24 AM, prashanthg <prashanthg at vtitan.com> wrote: 
> > I have been facing issues with 'bitbake core-image-minimal' with Qt5 
> > library added for BBB. 
> > 
> > Error Log: http://pastebin.com/ADdyJnz8 
> > 
> > Build Configuration: 
> > BB_VERSION = "1.22.0" 
> > BUILD_SYS = "i686-linux" 
> > NATIVELSBSTRING = "Ubuntu-13.10" 
> > TARGET_SYS = "arm-poky-linux-gnueabi" 
> > MACHINE = "beaglebone" 
> > DISTRO = "poky" 
> > DISTRO_VERSION = "1.6.1" 
> > TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa8" 
> > TARGET_FPU = "vfp-neon" 
> > meta 
> > meta-yocto 
> > meta-yocto-bsp = "daisy:bda51ee7821de9120f6f536fcabe592f2a0c8a37" 
> > meta-oe = "daisy:518cd119a8724dbd485a5d5c5047de59e8fbd652" 
> > meta-ti = "daisy:80924d3bba59d6920217216c73af43fdd40d0152" 
> > meta-qt5 = "daisy:c29c317e0f22202bfaa85329a580564bbc179089" 
> > 
> > It would be great if you can help me solve this issue. 
> > 
> > Thanks and Regards, 
> > Prashanth 
> 
> I have Qt5.3.2 (meta-qt5 on master branch) with accelerated graphics built 
> and running on BBB. 
> I did not have seen this error. 
> 
> Note that you need to remove meta-yocto-bsp from your bblayers.conf to get 
> the BSP support from meta-ti. 
 
That is true, but I don't think that's related to the issue here. I believe I 
have seen this issue before, a long time ago, and it relates to the file-native 
recipe rebuilding after a recipe upgrade - it picks up the "magic" data file 
from the previous older build and fails because the version doesn't match. 
Cleaning the recipe should work around the issue: 
 
 bitbake -c clean file-native 
 
Then you can re-try the original build. We should try to properly reproduce 
and fix the underlying issue however. 
 
Cheers, 
Paul 
 
-- 
 
Paul Eggleton 
Intel Open Source Technology Centre 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141024/be9ad533/attachment.html>


More information about the yocto mailing list