Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39252 - Failed Patch: attr-no-man2pages.patch!, I have a Perforce client installed on my machine
Summary: Failed Patch: attr-no-man2pages.patch!, I have a Perforce client installed on...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Portage team
URL: http://bugs.gentoo.org/show_bug.cgi?i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-24 08:18 UTC by Jon Schlueter
Modified: 2004-01-24 19:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Schlueter 2004-01-24 08:18:51 UTC
malcom-tall root # emerge -u system                                                                                        
Calculating system dependencies ...done!
>>> emerge (1 of 22) sys-apps/attr-2.4.7-r1 to /
>>> md5 src_uri ;-) attr-2.4.7.src.tar.gz
>>> Unpacking source...
>>> Unpacking attr-2.4.7.src.tar.gz to /var/tmp/portage/attr-2.4.7-r1/work
 * Applying attr-no-man2pages.patch...

 * A dry-run of patch command succeeded, but actually
 * applying the patch failed!

 * Failed Patch: attr-no-man2pages.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/attr-2.4.7-r1/temp/attr-no-man2pages.patch-8856.out


!!! ERROR: sys-apps/attr-2.4.7-r1 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: attr-no-man2pages.patch!



I have Perforce installed (www.perforce.com) This is related to another bug I submited before http://bugs.gentoo.org/show_bug.cgi?id=28006




Reproducible: Always
Steps to Reproduce:
Have Perforce Installed
1. emerge -pv attr
2. echo $PATCH_GET
3. emerge attr
Workaround
4. export PATCH_GET=0
5. echo $PATCH_GET
6. emerge attr


Actual Results:  
malcom-tall root # emerge -pv attr                                             
                                           

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] sys-apps/attr-2.4.7-r1 [2.2.0] +nls -debug 

malcom-tall root # echo $PATCH_GET

malcom-tall root # emerge attr
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/attr-2.4.7-r1 to /
>>> md5 src_uri ;-) attr-2.4.7.src.tar.gz
>>> Unpacking source...
>>> Unpacking attr-2.4.7.src.tar.gz to /var/tmp/portage/attr-2.4.7-r1/work
 * Applying attr-no-man2pages.patch...

 * A dry-run of patch command succeeded, but actually
 * applying the patch failed!

 * Failed Patch: attr-no-man2pages.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/attr-2.4.7-r1/temp/attr-no-man2pages.patch-10332.out


!!! ERROR: sys-apps/attr-2.4.7-r1 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: attr-no-man2pages.patch!

malcom-tall root # export PATCH_GET=0
malcom-tall root # echo $PATCH_GET                                             
                                        
0

malcom-tall root # emerge attr
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/attr-2.4.7-r1 to /
>>> md5 src_uri ;-) attr-2.4.7.src.tar.gz
>>> Unpacking source...
>>> Unpacking attr-2.4.7.src.tar.gz to /var/tmp/portage/attr-2.4.7-r1/work
 * Applying attr-no-man2pages.patch...                                         
                                     [ ok ]
>>> Source unpacked.



Expected Results:  
Correct eMerge without the workaround


malcom-tall root # emerge info
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.20)
=================================================================
System uname: 2.4.20 i586 Pentium MMX
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox userpriv"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="aalib acl acpi apm crypt cscope cups encode fbcon foomaticdb gd gdbm ggi
gif gpm gtk2 guile imlib java jpeg kerberos ldap libg++ libwww mad mbox mikmod
mmx ncurses nls oav oggvorbis oss pam parse-clocks pdflib perl plotutils png
python readline samba slang slp sox spell sse ssl svga tcltk tcpd tetex tiff x86
xml2 zlib"
Comment 1 SpanKY gentoo-dev 2004-01-24 16:24:10 UTC
this is a portage bug nick seems to refuse to fix
Comment 2 SpanKY gentoo-dev 2004-01-24 19:47:16 UTC
overrode the extra_functions.sh with eutils for now