Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46082 - Failed Patch: net-tools-1.60-cleanup-list-handling.patch!
Summary: Failed Patch: net-tools-1.60-cleanup-list-handling.patch!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 46116 46154 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-29 00:48 UTC by Alessandro Lepore
Modified: 2004-03-29 12:46 UTC (History)
5 users (show)

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


Attachments
/var/tmp/portage/net-tools-1.60-r8/temp/net-tools-1.60-cleanup-list-handling.patch-2486.out (patch.out,9.88 KB, text/plain)
2004-03-29 00:51 UTC, Alessandro Lepore
Details
Results of emerge net-tools patch (net-tools-1.60-cleanup-list-handling.patch-3199.out,9.88 KB, text/plain)
2004-03-29 05:49 UTC, Derek Berube
Details
modified patch (just cvs-id line altered) (net-tools-1.60-cleanup-list-handling.patch,3.35 KB, patch)
2004-03-29 06:18 UTC, Lars Schünzel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Lepore 2004-03-29 00:48:54 UTC
When I try to emerge net-tools-1.60-r8:

>>> Unpacking net-tools-1.60.tar.bz2 to /var/tmp/portage/net-tools-1.60-r8/work
>>> Unpacking net-tools-1.60-gentoo-extra-1.tar.bz2 to /var/tmp/portage/net-tools-1.60-r8/work
 * Applying net-tools-1.60-2.6-compilefix.patch...                                                                                                               [ ok ]
 * Applying net-tools-1.60-cleanup-list-handling.patch...

 * Failed Patch: net-tools-1.60-cleanup-list-handling.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-tools-1.60-r8/temp/net-tools-1.60-cleanup-list-handling.patch-2158.out

!!! ERROR: sys-apps/net-tools-1.60-r8 failed.
!!! Function epatch, Line 322, Exitcode 0
!!! Failed Patch: net-tools-1.60-cleanup-list-handling.patch!

the contents are:



Reproducible: Always
Steps to Reproduce:
1. emerge sys-apps/net-tools-1.60-r8
2.
3.

Actual Results:  
 * Failed Patch: net-tools-1.60-cleanup-list-handling.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *  
/var/tmp/portage/net-tools-1.60-r8/temp/net-tools-1.60-cleanup-list-handling.patch-2158.out

!!! ERROR: sys-apps/net-tools-1.60-r8 failed.
!!! Function epatch, Line 322, Exitcode 0
!!! Failed Patch: net-tools-1.60-cleanup-list-handling.patch!

Expected Results:  
installation

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.25)
=================================================================
System uname: 2.4.25 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://gentoo.tiscali.nl/gentoo/ http://gentoo.mirror.sdv.fr
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.math.bme.hu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apache2 apm avi cdr crypt cups dga directfb dvd
dvdr encode esd fbcon foomaticdb gdbm gif gimpprint gpm gtk gtk2 imlib java
javascript jpeg libg++ libwww mad matrox mbox mikmod mmx mng motif mozilla
moznocompose moznoirc moznomail mpeg mysql ncurses nls nogcj oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline samba sdl spell sse ssl
svga tcltk tcpd tiff truetype unicode video_cards_matrox vim-with-x wmf x86
xinerama xml2 xmms xv zlib"
Comment 1 Alessandro Lepore 2004-03-29 00:51:01 UTC
Created attachment 28264 [details]
/var/tmp/portage/net-tools-1.60-r8/temp/net-tools-1.60-cleanup-list-handling.patch-2486.out

this is
/var/tmp/portage/net-tools-1.60-r8/temp/net-tools-1.60-cleanup-list-handling.patch-2486.out
Comment 2 Guillaume Castagnino 2004-03-29 01:26:24 UTC
Same problem

works well when removing this patch (net-tools-1.60-cleanup-list-handling.patch) from the ebuild
Comment 3 Stephane Loeuillet 2004-03-29 04:00:28 UTC
hum, looking at the content of the reject file, ...

what does an email has to do in a patch ? someone smoke too much crap or need some sleep
Comment 4 Derek Berube 2004-03-29 05:46:11 UTC
I've encountered this problem as well on a P4-M machine.  The following is the output of my emerge info:

********** BEGIN emerge info

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /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/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/"
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 alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kerberos krb4 ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png python quicktime readline scanner sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"

********** END emerge info

As specified in the message I received (below), I will attach the .out file identified below.

 * Failed Patch: net-tools-1.60-cleanup-list-handling.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/net-tools-1.60-r8/temp/net-tools-1.60-cleanup-list-handlin g.patch-3199.out
Comment 5 Derek Berube 2004-03-29 05:49:24 UTC
Created attachment 28280 [details]
Results of emerge net-tools patch
Comment 6 Lars Schünzel 2004-03-29 06:18:41 UTC
Created attachment 28282 [details, diff]
modified patch (just cvs-id line altered)

Try this modified cleanup-list-handling patch.
I only changed the cvs-id line.
btw.: It is perfectly OK for an patch to be an e-mail... that's one of the
finer things about patches ;)
Comment 7 Stephane Loeuillet 2004-03-29 06:34:02 UTC
thanks Lars, your modified patch applied ok
did not know about the patch in email thing (nice to learn thing everyday)

anyway, even if it is possible, the size of the mail is far larger than the size of the patch itself.

3426 if we keep the mail body
1828 if we remove it

it's not important for a single host but as thousands of people sync their portage tree, it eats bandwidth.

well, if we want to have less traffic, we should first try to replace some .gz in .ebuild by .bz2 when package manager provide both.

Comment 8 Sven Blumenstein (RETIRED) gentoo-dev 2004-03-29 07:38:09 UTC
Thanks alot for the report, I fixed it in CVS. Should hit the mirrors in a few minutes.
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2004-03-29 12:39:52 UTC
*** Bug 46116 has been marked as a duplicate of this bug. ***
Comment 10 Martin Holzer (RETIRED) gentoo-dev 2004-03-29 12:46:27 UTC
*** Bug 46154 has been marked as a duplicate of this bug. ***