Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166925 - net-analyzer/wireshark doesn't merge /usr/bin/wireshark (GUI)
Summary: net-analyzer/wireshark doesn't merge /usr/bin/wireshark (GUI)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-14 23:08 UTC by Jurek Bartuszek (RETIRED)
Modified: 2007-02-19 21:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log for wireshark-0.99.4 (config.log,144.21 KB, text/plain)
2007-02-18 21:28 UTC, Jurek Bartuszek (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jurek Bartuszek (RETIRED) gentoo-dev 2007-02-14 23:08:53 UTC
emerge net-analyzer/wireshark doesn't install /usr/bin/wireshark (GUI) even if USE=gtk is provided. This applies to both 0.99.4 and 0.99.5 versions of wireshark.


Reproducible: Always

Steps to Reproduce:
1. emerge -v net-analyzer/wireshark

Actual Results:  
My emerge --info:

Portage 2.1.2-r9 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 14 Feb 2007 20:28:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j3"
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/overlays/my"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acpi alsa arts asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdinstall cdparanoia cdr cli cracklib crypt css cups curl cvs dbus dga divx dlloader doc dri dts dvd dvdr dvdread emboss encode esd exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gdbm gif gimpprint glut gmp gphoto2 gpm gstreamer gtk gtk2 hal iconv idn ieee1394 imagemagick imlib ipv6 isdnlog jack java javascript jpeg jpeg2k kadu-modules kadu-voice kde lcms libg++ libwww lirc logitech-mouse mad matroska md5sum midi mikmod mime mjpeg mmap mmx mng mono motif mozbranding mp3 mpeg musepack ncurses nls nptl nptlonly nsplugin nvidia odbc offensive ogg openal opengl oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline real realmedia reflection ruby samba sdl seamonkey session slang snmp sox spell spl sse sse2 ssl subversion svg svga tcltk tcpd tetex theora tidy tiff timidity truetype truetype-fonts type1 type1-fonts usb v4l videos vim vim-with-x vorbis win32codecs wmp wxwindows x86 xine xml xorg xpm xv xvid xvmc 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" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" LIRC_DEVICES="livedrive_midi" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa vga vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Black (RETIRED) gentoo-dev 2007-02-16 22:52:40 UTC
got an package emerge log handy?
Comment 2 Jurek Bartuszek (RETIRED) gentoo-dev 2007-02-16 23:45:08 UTC
Hm, what exactly do you want me to post?
Comment 3 Daniel Black (RETIRED) gentoo-dev 2007-02-17 05:08:17 UTC
full emerge log.
Assumes you have PORT_LOGDIR="/var/log/portage" set. Something like /var/log/portage/net-analyzer:wireshark-0.99.5:20070210-033414.log
Comment 4 Jurek Bartuszek (RETIRED) gentoo-dev 2007-02-17 12:05:15 UTC
Sure. However, it's too big to be posted as an attachment. Here's the URL: http://dev.gentoo.org/~jurek/wireshark-0.99.4-emerge.log
Comment 5 Daniel Black (RETIRED) gentoo-dev 2007-02-18 20:32:17 UTC
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
which results in:

The Wireshark package has been configured with the following options.
                    Build wireshark : no
                       Build tshark : yes
                     Build capinfos : yes
                      Build editcap : yes
                      Build dumpcap : yes
                     Build mergecap : yes
                    Build text2pcap : yes
                      Build idl2wrs : yes
                      Build randpkt : yes
                       Build dftest : yes

                     Install setuid : no
                        Use plugins : yes
                   Build lua plugin : no
                   Build rtp_player : no
                Use GTK+ v2 library : yes
                        Use threads : no
             Build profile binaries : no
                   Use pcap library : yes
                   Use zlib library : yes
                   Use pcre library : yes
               Use kerberos library : no
               Use GNU ADNS library : no
             Use GNU crypto library : yes
             Use SSL crypto library : yes
           Use IPv6 name resolution : yes
      Use UCD SNMP/Net-SNMP library : yes (net-snmp)
                 Use gnutls library : yes


What gtk version(s) have you got installed?
Can you attach your config.log?
Comment 6 Jurek Bartuszek (RETIRED) gentoo-dev 2007-02-18 21:28:43 UTC
Created attachment 110584 [details]
config.log for wireshark-0.99.4

GTK+ 1.2.10-r12 and 2.10.6 are installed. Here's the config.log you requested.
Comment 7 Daniel Black (RETIRED) gentoo-dev 2007-02-19 06:49:24 UTC
Looks like a local version of cairo breaking it

onftest.c:76: warning: comparison between signed and unsigned
conftest.c:77: warning: comparison between signed and unsigned
conftest.c:77: warning: comparison between signed and unsigned
conftest.c:78: warning: comparison between signed and unsigned
conftest.c:78: warning: comparison between signed and unsigned
conftest.c:78: warning: comparison between signed and unsigned
/usr/local/lib/libcairo.a(cairo-gstate.o): In function `_cairo_gstate_init_copy':
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:167: undefined reference to `pixman_region_create'
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:168: undefined reference to `pixman_region_copy'
/usr/local/lib/libcairo.a(cairo-gstate.o): In function `_cairo_gstate_fini':
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:222: undefined reference to `pixman_region_destroy'
/usr/local/lib/libcairo.a(cairo-gstate.o): In function `_cairo_gstate_get_clip_extents':
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:383: undefined reference to `pixman_region_extents'
/usr/local/lib/libcairo.a(cairo-gstate.o): In function `_region_new_from_rect':
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:807: undefined reference to `pixman_region_create'
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:808: undefined reference to `pixman_region_union_rect'
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:811: undefined reference to `pixman_region_destroy'
/usr/local/lib/libcairo.a(cairo-gstate.o): In function `_region_rect_extents':
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:823: undefined reference to `pixman_region_extents'
/usr/local/lib/libcairo.a(cairo-gstate.o): In function `_cairo_gstate_intersect_clip':
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:849: undefined reference to `pixman_region_intersect'
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:854: undefined reference to `pixman_region_destroy'
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:839: undefined reference to `pixman_region_intersect'
/usr/local/lib/libcairo.a(cairo-gstate.o): In function `_clip_and_compute_extents_arbitrary':
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:1117: undefined reference to `pixman_region_intersect'
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:1128: undefined reference to `pixman_region_destroy'
/usr/local/lib/libcairo.a(cairo-gstate.o): In function `_composite_trap_region':
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:1153: undefined reference to `pixman_region_num_rects'
/usr/local/lib/libcairo.a(cairo-gstate.o): In function `_composite_trap_region_solid':
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:1305: undefined reference to `pixman_region_num_rects'
/usr/local/src/cairo-0.5.1/src/cairo-gstate.c:1306: undefined reference to `pixman_region_rects'
Comment 8 Jurek Bartuszek (RETIRED) gentoo-dev 2007-02-19 08:55:17 UTC
Ok, but I don't have cairo-0.5.1 installed:

[I] x11-libs/cairo
     Available versions:  1.0.2 1.0.4 ~1.0.4-r1 1.2.4 ~1.2.6 ~1.3.10 ~1.3.12
     Installed:           1.2.4(01:08:46 2007-01-05)(X -directfb doc -glitz png svg)

why does it refer to 0.5.1?
Comment 9 Daniel Black (RETIRED) gentoo-dev 2007-02-19 12:01:49 UTC
I wouldn't be installed with portage because its in a /usr/local/ directory. Must have been installed manually. If you remove the following stuff and it should work:

/usr/local/src/cairo-0.5.1
/usr/local/include/cairo*
/usr/local/lib/libcairo*
and maybe more - search around /usr/local/

Don't feel too bad. I did a similar thing recently - bug 146068
Comment 10 Jurek Bartuszek (RETIRED) gentoo-dev 2007-02-19 12:18:13 UTC
The problem is I never installed cairo manually. Maybe another app pulled it in, I don't know. Nevertheless, removing this garbage helped:

Build wireshark : yes

I only wonder why did stuff located in /usr/local take precedence before those in /usr?
Comment 11 Daniel Black (RETIRED) gentoo-dev 2007-02-19 20:22:25 UTC
(In reply to comment #10)
> The problem is I never installed cairo manually. Maybe another app pulled it
> in, I don't know.

'equery belongs /usr/local/lib' should show you if a bad application existed

> I only wonder why did stuff located in /usr/local take precedence before those
> in /usr?

It usually does in most ebuilds. Not paticually by design, its just something thats not tested and would be a pain to remove. There are probably cases where it is useful though.

Glad its working for you.
Comment 12 Jurek Bartuszek (RETIRED) gentoo-dev 2007-02-19 21:03:52 UTC
Yeah, thanks again.