Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48693 - net-fs/samba-3.0.2a-r1 emerge fails: patch error
Summary: net-fs/samba-3.0.2a-r1 emerge fails: patch error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-22 08:11 UTC by David Baehrens
Modified: 2004-04-22 09:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/samba-3.0.2a-r1/temp/samba-3.0.2a-smbprint.patch-5241.out (samba-3.0.2a-smbprint.patch-5241.out,6.07 KB, text/plain)
2004-04-22 08:18 UTC, David Baehrens
Details
/var/tmp/portage/samba-3.0.2a-r1/temp/environment (environment,83.12 KB, text/plain)
2004-04-22 08:21 UTC, David Baehrens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Baehrens 2004-04-22 08:11:24 UTC
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"
Comment 1 David Baehrens 2004-04-22 08:18:05 UTC
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
Comment 2 David Baehrens 2004-04-22 08:21:22 UTC
Created attachment 29821 [details]
/var/tmp/portage/samba-3.0.2a-r1/temp/environment
Comment 3 Christian Sahle 2004-04-22 09:12:24 UTC
I have the same problem here...

Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-04-22 09:31:00 UTC
already fixed in cvs