Problem building Open Embedded console image

HI all,

I'm a newbie in building Linux images. I've recently tried to build
the Open embedded console image by following the steps from
http://elinux.org/BeagleBoardAndOpenEmbeddedGit.

After installing Open embedded,bitbake and creating the Beagleboard
configuration profile, I've typed in the bitbake built command
sentence: bitbake console-image. Here's the output of that command:

NOTE: Handling BitBake files: / (0087/6567) [ 1 %]ERROR: Could not
include required file fso-image.inc while parsing /home/leo/oe/
openembedded/packages/images/fso-illume-image.bb
NOTE: Handling BitBake files: - (0089/6567) [ 1 %]ERROR: Could not
include required file fso-image.inc while parsing /home/leo/oe/
openembedded/packages/images/fso-console-image.bb
NOTE: Handling BitBake files: \ (0091/6567) [ 1 %]ERROR: Could not
include required file fso-image.inc while parsing /home/leo/oe/
openembedded/packages/images/fso-image-nox.bb
NOTE: Handling BitBake files: | (0094/6567) [ 1 %]ERROR: Could not
include required file fso-image.inc while parsing /home/leo/oe/
openembedded/packages/images/fso-zhone-image.bb
NOTE: Handling BitBake files: / (0122/6567) [ 1 %]ERROR: Could not
include required file fso-image.inc while parsing /home/leo/oe/
openembedded/packages/images/fso-paroli-image.bb
NOTE: Handling BitBake files: \ (0161/6567) [ 2 %]ERROR: Could not
include required file fso-image.inc while parsing /home/leo/oe/
openembedded/packages/images/fso-image-light.bb
NOTE: Handling BitBake files: / (6567/6567) [100 %]
NOTE: Parsing finished. 6287 cached, 0 parsed, 274 skipped, 0 masked.
NOTE: Cache is clean, not saving.
ERROR: Parsing errors found, exiting...

It seems that the "file fso-image.inc" is missing. Where should I get
this file ?

Thanks in advance for your time.

P.S.: The installation is done on Ubuntu 8.04.1 running in VMware
Fusion (on Mac)

Hopefully mickey commits this file in his morning. I think he is in bed now ...

Try pulling again, looks like someone commited an empty version so
parsing would complete.

Philip

I have just built the image, and I have nothing wrong with it, the problem I have at the beggining is the Path, so you should double check it.

Yeah, I had to commit an empty file last night, so people won't be stuck with
the unparseable tree. Mickey finally added the actual file this morning, so
everything should be back to normal...

Ok, I've pulled everything and it builds fine.

Now I might need to increase my virtual hard disk space for OE to fit
but that's another story...

Thank you all for your help

Hi all,
    I am also trying to build Openembedded console-image for beagle
board following the instructions at http://elinux.org/BeagleBoardAndOpenEmbeddedGit.
And an error occurred at the last step: bitbake console-image
    I found this thread and would like to ask my question here with
the hope that you could give me some advices how to fix this problem.
dspman, you just built the console-image successfully, could you share
your experience? I am new to openembedded and bitbake.
Thanks a lot for your help.

Here it tells you to check the log in /home/viethoang/oe/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/temp/log.do_configure.17411
And often, when do_configure fails, you may need to look in config.log to
figure out the actual problem.

Hi,

I've actually did what Denys suggested (see Feb 17 reply). I've pulled
in everything again and was able to compile fine. I may have to redo
it in a very near future because I'm running out of virtual hard disk
space in my Ubuntu virtual box. I'll let you know if I get any
problems when that time comes (i believe very soon). In the meantime,
I suggest you look at the log file pointed out by Denys. That seems
like a good place to start.

Let me know of any of your findings.

dspman

Hi,
   Thanks Denys, dspman for your replies.
I am sorry, I forgot to send the content of log.do_configure.17411

OE:beagleboard viethoang@viethoang-dv2700t-ubuntu:~/oe$ cat /home/
viethoang/oe/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-
cross-2.18.50.0.7-r6/temp/log.do_configure.17411
FATAL: no configure script found

And, in the file run.do_configure.17411 in the same directory I found
this:

oe_runconf() {
  if [ -x /home/viethoang/oe/tmp/work/armv7a-angstrom-linux-gnueabi/
binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/configure ] ; then
    cfgcmd="/home/viethoang/oe/tmp/work/armv7a-angstrom-linux-gnueabi/
binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/configure \
.......
else
    oefatal "no configure script found"
  fi

And at the commandline:

u:~/oe$ ls -l /home/viethoang/oe/tmp/work/armv7a-angstrom-linux-
gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/configure
-rw------- 1 viethoang viethoang 406447 2009-02-23 10:44 /home/
viethoang/oe/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-
cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/configure

So, this error is due to the lack of execute permission of file /home/
viethoang/oe/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-
cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/configure.
But this configure file is under tmp directory, as far as I know,
files under tmp directory are generated each time we call bitbake. So,
I must find out where and how this configure file is generated so that
I can chmod +x for it. (I tried to chmod +x for it at command line and
then run bitbake but failed with same error).
My task now is finding how to chmod +x for configure when it is
generated. Since this is the first time I work with bitbake and
Openembedded, it would be very helpful if you could give me some
advices.
Thanks all for your help,
Viet Hoang.
P/S: I tried to restart all the steps many times with the same error.

Hi all,
    My problem was fixed. As I said, that error is due to the lack of
execute permission of configure file, and this caused error when
building all *.bb under openembedded/packages/binutils
    So I found and add one line:
chmod +x ${S}/configure
after
sed -i -e "s@egrep 'texinfo.*'@egrep 'texinfo[^0-9]*([1-3][0-9]|4\.
[4-9]|4.[1-9][0-9]+|[5-9])'@" '${S}/configure'
in function do_configure ()
of file openembedded/packages/binutils/binutils.inc
I write here in case someone meet the same problem.
Thanks all,
Viet Hoang.

Hello,

After increasing my virtual disk space to accommodate OE size, I've
repeated the steps in http://elinux.org/BeagleBoardAndOpenEmbeddedGit
to get a local OE build. After I've type the bitbake built command
(bitbake console-image), the build stops right at the beginning with
the following output:

ERROR: opening ~/oe/openembedded/packages/*/*.bb: file ~/oe/
openembedded/packages/*/*.bb not found

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200902281731: started

OE Build Configuration:
BB_VERSION = "1.8.13"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "513d94442bae6d199b1e017c09068f940a946414"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "angstrom"
DISTRO_VERSION = "2009.X-test-20090301"
TARGET_FPU = "hard"

ERROR: Nothing PROVIDES 'console-image'

No matter how I modify the profile.sh and the local.conf files, I
cannot get beyond that point because it seems it cannot access the
openembedded folder. But I've verified many times with what it's
described in http://elinux.org/BeagleBoardAndOpenEmbeddedGit and the
BBPATH is correctly typed. I thought I understood the expressions in
the script files but I have to admit that I'm currently a little
loss...

Thanks for your help,
dspman