Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176560 - sys-apps/iproute2-2.6.20.20070313 compile fails
Summary: sys-apps/iproute2-2.6.20.20070313 compile fails
Status: RESOLVED FIXED
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:
: 183790 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-30 12:09 UTC by Tobias Klausmann (RETIRED)
Modified: 2007-08-25 16:36 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 Tobias Klausmann (RETIRED) gentoo-dev 2007-04-30 12:09:38 UTC
alpha-unknown-linux-gnu-gcc -D_GNU_SOURCE -mieee -pipe -O2 -mcpu=ev56 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o m_mirred.o m_mirred.c
alpha-unknown-linux-gnu-gcc -D_GNU_SOURCE -mieee -pipe -O2 -mcpu=ev56 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o m_ipt.o m_ipt.c
In file included from ../include/iptables.h:4,
                 from m_ipt.c:17:
../include/iptables_common.h:15: warning: function declaration isn't a prototype
In file included from ../include/libiptc/libiptc.h:6,
                 from ../include/iptables.h:5,
                 from m_ipt.c:17:
../include/linux/netfilter_ipv4/ip_tables.h:115:39: error: linux/netfilter/xt_tcpudp.h: No such file or directory
make[1]: *** [m_ipt.o] Error 1
rm emp_ematch.lex.c emp_ematch.yacc.c
make[1]: Leaving directory `/var/tmp/portage/sys-apps/iproute2-2.6.20.20070313/work/iproute-2.6.20-070313/tc'
make: *** [all] Error 2

emerge --info:
Portage 2.1.2.5 (default-linux/alpha/2006.1, gcc-4.1.2, glibc-2.3.6-r5, 2.6.21.1 alpha)                                                                         
=================================================================               
System uname: 2.6.21.1 alpha EV56                                               
Gentoo Base System release 1.12.10                                              
Timestamp of tree: Mon, 30 Apr 2007 11:20:01 +0000                              
dev-lang/python:     2.4.4                                                      
dev-python/pycrypto: 2.0.1-r5                                                   
sys-apps/sandbox:    1.2.18.1                                                   
sys-devel/autoconf:  2.13, 2.61                                                 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10     
sys-devel/binutils:  2.17                                                       
sys-devel/gcc-config: 1.3.16                                                    
sys-devel/libtool:   1.5.23b                                                    
virtual/os-headers:  2.6.11-r5                                                  
ACCEPT_KEYWORDS="alpha ~alpha"                                                  
AUTOCLEAN="yes"                                                                 
CBUILD="alpha-unknown-linux-gnu"                                                
CFLAGS="-mieee -pipe -O2 -mcpu=ev56"                                            
CHOST="alpha-unknown-linux-gnu"                                                 
CONFIG_PROTECT="/etc"                                                           
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"   
CXXFLAGS="-mieee -pipe -O2 -mcpu=ev56"                                          
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"                                                     
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.solnet.ch http://pandemonium.tiscali.de/pub/gentoo/"                 
MAKEOPTS="-j1"                                                                  
PKGDIR="/usr/portage/packages"                                                  
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"      
PORTAGE_TMPDIR="/var/tmp"                                                       
PORTDIR="/usr/portage"                                                          
PORTDIR_OVERLAY="/usr/local/portage"                                            
SYNC="rsync://rsync5.de.gentoo.org/gentoo-portage"                              
USE="alpha bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt cups dri fortran ftp gdbm iconv isdnlog libg++ midi mmap ncurses nls nptl nptlonly offensive pam pcre perl ppds pppd python readline recode reflection session sharedmem sockets spl ssl tcpd truetype truetype-fonts type1-fonts unicode vim vim-pager xml xorg zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"                                                         
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

At first I thought this might be the same bug as #158271, but
looking closer I think this is a seperate issue.
Comment 1 SpanKY gentoo-dev 2007-04-30 20:25:53 UTC
iproute2 doesnt use the kernel source, so it doesnt matter what ver is in /usr/src/linux
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2007-05-01 09:53:34 UTC
Then I suspect the 2.6-headers for alpha are simply too old. Without unmasking anyhting, I get sys-kernel/linux-headers-2.6.11-r5. Sure enough, there is no /usr/include/linux/netfilter/xt_tcpudp.h in that system (~alpha). My amd64 box with sys-kernel/linux-headers-2.6.20-r2 (from ~amd64) has that file. I'd try unmasking newer kernel headers but I'd rather not render the system unusable as a reinstall takes quite some time. Any suggestions?
Comment 3 clove 2007-05-08 23:00:03 UTC
I encountered the same problem on a amd64 system as well.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-07-01 03:10:54 UTC
*** Bug 183790 has been marked as a duplicate of this bug. ***
Comment 5 Tobias Klausmann (RETIRED) gentoo-dev 2007-07-02 21:59:55 UTC
In the course of helping thw alpha team out with testing/stabilization, I merged newer linux-headers (2.6.17-r2). With those, iproute2-2.6.20.20070313 compiles, and it works as advertised. So when/if linux-headers-2.6.17-r2 goes stable, this bug can be closed.
Comment 6 SpanKY gentoo-dev 2007-08-25 16:36:37 UTC
newer headers are stable