Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525390 - net-analyzer/wireshark - wireshark/wireshark-qt/wireshark-gtk require an icon theme at run-time
Summary: net-analyzer/wireshark - wireshark/wireshark-qt/wireshark-gtk require an icon...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-14 08:25 UTC by Francesco Lamonica
Modified: 2015-01-13 11:39 UTC (History)
0 users

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


Attachments
screenshot (wshark.png,238.28 KB, image/png)
2014-10-14 08:27 UTC, Francesco Lamonica
Details
wireshark output from cli (wshark.out,66.06 KB, text/plain)
2015-01-13 09:02 UTC, Francesco Lamonica
Details
strace output (wshark.strace,892.80 KB, text/plain)
2015-01-13 09:03 UTC, Francesco Lamonica
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Lamonica 2014-10-14 08:25:55 UTC
after emerging wireshark 1.12.1 i  noticed that the gui interface was missing.. that was due to the fact that i used the gtk2 interface that has been removed from ebuild uses. Since the qt4 interface is too immature i siwtched to gtk3 interface. but  from main gui there are a lots of icons missing. 

Reproducible: Always

Steps to Reproduce:
1.compile wireshark with gtk3 interface
2.
3.
Actual Results:  
missing icons on the main gui


emerge --info
Portage 2.2.8-r2 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.19-r1, 3.14.14-gentoo x86_64)
=================================================================
System uname: Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16392204 total,   2956876 free
KiB Swap:    4194300 total,   4158620 free
Timestamp of tree: Mon, 13 Oct 2014 07:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r1
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
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-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo moonrise
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth google-chrome Google-TOS AdobeFlash-11.x Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/python2.7/site-packages/buildbot/status/web /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy 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="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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/moonrise"
USE="3dnow 3dnowext X a52 aac acl acpi aften alsa amd64 amr amrenc animgif apng audiofile bzip2 ccache cdda cli consolekit cracklib crypt cscope cups curl cxx dbus dri dts dvd ebook encode exif fam ffmpeg flac foomaticdb gcrypt gd gdbm gif gimp gkrellm gpm gsm gtk hardened iconv imagemagick ipod java jpeg lame lcms libssh2 logrotate loop-aes mad matroska mmx mmxext mng modules mp3 mp4 mpeg mpeg2 mplayer multilib musepack musicbrainz ncurses nls nptl nsplugin ogg opengl openmp openssl opensslcrypt pam pcre pdf phonon plasma png qt3support qt4 readline samba sasl sdl session smp sndfile speex spell sql sqlite3 sse sse2 sse3 sse4.1 sse4.2 sse4a sse5 ssl ssse3 subversion svg swat syslog tcpd theora tiff truetype udev unicode upcall v4l v4l2 video vorbis webkit x264 xcomposite xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en it" 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="vesa nv vga nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Francesco Lamonica 2014-10-14 08:27:22 UTC
Created attachment 386656 [details]
screenshot
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-14 08:45:39 UTC
Please post your `emerge -vp net-analyzer/wireshark' output in a comment.
Comment 3 Francesco Lamonica 2014-10-14 09:45:01 UTC
emerge -vp net-analyzer/wireshark

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

Calculating dependencies   ... done!                          
[ebuild   R    ] net-analyzer/wireshark-1.12.1:0/1.12.1  USE="caps crypt filecaps gtk3 netlink pcap ssl zlib -adns -doc -doc-pdf -geoip -ipv6 -kerberos -lua -portaudio -qt4 (-selinux) -smi" 0 kB
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-14 10:54:35 UTC
I guess an RDEPEND on virtual/freedesktop-icon-theme might help.
Comment 5 Francesco Lamonica 2014-11-06 18:13:17 UTC
May i ask that the fix would be ported to 1.12.1 as well? i notice that it has been applied to 1.99.x that is nowhere near to be stabilized and releasing a 1.12.1-r1 would improve the wireshark experience :)
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-06 19:04:10 UTC
(In reply to Francesco Lamonica from comment #5)
> May i ask that the fix would be ported to 1.12.1 as well? i notice that it
> has been applied to 1.99.x that is nowhere near to be stabilized and
> releasing a 1.12.1-r1 would improve the wireshark experience :)

It's immaterial as long as Qt5 isn't yet stable. But I'll try to find time to do it.
Comment 7 Francesco Lamonica 2014-11-07 15:54:59 UTC
Sorry Jeroen,
I don't understand your comment.
I am not using qt5, i am trying to use gtk3 and with 1.12 not 1.99
Am i doing something wrong?
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-08 14:54:46 UTC
(In reply to Francesco Lamonica from comment #7)
> Sorry Jeroen,
> I don't understand your comment.
> I am not using qt5, i am trying to use gtk3 and with 1.12 not 1.99

I must have confused two bug reports. But anyway.

  14 Oct 2014; Jeroen Roovers <jer@gentoo.org> wireshark-1.12.1.ebuild,
  wireshark-1.99.0.ebuild:
  Add virtual/freedesktop-icon-theme dependency (bug #525390).

Did I miss something here?
Comment 9 Francesco Lamonica 2014-12-03 17:29:27 UTC
The problem persists with 1.12.2
@Jeroen, the problem lies with current STABLE 1.12.x version of wireshark, i am not using 1.99.
Comment 10 Francesco Lamonica 2014-12-03 17:30:05 UTC
Btw i'd like this to be reopened since it is not fixed at all :)
Comment 11 Francesco Lamonica 2015-01-12 09:55:28 UTC
This is still happening with 1.12.3

if the problem is the missing rdepend on the icon theme as Jeroen suspects, shouldn't this be a trivial fix?
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-12 10:34:32 UTC
It would help if someone experiencing the problem could analyse it and report back why exactly the icons are not being displayed.
Comment 13 Francesco Lamonica 2015-01-12 10:37:02 UTC
@Jeroen, i'd be more than willing to help analyze the problem if someone directed me in what should be done
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-13 08:51:52 UTC
(In reply to Francesco Lamonica from comment #13)

Calling wireshark from a terminal might show something useful. You should attach the entire output of that command.

Alternatively you could run strace[1] (from dev-util/strace) on it and attach the output. That should hopefully show what files it's trying to open and how that fails.


[1] `strace -f -o wireshark.strace wireshark'.
    Do as little as possible in wireshark, just close it after confirming the
    icons do not display. Attach the resulting <wireshark.strace> to this bug
    report.
Comment 15 Francesco Lamonica 2015-01-13 09:02:51 UTC
Created attachment 393826 [details]
wireshark output from cli
Comment 16 Francesco Lamonica 2015-01-13 09:03:32 UTC
Created attachment 393828 [details]
strace output

It seems that there are a bunch of gnome icons missing (i do not use gnome, only kde)
Comment 17 Francesco Lamonica 2015-01-13 09:04:56 UTC
@Jeoren, there i attache the output of the command line and of strace, it seems that lots of gnome icons are missing... (I do not have Gnome installed, i use KDE)
Comment 18 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-13 10:26:01 UTC
(In reply to Francesco Lamonica from comment #17)
> @Jeoren, there i attache the output of the command line and of strace, it
> seems that lots of gnome icons are missing... (I do not have Gnome
> installed, i use KDE)

Oh, *now* you say you do not have USE="gtk3 -qt4" at all? What a waste of time this has been.
Comment 19 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-13 10:36:23 UTC
Fixed without revision bump. The ebuilds now RDEPEND on virtual/freedesktop-icon-theme for all of USE="gtk3 qt4 qt5".
Comment 20 Francesco Lamonica 2015-01-13 11:35:04 UTC
@Jeroen, sorry if you have lost time about this issue, however i have stated in the bug description and in the first post that this happened when gtk2 use flag was masked and i had to switch to gtk3. I don't get it, should have i reported something else?
Comment 21 Francesco Lamonica 2015-01-13 11:39:17 UTC
I have just re-read your comment, i am using indeed those USE flags:

emerge -pv wireshark

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

Calculating dependencies   ... done!                               
[ebuild   R    ] net-analyzer/wireshark-1.12.3:0/1.12.3  USE="caps crypt filecaps gtk3 netlink pcap ssl zlib -adns -doc -doc-pdf -geoip -ipv6 -kerberos -lua -portaudio -qt4 (-qt5) -sbc (-selinux) -smi" 0 KiB