Emerging net-tools-1.60-r8 fails to apply a patch while the old version compile properly. Reproducible: Always Steps to Reproduce: 1.emerge -u =net-tools-1.60-r8 2. 3. Actual Results: >>> emerge (1 of 1) sys-apps/net-tools-1.60-r8 to / >>> 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-4088.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: The emerging must end successfully :-) Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-rc1) ================================================================= System uname: 2.6.5-rc1 i686 AMD Athlon(tm) XP 2000+ 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="-mcpu=athlon-xp -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/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="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" MAKEOPTS="-j2" PKGDIR="/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/mygentoo/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X aalib acl acpi acpi4linux alsa apm arts atm avi berkdb bluetooth cdr cups dga directfb doc dvd dvdr encode esd fbcon foomaticdb gdbm gif gmp-java gpm gstreamer guile imlib ipv6 jpeg kakasi kde libg++ mad mikmod mmx mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt readline sdl slang spell sse ssl svga tcltk tcpd truetype usb x86 xml2 xmms xv zlib"
*** This bug has been marked as a duplicate of 46082 ***
Could someone please email me what a plain user is supposed to do to get net-tools r8 to compile in gentoo distribution with a 2.6._ kernel? I had noticed this problem several days ago and everyday I do an 'emerge sync' 'emerge -u net-tools' figuring that eventually this will get fixed in the main portage tree, but it is still failing. I will be glad to email additional info to anyone requesting. The last few lines of the compile are: inet6_sr.c: In function `INET6_setroute': inet6_sr.c:55: error: storage size of `rt' isn't known inet6_sr.c:87: error: invalid application of `sizeof' to an incomplete type inet6_sr.c:87: error: invalid application of `sizeof' to an incomplete type inet6_sr.c:87: error: invalid application of `sizeof' to an incomplete type inet6_sr.c:87: error: invalid application of `sizeof' to an incomplete type inet6_sr.c:87: error: invalid application of `sizeof' to an incomplete type inet6_sr.c:87: error: invalid application of `sizeof' to an incomplete type inet6_sr.c: At top level: /usr/include/net/dst.h:77: error: storage size of `rcu_head' isn't known make[1]: *** [inet6_sr.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) ================================ Kernel is Linux version 2.6.3-gentoo-r1 Thank you.
sys-apps/net-tools-1.60-r8 works fine on all my 2.6 systems