I wanted to merge gcc-3.3.3-r6 but it failed while patching. See the attachment for the log of the failed patch (02_all_gcc33-ice-hack.patch.bz2)
Created attachment 33471 [details] log file
Ok the only time I've ever seen this come up is when you have it in your cache or you alredy unpacked the source and it's trying to double patch. Please try the following commands cd /usr/portage/sys-devel/gcc/ ebuild gcc-3.3.3-r6.ebuild clean rm -rf /root/.ccache emerge =sys-devel/gcc-3.3.3-r6 # that should do the trick for you. Please confirm it does so we can close this bug.
well, there is no /root/.ccache but I run # ebuild /usr/local/portage/sys-devel/gcc/gcc-3.3.3-r6.ebuild clean And plus I deleted everything in /tmp/portage just to be sure. ... * Applying various patches (bugfixes/updates)... * 01_all_gcc-3.3.3-v8.7.6-pie-generic-default.patch.bz2... [ ok ] * 02_all_gcc-3.3.3-v8.7.1-pie-alpha-default.patch.bz2... [ ok ] * 02_all_gcc-3.3.3-v8.7.1-pie-arm-default.patch.bz2... [ ok ] * 02_all_gcc-3.3.3-v8.7.1-pie-ia64-default.patch.bz2... [ ok ] * 02_all_gcc-3.3.3-v8.7.2-pie-sparc64-default.patch.bz2... [ ok ] * 02_all_gcc-3.3.3-v8.7.2-pie-sparc-default.patch.bz2... [ ok ] * Done with patching * Applying various patches (bugfixes/updates)... * 02_all_gcc33-ice-hack.patch.bz2... * Failed Patch: 02_all_gcc33-ice-hack.patch.bz2! * * Include in your bugreport the contents of: * * /var/tmp/portage/gcc-3.3.3-r6/temp/02_all_gcc33-ice-hack.patch.bz2-10988.out !!! ERROR: sys-devel/gcc-3.3.3-r6 failed. !!! Function epatch, Line 322, Exitcode 0 !!! Failed Patch: 02_all_gcc33-ice-hack.patch.bz2! Just to go sure I will also attach a copy of the last output. I don't know how to interpret this :(
Created attachment 33572 [details] log file of the last try
ice-hack is the first patch to get applied. if it is showing up again, its because some other patch couldn't be applied. I'll bet it couldn't find the next patch in line - gcc331-pp-fixup.patch When was the last time you ran emerge sync? Please attach the output of emerge --info After those pie patches, the ebuild should have continued on more like so: * Applying various patches (bugfixes/updates)... * 02_all_gcc-3.3.3-v8.7.1-pie-rs6000-nondefault.patch.bz2... * Done with patching * Applying various patches (bugfixes/updates)... * 01_all_gcc-3.3.3-v8.7.6-pie-generic-default.patch.bz2... * 02_all_gcc-3.3.3-v8.7.1-pie-alpha-default.patch.bz2... * 02_all_gcc-3.3.3-v8.7.1-pie-arm-default.patch.bz2... * 02_all_gcc-3.3.3-v8.7.1-pie-ia64-default.patch.bz2... * 02_all_gcc-3.3.3-v8.7.2-pie-sparc-default.patch.bz2... * 02_all_gcc-3.3.3-v8.7.2-pie-sparc64-default.patch.bz2... * Done with patching * Applying gcc331-pp-fixup.patch... * Applying gcc333-ssp-3.3.2_1-fixup.patch... * Applying protector.dif... * Updating gcc to use SSP from glibc... hardened x86 * Updating gcc to use automatic PIE + SSP building ... pic * Applying gcc-3.3.3-libiberty-pic.patch... * Applying gcc333-gentoo-branding.patch... >>> Source unpacked.
Try this, and look at the line just before the "diefunc" for the [most likely] real problem: emerge -d gcc 2>&1 | grep " epatch" ... To demonstrate that the ice-hack complaint is the result of a separate yet unmentioned patch: Star root # rm /usr/portage/sys-devel/gcc/files/3.3.1/gcc331-pp-fixup.patch Star root # emerge gcc (etc.) * 02_all_gcc-3.3.3-v8.7.1-pie-ia64-default.patch.bz2... * 02_all_gcc-3.3.3-v8.7.2-pie-sparc-default.patch.bz2... * 02_all_gcc-3.3.3-v8.7.2-pie-sparc64-default.patch.bz2... * Done with patching * Applying various patches (bugfixes/updates)... * 02_all_gcc33-ice-hack.patch.bz2... * Failed Patch: 02_all_gcc33-ice-hack.patch.bz2! (etc.) Star root # emerge -d gcc 2>&1 | grep " epatch" + epatch /usr/portage/distfiles/gcc-3.3.3-branch-update-20040412.patch.bz2 + epatch /var/tmp/portage/gcc-3.3.3-r6/work/patch + epatch /var/tmp/portage/gcc-3.3.3-r6/work/piepatch/upstream + epatch /var/tmp/portage/gcc-3.3.3-r6/work/piepatch/nondef + epatch /var/tmp/portage/gcc-3.3.3-r6/work/piepatch/def + epatch /usr/portage/sys-devel/gcc/files/3.3.1/gcc331-pp-fixup.patch + diefunc epatch 322 0 'Failed Patch: 02_all_gcc33-ice-hack.patch.bz2!' + echo '!!! Function epatch, Line 322, Exitcode 0' !!! Function epatch, Line 322, Exitcode 0
well, I don't know the time of the last emerge sync but it was only some days ago. I now did a emerge sync. first the emerge --info output: # emerge --info Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5) ================================================================= System uname: 2.6.5 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/mpd/conf /opt/opera/share/opera/config /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/local/apache/conf /usr/share/config /usr/share/cups/model /usr/share/ogle/oglerc /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/src/portage-distfiles" FEATURES="autoaddcvs ccache sandbox userpriv" GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo// http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo// ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo// http://trumpetti.atm.tut.fi/gentoo// ftp://trumpetti.atm.tut.fi/gentoo// http://gentoo.mirror.sdv.fr/ http://gentoo.math.bme.hu/ ftp://ftp.rxd.hu/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources// 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://mirror.switch.ch/mirror/gentoo// ftp://mirror.switch.ch/mirror/gentoo// ftp://ftp.solnet.ch/mirror/Gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acl alsa apm arts avi berkdb canna cdr cjk crypt cups curl directfb dvd emacs encode esd flac foomaticdb gdbm gif gimpprint gnome gpm gtk gtk2 guile imagemagick imlib java jpeg kde ldap lesstiff libg++ libwww mad mikmod mmx mng motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex theora tiff truetype unicode wmf wxwindows x86 xml2 xmms xv zlib" then the output of the merge: # emerge -d /usr/local/portage/sys-devel/gcc/gcc-3.3.3-r6.ebuild 2>&1 | grep " epatch" + epatch /usr/src/portage-distfiles/gcc-3.3.3-branch-update-20040412.patch.bz2 + epatch /var/tmp/portage/gcc-3.3.3-r6/work/patch + epatch /var/tmp/portage/gcc-3.3.3-r6/work/piepatch/upstream + epatch /var/tmp/portage/gcc-3.3.3-r6/work/piepatch/nondef + epatch /var/tmp/portage/gcc-3.3.3-r6/work/piepatch/def + epatch /usr/local/portage/sys-devel/gcc/files/3.3.1/gcc331-pp-fixup.patch + diefunc epatch 322 0 'Failed Patch: 02_all_gcc33-ice-hack.patch.bz2!' + echo '!!! Function epatch, Line 322, Exitcode 0' !!! Function epatch, Line 322, Exitcode 0
Please check to see if you actually _have_ the file: $ ls -l /usr/local/portage/sys-devel/gcc/files/3.3.1/gcc331-pp-fixup.patch If not, are you using an overlay by any chance?
thanks. /usr/local/portage/sys-devel/gcc/files/3.3.1 was completly missing. Due to the naming I thought that this is only required for 3.3.1.