Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302852 - wireshark-1.2.6 econf failed on GTK+ and Glib
Summary: wireshark-1.2.6 econf failed on GTK+ and Glib
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-30 09:27 UTC by Roby
Modified: 2010-02-01 19:52 UTC (History)
0 users

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


Attachments
Config.log (config.log,101.53 KB, text/plain)
2010-02-01 19:28 UTC, Roby
Details
emerge --info (emerge-info.txt,5.55 KB, text/plain)
2010-02-01 19:29 UTC, Roby
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roby 2010-01-30 09:27:06 UTC
When I try to emerge wireshark-1.2.6 with gtk use flag on, I got the following error about failing to detect GTK+:
----------------------
checking for GTK+ - version >= 2.4.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.
configure: error: GTK+ 2.4 or later isn't available, so Wireshark can't be compi
led
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-analyzer/wireshark-1.2.6/work/wireshark-1.2.6/config.lo
g
 * ERROR: net-analyzer/wireshark-1.2.6 failed:
 *   econf failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_configure
 *   environment, line 3289:  Called econf '--enable-wireshark' '--enable-profil
e-build' '--with-gnutls' '--with-gcrypt' '--enable-ipv6' '--enable-threads' '--w
ith-lua' '--with-krb5' '--without-libsmi' '--with-pcap' '--with-zlib' '--with-pc
re' '--with-geoip' '--with-portaudio' '--with-libcap' '--enable-setuid-install'
'--sysconfdir=/etc/wireshark' '--with-c-ares' '--without-adns'
 *     ebuild.sh, line  544:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
----------------------

However, if I turn off gtk use flag, I got a different error about glib detection:
----------------------
checking for GLIB - version >= 2.4.0... no
*** Could not run GLIB 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 GLIB is incorrectly installed.
configure: error: GLib 2.4 or later distribution not found.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-analyzer/wireshark-1.2.6/work/wireshark-1.2.6/config.lo
g
 * ERROR: net-analyzer/wireshark-1.2.6 failed:
 *   econf failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_configure
 *   environment, line 3289:  Called econf '--disable-wireshark' '--enable-profi
le-build' '--with-gnutls' '--with-gcrypt' '--enable-ipv6' '--enable-threads' '--
with-lua' '--with-krb5' '--without-libsmi' '--with-pcap' '--with-zlib' '--with-p
cre' '--with-geoip' '--with-portaudio' '--with-libcap' '--enable-setuid-install'
 '--sysconfdir=/etc/wireshark' '--with-c-ares' '--without-adns'
 *     ebuild.sh, line  544:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
----------------------

Reemerging gtk+ and glib won't work.
Executing lafilefixer --justfixit also won't work.


Reproducible: Always

Steps to Reproduce:
See the USE flag above.

1. USE="gtk" emerge =wireshark-1.2.6
OR
2. USE="-gtk" emerge =wireshark-1.2.6




Expected Results:  
Wireshark can be compiled just fine.

USE flags:
"adns ares caps gcryptvgeoip gnutls gtk ipv6 kerberos lua pcap pcre portaudio profile threads zlib (-selinux) -smi"

Note: gtk use flag can be on or off. See the above note.
Comment 1 Rafał Mużyło 2010-01-30 12:56:03 UTC
Your report already tells you (twice), what you should have done.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2010-01-30 19:10:07 UTC
Please, attach config.log and emerge --info. Without this information there is nothing to do here...
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-02-01 08:01:09 UTC
We really need that info.
Comment 4 Roby 2010-02-01 19:28:47 UTC
Created attachment 218108 [details]
Config.log
Comment 5 Roby 2010-02-01 19:29:09 UTC
Created attachment 218109 [details]
emerge --info
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2010-02-01 19:50:50 UTC
required information provided, reopening.
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2010-02-01 19:52:52 UTC
The problem is:
x86_64-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible

Don't enable profile USE flag if you don't know what it means. Having USE=profile and CFLAGS=-fomit-frame-pointer has no sense.