[meta-freescale] fsl-image-gui build errors on ubuntu 12.04.2

Otavio Salvador otavio at ossystems.com.br
Mon Feb 11 06:01:50 PST 2013


On Mon, Feb 11, 2013 at 11:57 AM, Prasant J <pj0585 at gmail.com> wrote:
> On Mon, Feb 11, 2013 at 5:51 PM, Otavio Salvador
> <otavio at ossystems.com.br> wrote:
>> On Mon, Feb 11, 2013 at 10:19 AM, Prasant J <pj0585 at gmail.com> wrote:
>>> On Mon, Feb 11, 2013 at 5:37 PM, Otavio Salvador
>>> <otavio at ossystems.com.br> wrote:
>>>> On Mon, Feb 11, 2013 at 10:02 AM, Prasant J <pj0585 at gmail.com> wrote:
>>>>> On Fri, Feb 8, 2013 at 4:28 PM, Otavio Salvador <otavio at ossystems.com.br> wrote:
>>>>>> On Fri, Feb 8, 2013 at 6:52 AM, Prasant J <pj0585 at gmail.com> wrote:
>>>>>>> On Wed, Feb 6, 2013 at 9:17 PM, Otavio Salvador <otavio at ossystems.com.br> wrote:
>>>>>>>> On Wed, Feb 6, 2013 at 11:40 AM, Prasant J <pj0585 at gmail.com> wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I'm trying to build fsl-image-gui but getting the following errors and
>>>>>>>>> no images are prepared in tmp/deploy/
>>>>>>>>
>>>>>>>> This seems your mysql tarball is corrupted. Do:
>>>>>>>>
>>>>>>>> bitbake mysql5 -c cleanall
>>>>>>>>
>>>>>>>> bitbake -c linux-imx -c cleanall
>>>>>>>>
>>>>>>>> It seems the cached tarball is corrupted as well; please do those two
>>>>>>>> and give it a try.
>>>>>>>>
>>>>>>
>>>>>> The linux-imx and linux-libc-headers-imx use same GIT server and it
>>>>>> does take a looooooong time to download as those are huge. powertop
>>>>>> and others are better to cleanall them and give it a new try.
>>>>>>
>>>>>> One thing that might explain the corrupt file is if you press Ctrl-C
>>>>>> many times to force the interruption. So it will kill the transfer and
>>>>>> left a broken file as result. In case you press Ctrl-C *once* it'll
>>>>>> finish after it has done current running tasks, safely.
>>>>>>
>>>>>
>>>>> @Otavio: that was the issue. I had presses Ctrl+C more than once and
>>>>> the big downloads were getting corrupted and the process never
>>>>> finished.
>>>>>
>>>>> I cleaned them all and continued. There were manageable minor issues.
>>>>>
>>>>> Now I'm stuck at this point:
>>>>> parted-native-3.1-r0 do_configure()
>>>>> This process seems to be stuck. Then I tried bitbake fsl-image-gui -v
>>>>> and I see that while configuring parted there is a step "checking for
>>>>> working sleep...".
>>>>> It seems to stuck there. Any idea how long does it sleep?
>>>>
>>>> Weird; this is quite fast ...
>>>>
>>>> Maybe due your broken builds you ended with a broken tmp; I'd remove
>>>> tmp and  give it a new try ... it won't rebuild everything as it's
>>>> going to take them from sstate-cache.
>>>>
>>>
>>> Will it download everything again? (Where is all the downloaded
>>> packages stored? )
>>
>> It will not; check the downloads directory.
>>
>>> Would it be good if I only cleaned parted : bitbake parted -c cleanall ?
>>
>> You might try; I'd go for a clean tmp ;-)
>>
>
>
> bitbake parted -c cleanall did not work :-(
> had to clean tmp/
>
> anyway, going further I'm getting this warning now:
>
>
> WARNING: Setscene task 81
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb,
> do_populate_sysroot_setscene) failed with exit code '1' - real task
> will be run instead
> WARNING: Setscene task 118
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.1.bb,
> do_populate_sysroot_setscene) failed with exit code '1' - real task
> will be run instead
> WARNING: Setscene task 119
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.1.bb,
> do_package_setscene) failed with exit code '1' - real task will be run
> instead
> WARNING: Setscene task 121
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.1.bb,
> do_package_write_rpm_setscene) failed with exit code '1' - real task
> will be run instead
> WARNING: Setscene task 170
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/perl/perl_5.14.2.bb,
> do_populate_sysroot_setscene) failed with exit code '1' - real task
> will be run instead
> WARNING: Setscene task 338
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-native_4.8.1.bb,
> do_populate_sysroot_setscene) failed with exit code '1' - real task
> will be run instead
> WARNING: Setscene task 369
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb,
> do_package_write_rpm_setscene) failed with exit code '1' - real task
> will be run instead
> WARNING: Setscene task 373
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/meta/recipes-multimedia/gstreamer/gstreamer_0.10.36.bb,
> do_package_write_rpm_setscene) failed with exit code '1' - real task
> will be run instead
> WARNING: Setscene task 423
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/mysql/mysql5_5.1.40.bb,
> do_package_setscene) failed with exit code '1' - real task will be run
> instead
> WARNING: Setscene task 454
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/file/file_5.11.bb,
> do_populate_sysroot_setscene) failed with exit code '1' - real task
> will be run instead
> WARNING: Setscene task 747
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_12.09.01.bb,
> do_package_setscene) failed with exit code '1' - real task will be run
> instead
> WARNING: Setscene task 843
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/meta/recipes-kernel/oprofile/oprofile_0.9.7.bb,
> do_package_setscene) failed with exit code '1' - real task will be run
> instead
> WARNING: Setscene task 875
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/meta/recipes-kernel/systemtap/systemtap_git.bb,
> do_package_setscene) failed with exit code '1' - real task will be run
> instead
> WARNING: Setscene task 1367
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/binutils/binutils_2.22.bb,
> do_package_setscene) failed with exit code '1' - real task will be run
> instead
> WARNING: Setscene task 9
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/meta/recipes-core/eglibc/eglibc_2.16.bb,
> do_package_setscene) failed with exit code '1' - real task will be run
> instead
> WARNING: Setscene task 234
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-cross_4.7.bb,
> do_populate_sysroot_setscene) failed with exit code '1' - real task
> will be run instead
>
>
> I was not getting these earlier, but they are appearing now.
> If I have stop and start again, these appear everytime and delays the
> build process (as it will try all these tasks every time ) Any inputs
> on what could be going wrong?

You sstate-cache seems borked; maybe due your Ctrl-C crazyness ;-)

The best (but longer) option is to get rid of your tmp and
sstate-cache and start again; keep your downloads directory as it is
safe. In case you need to cancel the build type Ctrl-C once and wait
it finish ... maybe it finish fine but I'd start over and keep a good
sstate-cache around for next builds.

Regards,

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



More information about the meta-freescale mailing list