could not include bb file even though it exists and directory included in BBPATH
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@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@debian-virtual:~/buildroot/kom-dockstar$ echo $BBPATH
/home/ossy/kom/openembedded/:/home/ossy/buildroot/kom-dockstar/build:/home/ossy/buildroot/kom-dockstar
ossy@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@debian-virtual:~/buildroot/kom-dockstar$ kom -L
990 oe ${oe}/recipes/*/*.bb
1000 PRJDIR ${PRJDIR}/recipes/*/*.bb
ossy@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
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.bbNOTE: Parsing finished. 7606 cached, 474 parsed, 334 skipped, 176 masked.
ERROR: Parsing errors found, exiting...
ossy@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"2010/7/25 Ossy <[email protected]>
Quoted 22 lines
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.confincludes BBFILES to oe, too.Where may I misconfigured the setup?
Thanks for any hint.
Kind regards,
Marcus
Quoted 9 lines
ossy@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@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 ?
Quoted 8 lines
ossy@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
Quoted 9 lines
ossy@debian-virtual:~/buildroot/kom-dockstar$ kom -L
990 oe ${oe}/recipes/*/*.bb
1000 PRJDIR ${PRJDIR}/recipes/*/*.bb
ossy@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.bbThis 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
Quoted 21 lines
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.bbNOTE: Parsing finished. 7606 cached, 474 parsed, 334 skipped, 176 masked.
ERROR: Parsing errors found, exiting...ossy@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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Am 25.07.2010 22:26, schrieb Frans Meulenbroeks:
Quoted 6 lines
2010/7/25 Ossy<[email protected]>
Quoted 4 lines
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.confincludes BBFILES to oe, too.
Quoted 8 lines
Quoted 6 lines
Where may I misconfigured the setup?
ossy@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 ?
I used kom to setup an overlay. My current understanding is, that I can start up with an "empty" overlay which initially links to oe. In the future I will overwrite some settings and package defintions with "local" (user defined overlay) definitions.
Correct me if I'm completly wrong. After reading some tutorials and discovering the mailinglist. I thought, defining OE_BBDIR+MYSPECIAL_BBDIR is a valid way.
Quoted 7 lines
Quoted 6 lines
ossy@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
Quoted 5 lines
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
Yepp. That helped: rm -r build/tmp
Unfortunatly I'm still not able to create a minimal-image:
ERROR: Task 306 (/home/ossy/kom/openembedded/recipes/stage-manager/stagemanager-native_0.0.1.bb, do_unpack) failed
I guess the stagemanager is an essential tool and should be well tested. So were can I find some output which action went wrong? (unpacking seems not that difficult to fail...)
Thanks for the help anyway!
Kind regards,
Marcus
2010/7/26 Ossy <[email protected]>
Quoted 16 lines
Am 25.07.2010 22:26, schrieb Frans Meulenbroeks:
Quoted 14 lines
2010/7/25 Ossy<[email protected]>
I used kom to setup a new overlay project. Since listing the images gives
Quoted 11 lines
all images in oe, I'm sure that bitbake has access to those bb-files. The
conf/bbplayers.confincludes BBFILES to oe, too.Where may I misconfigured the setup?
ossy@debian-virtual:~/buildroot/kom-dockstar$ echo $BBPATH/home/ossy/kom/openembedded/:/home/ossy/buildroot/kom-dockstar/build:/home/ossy/buildroot/kom-dockstar
Quoted 7 lines
Quoted 2 lines
Why do you have the last two paths ?
I used kom to setup an overlay. My current understanding is, that I can start up with an "empty" overlay which initially links to oe. In the future I will overwrite some settings and package defintions with "local" (user defined overlay) definitions.
I don't know kom so can't say anything about that.
Quoted 5 lines
Correct me if I'm completly wrong. After reading some tutorials and discovering the mailinglist. I thought, defining OE_BBDIR+MYSPECIAL_BBDIR is a valid way.
The BBPATH itself isok, but your tmp dir should not be inside your overlay dir.
I would expect TMPDIR to be something like /home/ossy/kom/tmp
Quoted 19 lines
ossy@debian-virtual:~/buildroot/kom-dockstar$ bitbake minimal-imageQuoted 8 lines
Quoted 8 lines
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.bbQuoted 6 lines
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 scratchYepp. That helped: rm -r build/tmp
Quoted 8 lines
Unfortunatly I'm still not able to create a minimal-image:
ERROR: Task 306 (/home/ossy/kom/openembedded/recipes/stage-manager/stagemanager-native_0.0.1.bb,do_unpack) failedI guess the stagemanager is an essential tool and should be well tested. So were can I find some output which action went wrong?
(unpacking seems not that difficult to fail...)
If stagemanager cannot unpack something is probably wrong in your source tree.
My recipes/stage-manager has:
rans@linux-suse:~/oe/openembedded/recipes/stage-manager> ls -lR .:
total 8
drwxr-xr-x 2 frans users 4096 Jul 21 22:13 files
-rw-r--r-- 1 frans users 626 Jul 9 15:26 stagemanager-native_0.0.1.bb
./files:
total 48
-rwxr-xr-x 1 frans users 5215 Aug 23 2009 stage-manager -rwxr-xr-x 1 frans users 28781 Jul 21 22:13 stage-manager-ipkg -rwxr-xr-x 1 frans users 6217 Aug 23 2009 stage-manager-ipkg-build
You should have these as well. If not that is the root of your problem. If you have these, then probably your TMPDIR points to a nonexisting place (e.g. if it still points to .../build/tmp and you also removed build)
The TMPDIR itself will be created if needed, but the parent dir must exist as far as I know.
Quoted 3 lines
Thanks for the help anyway!
No problem.
We all once had to start with this and face issues like the one you have.
Frans.
Quoted 12 lines
Kind regards,
Marcus_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Am 26.07.2010 21:15, schrieb Frans Meulenbroeks:
Quoted 25 lines
Quoted 8 lines
Unfortunatly I'm still not able to create a minimal-image:
ERROR: Task 306 (/home/ossy/kom/openembedded/recipes/stage-manager/stagemanager-native_0.0.1.bb,do_unpack) failedI guess the stagemanager is an essential tool and should be well tested. So were can I find some output which action went wrong?
(unpacking seems not that difficult to fail...)If stagemanager cannot unpack something is probably wrong in your source tree.
My recipes/stage-manager has:rans@linux-suse:~/oe/openembedded/recipes/stage-manager> ls -lR .:
total 8
drwxr-xr-x 2 frans users 4096 Jul 21 22:13 files
-rw-r--r-- 1 frans users 626 Jul 9 15:26 stagemanager-native_0.0.1.bb./files:
total 48(quoted diff) +0
-3-rwxr-xr-x 1 frans users 5215 Aug 23 2009 stage-manager -rwxr-xr-x 1 frans users 28781 Jul 21 22:13 stage-manager-ipkg -rwxr-xr-x 1 frans users 6217 Aug 23 2009 stage-manager-ipkg-build
Quoted 3 lines
You should have these as well. If not that is the root of your problem. If you have these, then probably your TMPDIR points to a nonexisting place (e.g. if it still points to .../build/tmp and you also removed build)
I DO have the same file in recipes/stage-manager.
I set the tempdir to something outside my PRJDIR (overlay DIR).
The tmpdir outside fills when I run bitbake minimal-image, but I still run into the an error:
NOTE: Running task 6 of 1092 (ID: 14, /home/ossy/kom/openembedded/recipes/images/minimal-image.bb, do_distribute_sources)
NOTE: Running task 7 of 1092 (ID: 306, /home/ossy/kom/openembedded/recipes/stage-manager/stagemanager-native_0.0.1.bb, do_unpack)
NOTE: Unpacking ../../kom/openembedded/recipes/stage-manager/files/stage-manager to ../tmp/work/x86_64-linux/stagemanager-native-0.0.1-r13/
NOTE: Unpacking ../../kom/openembedded/recipes/stage-manager/files/stage-manager-ipkg to ../tmp/work/x86_64-linux/stagemanager-native-0.0.1-r13/
NOTE: Unpacking ../../kom/openembedded/recipes/stage-manager/files/stage-manager-ipkg-build to ../tmp/work/x86_64-linux/stagemanager-native-0.0.1-r13/
ERROR: Task 0 (/home/ossy/kom/openembedded/recipes/images/minimal-image.bb, do_unpack) failed
NOTE: Waiting for 2 active tasks to finish
NOTE: 1: /home/ossy/kom/openembedded/recipes/images/minimal-image.bb, do_distribute_sources (2247)
NOTE: 2: /home/ossy/kom/openembedded/recipes/stage-manager/stagemanager-native_0.0.1.bb, do_unpack (2248)
NOTE: Waiting for 1 active tasks to finish
NOTE: 1: /home/ossy/kom/openembedded/recipes/stage-manager/stagemanager-native_0.0.1.bb, do_unpack (2248)
NOTE: Tasks Summary: Attempted 4 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: '/home/ossy/kom/openembedded/recipes/images/minimal-image.bb' failed
NOTE: oestats: build failed, see http://tinderbox.openembedded.net/builds/79904/
Is there a problem with running multiple tasks? bitbake doesn't wait correctly until the other task finishes? I'm running bitbake 1.8.18
Regards,
Marcus
2010/7/26 Ossy <[email protected]>
Quoted 70 lines
Am 26.07.2010 21:15, schrieb Frans Meulenbroeks:
Quoted 26 lines
Unfortunatly I'm still not able to create a minimal-image:
Quoted 9 lines
ERROR: Task 306 (
/home/ossy/kom/openembedded/recipes/stage-manager/stagemanager-native_0.0.1.bb,do_unpack) failedI guess the stagemanager is an essential tool and should be well tested. So
were can I find some output which action went wrong? (unpacking seems not that difficult to fail...)If stagemanager cannot unpack something is probably wrong in your source tree.
My recipes/stage-manager has:rans@linux-suse:~/oe/openembedded/recipes/stage-manager> ls -lR .:
total 8
drwxr-xr-x 2 frans users 4096 Jul 21 22:13 files
-rw-r--r-- 1 frans users 626 Jul 9 15:26 stagemanager-native_0.0.1.bb./files:
total 48(quoted diff) +0
-3-rwxr-xr-x 1 frans users 5215 Aug 23 2009 stage-manager -rwxr-xr-x 1 frans users 28781 Jul 21 22:13 stage-manager-ipkg -rwxr-xr-x 1 frans users 6217 Aug 23 2009 stage-manager-ipkg-buildQuoted 4 lines
You should have these as well. If not that is the root of your problem. If you have these, then probably your TMPDIR points to a nonexisting place (e.g. if it still points to .../build/tmp and you also removed build)
I DO have the same file in recipes/stage-manager.
I set the tempdir to something outside my PRJDIR (overlay DIR). The tmpdir outside fills when I run bitbake minimal-image, but I still run into the an error:
NOTE: Running task 6 of 1092 (ID: 14,/home/ossy/kom/openembedded/recipes/images/minimal-image.bb,do_distribute_sources)
NOTE: Running task 7 of 1092 (ID: 306,/home/ossy/kom/openembedded/recipes/stage-manager/stagemanager-native_0.0.1.bb,do_unpack)
NOTE: Unpacking ../../kom/openembedded/recipes/stage-manager/files/stage-manager to ../tmp/work/x86_64-linux/stagemanager-native-0.0.1-r13/
NOTE: Unpacking ../../kom/openembedded/recipes/stage-manager/files/stage-manager-ipkg to ../tmp/work/x86_64-linux/stagemanager-native-0.0.1-r13/
NOTE: Unpacking ../../kom/openembedded/recipes/stage-manager/files/stage-manager-ipkg-build to ../tmp/work/x86_64-linux/stagemanager-native-0.0.1-r13/
ERROR: Task 0 (/home/ossy/kom/openembedded/recipes/images/minimal-image.bb,do_unpack) failed
NOTE: Waiting for 2 active tasks to finish
NOTE: 1:/home/ossy/kom/openembedded/recipes/images/minimal-image.bb,do_distribute_sources(2247)
NOTE: 2:/home/ossy/kom/openembedded/recipes/stage-manager/stagemanager-native_0.0.1.bb,do_unpack(2248)
NOTE: Waiting for 1 active tasks to finish
NOTE: 1:/home/ossy/kom/openembedded/recipes/stage-manager/stagemanager-native_0.0.1.bb,do_unpack(2248)
NOTE: Tasks Summary: Attempted 4 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: '/home/ossy/kom/openembedded/recipes/images/minimal-image.bb' failed
NOTE: oestats: build failed, see
http://tinderbox.openembedded.net/builds/79904/
Quoted 3 lines
Is there a problem with running multiple tasks? bitbake doesn't wait correctly until the other task finishes? I'm running bitbake 1.8.18
mutlple tasks should not be a problem (I use that all the time), but if I recall correctly it can be disabled in local.conf
Have you specified an absolute path to TMPDIR (e.g. /home/ossy/kom/tmp) ?
This part: ../tmp/work/x86_64-linux/stagemanager-native-0.0.1-r13/ does not
look good
(especially the ../tmp part of it).
Can you verify TMPDIR and probably also mention it in your previous mail.
If you want to you can also join #oe on freenode irc for faster feedback.
Frans
Quoted 10 lines
Regards,
Marcus_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel