[oe] bitbake gumstix-basic-image error with 'patches' directory

Khem Raj raj.khem at gmail.com
Thu Nov 5 21:31:42 UTC 2009


On Thu, Oct 22, 2009 at 4:40 AM, Charlie Woloszynski
<cwoloszynski at yahoo.com> wrote:
> I am new to OE and bitbake, so perhaps this is an easy question:
>
> I am using the pixhawk.oe build setup and I invoke 'bitbake gumstix-basic-image'
>
> I get the following output.  Can someone suggest how to 'unstick' this?  Rerunning bitbake results in the same output.
>
>
> OE:overo charlie at charlie-desktop:~/macfs/pixhawk.oe$ bitbake pixhawk-console-imageNOTE: Handling BitBake files: \ (7409/7409) [100 %]
> NOTE: Parsing finished. 7125 cached, 0 parsed, 284 skipped, 2 masked.
> NOTE: Cache is clean, not saving.
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing runqueue
> NOTE: Running task 127 of 4046 (ID: 1263, /home/charlie/macfs/pixhawk.oe/org.openembedded.dev/recipes/mpfr/mpfr-native_2.3.1.bb, do_patch)
> NOTE: Applying patch 'long-long-thumb.patch' (org.openembedded.dev/recipes/mpfr/long-long-thumb.patch)
> NOTE: Task failed: Command Error: exit status: 1  Output:
> Importing patch /home/charlie/macfs/pixhawk.oe/org.openembedded.dev/recipes/mpfr/long-long-thumb.patch (stored as long-long-thumb.patch)
> mkdir: cannot create directory `patches': File exists

It works well here so dont know what could be wrong at your end.
one thing you could try is create 'files' directory under recipes/mpfr
and move long-long-thumb.patch to this new dir
and then clean mpfr-native and build it again.

> cp: accessing `patches/long-long-thumb.patch': Not a directory
> Failed to import patch long-long-thumb.patch
> ERROR: TaskFailed event exception, aborting
>
>
> A quick search in my system for directories called 'patches' shows the following:
>
> OE:overo charlie at charlie-desktop:~/macfs/pixhawk.oe$ find . -name "patches" -print | xargs ls -lddrwxr-xr-x 17 charlie charlie 578 2008-05-04 07:28 ./tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r7.1/binutils-2.18.50.0.7/patches
> drwxrwxr-x 10 charlie charlie 340 2009-10-22 04:17 ./tmp/work/i686-linux/autoconf-native-2.63-r8.0/autoconf-2.63/patches
> drwxrwxr-x  2 charlie charlie  68 2009-10-22 04:17 ./tmp/work/i686-linux/automake-native-1.10.2-r2.0/automake-1.10.2/patches
> drwxrwxr-x  4 charlie charlie 136 2009-10-22 04:25 ./tmp/work/i686-linux/bison-native-2.3-r1/bison-2.3/patches
> drwxrwxr-x  5 charlie charlie 170 2009-10-22 04:25 ./tmp/work/i686-linux/flex-native-2.5.31-r2/flex-2.5.31/patches
> drwxrwxr-x  7 charlie charlie 238 2009-10-22 04:20 ./tmp/work/i686-linux/gettext-native-0.17-r4/gettext-0.17/patches
> drwxrwxr-x  7 charlie charlie 238 2009-10-22 04:19 ./tmp/work/i686-linux/gmp-native-4.2.4-r0.1/gmp-4.2.4/patches
> drwxrwxr-x  5 charlie charlie 170 2009-10-22 04:16 ./tmp/work/i686-linux/gnu-config-native-0.1+cvs20050701-r5/config/patches
> drwxrwxr-x  5 charlie charlie 170 2009-10-22 04:18 ./tmp/work/i686-linux/libtool-native-2.2.6a-r25.0/libtool-2.2.6/patches
> drwxrwxr-x  2 charlie charlie  68 2009-10-22 04:16 ./tmp/work/i686-linux/m4-native-1.4.12-r0/m4-1.4.12/patches
> drwxrwxr-x  2 charlie charlie  68 2009-10-22 04:11 ./tmp/work/i686-linux/stagemanager-native-0.0.1-r11/stagemanager-0.0.1/patches
>
>
>
>
>
> _______________________________________________
> 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