Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to compile net-tools
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
sgbmyr
n00b
n00b


Joined: 12 Nov 2012
Posts: 2

PostPosted: Mon Nov 12, 2012 12:19 am    Post subject: Failed to compile net-tools Reply with quote

Hi!

I'm in the process of downgrading my system from unstable (~amd64) to stable and tried to do that with an emerge -e world. However, upon compiling the net-tools package I got an error telling me that it cannot find linux/if_strip.h, which, as some googling revealed, was removed in kernel 3.6.0. So, I emerged and built a kernel 3.5.7, which does include the requested header file. After that still didn't work I downgraded gcc and tried a revdep-rebuild after that still did not solve the problem. Yet, I'm still getting the same error message:

Code:

 * Package:    sys-apps/net-tools-1.60_p20110409135728
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib nls userland_GNU
 * FEATURES:   sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking net-tools-1.60_p20110409135728.tar.xz to /var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work
>>> Unpacking net-tools-1.60_p20110409135728-patches-1.tar.xz to /var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work
>>> Source unpacked in /var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work
>>> Preparing source in /var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728 ...
 * Applying various patches (bugfixes/updates) ...
 *   0001-prevent-overflows-in-interface-buffers.patch ...
 [ ok ]
 *   0002-revert-621a2f376334f8097604b9fee5783e0f1141e66d-for-.patch ...
 [ ok ]
 * Done with patching
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728 ...
 * Setting option I18N to y
 * Setting option HAVE_HWIB to y
 * Setting option HAVE_HWTR to n
*
*
*              Internationalization
*
* The net-tools package has currently been translated to French,
* German and Brazilian Portugese.  Other translations are, of
* course, welcome.  Answer `n' here if you have no support for
* internationalization on your system.
*
Does your system support GNU gettext? (I18N) [y] *
*
*             Protocol Families.
*
UNIX protocol family (HAVE_AFUNIX) [y] INET (TCP/IP) protocol family (HAVE_AFINET) [y] INET6 (IPv6) protocol family (HAVE_AFINET6) [y] Novell IPX/SPX protocol family (HAVE_AFIPX) [y] Appletalk DDP protocol family (HAVE_AFATALK) [y] AX25 (packet radio) protocol family (HAVE_AFAX25) [y] NET/ROM (packet radio) protocol family (HAVE_AFNETROM) [y] Rose (packet radio) protocol family (HAVE_AFROSE) [y] X.25 (CCITT) protocol family (HAVE_AFX25) [y] Econet protocol family (HAVE_AFECONET) [y] DECnet protocol family (HAVE_AFDECnet) [n] Ash protocol family (HAVE_AFASH) [y] *
*
*            Device Hardware types.
*
Ethernet (generic) support (HAVE_HWETHER) [y] ARCnet support (HAVE_HWARC) [y] SLIP (serial line) support (HAVE_HWSLIP) [y] PPP (serial line) support (HAVE_HWPPP) [y] IPIP Tunnel support (HAVE_HWTUNNEL) [y] STRIP (Metricom radio) support (HAVE_HWSTRIP) [y] Token ring (generic) support (HAVE_HWTR) [n] AX25 (packet radio) support (HAVE_HWAX25) [y] Rose (packet radio) support (HAVE_HWROSE) [y] NET/ROM (packet radio) support (HAVE_HWNETROM) [y] X.25 (generic) support (HAVE_HWX25) [y] DLCI/FRAD (frame relay) support (HAVE_HWFR) [y] SIT (IPv6-in-IPv4) support (HAVE_HWSIT) [y] FDDI (generic) support (HAVE_HWFDDI) [y] HIPPI (generic) support (HAVE_HWHIPPI) [y] Ash hardware support (HAVE_HWASH) [y] (Cisco)-HDLC/LAPB support (HAVE_HWHDLCLAPB) [y] IrDA support (HAVE_HWIRDA) [y] Econet hardware support (HAVE_HWEC) [y] Generic EUI-64 hardware support (HAVE_HWEUI64) [y] InfiniBand hardware support (HAVE_HWIB) [y] *
*
*           Other Features.
*
IP Masquerading support (HAVE_FW_MASQUERADE) [y] Build iptunnel and ipmaddr (HAVE_IP_TOOLS) [y] Build mii-tool (HAVE_MII) [y] >>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728 ...
make -j5
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ifconfig.o ifconfig.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o hostname.o hostname.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o arp.o arp.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o netstat.o netstat.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o statistics.o statistics.c
hostname.c: In function ‘main’:
hostname.c:425:15: warning: ignoring return value of ‘getdomainname’, declared with attribute warn_unused_result
arp.c: In function ‘arp_getdevhw’:
arp.c:261:2: warning: pointer targets in passing argument 1 of ‘xhw->print’ differ in signedness
arp.c:261:2: note: expected ‘unsigned char *’ but argument is of type ‘char *’
ifconfig.c: In function ‘main’:
ifconfig.c:500:21: warning: cast to pointer from integer of different size
ifconfig.c:514:21: warning: cast to pointer from integer of different size
netstat.c: In function ‘ipx_info’:
netstat.c:1570:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
netstat.c: In function ‘x25_info’:
netstat.c:689:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
netstat.c: In function ‘netrom_info’:
netstat.c:481:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o route.o route.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o rarp.o rarp.c
rarp.c: In function ‘main’:
rarp.c:229:6: warning: format not a string literal and no format arguments
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o slattach.o slattach.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o plipconfig.o plipconfig.c
slattach.c: In function ‘usage’:
slattach.c:572:3: warning: format not a string literal and no format arguments
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o nameif.o nameif.c
slattach.c: In function ‘main’:
slattach.c:745:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
slattach.c: In function ‘tty_lock’:
slattach.c:205:2: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o iptunnel.o iptunnel.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ipmaddr.o ipmaddr.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o mii-tool.o mii-tool.c
iptunnel.c: In function ‘do_tunnels_list’:
iptunnel.c:479:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
iptunnel.c:480:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
mii-tool.c: In function ‘show_basic_mii’:
mii-tool.c:274:6: warning: format not a string literal and no format arguments
ipmaddr.c: In function ‘multiaddr_modify’:
ipmaddr.c:351:4: warning: pointer targets in passing argument 2 of ‘parse_lla’ differ in signedness
ipmaddr.c:78:12: note: expected ‘unsigned char *’ but argument is of type ‘char *’
ipmaddr.c: In function ‘read_igmp’:
ipmaddr.c:184:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
make[1]: Entering directory `/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/lib'
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o activate.o activate.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o af.o af.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Llib -o hostname hostname.o
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Llib -o nameif nameif.o
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Llib -o mii-tool mii-tool.o
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o arcnet.o arcnet.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ash.o ash.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ax25.o ax25.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ax25_gr.o ax25_gr.c
ax25.c: In function ‘AX25_sprint’:
ax25.c:76:33: warning: pointer targets in passing argument 1 of ‘AX25_print’ differ in signedness
ax25.c:50:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’
ax25.c: In function ‘AX25_input’:
ax25.c:87:9: warning: pointer targets in assignment differ in signedness
arcnet.c: In function ‘in_arcnet’:
arcnet.c:55:9: warning: pointer targets in assignment differ in signedness
ash.c: In function ‘in_ash’:
ash.c:67:9: warning: pointer targets in assignment differ in signedness
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ddp.o ddp.c
ash.c: In function ‘pr_sash’:
ash.c:112:5: warning: pointer targets in passing argument 1 of ‘pr_ash’ differ in signedness
ash.c:35:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ddp_gr.o ddp_gr.c
ax25_gr.c: In function ‘AX25_rprint’:
ax25_gr.c:52:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ec_hw.o ec_hw.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o econet.o econet.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ether.o ether.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o eui64.o eui64.c
ddp.c: In function ‘ddp_sprint’:
ddp.c:51:5: warning: pointer targets in passing argument 1 of ‘ddp_print’ differ in signedness
ddp.c:35:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’
ddp_gr.c: In function ‘DDP_rprint’:
ddp_gr.c:76:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o fddi.o fddi.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o frame.o frame.c
ether.c: In function ‘in_ether’:
ether.c:59:9: warning: pointer targets in assignment differ in signedness
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o getargs.o getargs.c
eui64.c: In function ‘in_eui64’:
eui64.c:72:6: warning: pointer targets in assignment differ in signedness
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o getroute.o getroute.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o hdlclapb.o hdlclapb.c
fddi.c: In function ‘in_fddi’:
fddi.c:69:9: warning: pointer targets in assignment differ in signedness
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o hippi.o hippi.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o hw.o hw.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ib.o ib.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o inet.o inet.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o inet6.o inet6.c
hippi.c: In function ‘in_hippi’:
hippi.c:69:9: warning: pointer targets in assignment differ in signedness
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o inet6_gr.o inet6_gr.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o inet6_sr.o inet6_sr.c
ib.c: In function ‘in_ib’:
ib.c:69:9: warning: pointer targets in assignment differ in signedness
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o inet_gr.o inet_gr.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o inet_sr.o inet_sr.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o interface.o interface.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ipx.o ipx.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ipx_gr.o ipx_gr.c
ipx.c: In function ‘IPX_sprint’:
ipx.c:82:5: warning: pointer targets in passing argument 1 of ‘IPX_print’ differ in signedness
ipx.c:45:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’
interface.c: In function ‘ife_print_long’:
interface.c:699:2: warning: pointer targets in passing argument 1 of ‘hw->print’ differ in signedness
interface.c:699:2: note: expected ‘unsigned char *’ but argument is of type ‘char *’
interface.c:659:17: warning: unused variable ‘flags’
interface.c: In function ‘if_readlist_proc’:
interface.c:329:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
interface.c:330:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ipx_sr.o ipx_sr.c
ipx_gr.c: In function ‘IPX_rprint’:
ipx_gr.c:65:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o irda.o irda.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o loopback.o loopback.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o masq_info.o masq_info.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o netrom.o netrom.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o netrom_gr.o netrom_gr.c
netrom_gr.c: In function ‘NETROM_rprint’:
netrom_gr.c:53:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
netrom_gr.c:63:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
masq_info.c: In function ‘ip_masq_info’:
masq_info.c:171:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o netrom_sr.o netrom_sr.c
netrom.c: In function ‘NETROM_sprint’:
netrom.c:79:35: warning: pointer targets in passing argument 1 of ‘NETROM_print’ differ in signedness
netrom.c:55:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’
netrom.c: In function ‘NETROM_input’:
netrom.c:90:9: warning: pointer targets in assignment differ in signedness
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o nstrcmp.o nstrcmp.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ppp.o ppp.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o ppp_ac.o ppp_ac.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o proc.o proc.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o rose.o rose.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o rose_gr.o rose_gr.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o setroute.o setroute.c
rose_gr.c: In function ‘ROSE_rprint’:
rose_gr.c:56:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o sit.o sit.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o slip.o slip.c
rose.c: In function ‘ROSE_sprint’:
rose.c:73:33: warning: pointer targets in passing argument 1 of ‘ROSE_print’ differ in signedness
rose.c:57:2: note: expected ‘unsigned char *’ but argument is of type ‘char *’
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o slip_ac.o slip_ac.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o sockets.o sockets.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o strip.o strip.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o tr.o tr.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/include -Ilib  -c -o tunnel.o tunnel.c
strip.c:24:28: fatal error: linux/if_strip.h: No such file or directory
compilation terminated.
make[1]: *** [strip.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728/lib'
make: *** [libdir] Error 2
emake failed
 * ERROR: sys-apps/net-tools-1.60_p20110409135728 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_compile
 *        environment, line 2358:  Called __eapi2_src_compile
 *   phase-helpers.sh, line  612:  Called die
 * The specific snippet of code:
 *         emake || die "emake failed"
 *
 * If you need support, post the output of `emerge --info '=sys-apps/net-tools-1.60_p20110409135728'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/net-tools-1.60_p20110409135728'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728'
 * S: '/var/tmp/portage/sys-apps/net-tools-1.60_p20110409135728/work/net-tools-1.60_p20110409135728'
 


Here's my emerge --info:
Code:

Portage 2.1.11.31 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.5.7-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_580_@_2.67GHz-with-gentoo-2.2
Timestamp of tree: Sun, 11 Nov 2012 21:15:01 +0000
ld GNU ld (GNU Binutils) 2.22.90.20120727
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories:

gentoo
    location: /usr/portage
    sync: rsync://rsync.at.gentoo.org/gentoo-portage
    priority: -1000

ABI="amd64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul mulaw multi null plug rate route share shm softvol"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode multilib"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/* *.py[co]"
COLORTERM="Terminal"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-kecRioO94x,guid=cd80be9ecff5279932768b1850a017ba"
DEFAULT_ABI="amd64"
DESKTOP_SESSION="xfce"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --verbose"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
FFLAGS="-march=native -O2 -pipe"
FLTK_DOCDIR="/usr/share/doc/fltk-1.3.0-r1/html"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/  http://gentoo.lagis.at/ ftp://gentoo.lagis.at/  http://gd.tuwien.ac.at/opsys/linux/gentoo/  ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
GLADE_CATALOG_PATH=":"
GLADE_MODULE_PATH=":"
GLADE_PIXMAP_PATH=":"
GNOME_KEYRING_CONTROL="/home/sgbmyr/.cache/keyring-ezqWq0"
GNOME_KEYRING_PID="6295"
GPG_AGENT_INFO="/home/sgbmyr/.cache/keyring-ezqWq0/gpg:0:1"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
GRUB_PLATFORMS=""
GSETTINGS_BACKEND="dconf"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HISTFILE="/home/sgbmyr/.zshistory"
HISTSIZE="2000"
HOME="/home/sgbmyr"
INFOPATH="/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.22.90/info:/usr/share/info/emacs-24"
INPUT_DEVICES="evdev synaptics"
IUSE_IMPLICIT="prefix"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="en_US.UTF8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_COLLATE="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_n32="lib32"
LIBDIR_n64="lib64"
LIBDIR_o32="lib"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_s390="lib32"
LIBDIR_s390x="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LOGNAME="sgbmyr"
MAIL="/var/mail/sgbmyr"
MAKEOPTS="-j5"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.22.90/man:/etc/java-config-2/current-system-vm/man/"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OLDPWD="/home/sgbmyr"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/sbin/:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4"
PHP_TARGETS="php5-3"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd ppc64-linux x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris m68k sh x86-solaris sparc-fbsd"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PRELINK_PATH_MASK="/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PWD="/home/sgbmyr"
PYTHONDONTWRITEBYTECODE="1"
PYTHONPATH="/usr/lib/portage/pym"
PYTHON_TARGETS="python3_2 python2_7"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18 ruby19"
SAVEHIST="2000"
SESSION_MANAGER="local/sgbmyr-mobile:@/tmp/.ICE-unix/6283,unix/sgbmyr-mobile:/tmp/.ICE-unix/6283"
SHELL="/bin/zsh"
SHLVL="2"
SSH_AUTH_SOCK="/home/sgbmyr/.cache/keyring-ezqWq0/ssh"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.at.gentoo.org/gentoo-portage"
TERM="xterm"
TEXINPUTS="/usr/lib64/ocaml/ocamldoc:"
UNINSTALL_IGNORE="/lib/modules/*"
USE="/ X a52 aac acl acpi alsa amd64 apm berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli corefonts cracklib crypt css cups cxx dbus djvu dri dvd dvdr emacs encode exif ffmpeg flac fontconfig fortran gdbm gif gpm gstreamer gtk gtk3 gzip iconv imap ipv6 jpeg lame latex lcms ldap libnotify lzma lzo mime mmx modules mozilla mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nntp nptl openmp pam pcmcia pcre pdf png policykit posix postscript pppd rdesktop readline samba session sharedmem smp sound spell sse sse2 ssl svg tcpd tiff truetype type1 udev unicode usb vorbis wavpack wifi x264 xattr xcb xcomposite xinerama xml xv xvid zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USER="sgbmyr"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES DVB_CARDS ELIBC FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd s390 sh sparc sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin FreeBSD glibc HPUX Interix mintlib NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Cygwin Darwin FreeBSD freemint HPUX Interix linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
VIDEO_CARDS="intel"
WINDOWID="37748740"
XAUTHORITY="/home/sgbmyr/.Xauthority"
XDG_CONFIG_DIRS="/etc/xdg:/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share"
XDG_MENU_PREFIX="xfce-"
XDG_SESSION_COOKIE="2cfc36047127e386e8c4042b505cc71a-1352669113.778123-1028282556"
XSESSION="Xfce4"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
_="/usr/bin/emerge"


Any ideas what's going wrong?

EDIT: Taking another look at the emerge --info output I realized that my setup uses the 3.6 linux headers. Should the problem be solved, if I downgrade the linux headers?
Back to top
View user's profile Send private message
Ion Silverbolt
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 203

PostPosted: Sat Nov 17, 2012 2:42 pm    Post subject: Reply with quote

It's easier to just update net-tools to unstable. Worked for me.
Back to top
View user's profile Send private message
akaoni
n00b
n00b


Joined: 18 Dec 2011
Posts: 16

PostPosted: Fri Dec 07, 2012 12:47 pm    Post subject: Reply with quote

hi,

I have same pb but cant fix.
I am on stable + some unstable :
Quote:
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p20111120203157/work/net-tools-1.60_p201111202031570500/include -Ilib -c -o strip.o strip.c
strip.c:24:28: erreur fatale: linux/if_strip.h : Aucun fichier ou dossier de ce type
compilation terminée.
make[1]: *** [strip.o] Erreur 1

However file exist (I am running 3.5.7) :
Quote:
gentoox64 src # find . -name if_strip.h
./linux-3.5.7-gentoo/include/linux/if_strip.h
./linux-3.3.8-gentoo/include/linux/if_strip.h



I can see my system is trying to downgrade :
Code:
[ebuild     UD] sys-apps/net-tools-1.60_p20111120203157 [1.60_p20120127084908] USE="nls -old-output -static"


I suspect dependencies (I am not sure if I need less than with <sys-apps/net-tools-1.60_p20120127084908) and I remove facter I dont use now :
Code:
gentoox64 src # equery d sys-apps/net-tools
 * These packages depend on sys-apps/net-tools:
dev-ruby/facter-1.6.0 (<sys-apps/net-tools-1.60_p20120127084908)
gentoox64 src # emerge -C facter


But same problem.
I tried to put net-tools in unstable as suggest Ion below :
Quote:
gentoox64 src # grep net-tool /etc/portage/package.keywords
sys-apps/net-tools ~amd64


But no changes.
I am annoyed by this as now I got many updates waiting for this net-tools problem to be resolved.

I check equery keyword (which is not in the manpage ... what means this + ?? )

Code:
gentoox64 src # equery y sys-apps/net-tools 
Keywords for sys-apps/net-tools:
                        |                           | u   | 
                        | a a             p     s   | n   | 
                        | l m   h i m m   p s   p   | u s | r
                        | p d a p a 6 i p c 3   a x | s l | e
                        | h 6 r p 6 8 p p 6 9 s r 8 | e o | p
                        | a 4 m a 4 k s c 4 0 h c 6 | d t | o
------------------------+---------------------------+-----+-------
   1.60_p20110409135728 | + + + + + + ~ + + + + + + | o 0 | gentoo
   1.60_p20111120203157 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | #   | gentoo
[I]1.60_p20120127084908 | ~ + ~ ~ ~ ~ ~ + ~ ~ ~ ~ + | o   | gentoo
                   9999 | o o o o o o o o o o o o o | o   | gentoo


Questions are :
1 - Why my system is trying to downgrade this paclage
2 - Why compilation is failing and how to fix

thanks,
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8845

PostPosted: Fri Dec 07, 2012 10:42 pm    Post subject: Reply with quote

akaoni wrote:
Questions are :
1 - Why my system is trying to downgrade this paclage
2 - Why compilation is failing and how to fix

thanks,
To find why it is downgrading, mask the unwanted version and try again. The error message should explain why Portage wants to downgrade it.

Kernel headers are not searched. You need the header to be supplied by a package meant to supply it, such as linux-headers.
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4151

PostPosted: Fri Dec 07, 2012 11:24 pm    Post subject: Re: Failed to compile net-tools Reply with quote

sgbmyr wrote:
Taking another look at the emerge --info output I realized that my setup uses the 3.6 linux headers. Should the problem be solved, if I downgrade the linux headers?

Should yes
Back to top
View user's profile Send private message
akaoni
n00b
n00b


Joined: 18 Dec 2011
Posts: 16

PostPosted: Mon Dec 10, 2012 1:54 pm    Post subject: Reply with quote

Thanks all for your answers.
Finally I was able to emerge my system.
I tried : gentoox64 portage # emerge --update --newuse --deep --with-bdeps=y -a @world
And it cries for some dependencies between puppet and net-tools as I dont need puppet I removed it and achieve this emerge world.
The culprit was facter.
Code:

pierre@gentoox64 ~ $ equery w facter
/usr/portage/dev-ruby/facter/facter-1.6.0.ebuild
pierre@gentoox64 ~ $ grep net-tools /usr/portage/dev-ruby/facter/facter-1.6.0.ebuild
RDEPEND+="<sys-apps/net-tools-1.60_p20120127084908"

After digging out I found out that using ~amd64 for facter, I can use net-tools-1.60_p20120127084908.

However even if I had package.keyword :
Code:
=sys-apps/net-tools-1.60_p20120127084908

even with this, it tries to downgrade net-tools but it should stop to emerge complaining about this version mismatch.
Did I misunderstood something ?

About net-tools not being able to build I check out the kernel headers and have :
Code:
pierre@gentoox64 ~ $ equery l \* | grep linux-headers
sys-kernel/linux-headers-3.6
pierre@gentoox64 ~ $ eix linux-headers
[D] sys-kernel/linux-headers
     Available versions:  *2.4.33.3^bs ~*2.4.36^bs 3.1^bs ~3.2-r1^bs ~3.3^bs 3.4^bs 3.4-r1^bs 3.4-r2^bs ~3.5^bs ~3.6^bs
     Installed versions:  3.6^bs(09:56:32 21/11/2012)
     Homepage:            http://www.kernel.org/ http://www.gentoo.org/
     Description:         Linux system headers

but my kernel is 3.5.7 (stable branche) and kernel-headers are 3.6 which looks a bit odd.
Why header and sources have differents version and how to downgrade to version providing this linux/if_strip.h.
I think I have missed something between gentoo-sources and kernel-headers I have linux/if_strip.h is /usr/src but not is /usr/include/.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum