All of lore.kernel.org
 help / color / mirror / Atom feed
* fsl-image-gui build errors on ubuntu 12.04.2
@ 2013-02-06 13:40 Prasant J
  2013-02-06 15:47 ` Otavio Salvador
  0 siblings, 1 reply; 13+ messages in thread
From: Prasant J @ 2013-02-06 13:40 UTC (permalink / raw)
  To: meta-freescale

Hi,

I'm trying to build fsl-image-gui but getting the following errors and
no images are prepared in tmp/deploy/

--------------------------------------------------------------------------------------------------------

WARNING: Host distribution "Ubuntu 12.04.2 LTS" has not been validated
with this version of the build system; you may possibly experience
unexpected failures. It is recommended that you use a tested
distribution.
Parsing recipes: 100%
|#######################################################################################################################################|
Time: 00:00:25
Parsing of 1259 .bb files complete (0 cached, 1259 parsed). 1612
targets, 61 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = "1.16.0"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "imx6qsabresd"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3"
TUNE_FEATURES     = "armv7a vfp neon cortexa9"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto        = "(nobranch):47b0864fbd65746558d8186450c182d98bac78ca"
meta-oe           = "(nobranch):23faa51a1080d17ad491a187c7a9150f2f578ce1"
meta-fsl-arm      = "(nobranch):968409f066ad88cba500a585e2f6a9b680b8ff52"
meta-fsl-arm-extra = "(nobranch):09a2b5d29a82844c9ae79626ebffd4946893f24e"
meta-fsl-demos    = "(nobranch):6dd73bd7f5581fff273d17032f5625efa901b6d7"

NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for jpeg-native (jpeg-native,
libjpeg-turbo-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL
git://git.freescale.com/imx/linux-2.6-imx.git, attempting MIRRORS if
available
WARNING: Checksum failure encountered with download of
http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-4.8.1.tar.gz
- will attempt other sources if available
ERROR: Function failed: Unpack failure for URL:
'http://downloads.mysql.com/archives/mysql-5.1/mysql-5.1.40.tar.gz'.
Unpack command PATH="/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/scripts:/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi:/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd/usr/bin/crossscripts:/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/sbin:/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/bin:/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/i686-linux/sbin:/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/i686-linux//bin:/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/scripts:/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/bitbake/bin/:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
tar xz --no-same-owner -f
/home/prasant/im6-yocto/fsl-community-bsp/downloads/mysql-5.1.40.tar.gz
failed with return value 2
ERROR: Logfile of failure stored in:
/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mysql5-5.1.40-r10/temp/log.do_unpack.3819
Log data follows:
| DEBUG: Executing python function do_unpack
| DEBUG: Executing python function base_do_unpack
| NOTE: Unpacking
/home/prasant/im6-yocto/fsl-community-bsp/downloads/mysql-5.1.40.tar.gz
to /home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mysql5-5.1.40-r10/
| tar: Skipping to next header
| tar: Exiting with failure status due to previous errors
| DEBUG: Python function base_do_unpack finished
| DEBUG: Python function do_unpack finished
| ERROR: Function failed: Unpack failure for URL:
'http://downloads.mysql.com/archives/mysql-5.1/mysql-5.1.40.tar.gz'.
Unpack command PATH="/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/scripts:/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi:/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd/usr/bin/crossscripts:/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/sbin:/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/bin:/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/i686-linux/sbin:/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/i686-linux//bin:/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/scripts:/home/prasant/im6-yocto/fsl-community-bsp/sources/poky/bitbake/bin/:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
tar xz --no-same-owner -f
/home/prasant/im6-yocto/fsl-community-bsp/downloads/mysql-5.1.40.tar.gz
failed with return value 2
ERROR: Task 1271
(/home/prasant/im6-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/mysql/mysql5_5.1.40.bb,
do_unpack) failed with exit code '1'
ERROR: Fetcher failure: Fetch command failed with exit code 2, output:

gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

ERROR: Function failed: Fetcher failure for URL:
'git://git.freescale.com/imx/linux-2.6-imx.git'. Unable to fetch URL
from any source.
ERROR: Logfile of failure stored in:
/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/linux-libc-headers-imx-3.0.35-r0/temp/log.do_fetch.2386
ERROR: Task 650
(/home/prasant/im6-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux-libc-headers/linux-libc-headers-imx_3.0.35.bb,
do_fetch) failed with exit code '1'
WARNING: Failed to fetch URL
git://git.freescale.com/imx/linux-2.6-imx.git, attempting MIRRORS if
available
ERROR: Fetcher failure: Fetch command failed with exit code 2, output:

gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Error is not recoverable: exiting now

ERROR: Function failed: Fetcher failure for URL:
'git://git.freescale.com/imx/linux-2.6-imx.git'. Unable to fetch URL
from any source.
ERROR: Logfile of failure stored in:
/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx-3.0.35-r32.10/temp/log.do_fetch.2387
ERROR: Task 247
(/home/prasant/im6-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb,
do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1723 tasks of which 1712 didn't need to
be rerun and 3 failed.
Waiting for 0 running tasks to finish:

Summary: 3 tasks failed:
  /home/prasant/im6-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/mysql/mysql5_5.1.40.bb,
do_unpack
  /home/prasant/im6-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux-libc-headers/linux-libc-headers-imx_3.0.35.bb,
do_fetch
  /home/prasant/im6-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb,
do_fetch
Summary: There were 4 WARNING messages shown.
Summary: There were 5 ERROR messages shown, returning a non-zero exit code.

--------------------------------------------------------------------------------------------------------

Any inputs will be of help?

-Pj


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

* Re: fsl-image-gui build errors on ubuntu 12.04.2
  2013-02-06 13:40 fsl-image-gui build errors on ubuntu 12.04.2 Prasant J
@ 2013-02-06 15:47 ` Otavio Salvador
  2013-02-08  8:52   ` Prasant J
  0 siblings, 1 reply; 13+ messages in thread
From: Otavio Salvador @ 2013-02-06 15:47 UTC (permalink / raw)
  To: Prasant J; +Cc: meta-freescale

On Wed, Feb 6, 2013 at 11:40 AM, Prasant J <pj0585@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/
...
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/mysql/mysql5_5.1.40.bb,
> do_unpack) failed with exit code '1'
> ERROR: Fetcher failure: Fetch command failed with exit code 2, output:
>
> gzip: stdin: invalid compressed data--format violated
> tar: Unexpected EOF in archive
> tar: Unexpected EOF in archive
> tar: Error is not recoverable: exiting now

This seems your mysql tarball is corrupted. Do:

bitbake mysql5 -c cleanall

> ERROR: Function failed: Fetcher failure for URL:
> 'git://git.freescale.com/imx/linux-2.6-imx.git'. Unable to fetch URL
> from any source.
> ERROR: Logfile of failure stored in:
> /home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/linux-libc-headers-imx-3.0.35-r0/temp/log.do_fetch.2386
> ERROR: Task 650
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux-libc-headers/linux-libc-headers-imx_3.0.35.bb,
> do_fetch) failed with exit code '1'
> WARNING: Failed to fetch URL
> git://git.freescale.com/imx/linux-2.6-imx.git, attempting MIRRORS if
> available
> ERROR: Fetcher failure: Fetch command failed with exit code 2, output:
>
> gzip: stdin: invalid compressed data--crc error
> tar: Child returned status 1
> tar: Error is not recoverable: exiting now
>
> ERROR: Function failed: Fetcher failure for URL:
> 'git://git.freescale.com/imx/linux-2.6-imx.git'. Unable to fetch URL
> from any source.
> ERROR: Logfile of failure stored in:
> /home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx-3.0.35-r32.10/temp/log.do_fetch.2387
> ERROR: Task 247
> (/home/prasant/im6-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb,
> do_fetch) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 1723 tasks of which 1712 didn't need to
> be rerun and 3 failed.
> Waiting for 0 running tasks to finish:

bitbake -c linux-imx -c cleanall

It seems the cached tarball is corrupted as well; please do those two
and give it a try.

I hope it helps.

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


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

* Re: fsl-image-gui build errors on ubuntu 12.04.2
  2013-02-06 15:47 ` Otavio Salvador
@ 2013-02-08  8:52   ` Prasant J
  2013-02-08 10:58     ` Otavio Salvador
  0 siblings, 1 reply; 13+ messages in thread
From: Prasant J @ 2013-02-08  8:52 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

On Wed, Feb 6, 2013 at 9:17 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> On Wed, Feb 6, 2013 at 11:40 AM, Prasant J <pj0585@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.
>
> I hope it helps.
>
> --
> Otavio Salvador                             O.S. Systems
> E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


Hi Otavio,

I did the above steps mentioned by you and I could continue download.
mysql5 problem seems to be solved. But I'm receiving similar errors
for other sources as well, eg:
linux-2.6-imx
powertop-1.13
sat-solver
linux-libc-headers-imx-3.0.35-r0 (this seems to be
downloading/fetching forever, always fails)

I guess the mirror that I'm using to download is slow and I frequently
get corrupted tars.

Is there a way to provide some other mirror ?
Is there a way to see download progress?

-Pj


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

* Re: fsl-image-gui build errors on ubuntu 12.04.2
  2013-02-08  8:52   ` Prasant J
@ 2013-02-08 10:58     ` Otavio Salvador
  2013-02-11 12:02       ` Prasant J
  0 siblings, 1 reply; 13+ messages in thread
From: Otavio Salvador @ 2013-02-08 10:58 UTC (permalink / raw)
  To: Prasant J; +Cc: meta-freescale

On Fri, Feb 8, 2013 at 6:52 AM, Prasant J <pj0585@gmail.com> wrote:
> On Wed, Feb 6, 2013 at 9:17 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>> On Wed, Feb 6, 2013 at 11:40 AM, Prasant J <pj0585@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.
>>
>> I hope it helps.
>>
>> --
>> Otavio Salvador                             O.S. Systems
>> E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
>> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
>
>
> Hi Otavio,
>
> I did the above steps mentioned by you and I could continue download.
> mysql5 problem seems to be solved. But I'm receiving similar errors
> for other sources as well, eg:
> linux-2.6-imx
> powertop-1.13
> sat-solver
> linux-libc-headers-imx-3.0.35-r0 (this seems to be
> downloading/fetching forever, always fails)

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.

> I guess the mirror that I'm using to download is slow and I frequently
> get corrupted tars.

Read above.

> Is there a way to provide some other mirror ?

Yes it is. You can setup your internal mirror if you wish and set
Yocto to fetch from there before trying others or restrict it for a
specific mirror.

> Is there a way to see download progress?

No; it runs many fetches in parallel so it is hard to provide
information for each in realtime.

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


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

* Re: fsl-image-gui build errors on ubuntu 12.04.2
  2013-02-08 10:58     ` Otavio Salvador
@ 2013-02-11 12:02       ` Prasant J
  2013-02-11 12:07         ` Otavio Salvador
  0 siblings, 1 reply; 13+ messages in thread
From: Prasant J @ 2013-02-11 12:02 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

On Fri, Feb 8, 2013 at 4:28 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> On Fri, Feb 8, 2013 at 6:52 AM, Prasant J <pj0585@gmail.com> wrote:
>> On Wed, Feb 6, 2013 at 9:17 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>> On Wed, Feb 6, 2013 at 11:40 AM, Prasant J <pj0585@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?

-Pj


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

* Re: fsl-image-gui build errors on ubuntu 12.04.2
  2013-02-11 12:02       ` Prasant J
@ 2013-02-11 12:07         ` Otavio Salvador
  2013-02-11 12:19           ` Prasant J
  0 siblings, 1 reply; 13+ messages in thread
From: Otavio Salvador @ 2013-02-11 12:07 UTC (permalink / raw)
  To: Prasant J; +Cc: meta-freescale

On Mon, Feb 11, 2013 at 10:02 AM, Prasant J <pj0585@gmail.com> wrote:
> On Fri, Feb 8, 2013 at 4:28 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>> On Fri, Feb 8, 2013 at 6:52 AM, Prasant J <pj0585@gmail.com> wrote:
>>> On Wed, Feb 6, 2013 at 9:17 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>> On Wed, Feb 6, 2013 at 11:40 AM, Prasant J <pj0585@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.

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


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

* Re: fsl-image-gui build errors on ubuntu 12.04.2
  2013-02-11 12:07         ` Otavio Salvador
@ 2013-02-11 12:19           ` Prasant J
  2013-02-11 12:21             ` Otavio Salvador
  0 siblings, 1 reply; 13+ messages in thread
From: Prasant J @ 2013-02-11 12:19 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

On Mon, Feb 11, 2013 at 5:37 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> On Mon, Feb 11, 2013 at 10:02 AM, Prasant J <pj0585@gmail.com> wrote:
>> On Fri, Feb 8, 2013 at 4:28 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>> On Fri, Feb 8, 2013 at 6:52 AM, Prasant J <pj0585@gmail.com> wrote:
>>>> On Wed, Feb 6, 2013 at 9:17 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>>> On Wed, Feb 6, 2013 at 11:40 AM, Prasant J <pj0585@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? )
Would it be good if I only cleaned parted : bitbake parted -c cleanall ?

-Pj


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

* Re: fsl-image-gui build errors on ubuntu 12.04.2
  2013-02-11 12:19           ` Prasant J
@ 2013-02-11 12:21             ` Otavio Salvador
  2013-02-11 13:57               ` Prasant J
  0 siblings, 1 reply; 13+ messages in thread
From: Otavio Salvador @ 2013-02-11 12:21 UTC (permalink / raw)
  To: Prasant J; +Cc: meta-freescale

On Mon, Feb 11, 2013 at 10:19 AM, Prasant J <pj0585@gmail.com> wrote:
> On Mon, Feb 11, 2013 at 5:37 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>> On Mon, Feb 11, 2013 at 10:02 AM, Prasant J <pj0585@gmail.com> wrote:
>>> On Fri, Feb 8, 2013 at 4:28 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>> On Fri, Feb 8, 2013 at 6:52 AM, Prasant J <pj0585@gmail.com> wrote:
>>>>> On Wed, Feb 6, 2013 at 9:17 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>>>> On Wed, Feb 6, 2013 at 11:40 AM, Prasant J <pj0585@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 ;-)

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


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

* Re: fsl-image-gui build errors on ubuntu 12.04.2
  2013-02-11 12:21             ` Otavio Salvador
@ 2013-02-11 13:57               ` Prasant J
  2013-02-11 14:01                 ` Otavio Salvador
  0 siblings, 1 reply; 13+ messages in thread
From: Prasant J @ 2013-02-11 13:57 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

On Mon, Feb 11, 2013 at 5:51 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> On Mon, Feb 11, 2013 at 10:19 AM, Prasant J <pj0585@gmail.com> wrote:
>> On Mon, Feb 11, 2013 at 5:37 PM, Otavio Salvador
>> <otavio@ossystems.com.br> wrote:
>>> On Mon, Feb 11, 2013 at 10:02 AM, Prasant J <pj0585@gmail.com> wrote:
>>>> On Fri, Feb 8, 2013 at 4:28 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>>> On Fri, Feb 8, 2013 at 6:52 AM, Prasant J <pj0585@gmail.com> wrote:
>>>>>> On Wed, Feb 6, 2013 at 9:17 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>>>>> On Wed, Feb 6, 2013 at 11:40 AM, Prasant J <pj0585@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?

-Pj


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

* Re: fsl-image-gui build errors on ubuntu 12.04.2
  2013-02-11 13:57               ` Prasant J
@ 2013-02-11 14:01                 ` Otavio Salvador
  2013-02-12 12:31                   ` Prasant J
  0 siblings, 1 reply; 13+ messages in thread
From: Otavio Salvador @ 2013-02-11 14:01 UTC (permalink / raw)
  To: Prasant J; +Cc: meta-freescale

On Mon, Feb 11, 2013 at 11:57 AM, Prasant J <pj0585@gmail.com> wrote:
> On Mon, Feb 11, 2013 at 5:51 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>> On Mon, Feb 11, 2013 at 10:19 AM, Prasant J <pj0585@gmail.com> wrote:
>>> On Mon, Feb 11, 2013 at 5:37 PM, Otavio Salvador
>>> <otavio@ossystems.com.br> wrote:
>>>> On Mon, Feb 11, 2013 at 10:02 AM, Prasant J <pj0585@gmail.com> wrote:
>>>>> On Fri, Feb 8, 2013 at 4:28 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>>>> On Fri, Feb 8, 2013 at 6:52 AM, Prasant J <pj0585@gmail.com> wrote:
>>>>>>> On Wed, Feb 6, 2013 at 9:17 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>>>>>> On Wed, Feb 6, 2013 at 11:40 AM, Prasant J <pj0585@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@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


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

* Re: fsl-image-gui build errors on ubuntu 12.04.2
  2013-02-11 14:01                 ` Otavio Salvador
@ 2013-02-12 12:31                   ` Prasant J
  2013-02-12 12:47                     ` Prasant J
  0 siblings, 1 reply; 13+ messages in thread
From: Prasant J @ 2013-02-12 12:31 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

On Mon, Feb 11, 2013 at 7:31 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> On Mon, Feb 11, 2013 at 11:57 AM, Prasant J <pj0585@gmail.com> wrote:
>> On Mon, Feb 11, 2013 at 5:51 PM, Otavio Salvador
>> <otavio@ossystems.com.br> wrote:
>>> On Mon, Feb 11, 2013 at 10:19 AM, Prasant J <pj0585@gmail.com> wrote:
>>>> On Mon, Feb 11, 2013 at 5:37 PM, Otavio Salvador
>>>> <otavio@ossystems.com.br> wrote:
>>>>> On Mon, Feb 11, 2013 at 10:02 AM, Prasant J <pj0585@gmail.com> wrote:
>>>>>> On Fri, Feb 8, 2013 at 4:28 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>>>>> On Fri, Feb 8, 2013 at 6:52 AM, Prasant J <pj0585@gmail.com> wrote:
>>>>>>>> On Wed, Feb 6, 2013 at 9:17 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>>>>>>> On Wed, Feb 6, 2013 at 11:40 AM, Prasant J <pj0585@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
>>
>>
>> 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.
>

Otavio, I cleaned the sstate-cache & tmp & tried again. Some pkgs were
giving errors so I did a cleanall for that pkg & continued. I'm stuck
at this point:

| In file included from ../../sql/sql_class.h:23:0,
|                  from ../../sql/mysql_priv.h:873,
|                  from ha_blackhole.cc:22:
| ../../sql/log.h:282:3: warning: access declarations are deprecated
in favour of using-declarations; suggestion: add the 'using' keyword
[-Wdeprecated]
| ../../sql/log.h:283:3: warning: access declarations are deprecated
in favour of using-declarations; suggestion: add the 'using' keyword
[-Wdeprecated]
| ../../sql/log.h:421:16: note: the mangling of 'va_list' has changed in GCC 4.4
| arm-poky-linux-gnueabi-libtool: compile:  arm-poky-linux-gnueabi-g++
-march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon
-mtune=cortex-a9
--sysroot=/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd
-DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include
-I../../regex -I../../sql -I. -DMYSQL_DYNAMIC_PLUGIN -O2 -pipe -g
-feliminate-unused-debug-types -fpermissive
-fvisibility-inlines-hidden -fno-implicit-templates -fno-exceptions
-fno-rtti -c ha_blackhole.cc -o ha_blackhole_la-ha_blackhole.o
>/dev/null 2>&1
| make[2]: *** [ha_blackhole_la-ha_blackhole.lo] Error 1
| make[2]: Leaving directory
`/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mysql5-5.1.40-r10/mysql-5.1.40/storage/blackhole'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mysql5-5.1.40-r10/mysql-5.1.40/storage'
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see
/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mysql5-5.1.40-r10/temp/log.do_compile.28737
for further information)

Anything related to by corrupted mysql5 download?

-Pj


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

* Re: fsl-image-gui build errors on ubuntu 12.04.2
  2013-02-12 12:31                   ` Prasant J
@ 2013-02-12 12:47                     ` Prasant J
  2013-02-12 16:57                       ` Otavio Salvador
  0 siblings, 1 reply; 13+ messages in thread
From: Prasant J @ 2013-02-12 12:47 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

On Tue, Feb 12, 2013 at 6:01 PM, Prasant J <pj0585@gmail.com> wrote:
> On Mon, Feb 11, 2013 at 7:31 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>> On Mon, Feb 11, 2013 at 11:57 AM, Prasant J <pj0585@gmail.com> wrote:
>>> On Mon, Feb 11, 2013 at 5:51 PM, Otavio Salvador
>>> <otavio@ossystems.com.br> wrote:
>>>> On Mon, Feb 11, 2013 at 10:19 AM, Prasant J <pj0585@gmail.com> wrote:
>>>>> On Mon, Feb 11, 2013 at 5:37 PM, Otavio Salvador
>>>>> <otavio@ossystems.com.br> wrote:
>>>>>> On Mon, Feb 11, 2013 at 10:02 AM, Prasant J <pj0585@gmail.com> wrote:
>>>>>>> On Fri, Feb 8, 2013 at 4:28 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>>>>>> On Fri, Feb 8, 2013 at 6:52 AM, Prasant J <pj0585@gmail.com> wrote:
>>>>>>>>> On Wed, Feb 6, 2013 at 9:17 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>>>>>>>> On Wed, Feb 6, 2013 at 11:40 AM, Prasant J <pj0585@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
>>>
>>>
>>> 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.
>>
>
> Otavio, I cleaned the sstate-cache & tmp & tried again. Some pkgs were
> giving errors so I did a cleanall for that pkg & continued. I'm stuck
> at this point:
>
> | In file included from ../../sql/sql_class.h:23:0,
> |                  from ../../sql/mysql_priv.h:873,
> |                  from ha_blackhole.cc:22:
> | ../../sql/log.h:282:3: warning: access declarations are deprecated
> in favour of using-declarations; suggestion: add the 'using' keyword
> [-Wdeprecated]
> | ../../sql/log.h:283:3: warning: access declarations are deprecated
> in favour of using-declarations; suggestion: add the 'using' keyword
> [-Wdeprecated]
> | ../../sql/log.h:421:16: note: the mangling of 'va_list' has changed in GCC 4.4
> | arm-poky-linux-gnueabi-libtool: compile:  arm-poky-linux-gnueabi-g++
> -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon
> -mtune=cortex-a9
> --sysroot=/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd
> -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include
> -I../../regex -I../../sql -I. -DMYSQL_DYNAMIC_PLUGIN -O2 -pipe -g
> -feliminate-unused-debug-types -fpermissive
> -fvisibility-inlines-hidden -fno-implicit-templates -fno-exceptions
> -fno-rtti -c ha_blackhole.cc -o ha_blackhole_la-ha_blackhole.o
>>/dev/null 2>&1
> | make[2]: *** [ha_blackhole_la-ha_blackhole.lo] Error 1
> | make[2]: Leaving directory
> `/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mysql5-5.1.40-r10/mysql-5.1.40/storage/blackhole'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory
> `/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mysql5-5.1.40-r10/mysql-5.1.40/storage'
> | make: *** [all-recursive] Error 1
> | ERROR: oe_runmake failed
> | ERROR: Function failed: do_compile (see
> /home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mysql5-5.1.40-r10/temp/log.do_compile.28737
> for further information)
>
> Anything related to by corrupted mysql5 download?
>

bitbake mysql5 -c clean seem to solve that issue. So it was not a bad
download but bad uncompressed mysql5 ??

-Pj


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

* Re: fsl-image-gui build errors on ubuntu 12.04.2
  2013-02-12 12:47                     ` Prasant J
@ 2013-02-12 16:57                       ` Otavio Salvador
  0 siblings, 0 replies; 13+ messages in thread
From: Otavio Salvador @ 2013-02-12 16:57 UTC (permalink / raw)
  To: Prasant J; +Cc: meta-freescale

On Tue, Feb 12, 2013 at 10:47 AM, Prasant J <pj0585@gmail.com> wrote:
> On Tue, Feb 12, 2013 at 6:01 PM, Prasant J <pj0585@gmail.com> wrote:
>> On Mon, Feb 11, 2013 at 7:31 PM, Otavio Salvador
>> <otavio@ossystems.com.br> wrote:
>>> On Mon, Feb 11, 2013 at 11:57 AM, Prasant J <pj0585@gmail.com> wrote:
>>>> On Mon, Feb 11, 2013 at 5:51 PM, Otavio Salvador
>>>> <otavio@ossystems.com.br> wrote:
>>>>> On Mon, Feb 11, 2013 at 10:19 AM, Prasant J <pj0585@gmail.com> wrote:
>>>>>> On Mon, Feb 11, 2013 at 5:37 PM, Otavio Salvador
>>>>>> <otavio@ossystems.com.br> wrote:
>>>>>>> On Mon, Feb 11, 2013 at 10:02 AM, Prasant J <pj0585@gmail.com> wrote:
>>>>>>>> On Fri, Feb 8, 2013 at 4:28 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>>>>>>> On Fri, Feb 8, 2013 at 6:52 AM, Prasant J <pj0585@gmail.com> wrote:
>>>>>>>>>> On Wed, Feb 6, 2013 at 9:17 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>>>>>>>>>> On Wed, Feb 6, 2013 at 11:40 AM, Prasant J <pj0585@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
>>>>
>>>>
>>>> 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.
>>>
>>
>> Otavio, I cleaned the sstate-cache & tmp & tried again. Some pkgs were
>> giving errors so I did a cleanall for that pkg & continued. I'm stuck
>> at this point:
>>
>> | In file included from ../../sql/sql_class.h:23:0,
>> |                  from ../../sql/mysql_priv.h:873,
>> |                  from ha_blackhole.cc:22:
>> | ../../sql/log.h:282:3: warning: access declarations are deprecated
>> in favour of using-declarations; suggestion: add the 'using' keyword
>> [-Wdeprecated]
>> | ../../sql/log.h:283:3: warning: access declarations are deprecated
>> in favour of using-declarations; suggestion: add the 'using' keyword
>> [-Wdeprecated]
>> | ../../sql/log.h:421:16: note: the mangling of 'va_list' has changed in GCC 4.4
>> | arm-poky-linux-gnueabi-libtool: compile:  arm-poky-linux-gnueabi-g++
>> -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon
>> -mtune=cortex-a9
>> --sysroot=/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd
>> -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include
>> -I../../regex -I../../sql -I. -DMYSQL_DYNAMIC_PLUGIN -O2 -pipe -g
>> -feliminate-unused-debug-types -fpermissive
>> -fvisibility-inlines-hidden -fno-implicit-templates -fno-exceptions
>> -fno-rtti -c ha_blackhole.cc -o ha_blackhole_la-ha_blackhole.o
>>>/dev/null 2>&1
>> | make[2]: *** [ha_blackhole_la-ha_blackhole.lo] Error 1
>> | make[2]: Leaving directory
>> `/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mysql5-5.1.40-r10/mysql-5.1.40/storage/blackhole'
>> | make[1]: *** [all-recursive] Error 1
>> | make[1]: Leaving directory
>> `/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mysql5-5.1.40-r10/mysql-5.1.40/storage'
>> | make: *** [all-recursive] Error 1
>> | ERROR: oe_runmake failed
>> | ERROR: Function failed: do_compile (see
>> /home/prasant/im6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mysql5-5.1.40-r10/temp/log.do_compile.28737
>> for further information)
>>
>> Anything related to by corrupted mysql5 download?
>>
>
> bitbake mysql5 -c clean seem to solve that issue. So it was not a bad
> download but bad uncompressed mysql5 ??

No; it was not a bad download. I am working in a patchset to address
some kernel headers issue that should make it more stable.

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


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

end of thread, other threads:[~2013-02-12 16:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-06 13:40 fsl-image-gui build errors on ubuntu 12.04.2 Prasant J
2013-02-06 15:47 ` Otavio Salvador
2013-02-08  8:52   ` Prasant J
2013-02-08 10:58     ` Otavio Salvador
2013-02-11 12:02       ` Prasant J
2013-02-11 12:07         ` Otavio Salvador
2013-02-11 12:19           ` Prasant J
2013-02-11 12:21             ` Otavio Salvador
2013-02-11 13:57               ` Prasant J
2013-02-11 14:01                 ` Otavio Salvador
2013-02-12 12:31                   ` Prasant J
2013-02-12 12:47                     ` Prasant J
2013-02-12 16:57                       ` Otavio Salvador

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.