Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150254 - wireshark-0.99.3 missing /usr/bin/wireshark
Summary: wireshark-0.99.3 missing /usr/bin/wireshark
Status: RESOLVED DUPLICATE of bug 143760
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-06 04:59 UTC by Marco Lazzeri
Modified: 2006-10-06 10:02 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 Marco Lazzeri 2006-10-06 04:59:39 UTC
After installing Wireshark (ebuild 0.99.3), I cannot run it. It looks like /usr/bin/wireshark is missing.

[ emerge output ]
--- /usr/bin/
>>> /usr/bin/randpkt
>>> /usr/bin/mergecap
>>> /usr/bin/editcap
>>> /usr/bin/dumpcap
>>> /usr/bin/dftest
>>> /usr/bin/capinfos
>>> /usr/bin/text2pcap
>>> /usr/bin/tshark
>>> /usr/bin/idl2wrs
>>> /usr/bin/tethereal -> tshark
[ eof: emerge output ]

$ file /usr/bin/ethereal
/usr/bin/ethereal: broken symbolic link to `wireshark'


$ emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Genuine Intel(R) CPU           T2500  @ 2.00GHz
Gentoo Base System version 1.12.5
Last Sync: Tue, 03 Oct 2006 22:00:08 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm arts artswrappersuid asf audiofile bash-completion berkdb bitmap-fonts bzip2 cddb cli crypt css cups dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd expat fame fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimpprint gpm graphviz gs gstreamer gtk2 ieee1394 imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog ithreads javascript jikes jpeg jpeg2k jython kde kdeenablefinal kernel_linux libcaca libg++ libwww mad mikmod mmx motif mp3 mpeg musepack musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pcre perl perlsuid png pppd python qt3 qt4 quicktime readline real reflection ruby samba sdl session slp sndfile spell spl sse sse2 sse3 ssl svga threads tiff truetype truetype-fonts type1-fonts udev unicode urandom userland_GNU vcd video_cards_nvidia vidix vorbis win32codecs wmf xcomposite xml xmms xorg xprint xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 yogeshbug 2006-10-06 06:11:55 UTC
You are correct , I think we should comment dosym line of src_install() in ebuild file.

  src_install() {
            dodir /usr/lib/wireshark/plugins/${PV}
            emake DESTDIR="${D}" install || die "emake install failed"

            dodoc AUTHORS ChangeLog NEWS README*

            insinto /usr/share/icons/hicolor/16x16/apps
            newins "${S}"/image/hi16-app-wireshark.png wireshark.png
            insinto /usr/share/icons/hicolor/32x32/apps
            newins "${S}"/image/hi32-app-wireshark.png wireshark.png
            insinto /usr/share/icons/hicolor/48x48/apps
            newins "${S}"/image/hi48-app-wireshark.png wireshark.png
            make_desktop_entry wireshark "Wireshark" wireshark
            dosym tshark /usr/bin/tethereal
#            dosym wireshark /usr/bin/ethereal
    }

Comment 2 Marco Lazzeri 2006-10-06 07:57:32 UTC
I tried your suggestions, creating an -r1 ebuild and manually `ebuild wireshark-0.99.3-r1.ebuild merge`. But no luck:

$ file /usr/bin/ethereal
/usr/bin/ethereal: broken symbolic link to `wireshark'
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-10-06 08:42:45 UTC
Build it with gtk use flag and you have the binary. The gtk2 use flag is deprecated btw.. 

The only problem is that the symlink should be conditional on gtk usage
Comment 4 Marco Lazzeri 2006-10-06 08:57:29 UTC
Correct. I tried it a few minutes ago: using 'gtk' USE flag fixes the problem. BTW, don't you think that some kind of usage info would be useful? Thanks.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-06 10:02:07 UTC

*** This bug has been marked as a duplicate of 143760 ***