Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508806 - net-analyzer/wireshark has IUSE=+gtk3 and REQUIRED_USE="?? ( gtk2 gtk3 qt4 )"
Summary: net-analyzer/wireshark has IUSE=+gtk3 and REQUIRED_USE="?? ( gtk2 gtk3 qt4 )"
Status: RESOLVED DUPLICATE of bug 484624
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-26 16:13 UTC by kavol
Modified: 2014-05-24 10:17 UTC (History)
0 users

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 kavol 2014-04-26 16:13:34 UTC
trying to update world, I started getting problem with wireshark - it says it cannot be emerged due to use conflict (gtk3 and qt4) while I have only qt4 enabled

Reproducible: Always

Steps to Reproduce:
1. emerge -av1 wireshark

Actual Results:  
These are the packages that would be merged, in order:

Calculating dependencies -

!!! Problem resolving dependencies for net-analyzer/wireshark
... done!

!!! The ebuild selected to satisfy "wireshark" has unmet requirements.
- net-analyzer/wireshark-1.10.7::gentoo USE="caps crypt filecaps gtk3 kerberos netlink pcap qt4 ssl zlib -adns -doc -doc-pdf -geoip -gtk2 -ipv6 -libadns -lua -portaudio (-selinux) -smi"

  The following REQUIRED_USE flag constraints are unsatisfied:
    at-most-one-of ( gtk2 gtk3 qt4 )

  The above constraints are a subset of the following complete expression:
    at-most-one-of ( gtk2 gtk3 qt4 ) ssl? ( crypt )

Expected Results:  
wireshark is emerged with qt frontend

# euse -I gtk3
global use flags (searching: gtk3)
************************************************************
no matching entries found

local use flags (searching: gtk3)
************************************************************
[-      ] gtk3 (app-office/libreoffice):
Enable highly experimental gtk3 frontend

[-      ] gtk3 (media-sound/easytag):
Enable GTK+:3 support (default) and disable GTK+:2 support

[-      ] gtk3 (net-analyzer/wireshark):
Build the wireshark executable with a GTK+ UI version 3.

^^^ see, gtk3 is disabled for wireshark, why does it appear whey trying to emerge wireshark?


# euse -I qt4
global use flags (searching: qt4)
************************************************************
[+ C    ] qt4 - Add support for the Qt GUI/Application Toolkit version 4.x

Installed packages matching this USE flag: 
app-crypt/pinentry-0.8.2
app-doc/doxygen-1.8.3.1
app-misc/strigi-0.7.8
app-office/akonadi-server-1.11.0
app-text/poppler-0.24.5
dev-libs/libattica-0.4.2
dev-python/ipython-1.0.0
dev-util/cmake-2.8.12.2
media-libs/mlt-0.8.2
media-libs/opencv-2.4.5
media-video/vlc-2.0.7
net-analyzer/wireshark-1.10.6
sci-geosciences/gpsbabel-1.4.4
x11-libs/cairo-1.12.16

local use flags (searching: qt4)
************************************************************
[+ C    ] qt4 (media-video/vlc):
Builds a x11-libs/qt based frontend, a graphical interface.

[+ C    ] qt4 (net-analyzer/wireshark):
Build the wireshark executable with an experimental Qt UI instead of GTK+.



# emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/no-multilib, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo x86_64)
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.2
KiB Mem:     8171724 total,    410072 free
KiB Swap:    8388604 total,   8367236 free
Timestamp of tree: Sat, 26 Apr 2014 15:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x11 gamerlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10 AdobeFlash-10.3 AdobeFlash-11.x NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/gamerlay"
USE="X a52 aac aacplus alsa amd64 berkdb bzip2 cli cracklib crypt cups cxx dbus dri dv encode exif farstream ffmpeg flac fortran gdbm gif iconv jabber java jingle jpeg jpeg2k kde kerberos kipi kvm lzma mad mikmod mmx mng modules mp3 mp4 ncurses network-cron nls nptl ogg opengl openmp pam pcre pdf pkcs11 png qt3support qt4 raw readline redeyes scrobbler sdl semantic-desktop session sip smp spell sqlite sse sse2 sse4_1 ssl ssse3 svg symlink theora tiff truetype unicode upnp usb uvm v4l vdpau video vorbis webgl webkit webkit2 x264 xcomposite xine xmp xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="cs cs_CZ" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Agostino Sarubbo gentoo-dev 2014-04-26 16:27:06 UTC
Your profile contains the use 'qt4'.
Wireshark ebuild auto-enable gtk3 as default, so this is the result:

> - net-analyzer/wireshark-1.10.7::gentoo USE="caps crypt filecaps gtk3 kerberos > netlink pcap qt4 ssl zlib -adns -doc -doc-pdf -geoip -gtk2 -ipv6 -libadns -lua > -portaudio (-selinux) -smi"

You just need to fix your package.use enabling one of: gtk2 gtk3 qt4
Comment 2 kavol 2014-04-26 22:27:40 UTC
(In reply to Agostino Sarubbo from comment #1)
> Your profile contains the use 'qt4'.
...
> You just need to fix your package.use enabling one of: gtk2 gtk3 qt4

sorry, but this just doesn't make any sense

I have enabled qt4

so I fix the issue by enabling one of ... qt4?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-27 00:42:27 UTC
(In reply to kavol from comment #2)
> (In reply to Agostino Sarubbo from comment #1)
> > Your profile contains the use 'qt4'.
> ...
> > You just need to fix your package.use enabling one of: gtk2 gtk3 qt4
> 
> sorry, but this just doesn't make any sense

But it does.

> I have enabled qt4
> 
> so I fix the issue by enabling one of ... qt4?

If you want the Qt UI, you set USE="-gtk3 qt4".
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-28 20:34:57 UTC

*** This bug has been marked as a duplicate of bug 484624 ***
Comment 5 kavol 2014-04-29 08:36:10 UTC
(In reply to Jeroen Roovers from comment #3)
> (In reply to kavol from comment #2)
> > (In reply to Agostino Sarubbo from comment #1)
> > > Your profile contains the use 'qt4'.
> > ...
> > > You just need to fix your package.use enabling one of: gtk2 gtk3 qt4
> > 
> > sorry, but this just doesn't make any sense
> 
> But it does.

saying so doesn't mean it really is so ...

> > I have enabled qt4
> > 
> > so I fix the issue by enabling one of ... qt4?
> 
> If you want the Qt UI, you set USE="-gtk3 qt4".

have you read the description?

- let me repeat and ask, what's this:

# euse -I gtk3
...
[-      ] gtk3 (net-analyzer/wireshark):
Build the wireshark executable with a GTK+ UI version 3.
...
# euse -I qt4
global use flags (searching: qt4)
************************************************************
[+ C    ] qt4 - Add support for the Qt GUI/Application Toolkit version 4.x

Installed packages matching this USE flag: 
...
net-analyzer/wireshark-1.10.6
...


???
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-29 13:26:31 UTC
(In reply to kavol from comment #0)
> - net-analyzer/wireshark-1.10.7::gentoo USE="caps crypt filecaps gtk3
> kerberos netlink pcap qt4 ssl zlib -adns -doc -doc-pdf -geoip -gtk2 -ipv6
> -libadns -lua -portaudio (-selinux) -smi"

You have both USE="gtk3 qt4" enabled.

USE=gtk3 is enabled by default (denoted in the ebuild as IUSE=+gtk3) because it is the toolkit that upstream developers think wireshark works best on. If you like, you can disable that USE flag and enable USE=gtk2 or USE=qt4, but you can't have more than one of these three USE flags enabled at once.

Note that if you'd rather use the 1.8 (old stable) or 1.11 (development) branch, you need to make different choices, as old stable works best with GTK+ 2 (USE=gtk2) and development is intended to deprecate GTK+3 (USE=gtk3) in favour of Qt (USE=qt4), and the IUSE defaults adhere to the upstream defaults in every ebuild.

> wireshark is emerged with qt frontend

USE="-gtk2 -gtk3 qt4" emerge wireshark


Do note that you keep replying to a DUPLICATE bug report. This isn't exactly where all the action is. "Duplicate" means other people previously thought the same issue was a bug worth reporting, and did so. Please address all your future comments related to this duplicate bug report to bug #484624.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-24 10:17:51 UTC
*** Bug 511186 has been marked as a duplicate of this bug. ***