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

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Tue Jul 27 07:06:26 UTC 2010


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

> Am 26.07.2010 21:15, schrieb Frans Meulenbroeks:
>
>> 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...)
>>>
>>>
>> If stagemanager cannot unpack something is probably wrong in your source
>> tree.
>> My recipes/stage-manager has:
>>
>> rans at 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)
>>
>
> 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
>


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


>
> Regards,
> Marcus
>
>
> _______________________________________________
> 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