[mc1322x] working bitbake revision number.

Camilo, Alex acamilo at neuronrobotics.com
Wed Dec 9 11:29:41 EST 2009


I've made some more progress but have run into another roadblock with
bitbake.
First off, The compile would fail when it reached the package
"unifdef-native-2.6.18+git-r0"

NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.32319)
|
/home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/unifdef.c:209:
error: conflicting types for 'getline'
| /usr/include/stdio.h:651: note: previous declaration of 'getline' was here
NOTE: Task failed:
/home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.32319
NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting


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.
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.

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.

the final output from bitbake is as follows.

ubuntu at ubuntu-desktop:~/mc1322x-oe$ bitbake mc1322x-tests
/home/ubuntu/mc1322x-oe/bitbake/lib/bb/COW.py:29: DeprecationWarning: the
sets module is deprecated
  import types, sets
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to
increase performance.
NOTE: Handling BitBake files: \ (6621/6621) [100 %]
NOTE: Parsing finished. 6329 cached, 0 parsed, 292 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200912091715: started
fatal: ref HEAD is not a symbolic ref

OE Build Configuration:
BB_VERSION        = "1.8.13"
METADATA_BRANCH   = "<unknown>"
METADATA_REVISION = "696d681007dc17c2ece1b486be08f57422615ff8"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux"
MACHINE           = "mc13224v"
DISTRO            = "mc1322x"
DISTRO_VERSION    = ".dev-snapshot-20091209"
TARGET_FPU        = "soft"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 122 of 260 (ID: 199,
/home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+
git.bb, do_compile)
NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.32333)
|
/home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/unifdef.c:209:
error: conflicting types for 'getline'
| /usr/include/stdio.h:651: note: previous declaration of 'getline' was here
NOTE: Task failed:
/home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.32333
NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+
git.bb do_compile failed
ERROR: Task 199
(/home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+
git.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 121 tasks of which 121 didn't need to be
rerun and 1 failed.
ERROR:
'/home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+
git.bb' failed
NOTE: build 200912091715: completed
ubuntu at ubuntu-desktop:~/mc1322x-oe$

and with the -k flag.

ubuntu at ubuntu-desktop:~/mc1322x-oe$ bitbake -k mc1322x-tests
/home/ubuntu/mc1322x-oe/bitbake/lib/bb/COW.py:29: DeprecationWarning: the
sets module is deprecated
  import types, sets
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to
increase performance.
NOTE: Handling BitBake files: \ (6621/6621) [100 %]
NOTE: Parsing finished. 6329 cached, 0 parsed, 292 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200912091716: started
fatal: ref HEAD is not a symbolic ref

OE Build Configuration:
BB_VERSION        = "1.8.13"
METADATA_BRANCH   = "<unknown>"
METADATA_REVISION = "696d681007dc17c2ece1b486be08f57422615ff8"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux"
MACHINE           = "mc13224v"
DISTRO            = "mc1322x"
DISTRO_VERSION    = ".dev-snapshot-20091209"
TARGET_FPU        = "soft"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 122 of 260 (ID: 199,
/home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+
git.bb, do_compile)
NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.32347)
|
/home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/unifdef.c:209:
error: conflicting types for 'getline'
| /usr/include/stdio.h:651: note: previous declaration of 'getline' was here
NOTE: Task failed:
/home/ubuntu/mc1322x-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.32347
NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+
git.bb do_compile failed
ERROR: Task 199
(/home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+
git.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 223 tasks of which 223 didn't need to be
rerun and 1 failed.
ERROR:
'/home/ubuntu/mc1322x-oe/openembedded/recipes/unifdef/unifdef-native_2.6.18+
git.bb' failed
NOTE: build 200912091716: completed

i'm assuming i need to get past this error to get to the other 37 tasks. Has
anyone run into this error before?


On Wed, Dec 9, 2009 at 8:33 AM, Camilo, Alex <acamilo at neuronrobotics.com>wrote:

> Hi all,
> 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devl.org/pipermail/mc1322x/attachments/20091209/4b73feaf/attachment-0001.htm>


More information about the mc1322x mailing list