The gtk and qt4 use flags are (correctly) mutually exclusive. When you enable the gtk use flag and disable the qt4 use flag the --disable-wireshark option to the configure script gets added by the this line in the econf call: $(use_enable qt4 wireshark) \ since this line is after the check for gtk the --disable-wireshark option is honored by the configure script per: * wireshark-1.10.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking wireshark-1.10.0.tar.bz2 to /var/tmp/portage/net-analyzer/wireshark-1.10.0-r1/work >>> Source unpacked in /var/tmp/portage/net-analyzer/wireshark-1.10.0-r1/work >>> Preparing source in /var/tmp/portage/net-analyzer/wireshark-1.10.0-r1/work/wireshark-1.10.0 ... * Applying wireshark-1.6.13-ldflags.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/wireshark-1.10.0-r1/work/wireshark-1.10.0' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I ./aclocal-fallback ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy ... [ ok ] * Running elibtoolize in: wireshark-1.10.0/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.2 patch ... * Applying target-nm/2.4.2 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/wireshark-1.10.0-r1/work/wireshark-1.10.0 ... * econf: updating wireshark-1.10.0/config.guess with /usr/share/gnuconfig/config.guess * econf: updating wireshark-1.10.0/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --enable-shared --disable-setuid-install --enable-setcap-install --enable-wireshark --enable-ipv6 --disable-profile-build --disable-wireshark --with-libcap --with-gcrypt --with-geoip --with-krb5 --with-lua --with-libnl --with-dumpcap-group=wireshark --with-pcap --without-portaudio --without-qt --with-libsmi --with-gnutls --with-zlib --disable-extra-gcc-checks --disable-usr-local --sysconfdir=/etc/wireshark --with-adns --without-c-ares [... snip ...] 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 reordercap : yes Build text2pcap : yes Build randpkt : yes Build dftest : yes Build rawshark : yes Save files as pcap-ng by default : yes Install dumpcap with capabilities : yes Install dumpcap setuid : no Use dumpcap group : wireshark Use plugins : yes Use Lua library : yes Use Python binding : no Build rtp_player : no Build profile binaries : no Use pcap library : yes Use zlib library : yes Use kerberos library : yes (MIT) Use c-ares library : no Use GNU ADNS library : yes Use SMI MIB library : yes Use GNU crypto library : yes Use SSL crypto library : no Use IPv6 name resolution : yes Use gnutls library : yes Use POSIX capabilities library : yes Use GeoIP library : yes Use nl library : yes (v3) >>> Source configured. Removing the qt4 line from the call to econf in the ebuild allows the gtk version of the wireshark executable to be built and installed. Reproducible: Always Steps to Reproduce: 1.Add the following to /etc/portage/package.use: net-analyzer/wireshark gtk -qt4 2. build package. Actual Results: Configure will report that the wireshark executable is disabled and it does not get built or installed. Expected Results: wireshark executable should get built using the gtk tool kit.
Created attachment 350980 [details] emerge --info
*** This bug has been marked as a duplicate of bug 473188 ***