I've made some more progress but have run into another roadblock with bitbake.<div>First off, The compile would fail when it reached the package "unifdef-native-2.6.18+git-r0"</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: started<br>ERROR: function do_compile failed<br>ERROR: log data follows (/home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.32319)<br>
| /home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/unifdef.c:209: error: conflicting types for 'getline'<br>| /usr/include/stdio.h:651: note: previous declaration of 'getline' was here<br>
NOTE: Task failed: /home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.32319<br>NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: failed<br>ERROR: TaskFailed event exception, aborting<br>
</blockquote><div><div><br></div><div>After this i tried running the bake with the -k flag so i can try to se how much it can do and get a feel for all of the errors.</div><div>The only other error was downloading fakeroot_1.21.1.tar.gz apparently the file structure of the debian mirror where this file was hosted had changed so i found an alternate place to get it and modified the recipe accordingly. This then compiled and patched successfully according to bit-bake.</div>
<div><br></div><div>now the only thing that fails is unifdef-native-2.6.18+git-r0. and apparently this is important because i still can't find the compiled toolchain anywhare so i'm assuming it has dependancies.</div>
<div><br></div><div>the final output from bitbake is as follows.</div><div><br></div><div><div>ubuntu@ubuntu-desktop:~/mc1322x-oe$ bitbake mc1322x-tests</div><div>/home/ubuntu/mc1322x-oe/bitbake/lib/bb/COW.py:29: DeprecationWarning: the sets module is deprecated</div>
<div> import types, sets</div><div>NOTE: Psyco JIT Compiler (<a href="http://psyco.sf.net">http://psyco.sf.net</a>) not available. Install it to increase performance.</div><div>NOTE: Handling BitBake files: \ (6621/6621) [100 %]</div>
<div>NOTE: Parsing finished. 6329 cached, 0 parsed, 292 skipped, 0 masked.</div><div>NOTE: Cache is clean, not saving.</div><div>NOTE: build 200912091715: started</div><div>fatal: ref HEAD is not a symbolic ref</div><div>
<br></div><div>OE Build Configuration:</div><div>BB_VERSION = "1.8.13"</div><div>METADATA_BRANCH = "<unknown>"</div><div>METADATA_REVISION = "696d681007dc17c2ece1b486be08f57422615ff8"</div>
<div>TARGET_ARCH = "arm"</div><div>TARGET_OS = "linux"</div><div>MACHINE = "mc13224v"</div><div>DISTRO = "mc1322x"</div><div>DISTRO_VERSION = ".dev-snapshot-20091209"</div>
<div>TARGET_FPU = "soft"</div><div><br></div><div>NOTE: Resolving any missing task queue dependencies</div><div>NOTE: Preparing runqueue</div><div>NOTE: Executing runqueue</div><div>NOTE: Running task 122 of 260 (ID: 199, /home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+<a href="http://git.bb">git.bb</a>, do_compile)</div>
<div>NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: started</div><div>ERROR: function do_compile failed</div><div>ERROR: log data follows (/home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.32333)</div>
<div>| /home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/unifdef.c:209: error: conflicting types for 'getline'</div><div>| /usr/include/stdio.h:651: note: previous declaration of 'getline' was here</div>
<div>NOTE: Task failed: /home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.32333</div><div>NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: failed</div><div>ERROR: TaskFailed event exception, aborting</div>
<div>ERROR: Build of /home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+<a href="http://git.bb">git.bb</a> do_compile failed</div><div>ERROR: Task 199 (/home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+<a href="http://git.bb">git.bb</a>, do_compile) failed</div>
<div>NOTE: Tasks Summary: Attempted 121 tasks of which 121 didn't need to be rerun and 1 failed.</div><div>ERROR: '/home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+<a href="http://git.bb">git.bb</a>' failed</div>
<div>NOTE: build 200912091715: completed</div><div>ubuntu@ubuntu-desktop:~/mc1322x-oe$ </div><div><br></div><div>and with the -k flag.</div><div><br></div><div><div>ubuntu@ubuntu-desktop:~/mc1322x-oe$ bitbake -k mc1322x-tests</div>
<div>/home/ubuntu/mc1322x-oe/bitbake/lib/bb/COW.py:29: DeprecationWarning: the sets module is deprecated</div><div> import types, sets</div><div>NOTE: Psyco JIT Compiler (<a href="http://psyco.sf.net">http://psyco.sf.net</a>) not available. Install it to increase performance.</div>
<div>NOTE: Handling BitBake files: \ (6621/6621) [100 %]</div><div>NOTE: Parsing finished. 6329 cached, 0 parsed, 292 skipped, 0 masked.</div><div>NOTE: Cache is clean, not saving.</div><div>NOTE: build 200912091716: started</div>
<div>fatal: ref HEAD is not a symbolic ref</div><div><br></div><div>OE Build Configuration:</div><div>BB_VERSION = "1.8.13"</div><div>METADATA_BRANCH = "<unknown>"</div><div>METADATA_REVISION = "696d681007dc17c2ece1b486be08f57422615ff8"</div>
<div>TARGET_ARCH = "arm"</div><div>TARGET_OS = "linux"</div><div>MACHINE = "mc13224v"</div><div>DISTRO = "mc1322x"</div><div>DISTRO_VERSION = ".dev-snapshot-20091209"</div>
<div>TARGET_FPU = "soft"</div><div><br></div><div>NOTE: Resolving any missing task queue dependencies</div><div>NOTE: Preparing runqueue</div><div>NOTE: Executing runqueue</div><div>NOTE: Running task 122 of 260 (ID: 199, /home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+<a href="http://git.bb">git.bb</a>, do_compile)</div>
<div>NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: started</div><div>ERROR: function do_compile failed</div><div>ERROR: log data follows (/home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.32347)</div>
<div>| /home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/unifdef.c:209: error: conflicting types for 'getline'</div><div>| /usr/include/stdio.h:651: note: previous declaration of 'getline' was here</div>
<div>NOTE: Task failed: /home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.32347</div><div>NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: failed</div><div>ERROR: TaskFailed event exception, aborting</div>
<div>ERROR: Build of /home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+<a href="http://git.bb">git.bb</a> do_compile failed</div><div>ERROR: Task 199 (/home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+<a href="http://git.bb">git.bb</a>, do_compile) failed</div>
<div>NOTE: Tasks Summary: Attempted 223 tasks of which 223 didn't need to be rerun and 1 failed.</div><div>ERROR: '/home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+<a href="http://git.bb">git.bb</a>' failed</div>
<div>NOTE: build 200912091716: completed</div><div><br></div><div>i'm assuming i need to get past this error to get to the other 37 tasks. Has anyone run into this error before?</div></div></div></div><div><br><br><div class="gmail_quote">
On Wed, Dec 9, 2009 at 8:33 AM, Camilo, Alex <span dir="ltr"><<a href="mailto:acamilo@neuronrobotics.com">acamilo@neuronrobotics.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>If anyone is running into an issue with bitbake choking with the error "ERROR: Could not inherit file classes/autotools.bbclass" even though ". profile" sets up BBPATH correctly i recommend trying out revision 1157 of the SVN. apparently they made some changes to [cooking verb].py which when rolled back make everything magically work. (they also want to be able to write to /usr/share/sources). svn update -r PREV saves the day!
</blockquote></div><br><br>
</div>