[oe] binutils_2.21.bb: fails with Minimal: `ERROR: Task 1266 (/oe/openembedded/recipes/binutils/binutils-cross_2.21.bb, do_patch) failed with 256`

Paul Menzel paulepanter at users.sourceforge.net
Mon Dec 13 19:51:25 UTC 2010


Dear OE folks,


I have a strange error when running `bitbake -k console-image` with
Minimal or Minimal uClibc. I have

	MACHINE ?= "beagleboard"
	BUILD_ARCH = "i686"
	BUILD_OS = "linux"

	LIBC = "eglibc"
	PREFERRED_BINUTILS_VERSION = "2.21"

in `local.conf`.

        […]
        NOTE: Running task 273 of 7158 (ID: 1383, virtual:native:/oe/openembedded/recipes/update-rc.d/update-rc.d_0.7.bb, do_package_stage)
        NOTE: package update-rc.d-native-0.7-r2: task do_package_stage: Started
        NOTE: Applying patch 'binutils-uclibc-gas-needs-libm.patch' (../openembedded/recipes/binutils/binutils-2.21/binutils-uclibc-gas-needs-libm.patch)
        FATAL: [Errno 2] No such file or directory: '/oe/openembedded/recipes/binutils/binutils-2.21/./libtool-update.patch'
        ERROR: Error in executing python function in: /oe/openembedded/recipes/binutils/binutils-cross_2.21.bb
        ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
        ERROR: Printing the environment of the function
        ERROR: Function patch_do_patch failed
        ERROR: TaskFailed event exception, aborting
        ERROR: Build of /oe/openembedded/recipes/binutils/binutils-cross_2.21.bb do_patch failed
        NOTE: Applying patch 'fix-clone-conflicts.patch' (../openembedded/recipes/binutils/binutils-2.21/fix-clone-conflicts.patch)
        NOTE: package update-rc.d-native-0.7-r2: task do_package_stage: Succeeded
        ERROR: Task 1266 (/oe/openembedded/recipes/binutils/binutils-cross_2.21.bb, do_patch) failed with 256
        NOTE: Running task 274 of 7158 (ID: 667, /oe/openembedded/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb, do_patch)
        NOTE: Applying patch 'libtool-update.patch' (../openembedded/recipes/binutils/binutils-2.21/libtool-update.patch)
        FATAL: [Errno 2] No such file or directory: '/oe/openembedded/recipes/binutils/binutils-2.21/./libtool-update.patch'
        ERROR: TaskFailed event exception, aborting
        ERROR: Build of /oe/openembedded/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb do_patch failed
        ERROR: TaskFailed event exception, aborting
        ERROR: Build of /oe/openembedded/recipes/gcc/gcc-cross-intermediate_4.5.bb do_unpack failed
        ERROR: TaskFailed event exception, aborting
        ERROR: Build of /oe/openembedded/recipes/m4/m4-native_1.4.14.bb do_configure failed
        […]

I searched for `libtool-update.patch`

        $ git grep libtool-update.patch
        recipes/binutils/binutils_2.20.1.bb:     ${@['file://libtool-update.patch','file://libtool-2.4-update.patch'][bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, 1) == 'yes']} \

So I am quite confused why the task `patch` wants to apply something
from a different recipe.


Thanks,

Paul


Build Configuration:
BB_VERSION        = "1.10.0"
METADATA_BRANCH   = "org.openembedded.dev"
METADATA_REVISION = "887b6a2"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "beagleboard"
DISTRO            = "minimal"
DISTRO_VERSION    = "dev-snapshot-20101213"
TARGET_FPU        = "hard"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20101213/54306cba/attachment-0002.sig>


More information about the Openembedded-devel mailing list