Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: Gentoo-user@l.g.o
Subject: [gentoo-user] Problem emerge-ing sys-apps/iproute2-2.6.37
Date: Sat, 11 Jun 2011 06:04:43
Message-Id: BANLkTi=dzm=n8dtw+myPq5iu=VcANgcTzg@mail.gmail.com
1 Anyone got a problem doing `emerge sys-apps/iproute2-2.6.37`?
2
3 Mine died after the following series of warnings and errors:
4
5 i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -march=pentium4 -pipe
6 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES
7 -DLIBDIR=\"/lib\" -DCONFIG_GACT -DCONFIG_GACT_PROB
8 -DXT_LIB_DIR=\"/lib/xtables\" -c -o em_nbyte.o em_nbyte.c
9 i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -march=pentium4 -pipe
10 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES
11 -DLIBDIR=\"/lib\" -DCONFIG_GACT -DCONFIG_GACT_PROB
12 -DXT_LIB_DIR=\"/lib/xtables\" -c -o em_cmp.o em_cmp.c
13 i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -march=pentium4 -pipe
14 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES
15 -DLIBDIR=\"/lib\" -DCONFIG_GACT -DCONFIG_GACT_PROB
16 -DXT_LIB_DIR=\"/lib/xtables\" -c -o em_u32.o em_u32.c
17 i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -march=pentium4 -pipe
18 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES
19 -DLIBDIR=\"/lib\" -DCONFIG_GACT -DCONFIG_GACT_PROB
20 -DXT_LIB_DIR=\"/lib/xtables\" -c -o em_meta.o em_meta.c
21 i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -march=pentium4 -pipe
22 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES
23 -DLIBDIR=\"/lib\" -DCONFIG_GACT -DCONFIG_GACT_PROB -Wl,-O1
24 -Wl,--as-needed -Wl,-export-dynamic -shared -fpic -o m_xt.so m_xt.c
25 -lxtables
26 i686-pc-linux-gnu-ar rcs libtc.a tc_core.o tc_red.o tc_cbq.o
27 tc_estimator.o tc_stab.o
28 i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -march=pentium4 -pipe
29 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES
30 -DLIBDIR=\"/lib\" -DCONFIG_GACT -DCONFIG_GACT_PROB
31 -DXT_LIB_DIR=\"/lib/xtables\" -c -o emp_ematch.yacc.o
32 emp_ematch.yacc.c
33 m_xt.c: In function 'parse_ipt':
34 m_xt.c:167: warning: passing argument 2 of 'xtables_merge_options'
35 discards qualifiers from pointer target type
36 /usr/include/xtables.h:395: note: expected 'struct option *' but
37 argument is of type 'const struct option *'
38 m_xt.c:167: warning: passing argument 3 of 'xtables_merge_options'
39 from incompatible pointer type
40 /usr/include/xtables.h:395: note: expected 'const struct option *' but
41 argument is of type 'unsigned int *'
42 m_xt.c:167: error: too few arguments to function 'xtables_merge_options'
43 m_xt.c: In function 'print_ipt':
44 m_xt.c:312: warning: passing argument 2 of 'xtables_merge_options'
45 discards qualifiers from pointer target type
46 /usr/include/xtables.h:395: note: expected 'struct option *' but
47 argument is of type 'const struct option *'
48 m_xt.c:312: warning: passing argument 3 of 'xtables_merge_options'
49 from incompatible pointer type
50 /usr/include/xtables.h:395: note: expected 'const struct option *' but
51 argument is of type 'unsigned int *'
52 m_xt.c:312: error: too few arguments to function 'xtables_merge_options'
53 make[1]: *** [m_xt.so] Error 1
54 make[1]: *** Waiting for unfinished jobs....
55 rm emp_ematch.lex.c emp_ematch.yacc.c
56 make[1]: Leaving directory
57 `/var/tmp/portage/sys-apps/iproute2-2.6.37/work/iproute2-2.6.37/tc'
58 make: *** [all] Error 2
59 emake failed
60
61 Emerge info:
62
63 Portage 2.1.10 (hardened/linux/x86, gcc-4.4.5, glibc-2.13-r2,
64 2.6.36-gentoo-r8 i686)
65 =================================================================
66 System Settings
67 =================================================================
68 System uname: Linux-2.6.36-gentoo-r8-i686-Intel-R-_Xeon-R-_CPU_X7460_@_2.66GHz-with-gentoo-2.0.2
69 Timestamp of tree: Fri, 10 Jun 2011 05:15:01 +0000
70 app-shells/bash: 4.1_p9
71 dev-lang/python: 2.7.1-r1, 3.1.3-r1
72 sys-apps/baselayout: 2.0.2
73 sys-apps/openrc: 0.8.2-r1
74 sys-apps/sandbox: 2.4
75 sys-devel/autoconf: 2.65-r1
76 sys-devel/automake: 1.11.1
77 sys-devel/binutils: 2.20.1-r1
78 sys-devel/gcc: 4.4.5
79 sys-devel/gcc-config: 1.4.1-r1
80 sys-devel/libtool: 2.2.10
81 sys-devel/make: 3.82
82 sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
83 sys-libs/glibc: 2.13-r2
84 Repositories: gentoo
85 ACCEPT_KEYWORDS="x86"
86 ACCEPT_LICENSE="* -@EULA"
87 CBUILD="i686-pc-linux-gnu"
88 CFLAGS="-O2 -march=pentium4 -pipe"
89 CHOST="i686-pc-linux-gnu"
90 CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
91 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
92 /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
93 CXXFLAGS="-O2 -march=pentium4 -pipe"
94 DISTDIR="/usr/portage/distfiles"
95 FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles
96 fixpackages news parallel-fetch protect-owned sandbox sfperms strict
97 unknown-features-warn unmerge-logs unmerge-orphans userfetch"
98 FFLAGS=""
99 GENTOO_MIRRORS="ftp://ftp.iij.ad.jp/pub/linux/gentoo/
100 ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.kaist.ac.kr/gentoo/
101 ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/
102 ftp://mirrors.stuhome.net/gentoo/ ftp://ftp.ncnu.edu.tw/Linux/Gentoo/"
103 LDFLAGS="-Wl,-O1 -Wl,--as-needed"
104 MAKEOPTS="-j3"
105 PKGDIR="/usr/portage/packages"
106 PORTAGE_CONFIGROOT="/"
107 PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
108 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
109 --compress --force --whole-file --delete --stats --timeout=180
110 --exclude=/distfiles --exclude=/local --exclude=/packages"
111 PORTAGE_TMPDIR="/var/tmp"
112 PORTDIR="/usr/portage"
113 PORTDIR_OVERLAY=""
114 SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage"
115 USE="3dnow acl acpi apm bash-completion branding bzip2 caps cli crypt
116 cxx dri gmp gpm gzip hardened icu lzma lzo memlimit mmap mmx modules
117 mudflap ncurses nls nptl nptlonly offensive openmp pam pcre perl pic
118 pppd python readline session sharedmem slang smp sockets socks5 sse
119 sse2 ssl sysfs syslog tcpd threads unicode urandom vim-syntax x86 xorg
120 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106
121 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
122 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
123 ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
124 empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
125 mmap_emul mulaw multi null plug rate route share shm softvol"
126 APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon
127 authn_dbm authn_default authn_file authz_dbm authz_default
128 authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
129 cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
130 file_cache filter headers include info log_config logio mem_cache mime
131 mime_magic negotiation rewrite setenvif speling status unique_id
132 userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow
133 karbon kexi kpresenter krita tables words" CAMERAS="ptp2"
134 COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
135 ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18
136 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
137 oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip
138 tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
139 LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
140 ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18"
141 USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev
142 glint i128 i740 intel mach64 mga neomagic nsc nv r128 radeon rendition
143 s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l
144 vesa via vmware nouveau" XTABLES_ADDONS="quota2 psd pknock lscan
145 length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit
146 sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
147 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
148 LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
149 PORTAGE_COMPRESS_FLAGS
150
151
152 Rgds,
153 --
154 Pandu E Poluan
155 ~ IT Optimizer ~
156 Visit my Blog: http://pepoluan.posterous.com
157 Google Talk:    pepoluan
158 Y! messenger: pepoluan
159 MSN / Live:      pepoluan@×××××××.com (do not send email here)
160 Skype:            pepoluan
161 More on me:  My LinkedIn Account  My Facebook Account

Replies

Subject Author
[gentoo-user] Re: Problem emerge-ing sys-apps/iproute2-2.6.37 Pandu Poluan <pandu@××××××.info>