Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46157 - net-tools-1.60
Summary: net-tools-1.60
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 49667 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-29 13:09 UTC by ares
Modified: 2004-05-01 23:22 UTC (History)
4 users (show)

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


Attachments
net-tools-1.60-cleanup-list-handling.patch (net-tools-1.60-cleanup-list-handling.patch,1.66 KB, patch)
2004-03-29 13:11 UTC, ares
Details | Diff
net-tools install fails during patching (net-tools-1.60-cleanup-list-handling.patch-7053.out,2.81 KB, application/octet-stream)
2004-03-30 16:46 UTC, Alex
Details
Another emerge info list (emerge_info,1.74 KB, text/plain)
2004-04-05 04:11 UTC, Ken Weinert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ares 2004-03-29 13:09:52 UTC
Compiled error with apply patch

>>> md5 src_uri ;-) net-tools-1.60.tar.bz2
>>> md5 src_uri ;-) net-tools-1.60-gentoo-extra-1.tar.bz2
>>> Unpacking source...
>>> 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-10659.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!
Comment 1 ares 2004-03-29 13:11:11 UTC
Created attachment 28311 [details, diff]
net-tools-1.60-cleanup-list-handling.patch

Submitted correct line patch
Comment 2 Alex 2004-03-30 16:46:40 UTC
Created attachment 28421 [details]
net-tools install fails during patching

This is the output that is supposed to be attached when reporting this bug.
Comment 3 Alex 2004-03-30 16:47:59 UTC
The attachement I created is from the below message when net-tools failed to install.

>>> md5 src_uri ;-) net-tools-1.60.tar.bz2
>>> md5 src_uri ;-) net-tools-1.60-gentoo-extra-1.tar.bz2
>>> Unpacking source...
>>> 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-7053.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!
Comment 4 Benjamin Coles 2004-03-30 18:47:06 UTC
i experienced no problems with this ebuild, please submit emerge --info
Comment 5 Alex 2004-03-30 19:22:44 UTC
joseph-a-nagy-jr root # emerge --info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.2               
2-gentoo-r4)
=================================================================
System uname: 2.4.22-gentoo-r4 i686 Pentium II (Klamath)
Gentoo Base System version 1.4.3.13p1
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium-mmx -O3 -pipe"
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               
/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /u               
sr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/shar               
e/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-mmx -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages nostrip sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb canna cdr crypt cups curl directfb doc e               
ncode esd ethereal flac flash foomaticdb freewnn gdbm gif gnome gpm gstreamer gt               
k gtk2 gtkhtml guile imlib ipv6 jack java jpeg kde libg++ libwww mad maildir mbo               
x mcal mikmod mmx motif mpeg mpg mysql nas ncurses nis nls nocd odbc oggvorbis o               
pengl oss pam pdflib perl plotutils png postgres prelude python qt quicktime rea               
dline ruby samba sasl scanner sdl slang speex spell sse ssl svga tcltk tcpd tete               
x tiff truetype unicode usb videos wmf x86 xml xml2 xmms xv zlib"
Comment 6 Ken Weinert 2004-04-05 04:11:49 UTC
Created attachment 28730 [details]
Another emerge info list

I have the same issue - note that this is not the "1 of 5" failed hunks, this
is the "can't find the file to patch" problem - all hunks fail.
Comment 7 Benjamin Coles 2004-04-09 01:16:07 UTC
I've been able to patch this sucessful with my system... passing this on to base-system herd
Comment 8 Chris Bruner 2004-05-01 21:19:57 UTC
Mine fails inthis way.

gcc -D_GNU_SOURCE -march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math -msse -funroll-loops -fforce-addr -falign-functions=4 
Comment 9 Chris Bruner 2004-05-01 21:19:57 UTC
Mine fails inthis way.

gcc -D_GNU_SOURCE -march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math -msse -funroll-loops -fforce-addr -falign-functions=4  -I. -idirafter ./include/ -Ilib -I/var/tmp/portage/net-tools-1.60-r8/work/net-tools-1.60 -idirafter /var/tmp/portage/net-tools-1.60-r8/work/net-tools-1.60/include    -c -o interface.o interface.c
interface.c: In function `if_fetch':
interface.c:437: error: `skfd' undeclared (first use in this function)
interface.c:437: error: (Each undeclared identifier is reported only once
interface.c:437: error: for each function it appears in.)
make[1]: *** [interface.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-tools-1.60-r8/work/net-tools-1.60/lib'
make: *** [subdirs] Error 2
 
!!! ERROR: sys-apps/net-tools-1.60-r8 failed.
!!! Function src_compile, Line 78, Exitcode 2
!!! (no error message)

emerge info ==

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20031222-r0,2.3.3_pre20040117-r0,2.3.3_pre20040207-r0,2.3.3_pre20040420-r0,2.3.2-r1,2.3.2-r3, 2.6.5-mm1)
=================================================================
System uname: 2.6.5-mm1 i686 AMD Athlon(TM) MP 1800+
Gentoo Base System version 1.4.10
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.2 [enabled]
Autoconf: sys-devel/autoconf-2.59-r1,sys-devel/autoconf-2.59-r3,sys-devel/autoconf-2.58,sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8,sys-devel/automake-1.8.2,sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="no"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math -msse -funroll-loops -fforce-addr -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /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 /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="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
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 Xaw3d aalib alsa apm arts avi berkdb bonobo bsf bsh cdr crypt cups dga directfb doc dvd encode esd etwin evo foomaticdb freetype fs gdbm gif gnome gphoto2 gpm gtk gtk2 guile imagemagick imlib jack jack-caps jack-tmpfs java jpeg kde ldap libg++ libwww mad mikmod mmx mng motif mozilla mpeg mpeg4 mysql ncurses nls nptl oggvorbis openal opengl oss pam pdflib perl png python qt quicktime radeon readline ruby samba scanner sdl slang speex spell sse ssl stencil-buffer svga tcltk tcpd tetex truetype video_cards_radeon videos wxwindows x86 xine xml2 xmms xv zlib"
 
Comment 10 Chris Bruner 2004-05-01 21:21:43 UTC
*** Bug 49667 has been marked as a duplicate of this bug. ***
Comment 11 SpanKY gentoo-dev 2004-05-01 23:22:15 UTC
this bug is for the failed patch

the patch has been fixed thus this bug is closed

file a new bug report for your compile failure ... include version of linux and linux-headers that you're using