Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 229351
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: cilly <cilly@cilly.mine.nu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 229351 depends on: Show dependency tree
Bug 229351 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-25 09:12 0000
>>> Unpacking source...
>>> Unpacking iproute2-2.6.25.tar.bz2 to /var/tmp/portage/sys-apps/iproute2-2.6.25.20080417/work
 * Applying iproute2-2.6.25.20080417-build.patch ...
  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/iproute2-2.6.25.20080417/work/iproute2-2.6.25 ...
make[1]: Entering directory
`/var/tmp/portage/sys-apps/iproute2-2.6.25.20080417/work/iproute2-2.6.25/lib'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=i686 -msse -mmmx -mfpmath=sse -Os
-pipe -fpic -fomit-frame-pointer -fforce-addr  -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES   -c -o ll_map.o ll_map.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=i686 -msse -mmmx -mfpmath=sse -Os
-pipe -fpic -fomit-frame-pointer -fforce-addr  -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES   -c -o libnetlink.o libnetlink.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=i686 -msse -mmmx -mfpmath=sse -Os
-pipe -fpic -fomit-frame-pointer -fforce-addr  -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES   -c -o utils.o utils.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=i686 -msse -mmmx -mfpmath=sse -Os
-pipe -fpic -fomit-frame-pointer -fforce-addr  -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES   -c -o rt_names.o rt_names.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=i686 -msse -mmmx -mfpmath=sse -Os
-pipe -fpic -fomit-frame-pointer -fforce-addr  -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES   -c -o ll_types.o ll_types.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=i686 -msse -mmmx -mfpmath=sse -Os
-pipe -fpic -fomit-frame-pointer -fforce-addr  -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES   -c -o ll_proto.o ll_proto.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=i686 -msse -mmmx -mfpmath=sse -Os
-pipe -fpic -fomit-frame-pointer -fforce-addr  -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES   -c -o ll_addr.o ll_addr.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=i686 -msse -mmmx -mfpmath=sse -Os
-pipe -fpic -fomit-frame-pointer -fforce-addr  -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES   -c -o inet_proto.o inet_proto.c
ll_proto.c:97: error: `ETH_P_CAN' undeclared here (not in a function)
ll_proto.c:97: error: initializer element is not constant
ll_proto.c:97: error: (near initialization for `llproto_names[43].id')
ll_proto.c:97: error: initializer element is not constant
ll_proto.c:97: error: (near initialization for `llproto_names[43]')
ll_proto.c:99: error: initializer element is not constant
ll_proto.c:99: error: (near initialization for `llproto_names[44]')
ll_proto.c:100: error: initializer element is not constant
ll_proto.c:100: error: (near initialization for `llproto_names[45]')
make[1]: *** [ll_proto.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/sys-apps/iproute2-2.6.25.20080417/work/iproute2-2.6.25/lib'
make: *** [all] Error 2

  ERROR: sys-apps/iproute2-2.6.25.20080417 failed.
  Call stack:
                ebuild.sh, line   49:  Called src_compile
                environment, line 2043:  Called die
  The specific snippet of code:
                emake CC="$(tc-getCC)" AR="$(tc-getAR)" || die "make"
  The die message:
                make

  If you need support, post the topmost build error, and the call stack if
relevant.
  A complete build log is located at
'/var/tmp/portage/sys-apps/iproute2-2.6.25.20080417/temp/build.log'.
  The ebuild environment file is located at
'/var/tmp/portage/sys-apps/iproute2-2.6.25.20080417/temp/environment'.

*****
Portage 2.1.4.4 (hardened/x86/2.6, gcc-4.1.2-dwokfur, glibc-2.6.1-r0,
2.6.23-r13 i686)
=================================================================
System uname: 2.6.23-r13 i686 VIA Nehemiah
Timestamp of tree: Tue, 24 Jun 2008 23:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -msse -mmmx -mfpmath=sse -Os -pipe -fpic
-fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=i686 -msse -mmmx -mfpmath=sse -Os -pipe -fpic
-fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox
sfperms strict suidctl unmerge-orphans"
GENTOO_MIRRORS="rsync://ftp.join.uni-muenster.de/gentoo                
rsync://ftp-stud.fht-esslingen.de/gentoo                
rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo                
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo                
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror                
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo                
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo                
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo                
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo                
ftp://ftp.tu-clausthal.de/pub/linux/gentoo                
ftp://ftp.mneisen.org/gentoo                
ftp://pandemonium.tiscali.de/pub/gentoo                
http://pandemonium.tiscali.de/pub/gentoo                
http://distfiles.gentoo.org                
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl apache2 bash-completion berkdb bzip2 caps cracklib crypt ctype curl
fam gd gmp hardened idn imap innodb ipv6 jbig jpeg jpeg2k libwww lm_sensors
maildir mhash midi mmx mysql ncurses nls nptl nptlonly pam pcre perl pic png
posix python random readline sasl session snmp sockets ssl tcpd threads tiff
unicode usb vhosts x86 xattr xml zlib" ALSA_CARDS="ali5451 als4000 atiixp
atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem 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" APACHE2_MODULES="actions alias
auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file
authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user
autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires
ext_filter file_cache filter headers ident imagemap include info log_config
logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer
proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir
usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="apm ark chips
cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv
r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga
trident tseng v4l vesa vga vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

------- Comment #1 From Justin Foote 2008-06-27 07:19:09 0000 -------
Your error is caused by a too-old linux-headers (you need ~x86).

Once you fix that, you'll probably get another error, quoted below.

The ebuild should work fine if include/netinet/ is not removed from the
iproute2 source tree.  Fix the ebuild (line 34) not to do that and it should
compile.

make[1]: Entering directory
`/var/tmp/portage/sys-apps/iproute2-2.6.25.20080417/work/iproute2-2.6.25/misc'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES   -c -o ss.o ss.c
ss.c: In function 'tcp_show_info':
ss.c:1338: error: 'struct tcp_info' has no member named 'tcpi_rcv_rtt'
ss.c:1339: error: 'struct tcp_info' has no member named 'tcpi_rcv_rtt'
ss.c:1340: error: 'struct tcp_info' has no member named 'tcpi_rcv_space'
ss.c:1341: error: 'struct tcp_info' has no member named 'tcpi_rcv_space'
make[1]: *** [ss.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/sys-apps/iproute2-2.6.25.20080417/work/iproute2-2.6.25/misc'

Since two of my machines where the package built without incident are both
using full ~x86 or ~x86_64, I suspect iproute2-2.6.25 might require the
include/netinet/ headers from glibc 2.8 snapshots, rather than 2.6.1.

------- Comment #2 From cilly 2008-06-27 07:54:39 0000 -------
I am using the latest stable linux-headers:

eix linux-headers
[I] sys-kernel/linux-headers
     Available versions:  [M]*2.0.40-r1 [M]*2.2.26-r1 [M]2.4.26-r1 [M]2.4.33.3
[M]~2.4.36 2.6.17-r2 2.6.23-r3 ~2.6.24 ~2.6.25-r1 ~2.6.25-r3 ~2.6.25-r4
     Installed versions:  2.6.23-r3(09:29:05 AM 02/20/2008)
     Homepage:            http://www.kernel.org/ http://www.gentoo.org/
     Description:         Linux system headers

------- Comment #3 From SpanKY 2008-06-28 17:52:00 0000 -------
dont mix stable and unstable

http://sources.gentoo.org/sys-apps/iproute2/iproute2-2.6.25.20080417.ebuild?r1=1.2&r2=1.4

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug