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.
Your report already tells you (twice), what you should have done.
Please, attach config.log and emerge --info. Without this information there is nothing to do here...
We really need that info.
Created attachment 218108 [details] Config.log
Created attachment 218109 [details] emerge --info
required information provided, reopening.
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.