[oe] Fwd: [Openocd-development] Angstrom "package binutils-cross-2.17.50.0.5: failed" fixed

Leon Woestenberg leon.woestenberg at gmail.com
Wed Jan 7 21:51:17 UTC 2009


I just came across this email, posted this to the wrong list.

---------- Forwarded message ----------
From: shiyou yu <yushiyou at gmail.com>
Date: Fri, Dec 12, 2008 at 6:42 AM
Subject: [Openocd-development] Angstrom "package
binutils-cross-2.17.50.0.5: failed" fixed
To: openocd-development at lists.berlios.de


Hello all,

I am trying to build the complete Openembedded development platform
along with the Angstrom Linux and the root filesystem for my Atmel
AT91SAM9263EK board on Ubuntu 8.04 using the instructions given in
linux4sam.org and Openembedde website. But every time after giving the
bitbake <recipe> command I am getting the following error:
/////////////////////////////////////////////////////////////////////////////
| make[3]: Leaving directory
`/home/yu/stuff_old/tmp/work/armv5te-angstrom-linux-gnueabi/binutils-cross-2.17.50.0.5-r1/binutils-2.17.50.0.5/build.i686-linux.arm-angstrom-linux-gnueabi/bfd'
| make[2]: *** [info-recursive] Error 1
| make[2]: Leaving directory
`/home/yu/stuff_old/tmp/work/armv5te-angstrom-linux-gnueabi/binutils-cross-2.17.50.0.5-r1/binutils-2.17.50.0.5/build.i686-linux.arm-angstrom-linux-gnueabi/bfd'
| make[1]: *** [all-bfd] Error 2
| make[1]: Leaving directory
`/home/yu/stuff_old/tmp/work/armv5te-angstrom-linux-gnueabi/binutils-cross-2.17.50.0.5-r1/binutils-2.17.50.0.5/build.i686-linux.arm-angstrom-linux-gnueabi'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/yu/stuff_old/tmp/work/armv5te-angstrom-linux-gnueabi/binutils-cross-2.17.50.0.5-r1/temp/log.do_compile.21862
NOTE: package binutils-cross-2.17.50.0.5-r1: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package binutils-cross-2.17.50.0.5: failed
ERROR: Build of
/home/yu/stuff_old/org.openembedded.dev/packages/binutils/binutils-cross_2.17.50.0.5.bb
do_compile failed
ERROR: Task 265
(/home/yu/stuff_old/org.openembedded.dev/packages/binutils/binutils-cross_2.17.50.0.5.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 119 tasks of which 0 didn't need to be
rerun and 1 failed.
ERROR: '/home/yu/stuff_old/org.openembedded.dev/packages/binutils/binutils-cross_2.17.50.0.5.bb'
failed
//////////////////////////////////////////////////////////////////////////////////////////////////////
After a long time google, I find the reason.
Here, http://bugs.sourcemage.org/show_bug.cgi?id=14015, you can find a
patch for binutils 2.18, and you can edit your
binutils-cross_2.17.50.0.5 configure file based on it.
Then, it will be OK!

patch for  binutils-2.18:

//////////////////////////////////////////////////

Submitted By: Matt Burgess (matthew at linuxfromscratch dot org)
Date: 2007-11-19
Initial Package Version: 2.18
Origin: Upstream
(http://sourceware.org/cgi-bin/cvsweb.cgi/src/configure.diff?r1=1.268&r2=1.268.2.1&cvsroot=src)

Upstream Status: Applied
Description: Fixes the configure script to correctly dictate Texinfo > 4.9.

diff -Naur binutils-2.18.orig/configure binutils-2.18/configure
--- binutils-2.18.orig/configure	2007-08-06 20:29:40.000000000 +0000

+++ binutils-2.18/configure	2007-11-18 22:37:58.000000000 +0000
@@ -6128,7 +6128,7 @@
     # For an installed makeinfo, we require it to be from texinfo 4.4 or
     # higher, else we use the "missing" dummy.

     if ${MAKEINFO} --version \
-       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null
2>&1; then
+       | egrep
'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null
2>&1; then

       :
     else
         MAKEINFO="$MISSING makeinfo"

//////////////////////////////////////////////////

Best  regards,
Danny

_______________________________________________
Openocd-development mailing list
Openocd-development at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development




-- 
Leon




More information about the Openembedded-devel mailing list