* Basic build fails
@ 2014-09-12 19:42 Arun Kumar
2014-09-12 20:07 ` Burton, Ross
0 siblings, 1 reply; 8+ messages in thread
From: Arun Kumar @ 2014-09-12 19:42 UTC (permalink / raw)
To: Yocto Project Mailing List
Hi all,
I am new to the yocto project and was following the steps given in the quick start guide. I made a slight change as given in the superuser section.
I used the "fetchall" option to get all the packages first and then started the build, now when i use this command
"bitbake -k core-image-sato" i get the following error
/------------------------------------------------------------------------------------
ERROR: Task 595 (/home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2729 tasks of which 1784 didn't need to be rerun and 1 failed.
No currently running tasks (2729 of 5634)
Summary: 1 task failed:
/home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
/------------------------------------------------------------------------------------
any idea or hint where i might be going wrong?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Basic build fails
2014-09-12 19:42 Basic build fails Arun Kumar
@ 2014-09-12 20:07 ` Burton, Ross
2014-09-13 4:15 ` Arun Kumar
0 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2014-09-12 20:07 UTC (permalink / raw)
To: Arun Kumar; +Cc: Yocto Project Mailing List
On 12 September 2014 20:42, Arun Kumar <arunkr.linux@gmail.com> wrote:
> Hi all,
>
> I am new to the yocto project and was following the steps given in the quick start guide. I made a slight change as given in the superuser section.
>
> I used the "fetchall" option to get all the packages first and then started the build, now when i use this command
>
> "bitbake -k core-image-sato" i get the following error
>
> /------------------------------------------------------------------------------------
> ERROR: Task 595 (/home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 2729 tasks of which 1784 didn't need to be rerun and 1 failed.
> No currently running tasks (2729 of 5634)
>
> Summary: 1 task failed:
> /home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile
> Summary: There was 1 WARNING message shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> /------------------------------------------------------------------------------------
>
> any idea or hint where i might be going wrong?
You've trimmed the output at just the place where it was telling you
what went wrong. Re-run bitbake gcc-cross, and paste the output of
that.
Ross
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Basic build fails
2014-09-12 20:07 ` Burton, Ross
@ 2014-09-13 4:15 ` Arun Kumar
2014-09-13 11:48 ` Gary Thomas
0 siblings, 1 reply; 8+ messages in thread
From: Arun Kumar @ 2014-09-13 4:15 UTC (permalink / raw)
To: Burton, Ross, Yocto Project Mailing List
Thanks for the reply ross, but the build noise is too much form me to put it in here. I will post the last few lines of which i can make some sense, but the rest is somewhat incomprehensible.
/-------------------------------------------------------------------------------
| make[1]: *** [s-attrtab] Killed
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory `/home/arun/Documents/Dev/yocto/tmp/work/x86_64-poky-linux/gcc-cross-i586/4.9.1-r0/gcc-4.9.1/build.x86_64-linux.i586-poky-linux/gcc'
| make: *** [all-gcc] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/arun/Documents/Dev/yocto/build/../tmp/work/x86_64-poky-linux/gcc-cross-i586/4.9.1-r0/temp/log.do_compile.29857)
ERROR: Task 595 (/home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2729 tasks of which 2728 didn't need to be rerun and 1 failed.
No currently running tasks (307 of 5634)
Summary: 1 task failed:
/home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
/-------------------------------------------------------------------------------------------------------
here is the pastebin link to the whole error http://pastebin.com/Y1JsA8dt
hope this helps
On Saturday 13 September 2014 01:37 AM, Burton, Ross wrote:
> On 12 September 2014 20:42, Arun Kumar <arunkr.linux@gmail.com> wrote:
>> Hi all,
>>
>> I am new to the yocto project and was following the steps given in the quick start guide. I made a slight change as given in the superuser section.
>>
>> I used the "fetchall" option to get all the packages first and then started the build, now when i use this command
>>
>> "bitbake -k core-image-sato" i get the following error
>>
>> /------------------------------------------------------------------------------------
>> ERROR: Task 595 (/home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile) failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 2729 tasks of which 1784 didn't need to be rerun and 1 failed.
>> No currently running tasks (2729 of 5634)
>>
>> Summary: 1 task failed:
>> /home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile
>> Summary: There was 1 WARNING message shown.
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>> /------------------------------------------------------------------------------------
>>
>> any idea or hint where i might be going wrong?
> You've trimmed the output at just the place where it was telling you
> what went wrong. Re-run bitbake gcc-cross, and paste the output of
> that.
>
> Ross
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Basic build fails
2014-09-13 4:15 ` Arun Kumar
@ 2014-09-13 11:48 ` Gary Thomas
0 siblings, 0 replies; 8+ messages in thread
From: Gary Thomas @ 2014-09-13 11:48 UTC (permalink / raw)
To: yocto
On 2014-09-12 22:15, Arun Kumar wrote:
> Thanks for the reply ross, but the build noise is too much form me to put it in here. I will post the last few lines of which i can make some sense, but the rest is somewhat incomprehensible.
>
> /-------------------------------------------------------------------------------
> | make[1]: *** [s-attrtab] Killed
This is very suspicious - looks like your build may have been killed by running
out of memory...
> | make[1]: *** Waiting for unfinished jobs....
> | make[1]: Leaving directory `/home/arun/Documents/Dev/yocto/tmp/work/x86_64-poky-linux/gcc-cross-i586/4.9.1-r0/gcc-4.9.1/build.x86_64-linux.i586-poky-linux/gcc'
> | make: *** [all-gcc] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at /home/arun/Documents/Dev/yocto/build/../tmp/work/x86_64-poky-linux/gcc-cross-i586/4.9.1-r0/temp/log.do_compile.29857)
> ERROR: Task 595 (/home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 2729 tasks of which 2728 didn't need to be rerun and 1 failed.
> No currently running tasks (307 of 5634)
>
> Summary: 1 task failed:
> /home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> /-------------------------------------------------------------------------------------------------------
>
> here is the pastebin link to the whole error http://pastebin.com/Y1JsA8dt
> hope this helps
How much memory (RAM+SWAP) does your host build machine have?
> On Saturday 13 September 2014 01:37 AM, Burton, Ross wrote:
>> On 12 September 2014 20:42, Arun Kumar <arunkr.linux@gmail.com> wrote:
>>> Hi all,
>>>
>>> I am new to the yocto project and was following the steps given in the quick start guide. I made a slight change as given in the superuser section.
>>>
>>> I used the "fetchall" option to get all the packages first and then started the build, now when i use this command
>>>
>>> "bitbake -k core-image-sato" i get the following error
>>>
>>> /------------------------------------------------------------------------------------
>>> ERROR: Task 595 (/home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile) failed with exit code '1'
>>> NOTE: Tasks Summary: Attempted 2729 tasks of which 1784 didn't need to be rerun and 1 failed.
>>> No currently running tasks (2729 of 5634)
>>>
>>> Summary: 1 task failed:
>>> /home/arun/Documents/Dev/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile
>>> Summary: There was 1 WARNING message shown.
>>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>> /------------------------------------------------------------------------------------
>>>
>>> any idea or hint where i might be going wrong?
>> You've trimmed the output at just the place where it was telling you
>> what went wrong. Re-run bitbake gcc-cross, and paste the output of
>> that.
>>
>> Ross
>>
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Basic build fails
@ 2014-09-15 5:45 arun kumar
2014-09-15 8:05 ` Burton, Ross
0 siblings, 1 reply; 8+ messages in thread
From: arun kumar @ 2014-09-15 5:45 UTC (permalink / raw)
To: gary, Yocto Mailing List
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
Hi gary,
My system has 4GB RAM and 2GB of swap space. i would also like to
mention that the i could bake the recipe
"core-image-minimal" sucessfully but baking "core-image-sato" still fails.
If you could provide me some links on this regard i will be happy to do my
side of research on the same and post the result.
[-- Attachment #2: Type: text/html, Size: 416 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Basic build fails
2014-09-15 5:45 arun kumar
@ 2014-09-15 8:05 ` Burton, Ross
2014-09-15 15:27 ` Arun Kumar
0 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2014-09-15 8:05 UTC (permalink / raw)
To: arun kumar; +Cc: Yocto Mailing List, Gary Thomas
On 15 September 2014 06:45, arun kumar <arunkr.linux@gmail.com> wrote:
> My system has 4GB RAM and 2GB of swap space. i would also like to
> mention that the i could bake the recipe
> "core-image-minimal" sucessfully but baking "core-image-sato" still fails.
The full log that the top of the output refers to (ending in
log.do_compile) would be useful, but if you've built
core-image-minimal then gcc-cross has completed, so core-image-sato
must be failing on something else.
Ross
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Basic build fails
2014-09-15 8:05 ` Burton, Ross
@ 2014-09-15 15:27 ` Arun Kumar
2014-09-15 15:45 ` Burton, Ross
0 siblings, 1 reply; 8+ messages in thread
From: Arun Kumar @ 2014-09-15 15:27 UTC (permalink / raw)
To: Burton, Ross, Yocto Project Mailing List
Just a heads up. I successfully baked "core-image-sato". This time no issues, I just reinitialized the environment an it was done.
I am still clueless about the reason though. can available memory be an issue?
On Monday 15 September 2014 01:35 PM, Burton, Ross wrote:
> On 15 September 2014 06:45, arun kumar <arunkr.linux@gmail.com> wrote:
>> My system has 4GB RAM and 2GB of swap space. i would also like to
>> mention that the i could bake the recipe
>> "core-image-minimal" sucessfully but baking "core-image-sato" still fails.
> The full log that the top of the output refers to (ending in
> log.do_compile) would be useful, but if you've built
> core-image-minimal then gcc-cross has completed, so core-image-sato
> must be failing on something else.
>
> Ross
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-09-15 15:45 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-12 19:42 Basic build fails Arun Kumar
2014-09-12 20:07 ` Burton, Ross
2014-09-13 4:15 ` Arun Kumar
2014-09-13 11:48 ` Gary Thomas
2014-09-15 5:45 arun kumar
2014-09-15 8:05 ` Burton, Ross
2014-09-15 15:27 ` Arun Kumar
2014-09-15 15:45 ` Burton, Ross
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.