Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46116 - net-tools-1.60-r8 failed patch
Summary: net-tools-1.60-r8 failed patch
Status: RESOLVED DUPLICATE of bug 46082
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 46115 46118 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-29 08:18 UTC by Gabe Yoder
Modified: 2005-07-17 13:06 UTC (History)
5 users (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 Gabe Yoder 2004-03-29 08:18:27 UTC
While trying to emerge net-tools-1.60-r8, I get the error:
Failed Patch: net-tools-1.60-cleanup-list-handling.patch!

Here is the logged data from the patching attempt:
***** net-tools-1.60-cleanup-list-handling.patch *****

======================================================

PATCH COMMAND:  patch -g0 -p0 < /usr/portage/sys-apps/net-tools/files/net-tools-1.60-cleanup-list-handling.patch

======================================================
patching file nameif.c
Hunk #1 FAILED at 3.
1 out of 5 hunks FAILED -- saving rejects to file nameif.c.rej
======================================================

PATCH COMMAND:  patch -g0 -p1 < /usr/portage/sys-apps/net-tools/files/net-tools-1.60-cleanup-list-handling.patch

======================================================
missing header for unified diff at line 45 of patch
can't find file to patch at input line 45
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Received: (at 178209) by bugs.debian.org; 6 Mar 2003 23:41:35 +0000
|From ecki@lina.inka.de Thu Mar 06 17:41:35 2003
|Return-path: <ecki@lina.inka.de>
|Received: from quechua.inka.de (mail.inka.de) [193.197.184.2] (mail)
|	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
|	id 18r4zW-0005lZ-00; Thu, 06 Mar 2003 17:41:34 -0600
|Received: from calista.inka.de (p508b2614.dip.t-dialin.net [80.139.38.20])
|	by mail.inka.de with asmtp 
|	id 18r4zU-0003YP-00; Fri, 07 Mar 2003 00:41:32 +0100
|Received: from ecki by calista.inka.de with local   (Exim 3.35 #1 (Debian))
|	id 18r4zS-0007tr-00; Fri, 07 Mar 2003 00:41:30 +0100
|Date: Fri, 7 Mar 2003 00:41:30 +0100
|To: Matt Domsch <Matt_Domsch@dell.com>
|Cc: 178209@bugs.debian.org
|Subject: Re: nameif segfault in net-tools-1.60
|Message-ID: <20030306234130.GB29359@lina.inka.de>
|References: <1046982565.1712.30.camel@localhost.localdomain> <20030306230708.GA29359@lina.inka.de> <1046992495.4526.19.camel@localhost.localdomain>
|Mime-Version: 1.0
|Content-Type: text/plain; charset=us-ascii
|Content-Disposition: inline
|In-Reply-To: <1046992495.4526.19.camel@localhost.localdomain>
|User-Agent: Mutt/1.4i
|From: Bernd Eckenfels <ecki@lina.inka.de>
|Delivered-To: 178209@bugs.debian.org
|X-Spam-Status: No, hits=-4.2 required=4.0
|	tests=IN_REP_TO,PATCH_UNIFIED_DIFF,QUOTED_EMAIL_TEXT,REFERENCES,
|	      SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT,
|	      USER_AGENT_MUTT
|	version=2.44
|X-Spam-Level: 
|
|On Thu, Mar 06, 2003 at 05:14:55PM -0600, Matt Domsch wrote:
|> 85748, filed against the Phoebe public beta so you can see it.
|
|I think the following will do it:
|
|Index: nameif.c
|===================================================================
|RCS file: /cvs/net-tools/nameif.c,v
|retrieving revision 1.1
|retrieving revision 1.3
|diff -u -r1.1 -r1.3
|--- nameif.c	18 Oct 2000 17:26:29 -0000	1.1
|+++ nameif.c	6 Mar 2003 23:26:52 -0000	1.3
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
======================================================

PATCH COMMAND:  patch -g0 -p2 < /usr/portage/sys-apps/net-tools/files/net-tools-1.60-cleanup-list-handling.patch

======================================================
missing header for unified diff at line 45 of patch
can't find file to patch at input line 45
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Received: (at 178209) by bugs.debian.org; 6 Mar 2003 23:41:35 +0000
|From ecki@lina.inka.de Thu Mar 06 17:41:35 2003
|Return-path: <ecki@lina.inka.de>
|Received: from quechua.inka.de (mail.inka.de) [193.197.184.2] (mail)
|	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
|	id 18r4zW-0005lZ-00; Thu, 06 Mar 2003 17:41:34 -0600
|Received: from calista.inka.de (p508b2614.dip.t-dialin.net [80.139.38.20])
|	by mail.inka.de with asmtp 
|	id 18r4zU-0003YP-00; Fri, 07 Mar 2003 00:41:32 +0100
|Received: from ecki by calista.inka.de with local   (Exim 3.35 #1 (Debian))
|	id 18r4zS-0007tr-00; Fri, 07 Mar 2003 00:41:30 +0100
|Date: Fri, 7 Mar 2003 00:41:30 +0100
|To: Matt Domsch <Matt_Domsch@dell.com>
|Cc: 178209@bugs.debian.org
|Subject: Re: nameif segfault in net-tools-1.60
|Message-ID: <20030306234130.GB29359@lina.inka.de>
|References: <1046982565.1712.30.camel@localhost.localdomain> <20030306230708.GA29359@lina.inka.de> <1046992495.4526.19.camel@localhost.localdomain>
|Mime-Version: 1.0
|Content-Type: text/plain; charset=us-ascii
|Content-Disposition: inline
|In-Reply-To: <1046992495.4526.19.camel@localhost.localdomain>
|User-Agent: Mutt/1.4i
|From: Bernd Eckenfels <ecki@lina.inka.de>
|Delivered-To: 178209@bugs.debian.org
|X-Spam-Status: No, hits=-4.2 required=4.0
|	tests=IN_REP_TO,PATCH_UNIFIED_DIFF,QUOTED_EMAIL_TEXT,REFERENCES,
|	      SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT,
|	      USER_AGENT_MUTT
|	version=2.44
|X-Spam-Level: 
|
|On Thu, Mar 06, 2003 at 05:14:55PM -0600, Matt Domsch wrote:
|> 85748, filed against the Phoebe public beta so you can see it.
|
|I think the following will do it:
|
|Index: nameif.c
|===================================================================
|RCS file: /cvs/net-tools/nameif.c,v
|retrieving revision 1.1
|retrieving revision 1.3
|diff -u -r1.1 -r1.3
|--- nameif.c	18 Oct 2000 17:26:29 -0000	1.1
|+++ nameif.c	6 Mar 2003 23:26:52 -0000	1.3
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
======================================================

PATCH COMMAND:  patch -g0 -p3 < /usr/portage/sys-apps/net-tools/files/net-tools-1.60-cleanup-list-handling.patch

======================================================
missing header for unified diff at line 45 of patch
can't find file to patch at input line 45
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Received: (at 178209) by bugs.debian.org; 6 Mar 2003 23:41:35 +0000
|From ecki@lina.inka.de Thu Mar 06 17:41:35 2003
|Return-path: <ecki@lina.inka.de>
|Received: from quechua.inka.de (mail.inka.de) [193.197.184.2] (mail)
|	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
|	id 18r4zW-0005lZ-00; Thu, 06 Mar 2003 17:41:34 -0600
|Received: from calista.inka.de (p508b2614.dip.t-dialin.net [80.139.38.20])
|	by mail.inka.de with asmtp 
|	id 18r4zU-0003YP-00; Fri, 07 Mar 2003 00:41:32 +0100
|Received: from ecki by calista.inka.de with local   (Exim 3.35 #1 (Debian))
|	id 18r4zS-0007tr-00; Fri, 07 Mar 2003 00:41:30 +0100
|Date: Fri, 7 Mar 2003 00:41:30 +0100
|To: Matt Domsch <Matt_Domsch@dell.com>
|Cc: 178209@bugs.debian.org
|Subject: Re: nameif segfault in net-tools-1.60
|Message-ID: <20030306234130.GB29359@lina.inka.de>
|References: <1046982565.1712.30.camel@localhost.localdomain> <20030306230708.GA29359@lina.inka.de> <1046992495.4526.19.camel@localhost.localdomain>
|Mime-Version: 1.0
|Content-Type: text/plain; charset=us-ascii
|Content-Disposition: inline
|In-Reply-To: <1046992495.4526.19.camel@localhost.localdomain>
|User-Agent: Mutt/1.4i
|From: Bernd Eckenfels <ecki@lina.inka.de>
|Delivered-To: 178209@bugs.debian.org
|X-Spam-Status: No, hits=-4.2 required=4.0
|	tests=IN_REP_TO,PATCH_UNIFIED_DIFF,QUOTED_EMAIL_TEXT,REFERENCES,
|	      SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT,
|	      USER_AGENT_MUTT
|	version=2.44
|X-Spam-Level: 
|
|On Thu, Mar 06, 2003 at 05:14:55PM -0600, Matt Domsch wrote:
|> 85748, filed against the Phoebe public beta so you can see it.
|
|I think the following will do it:
|
|Index: nameif.c
|===================================================================
|RCS file: /cvs/net-tools/nameif.c,v
|retrieving revision 1.1
|retrieving revision 1.3
|diff -u -r1.1 -r1.3
|--- nameif.c	18 Oct 2000 17:26:29 -0000	1.1
|+++ nameif.c	6 Mar 2003 23:26:52 -0000	1.3
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
======================================================

PATCH COMMAND:  patch -g0 -p4 < /usr/portage/sys-apps/net-tools/files/net-tools-1.60-cleanup-list-handling.patch

======================================================
missing header for unified diff at line 45 of patch
can't find file to patch at input line 45
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Received: (at 178209) by bugs.debian.org; 6 Mar 2003 23:41:35 +0000
|From ecki@lina.inka.de Thu Mar 06 17:41:35 2003
|Return-path: <ecki@lina.inka.de>
|Received: from quechua.inka.de (mail.inka.de) [193.197.184.2] (mail)
|	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
|	id 18r4zW-0005lZ-00; Thu, 06 Mar 2003 17:41:34 -0600
|Received: from calista.inka.de (p508b2614.dip.t-dialin.net [80.139.38.20])
|	by mail.inka.de with asmtp 
|	id 18r4zU-0003YP-00; Fri, 07 Mar 2003 00:41:32 +0100
|Received: from ecki by calista.inka.de with local   (Exim 3.35 #1 (Debian))
|	id 18r4zS-0007tr-00; Fri, 07 Mar 2003 00:41:30 +0100
|Date: Fri, 7 Mar 2003 00:41:30 +0100
|To: Matt Domsch <Matt_Domsch@dell.com>
|Cc: 178209@bugs.debian.org
|Subject: Re: nameif segfault in net-tools-1.60
|Message-ID: <20030306234130.GB29359@lina.inka.de>
|References: <1046982565.1712.30.camel@localhost.localdomain> <20030306230708.GA29359@lina.inka.de> <1046992495.4526.19.camel@localhost.localdomain>
|Mime-Version: 1.0
|Content-Type: text/plain; charset=us-ascii
|Content-Disposition: inline
|In-Reply-To: <1046992495.4526.19.camel@localhost.localdomain>
|User-Agent: Mutt/1.4i
|From: Bernd Eckenfels <ecki@lina.inka.de>
|Delivered-To: 178209@bugs.debian.org
|X-Spam-Status: No, hits=-4.2 required=4.0
|	tests=IN_REP_TO,PATCH_UNIFIED_DIFF,QUOTED_EMAIL_TEXT,REFERENCES,
|	      SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT,
|	      USER_AGENT_MUTT
|	version=2.44
|X-Spam-Level: 
|
|On Thu, Mar 06, 2003 at 05:14:55PM -0600, Matt Domsch wrote:
|> 85748, filed against the Phoebe public beta so you can see it.
|
|I think the following will do it:
|
|Index: nameif.c
|===================================================================
|RCS file: /cvs/net-tools/nameif.c,v
|retrieving revision 1.1
|retrieving revision 1.3
|diff -u -r1.1 -r1.3
|--- nameif.c	18 Oct 2000 17:26:29 -0000	1.1
|+++ nameif.c	6 Mar 2003 23:26:52 -0000	1.3
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored


Reproducible: Always
Steps to Reproduce:
1.emerge net-tools
2.
3.




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) MP Processor 1800+ 
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="-march=athlon-mp -O3 -pipe" 
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 /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/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-mp -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
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 apm arts avi berkdb cdr crypt cups dvd dvdr encode esd foomaticdb 
gdbm gif gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif 
mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt 
quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff 
truetype x86 xml2 xmms xv zlib"
Comment 1 humillo 2004-03-29 08:29:38 UTC
removing the first hunk of the patch (the cvs id) it applies correctly.
Comment 2 Simon Farnsworth 2004-03-29 08:31:15 UTC
I receive a very similar error; however, my patch fails at line 4 of patch, and I have the following faulty context:

***** net-tools-1.60-cleanup-list-handling.patch *****

======================================================

PATCH COMMAND:  patch -g0 -p0 < /usr/portage/sys-apps/net-tools/files/net-tools-1.60-cleanup-list-handling.patch

======================================================
patching file nameif.c
Hunk #1 FAILED at 3.
1 out of 5 hunks FAILED -- saving rejects to file nameif.c.rej
======================================================

PATCH COMMAND:  patch -g0 -p1 < /usr/portage/sys-apps/net-tools/files/net-tools-1.60-cleanup-list-handling.patch

======================================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u -r1.1 -r1.3
|--- nameif.c   18 Oct 2000 17:26:29 -0000      1.1
|+++ nameif.c   6 Mar 2003 23:26:52 -0000       1.3
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored

My emerge info is:
ortage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 AMD Athlon(tm)
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="-march=athlon-xp -O2 -pipe"
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/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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.20/sites/www.ibiblio.org/gentoo/ http://212.219.247.18/sites/www.ibiblio.org/gentoo/ http://194.83.57.15/sites/www.ibiblio.org/gentoo/ http://212.219.247.17/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2 -s"
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 apm arts artswrappersuid avi berkdb cdr cjk crypt cups dga doc dvb dvd dvdr encode esd evms2 fam fftw flac foomaticdb freetype fs gdbm gif gnome gpm gtk gtk2 guile imap imlib ipv6 irmc jabber java jpeg kde ldap libdsk libg++ libwww mad maildir matroska mbox mikmod mmx mng motif mpeg mpeg4 msn ncurses nls nptl offensive oggvorbis opengl oss pam pcre pda pdflib perl pic plotutils png python qt quicktime radeon readline ruby samba scanner sdl slang speex spell sse ssl tcltk tcpd tetex theora tiff transcode truetype unicode usb v4l video_cards_radeon x86 xml2 xmms xv xvid yahoo zlib zvbi"
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-29 10:08:08 UTC
*** Bug 46118 has been marked as a duplicate of this bug. ***
Comment 4 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-03-29 11:58:14 UTC
happens for me too :(
Comment 5 SpanKY gentoo-dev 2004-03-29 12:14:25 UTC
fixed in portage

once again, cvs id rears its ugly head in comments
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2004-03-29 12:18:33 UTC
*** Bug 46115 has been marked as a duplicate of this bug. ***
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2004-03-29 12:39:34 UTC
there's another bug
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2004-03-29 12:39:50 UTC

*** This bug has been marked as a duplicate of 46082 ***