Re: [yocto] Basic build fails

2014-09-15 Thread Burton, Ross
On 15 September 2014 06:45, arun kumar arunkr.li...@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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Basic build fails

2014-09-15 Thread Arun Kumar
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.li...@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


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Basic build fails

2014-09-15 Thread Burton, Ross
On 15 September 2014 16:27, Arun Kumar arunkr.li...@gmail.com wrote:
 I am still clueless about the reason though. can available memory be an issue?

Yes, if it's doing multiple builds then you may run out of memory and
the compiler gets killed.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Basic build fails

2014-09-14 Thread arun kumar
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.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Basic build fails

2014-09-12 Thread Arun Kumar
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?

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Basic build fails

2014-09-12 Thread Burton, Ross
On 12 September 2014 20:42, Arun Kumar arunkr.li...@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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Basic build fails

2014-09-12 Thread Arun Kumar
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.li...@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


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto