[oe] could not include bb file even though it exists and directory included in BBPATH

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Sun Jul 25 20:26:31 UTC 2010


2010/7/25 Ossy <ossy1980 at gmx.net>

> Dear oe mailinglist,
>
> I tried to set up oe and the sanity checker hasn't reported any anomalies.
> But when building a simple image, bitbake wasn't able to include
> console-base-image.bb.
>
> But in fact this file is present in oe/recipes/images/* and BBPATH includes
> the path to oe (which hopefully dives into recipes there).
>
> I used kom to setup a new overlay project. Since listing the images gives
> all images in oe, I'm sure that bitbake has access to those bb-files. The
> conf/bbplayers.conf includes BBFILES to oe, too.
>
> Where may I misconfigured the setup?
>
> Thanks for any hint.
>
> Kind regards,
> Marcus
>
>
>
> ossy at debian-virtual:~/buildroot/kom-dockstar$ ll
> insgesamt 0
> drwxr-xr-x 4 ossy ossy 27 23. Jul 20:37 build
> drwxr-xr-x 4 ossy ossy 53 23. Jul 00:11 conf
> drwxr-xr-x 3 ossy ossy 19 23. Jul 00:11 recipes
> ossy at debian-virtual:~/buildroot/kom-dockstar$ echo $BBPATH
>
> /home/ossy/kom/openembedded/:/home/ossy/buildroot/kom-dockstar/build:/home/ossy/buildroot/kom-dockstar
>

Why do you have the last two paths ?


> ossy at debian-virtual:~/buildroot/kom-dockstar$ ll
> /home/ossy/kom/openembedded/recipes/images/console-*
> -rw-r--r-- 1 ossy ossy 416 23. Jul 02:34
> /home/ossy/kom/openembedded/recipes/images/console-base-image.bb
> -rw-r--r-- 1 ossy ossy 184 23. Jul 02:34
> /home/ossy/kom/openembedded/recipes/images/console-image.bb
> -rw-r--r-- 1 ossy ossy 168 23. Jul 02:34
> /home/ossy/kom/openembedded/recipes/images/console-mipv6-image.bb
> ossy at debian-virtual:~/buildroot/kom-dockstar$ kom -L
> 990     oe      ${oe}/recipes/*/*.bb
> 1000    PRJDIR  ${PRJDIR}/recipes/*/*.bb
> ossy at debian-virtual:~/buildroot/kom-dockstar$ bitbake minimal-image
> NOTE: Handling BitBake files: \ (8414/8416) [99 %]ERROR: Could not include
> required file console-base-image.bb while parsing
> /home/ossy/buildroot/kom-dockstar/build/tmp/deploy/glibc/sources/MIT/console-image/
> console-image.bb
>

This suggests hat it is parsing a console-image.bb file which resides in
your tmp/deploy dir.
(and not the one in recipes/images).
No idea how it ended up there. I suggest to clean at least that file, but
preferably the whole tmp dir and build from scratch

good luck, Frans

> ERROR: Could not include required file console-base-image.bb while parsing
> /home/ossy/buildroot/kom-dockstar/build/tmp/deploy/glibc/sources/MIT/console-image/
> console-image.bb
>
> NOTE: Parsing finished. 7606 cached, 474 parsed, 334 skipped, 176 masked.
> ERROR: Parsing errors found, exiting...
>
> ossy at debian-virtual:~/buildroot/kom-dockstar$ cat conf/bblayers.conf |
> grep BBFILE
> BBFILES = " \
> BBFILE_COLLECTIONS = " oe PRJDIR"
> BBFILE_PATTERN_PRJDIR = "${PRJDIR}/recipes"
> BBFILE_PRIORITY_PRJDIR = "1000"
> BBFILE_PATTERN_oe = "recipes/*/*.bb"
> BBFILE_PRIORITY_oe = "990"
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list