When I want to install pretty much any new program, Portage wants to upgrade me to GCC 3.4.5, but it can't. I have no strong attachement to one version or the other so I let the upgrade proceed. This has happened over the last week or so and I have "emerge --sync" a few times. * Applying stub patch for htb ... [ ok ] * Applying gcc-3.4.5-ssp.patch ... [ ok ] * Updating gcc to use SSP from libc ... * Applying upstream pie patches ... * 00_all_gcc-4.0-cvs-incompat.patch ... [ ok ] * 00_all_gcc-4.0-cvs-mips-pic-for-3.4.3.patch ... [ ok ] * 00_all_gcc-4.0-cvs-pic.patch ... [ ok ] * 00_all_gcc-4.0-cvs-start_endfile-for-3.4.4.patch ... [ ok ] * 03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch ... * Failed Patch: 03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch ! * ( /var/tmp/portage/gcc-3.4.5/work/piepatch/upstream/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/gcc-3.4.5/temp/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch-13772.out !!! ERROR: sys-devel/gcc-3.4.5 failed. Call stack: ebuild.sh, line 1894: Called dyn_unpack ebuild.sh, line 694: Called src_unpack gcc-3.4.5.ebuild, line 79: Called gcc_src_unpack toolchain.eclass, line 1004: Called do_gcc_PIE_patches toolchain.eclass, line 1948: Called epatch 'unpack' !!! Failed Patch: 03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch! !!! If you need support, post the topmost build error, and the call stack if relevant. Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.5-r3, 2.6.15 i686) ================================================================= System uname: 2.6.15 i686 AMD Athlon(TM) XP 2500+ Gentoo Base System version 1.12.0_pre15 ccache version 2.4 [disabled] dev-lang/python: 2.2.3-r1, 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo/" LANG="en_AU" LC_ALL="en_AU.UTF-8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X Xaw3d aac alsa apm arts artworkextra avi bash-completion berkdb bitmap-fonts bl bootsplash cddb cdparanoia cdr cdrom crypt css cups dga divx4linux dvd dvdr dvdread encode fbcon ffmpeg font-server foomaticdb gdbm gnome gpm gstreamer gtk gtk2 ieee1394 imlib jpeg kde kdeenablefinal kqemu libg++ libwww lzo lzw lzw-tiff mad mikmod mime mjpeg mmx mmxext mng motif mozdevelop moznoirc mozsvg mp3 mpeg mpeg4 mplayer ncurses nls ogg oggvorbis opengl oss pam pdf pdflib perl png pnp python qemu-fast qt quicktime rar rdesktop readline rtc sdl speedo spell sse sse2 ssl tcpd tga tidy tiff transcode truetype truetype-fonts type1 type1-fonts udev userlocales vanilla vcd vcdimager vidix vorbis wifi win32codecs wmf wsconvert wxwindows xanim xml2 xmms xosd xv xvid xvmc yv12 zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY and finally: nosfucious portage # cat /var/tmp/portage/gcc-3.4.5/temp/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch-13772.out ***** 03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch ***** =================================================== PATCH COMMAND: patch -p0 -g0 --no-backup-if-mismatch < /var/tmp/portage/gcc-3.4.5/work/piepatch/upstream/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch =================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- gcc-3.4.0/gcc/config/arm/linux-elf.h.mps Thu May 20 09:11:17 2004 |+++ gcc-3.4.0/gcc/config/arm/linux-elf.h Thu May 20 09:12:28 2004 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored =================================================== PATCH COMMAND: patch -p1 -g0 --no-backup-if-mismatch < /var/tmp/portage/gcc-3.4.5/work/piepatch/upstream/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch =================================================== patching file gcc/config/arm/linux-elf.h Hunk #1 FAILED at 91. 1 out of 1 hunk FAILED -- saving rejects to file gcc/config/arm/linux-elf.h.rej =================================================== PATCH COMMAND: patch -p2 -g0 --no-backup-if-mismatch < /var/tmp/portage/gcc-3.4.5/work/piepatch/upstream/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch =================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- gcc-3.4.0/gcc/config/arm/linux-elf.h.mps Thu May 20 09:11:17 2004 |+++ gcc-3.4.0/gcc/config/arm/linux-elf.h Thu May 20 09:12:28 2004 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored =================================================== PATCH COMMAND: patch -p3 -g0 --no-backup-if-mismatch < /var/tmp/portage/gcc-3.4.5/work/piepatch/upstream/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch =================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- gcc-3.4.0/gcc/config/arm/linux-elf.h.mps Thu May 20 09:11:17 2004 |+++ gcc-3.4.0/gcc/config/arm/linux-elf.h Thu May 20 09:12:28 2004 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored =================================================== PATCH COMMAND: patch -p4 -g0 --no-backup-if-mismatch < /var/tmp/portage/gcc-3.4.5/work/piepatch/upstream/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch =================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- gcc-3.4.0/gcc/config/arm/linux-elf.h.mps Thu May 20 09:11:17 2004 |+++ gcc-3.4.0/gcc/config/arm/linux-elf.h Thu May 20 09:12:28 2004 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored
USE=vanilla should remove this file, because it depends on the uclibc patches
you shouldnt be using USE=vanilla when you dont know what it does
*** Bug 122809 has been marked as a duplicate of this bug. ***
*** Bug 125901 has been marked as a duplicate of this bug. ***
*** Bug 127019 has been marked as a duplicate of this bug. ***
*** Bug 129575 has been marked as a duplicate of this bug. ***
*** Bug 130804 has been marked as a duplicate of this bug. ***
Uhm - do we need more duplicates to get this fixed?
it'd help
*** Bug 142320 has been marked as a duplicate of this bug. ***
not worth fixing
*** Bug 170454 has been marked as a duplicate of this bug. ***
*** Bug 172990 has been marked as a duplicate of this bug. ***
*** Bug 209845 has been marked as a duplicate of this bug. ***