Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165896 - net-analyzer/wireshark-0.99.5 compile fails on amd64
Summary: net-analyzer/wireshark-0.99.5 compile fails on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-08 10:59 UTC by Tobias Klausmann (RETIRED)
Modified: 2007-02-17 00:04 UTC (History)
2 users (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-02-08 10:59:56 UTC
make[3]: Entering directory `/var/tmp/portage/net-analyzer/wireshark-0.99.5/work/wireshark-0.99.5/epan/crypt'
if /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..  -I/usr/local/include  -DINET6 -D_U_="__attribute__((unused))" -Wall -Wpointer-arith -W  -O -pipe -fomit-frame-pointer -march=opteron -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -MT airpdcap.lo -MD -MP -MF ".deps/airpdcap.Tpo" -c -o airpdcap.lo airpdcap.c; \
	then mv -f ".deps/airpdcap.Tpo" ".deps/airpdcap.Plo"; else rm -f ".deps/airpdcap.Tpo"; exit 1; fi
mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/local/include -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -O -pipe -fomit-frame-pointer -march=opteron -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -MT airpdcap.lo -MD -MP -MF .deps/airpdcap.Tpo -c airpdcap.c  -fPIC -DPIC -o .libs/airpdcap.o
In file included from airpdcap_system.h:39,
                 from airpdcap.c:39:
airpdcap_interop.h:89: error: conflicting types for 'size_t'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h:214: error: previous declaration of 'size_t' was here
airpdcap.c: In function 'parse_key_string':
airpdcap.c:1434: warning: comparison between signed and unsigned
airpdcap.c:1514: warning: comparison between signed and unsigned
airpdcap.c:1558: warning: comparison between signed and unsigned
make[3]: *** [airpdcap.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-0.99.5/work/wireshark-0.99.5/epan/crypt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-0.99.5/work/wireshark-0.99.5/epan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-0.99.5/work/wireshark-0.99.5'
make: *** [all] Error 2

emerge --info:
Portage 2.1.2-r8 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19.2 x86_64)
=================================================================
System uname: 2.6.19.2 x86_64 Dual-Core AMD Opteron(tm) Processor 2214 HE
Gentoo Base System version 1.12.9
Timestamp of tree: Thu, 08 Feb 2007 10: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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=opteron"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=opteron"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userprivi"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.solnet.ch"
LANG="en_US.utf8"
MAKEOPTS="-j5"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync5.de.gentoo.org/gentoo-portage"
USE="amd64 animgif apache2 bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt cups dlloader dri fortran gdbm gif gpm iconv ipv6 isdnlog jpeg libg++ midi ncurses nls nptl nptlonly pam pcre perl png ppds pppd python readline reflection session spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode xorg xpm zlib" 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

I also tried with MAKEOPTS=-j1, to no avail.

I suspect some 32-vs-64-bit issue.
Comment 1 SpanKY gentoo-dev 2007-02-08 15:55:30 UTC
airpdcap_interop.h:89: error: conflicting types for 'size_t'

looks like wireshark sucks; not a toolchain issue ...
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2007-02-11 23:46:47 UTC
not really related but,

> Portage 2.1.2-r8 (default-linux/amd64/2006.1,

Please use either default-linux/amd64/2006.1/desktop or .../server
Comment 3 Tiger!P 2007-02-12 06:49:39 UTC
I also had the make.profile linked to default-linux/amd64/2006.1 and after setting it to default-linux/amd64/2006.1/desktop wireshark did compile again.
I also did a emerge --sync after changing the link.
Comment 4 Tobias Klausmann (RETIRED) gentoo-dev 2007-02-12 09:31:46 UTC
(In reply to comment #2)
> not really related but,
> 
> > Portage 2.1.2-r8 (default-linux/amd64/2006.1,
> 
> Please use either default-linux/amd64/2006.1/desktop or .../server

I changed to the server profile and the wireshark compile still dies in the same spot (though with slightly differen line numbers). I'll try re-merging glibc and gcc with the new profile. Anything else I could try?


Comment 5 Tobias Klausmann (RETIRED) gentoo-dev 2007-02-12 09:34:16 UTC
I just saw the "the server profile is not supported" message, so I changed to the desktop profile and retried merging. Still doesn't work. On to gcc/glibc.
Comment 6 Simon Stelling (RETIRED) gentoo-dev 2007-02-12 09:42:22 UTC
(In reply to comment #5)
> I just saw the "the server profile is not supported" message, so I changed to
> the desktop profile and retried merging. Still doesn't work. On to gcc/glibc.
> 

As I said, it's not really related to this bug. So you don't have to recompile glibc and stuff, as it's not causing this problem. Was more of a FYI :)
Comment 7 Piotr Jaroszyński (RETIRED) gentoo-dev 2007-02-12 12:10:50 UTC
It fails with gtk useflag disabled so changing to desktop profile was a good guess :P
Comment 8 Daniel Black (RETIRED) gentoo-dev 2007-02-16 22:46:00 UTC
added upstream patch that may work. please confirm
Comment 9 Daniel Black (RETIRED) gentoo-dev 2007-02-17 00:04:56 UTC
Peter (welp) tested it and it works. Thanks for the bug report.