Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192590 - net-analyzer/fragroute-1.2 fails to compile w/ (hardened) gcc-3.4
Summary: net-analyzer/fragroute-1.2 fails to compile w/ (hardened) gcc-3.4
Status: RESOLVED DUPLICATE of bug 126744
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-15 12:42 UTC by Hari Sekhon
Modified: 2007-09-15 13:00 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 Hari Sekhon 2007-09-15 12:42:45 UTC
Making all in scripts
make[2]: Entering directory `/var/tmp/portage/net-analyzer/fragroute-1.2/work/fragroute-1.2/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/fragroute-1.2/work/fragroute-1.2/scripts'
Making all in win32
make[2]: Entering directory `/var/tmp/portage/net-analyzer/fragroute-1.2/work/fragroute-1.2/win32'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/fragroute-1.2/work/fragroute-1.2/win32'
make[2]: Entering directory `/var/tmp/portage/net-analyzer/fragroute-1.2/work/fragroute-1.2'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c fragroute.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c argv.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c bget.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c pcaputil.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c pkt.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c randutil.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_delay.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_drop.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_dup.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_echo.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_ip_chaff.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_ip_frag.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_ip_opt.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_ip_ttl.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_ip_tos.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_order.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_print.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_tcp_chaff.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_tcp_opt.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c mod_tcp_seg.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include -I/usr/include    -O2 -march=athlon64 -pipe -Wall -c tun-loop.c
tun-loop.c:34: error: redefinition of `struct tun'
make[2]: *** [tun-loop.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/fragroute-1.2/work/fragroute-1.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/fragroute-1.2/work/fragroute-1.2'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-analyzer/fragroute-1.2 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  fragroute-1.2.ebuild, line 19:   Called die

!!! Make failed
!!! 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/net-analyzer/fragroute-1.2/temp/build.log'.



Reproducible: Always

Steps to Reproduce:
1. emerge fragroute
2.
3.

Actual Results:  
error posted in description

Expected Results:  
successful emerge
Comment 1 FieldySnuts 2007-09-15 12:48:27 UTC
Worked okay here. I would suggest including the output of emerge --info.

Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22.6 i686)
=================================================================
System uname: 2.6.22.6 i686 Intel(R) Pentium(R) M processor 1.86GHz
Timestamp of tree: Sat, 15 Sep 2007 00:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
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.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://194.117.143.69/ http://194.117.143.70/ http://85.25.128.62"
LINGUAS="en"
MAKEOPTS="-j2"
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://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X a52 acl alsa berkdb bitmap-fonts bzip2 cdr chroot cli cracklib crypt cups dri dv dvd dvdr dvdread encode ffmpeg flac fortran gdbm gif gnome gpm gtk gtk2 hal iconv isdnlog jpeg kde midi mmx mp3 mudflap ncurses network nls nptl nptlonly ogg opengl openmp oss pam pcre pdflib perl png pppd pwdb python qt3 qt4 readline reflection sdl session spell spl sse ssl svg theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis x86 xml2 xorg xvid 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-15 12:57:34 UTC

*** This bug has been marked as a duplicate of bug 126744 ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-15 13:00:45 UTC
This is caused by sucky outdated (hardened) gcc... shrug. If you are not on hardened, upgrade your gcc, if you are, tough luck.

http://www.gentoo.org/doc/en/gcc-upgrading.xml