Hi, I'm attempting to build my first embedded T2 target from the trunk, but got this error on binutils (see attachment). Apparently the binutils-100-uclibc-conf.patch no longer cleanly applies.
How unstable is the trunk at the moment, in general? Would a T2 newbie like me be better off just sticking with the 6.0 branch for the time being? -- Arto Bendiken | http://bendiken.net/
== 00:22:41 =[0]=> Building base/binutils [2.17.50.0.14 7.0-trunk]. -> uClibc: appending patches... -> Reading package config: package/base/binutils/binutils.conf -> Preparing build in src.binutils.system.20070401.002240.14490.ubuntu -> Building. Writing output to $root/var/adm/logs/0-binutils.out Command Wrapper Debug: running 'gcc --version' .. gcc is /TOOLCHAIN/t2/build/system-7.0-trunk-embedded-x86-i686/TOOLCHAIN/tools.cross/wrapper/gcc Old Command: gcc --version ENVPREFIX = 'CMD' OTHERS = '' INSERT = '--help?:-pipe -Os' REMOVE = '-Werror -O -O[0-9s] -mtune* -march* -mcpu* -g*' APPEND = '-s' FILTER = '' conditonal arg: --help?:-pipe. conditonal: --help, lhs: , rhs: -pipe. Insert: -pipe Insert: -Os Copy: --version Append: -s Old PATH: /TOOLCHAIN/t2/build/system-7.0-trunk-embedded-x86-i686/TOOLCHAIN/tools.cross/wrapper:/TOOLCHAIN/t2/build/system-7.0-trunk-embedded-x86-i686/TOOLCHAIN/tools.cross/bin:/TOOLCHAIN/t2/build/system-7.0-trunk-embedded-x86-i686/TOOLCHAIN/tools.cross/crosscc:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin New PATH: /TOOLCHAIN/t2/build/system-7.0-trunk-embedded-x86-i686/TOOLCHAIN/tools.cross/bin:/TOOLCHAIN/t2/build/system-7.0-trunk-embedded-x86-i686/TOOLCHAIN/tools.cross/crosscc:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin New Command: gcc -pipe -Os --version -s gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [ writing debug log to /TOOLCHAIN/t2/src.binutils.system.20070401.002240.14490.ubuntu/cmd_wrapper.log ] create symbolic link `/TOOLCHAIN/t2/src.binutils.system.20070401.002240.14490.ubuntu/archdir/binutils-2.17.50.0.14.tar.bz2' to `/TOOLCHAIN/t2/download/mirror/b/binutils-2.17.50.0.14.tar.bz2' Running main build function 'build_this_package' ... =[:605 (last $?=0)> cd /TOOLCHAIN/t2/src.binutils.system.20070401.002240.14490.ubuntu =[:605 (last $?=0)> eval build_this_package ==[:605 (last $?=0)> build_this_package ==[build_this_package:754 (last $?=0)> '[' . == . ']' ==[build_this_package:757 (last $?=0)> '[' auto = auto ']' ===[build_this_package:759 (last $?=0)> echo '3068100262 binutils-2.17.50.0.14.tar.bz2 ftp://ftp.kernel.org/pub/linux/devel/binutils/' ===[build_this_package:759 (last $?=0)> head -n 1 ===[build_this_package:759 (last $?=0)> tr ' ' '\t' ===[build_this_package:760 (last $?=0)> cut -f2 ===[build_this_package:760 (last $?=0)> bz2filename ===[bz2filename:93 (last $?=0)> local 'pattern=-e s,\.\(t\?\)\(gz\|Z\)$,.\1bz2,' ===[bz2filename:94 (last $?=0)> pattern='-e s,\.gpg$,, -e s,\.\(t\?\)\(gz\|Z\)$,.\1bz2,' ===[bz2filename:95 (last $?=0)> pattern='-e s,\.tar$,\.tar.bz2, -e s,\.gpg$,, -e s,\.\(t\?\)\(gz\|Z\)$,.\1bz2,' ===[bz2filename:97 (last $?=0)> '[' -n '' ']' ===[bz2filename:100 (last $?=1)> sed -e 's,\.tar$,\.tar.bz2,' -e 's,\.gpg$,,' -e 's,\.\(t\?\)\(gz\|Z\)$,.\1bz2,' ===[build_this_package:759 (last $?=0)> tr -s '\t' ==[build_this_package:759 (last $?=0)> xsourceballs=binutils-2.17.50.0.14.tar.bz2 ==[build_this_package:760 (last $?=0)> '[' -z binutils-2.17.50.0.14.tar.bz2 ']' ==[build_this_package:775 (last $?=0)> for xsrctar in '$xsourceballs' ==[build_this_package:776 (last $?=0)> saved_patchfiles='/TOOLCHAIN/t2/package/base/binutils/have_stdlib.patch /TOOLCHAIN/t2/package/base/binutils/ld-glob.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-100-uclibc-conf.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-300-001_ld_makefile_patch.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-300-006_better_file_error.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-300-012_check_ldrunpath_length.patch' ===[build_this_package:777 (last $?=0)> ls '/TOOLCHAIN/t2/package/base/binutils/*.patch.binutils' ==[build_this_package:777 (last $?=2)> var_append patchfiles ' ' '' ==[var_append:75 (last $?=2)> eval '[ "$patchfiles" ] && patchfiles="${patchfiles} "' ===[var_append:75 (last $?=2)> '[' '/TOOLCHAIN/t2/package/base/binutils/have_stdlib.patch /TOOLCHAIN/t2/package/base/binutils/ld-glob.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-100-uclibc-conf.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-300-001_ld_makefile_patch.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-300-006_better_file_error.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-300-012_check_ldrunpath_length.patch' ']' ===[var_append:75 (last $?=0)> patchfiles='/TOOLCHAIN/t2/package/base/binutils/have_stdlib.patch /TOOLCHAIN/t2/package/base/binutils/ld-glob.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-100-uclibc-conf.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-300-001_ld_makefile_patch.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-300-006_better_file_error.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-300-012_check_ldrunpath_length.patch ' ==[var_append:76 (last $?=0)> eval 'patchfiles="${patchfiles}$3"' ===[var_append:76 (last $?=0)> patchfiles='/TOOLCHAIN/t2/package/base/binutils/have_stdlib.patch /TOOLCHAIN/t2/package/base/binutils/ld-glob.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-100-uclibc-conf.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-300-001_ld_makefile_patch.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-300-006_better_file_error.patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-300-012_check_ldrunpath_length.patch ' ==[build_this_package:779 (last $?=0)> '[' binutils-2.17.50.0.14.tar.bz2 '!=' none -a 1 = 1 ']' ==[build_this_package:780 (last $?=0)> cd /TOOLCHAIN/t2/src.binutils.system.20070401.002240.14490.ubuntu ==[build_this_package:781 (last $?=0)> '[' -z '' ']' ==[build_this_package:784 (last $?=0)> case "$xsrctar" in ==[build_this_package:786 (last $?=0)> custextract=autoextract_tar_bz2 ==[build_this_package:789 (last $?=0)> '[' -n autoextract_tar_bz2 ']' ==[build_this_package:791 (last $?=0)> eval 'autoextract_tar_bz2 /TOOLCHAIN/t2/src.binutils.system.20070401.002240.14490.ubuntu/archdir/binutils-2.17.50.0.14.tar.bz2' ===[build_this_package:791 (last $?=0)> autoextract_tar_bz2 /TOOLCHAIN/t2/src.binutils.system.20070401.002240.14490.ubuntu/archdir/binutils-2.17.50.0.14.tar.bz2 ===[autoextract_tar_bz2:741 (last $?=0)> echo 'Extracting binutils-2.17.50.0.14.tar.bz2 (--use-compress-program=bzip2 -xf) ... ' Extracting binutils-2.17.50.0.14.tar.bz2 (--use-compress-program=bzip2 -xf) ... ===[autoextract_tar_bz2:742 (last $?=0)> tar -v --use-compress-program=bzip2 -xf /TOOLCHAIN/t2/src.binutils.system.20070401.002240.14490.ubuntu/archdir/binutils-2.17.50.0.14.tar.bz2 ==[build_this_package:792 (last $?=0)> cat untar.txt ==[build_this_package:793 (last $?=0)> sed 's,^\./,,' ==[build_this_package:793 (last $?=0)> cut -f1 -d/ ==[build_this_package:794 (last $?=0)> sort -u ==[build_this_package:797 (last $?=0)> '[' auto = auto ']' ==[build_this_package:798 (last $?=0)> xsrcdir=binutils-2.17.50.0.14 ==[build_this_package:799 (last $?=0)> xsrcdir=binutils-2.17.50.0.14 ==[build_this_package:800 (last $?=0)> xsrcdir=binutils-2.17.50.0.14 ==[build_this_package:801 (last $?=0)> '[' '!' -d binutils-2.17.50.0.14 ']' ==[build_this_package:813 (last $?=0)> '[' 1 = 1 ']' ==[build_this_package:814 (last $?=0)> echo 'Fixing ownership and permissions ...' Fixing ownership and permissions ... ==[build_this_package:815 (last $?=0)> chown -R 0:0 /TOOLCHAIN/t2/src.binutils.system.20070401.002240.14490.ubuntu/binutils-2.17.50.0.14 ==[build_this_package:818 (last $?=0)> '[' 1 = 1 ']' ==[build_this_package:819 (last $?=0)> echo 'Removing CVS, .svn, {arch} and .arch-ids directories ...' Removing CVS, .svn, {arch} and .arch-ids directories ... ==[build_this_package:820 (last $?=0)> egrep '(^|/)(CVS|\.svn|\{arch\}|\.arch-ids)(/|$)' untar.txt ==[build_this_package:821 (last $?=0)> read x ==[build_this_package:827 (last $?=0)> echo 'Changeing into /TOOLCHAIN/t2/src.binutils.system.20070401.002240.14490.ubuntu/binutils-2.17.50.0.14 ...' Changeing into /TOOLCHAIN/t2/src.binutils.system.20070401.002240.14490.ubuntu/binutils-2.17.50.0.14 ... ==[build_this_package:828 (last $?=0)> cd /TOOLCHAIN/t2/src.binutils.system.20070401.002240.14490.ubuntu/binutils-2.17.50.0.14 ==[build_this_package:832 (last $?=0)> '[' 1 = 1 ']' ==[build_this_package:833 (last $?=0)> hook_eval prepatch ===[hook_eval:125 (last $?=0)> IFS=' ' ===[hook_eval:125 (last $?=0)> eval 'echo "${hookidx_prepatch[*]}"' ====[hook_eval:125 (last $?=0)> echo '' ==[hook_eval:125 (last $?=0)> read pri fnr ===[hook_eval:125 (last $?=0)> sort ==[hook_eval:126 (last $?=0)> '[' '' ']' ==[hook_eval:125 (last $?=1)> read pri fnr ==[hook_eval:128 (last $?=1)> eval 'unset hookdirty_prepatch' ===[hook_eval:128 (last $?=1)> unset hookdirty_prepatch ==[build_this_package:834 (last $?=0)> apply_patchfiles ==[apply_patchfiles:703 (last $?=0)> local hook= ==[apply_patchfiles:704 (last $?=0)> local filter= ==[apply_patchfiles:705 (last $?=0)> '[' '' ']' ==[apply_patchfiles:705 (last $?=1)> filter=cat ==[apply_patchfiles:706 (last $?=0)> for x in '$patchfiles' ==[apply_patchfiles:710 (last $?=0)> '[' '!' -e /TOOLCHAIN/t2/package/base/binutils/have_stdlib.patch -a -n '' ']' ==[apply_patchfiles:714 (last $?=0)> echo 'Apply patch /TOOLCHAIN/t2/package/base/binutils/have_stdlib.patch ...' Apply patch /TOOLCHAIN/t2/package/base/binutils/have_stdlib.patch ... ==[apply_patchfiles:716 (last $?=0)> [[ /TOOLCHAIN/t2/package/base/binutils/have_stdlib.patch = *.bz2 ]] ==[apply_patchfiles:720 (last $?=1)> patch_file=/TOOLCHAIN/t2/package/base/binutils/have_stdlib.patch ==[apply_patchfiles:720 (last $?=0)> patch_del=0 ==[apply_patchfiles:723 (last $?=0)> cat /TOOLCHAIN/t2/package/base/binutils/have_stdlib.patch ==[apply_patchfiles:723 (last $?=0)> patch -bfp1 -z .orig patching file libiberty/cplus-dem.c Hunk #1 succeeded at 49 with fuzz 2 (offset 1 line). ==[apply_patchfiles:725 (last $?=0)> '[' 0 = 1 ']' ==[apply_patchfiles:726 (last $?=1)> eval '' ==[apply_patchfiles:706 (last $?=0)> for x in '$patchfiles' ==[apply_patchfiles:710 (last $?=0)> '[' '!' -e /TOOLCHAIN/t2/package/base/binutils/ld-glob.patch -a -n '' ']' ==[apply_patchfiles:714 (last $?=0)> echo 'Apply patch /TOOLCHAIN/t2/package/base/binutils/ld-glob.patch ...' Apply patch /TOOLCHAIN/t2/package/base/binutils/ld-glob.patch ... ==[apply_patchfiles:716 (last $?=0)> [[ /TOOLCHAIN/t2/package/base/binutils/ld-glob.patch = *.bz2 ]] ==[apply_patchfiles:720 (last $?=1)> patch_file=/TOOLCHAIN/t2/package/base/binutils/ld-glob.patch ==[apply_patchfiles:720 (last $?=0)> patch_del=0 ==[apply_patchfiles:723 (last $?=0)> cat /TOOLCHAIN/t2/package/base/binutils/ld-glob.patch ==[apply_patchfiles:723 (last $?=0)> patch -bfp1 -z .orig patching file ld/emultempl/elf32.em Hunk #1 succeeded at 724 (offset 91 lines). Hunk #2 succeeded at 733 (offset 91 lines). Hunk #3 succeeded at 779 (offset 91 lines). ==[apply_patchfiles:725 (last $?=0)> '[' 0 = 1 ']' ==[apply_patchfiles:726 (last $?=1)> eval '' ==[apply_patchfiles:706 (last $?=0)> for x in '$patchfiles' ==[apply_patchfiles:710 (last $?=0)> '[' '!' -e /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-100-uclibc-conf.patch -a -n '' ']' ==[apply_patchfiles:714 (last $?=0)> echo 'Apply patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-100-uclibc-conf.patch ...' Apply patch /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-100-uclibc-conf.patch ... ==[apply_patchfiles:716 (last $?=0)> [[ /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-100-uclibc-conf.patch = *.bz2 ]] ==[apply_patchfiles:720 (last $?=1)> patch_file=/TOOLCHAIN/t2/package/base/uclibc/patches/binutils-100-uclibc-conf.patch ==[apply_patchfiles:720 (last $?=0)> patch_del=0 ==[apply_patchfiles:723 (last $?=0)> cat /TOOLCHAIN/t2/package/base/uclibc/patches/binutils-100-uclibc-conf.patch ==[apply_patchfiles:723 (last $?=0)> patch -bfp1 -z .orig patching file bfd/configure Hunk #1 succeeded at 3577 (offset 1 line). patching file binutils/configure Hunk #1 succeeded at 3410 (offset -1 lines). patching file configure Hunk #1 succeeded at 2195 with fuzz 2 (offset 925 lines). Hunk #2 succeeded at 2490 (offset 912 lines). can't find file to patch at input line 61 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- binutils-2.16.91.0.7/configure.in |+++ binutils-2.16.91.0.7/configure.in -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored patching file gas/configure Hunk #1 succeeded at 3410 (offset -1 lines). patching file gprof/configure Hunk #1 succeeded at 3413 with fuzz 1 (offset -6 lines). patching file ld/configure Hunk #1 succeeded at 3412 (offset -1 lines). patching file libtool.m4 patching file ltconfig patching file opcodes/configure Hunk #1 succeeded at 3578 (offset -1 lines). Due to previous errors, no 0-binutils.log file! (Try enabling xtrace in the config to track an error inside the build system.) --- BUILD ERROR --- Creating file list and doing final adaptions ... Processing static lib corrections ... Verifing the .la files ... Searching for orphaned files ... Found 5 files for this package. Found 0 orphaned files for this package. Clear (old) md5sums ... Creating md5sum files ... done. Creating package description ... Making post-install adaptions. -> $root/var/adm/logs/0-binutils.out -> 0-binutils.err == 04/01/07 00:23:06 =[0]=> Aborted building package binutils.
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe t2
