Failed xftprefs.patch prevents compile of gtk+ Reproducible: Always Steps to Reproduce: 1. emerge gtk+ 2. 3. Actual Results: failed emerge Expected Results: completed compile and installation of gtk+ Gentoo Base System version 1.4.3.13 Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.0 ) ================================================================= System uname: 2.6.0 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled ] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -mcpu=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1 /share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla /defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-Os -mcpu=pentium4 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc sandbox" GENTOO_MIRRORS="http://mirror.clarkson.edu/pub/distributions/gentoo/ ftp://ftp.g tlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo" MAKEOPTS="-j3" 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 alsa apm arts avi berkdb cdr crypt cups distcc dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod mo tif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang snmp spell ssl svga tcpd tiff truetype usb video_ca rds_radeon x86 xml2 xmms xv zlib"
Created attachment 26219 [details] Information printed to screen during emerge of gtk+
Created attachment 26220 [details] This is output generated by the ebuild for inclusion in the bug report
Comment on attachment 26219 [details] Information printed to screen during emerge of gtk+ >>>> Unpacking source... >>>> Unpacking gtk+-2.2.4.tar.bz2 to /var/tmp/portage/gtk+-2.2.4-r1/work > Applying gtk+-2.0.6-exportsymbols.patch... > > Applying gtk+-wm.patch... > > Applying gtk+-2.2.1-disable_icons_smooth_alpha.patch... > > Applying gtk+-2-xftprefs.patch... > > Failed Patch: gtk+-2-xftprefs.patch! > > Include in your bugreport the contents of: > > /var/tmp/portage/gtk+-2.2.4-r1/temp/gtk+-2-xftprefs.patch-21916.out > > >!!! ERROR: x11-libs/gtk+-2.2.4-r1 failed. >!!! Function epatch, Line 322, Exitcode 0 >!!! Failed Patch: gtk+-2-xftprefs.patch! > >Calculating dependencies ...done! >>>> emerge (1 of 1) x11-libs/gtk+-2.2.4-r1 to / >>>> md5 src_uri ;-) gtk+-2.2.4.tar.bz2
i see 'malformed patch', can you check if the patch is ok ? Attach it here if it isn't. I suspect it might be a corrupt mirror.
Created attachment 26282 [details, diff] patch file in question
Looks like a corrupted patch file to me...please delete that patch and rsync using a different mirror.
Deleting the offending file and re-rsyncing fixed the problem. Thanks