When I try to emerge net-fs/samba-3.0.2a-r1, I get an error about a failed patch. Reproducible: Always Steps to Reproduce: 1. emerge -avD samba Actual Results: I get the following error: >>> emerge (1 of 1) net-fs/samba-3.0.2a-r1 to / >>> md5 src_uri ;-) samba-3.0.2a.tar.bz2 >>> Unpacking source... >>> Unpacking samba-3.0.2a.tar.bz2 to /var/tmp/portage/samba-3.0.2a-r1/work patching file source/python/setup.py * Applying samba-2.2.8-statfs.patch... [ ok ] * Applying samba-3.0.2a-smbprint.patch... * Failed Patch: samba-3.0.2a-smbprint.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/samba-3.0.2a-r1/temp/samba-3.0.2a-smbprint.patch-5241.out !!! ERROR: net-fs/samba-3.0.2a-r1 failed. !!! Function epatch, Line 322, Exitcode 0 !!! Failed Patch: samba-3.0.2a-smbprint.patch! Expected Results: successful merge Gentoo Base System version 1.4.9 Portage 2.0.50-r6 (default-ppc-2004.1, gcc-3.2.3, glibc-2.3.2-r9, 2.4.24-ppc-r2) ================================================================= System uname: 2.4.24-ppc-r2 ppc 740/750 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /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/lib/pbbuttons /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt" DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz. ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente. nl/pub/os/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acl alsa cdr crypt cscope cups directfb dvd emacs encode fbcon flac foomaticdb gdbm ggi gif gnome-libs gpm gtk gtk2 guile imap imlib java javascript jpeg libwww mad maildir mikmod mitshm motif mozilla mule ncurses nls oggvorbis opengl operanom2 oss pam perl png ppc python qt readline sdl slang spell ssl tcltk tcpd tetex tiff truetype unicode usb video_cards_mach64 vim-with-x xface xinerama xml xml2 xmms xv zlib"
Created attachment 29819 [details] /var/tmp/portage/samba-3.0.2a-r1/temp/samba-3.0.2a-smbprint.patch-5241.out according to the output patch is unable to find the files to patch, but after issuing the following commands by hand, the patch applies without errors: cd /var/tmp/portage/samba-3.0.2a-r1/work/samba-3.0.2a patch -p1 -g0 < /usr/portage/net-fs/samba/files/samba-3.0.2a-smbprint.patch
Created attachment 29821 [details] /var/tmp/portage/samba-3.0.2a-r1/temp/environment
I have the same problem here...
already fixed in cvs