Re: [yocto] Yocto Daisy - Beaglebone Black - core-image-minimal - Error: do_compile
Dear Paul Eggleton, Thanks for the help. That seems to work! Have a good day. Regards, Prashanth On Fri, 24 Oct 2014 19:31:02 +0530 Paul Eggletonlt;paul.eggle...@linux.intel.comgt; wrote On Friday 24 October 2014 17:10:19 prashanthg wrote: gt; @PaulEggleton Thanks a lot. I tried 'bitbake -c clean file-native' but it gt; didn't seem to solve the issue. Ah right, I now know how to trigger this. Did you perhaps switch from the dora to the daisy branch whilst keeping your existing TMPDIR? I would recommend you delete just your TMPDIR (by default the tmp directory under your build directory) and then try again. There was a change between dora and daisy that meant that the system could not remove old files from the sysroot, and thus the old magic file was getting in the way. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Yocto Daisy - Beaglebone Black - core-image-minimal - Error: do_compile
Hi prashanthg, On Fri, Oct 24, 2014 at 8:24 AM, prashanthg prashan...@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. Regards, -- *dS Diego Sueiro Administrador do Embarcados www.embarcados.com.br http://www.embarcados.com.br/?utm_source=assinatura_diegoutm_medium=e-mailutm_campaign=Assinatura%20Email%20Diego /*long live rock 'n roll*/ -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Yocto Daisy - Beaglebone Black - core-image-minimal - Error: do_compile
Hi Diego Sueiro, Thanks for the information, will try that out. Cheers! Prashanth Gandhiraj On Fri, 24 Oct 2014 16:36:00 +0530 Diego Sueiro lt;diego.sue...@gmail.comgt; wrote Hi prashanthg, On Fri, Oct 24, 2014 at 8:24 AM, prashanthg lt;prashan...@vtitan.comgt; 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. Regards, -- *dS Diego Sueiro Administrador do Embarcados http://www.embarcados.com.br/?utm_source=assinatura_diegoamp;utm_medium=e-mailamp;utm_campaign=Assinatura%20Email%20Diego /*long live rock 'n roll*/ -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Yocto Daisy - Beaglebone Black - core-image-minimal - Error: do_compile
On Friday 24 October 2014 09:06:00 Diego Sueiro wrote: On Fri, Oct 24, 2014 at 8:24 AM, prashanthg prashan...@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 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Yocto Daisy - Beaglebone Black - core-image-minimal - Error: do_compile
@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 lt;paul.eggle...@linux.intel.comgt; wrote On Friday 24 October 2014 09:06:00 Diego Sueiro wrote: gt; On Fri, Oct 24, 2014 at 8:24 AM, prashanthg lt;prashan...@vtitan.comgt; wrote: gt; gt; I have been facing issues with 'bitbake core-image-minimal' with Qt5 gt; gt; library added for BBB. gt; gt; gt; gt; Error Log: http://pastebin.com/ADdyJnz8 gt; gt; gt; gt; Build Configuration: gt; gt; BB_VERSION = 1.22.0 gt; gt; BUILD_SYS = i686-linux gt; gt; NATIVELSBSTRING = Ubuntu-13.10 gt; gt; TARGET_SYS = arm-poky-linux-gnueabi gt; gt; MACHINE = beaglebone gt; gt; DISTRO = poky gt; gt; DISTRO_VERSION = 1.6.1 gt; gt; TUNE_FEATURES = armv7a vfp neon callconvention-hard cortexa8 gt; gt; TARGET_FPU = vfp-neon gt; gt; meta gt; gt; meta-yocto gt; gt; meta-yocto-bsp = daisy:bda51ee7821de9120f6f536fcabe592f2a0c8a37 gt; gt; meta-oe = daisy:518cd119a8724dbd485a5d5c5047de59e8fbd652 gt; gt; meta-ti = daisy:80924d3bba59d6920217216c73af43fdd40d0152 gt; gt; meta-qt5 = daisy:c29c317e0f22202bfaa85329a580564bbc179089 gt; gt; gt; gt; It would be great if you can help me solve this issue. gt; gt; gt; gt; Thanks and Regards, gt; gt; Prashanth gt; gt; I have Qt5.3.2 (meta-qt5 on master branch) with accelerated graphics built gt; and running on BBB. gt; I did not have seen this error. gt; gt; Note that you need to remove meta-yocto-bsp from your bblayers.conf to get gt; 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 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Yocto Daisy - Beaglebone Black - core-image-minimal - Error: do_compile
On Friday 24 October 2014 17:10:19 prashanthg wrote: @PaulEggleton Thanks a lot. I tried 'bitbake -c clean file-native' but it didn't seem to solve the issue. Ah right, I now know how to trigger this. Did you perhaps switch from the dora to the daisy branch whilst keeping your existing TMPDIR? I would recommend you delete just your TMPDIR (by default the tmp directory under your build directory) and then try again. There was a change between dora and daisy that meant that the system could not remove old files from the sysroot, and thus the old magic file was getting in the way. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto