Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146286 - wifiscanner & wireshark: File collision /usr/lib/libwiretap.la
Summary: wifiscanner & wireshark: File collision /usr/lib/libwiretap.la
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-04 09:49 UTC by Alexander Skwar
Modified: 2006-12-23 14:12 UTC (History)
1 user (show)

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


Attachments
wireshark-0.99.3.ebuild.patch (wireshark-0.99.3.ebuild.patch,429 bytes, patch)
2006-10-21 12:47 UTC, Cédric Krier
Details | Diff
wifiscanner-1.0.1-r1.ebuild.patch (wifiscanner-1.0.1-r1.ebuild.patch,508 bytes, patch)
2006-10-21 12:50 UTC, Cédric Krier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2006-09-04 09:49:27 UTC
I emerge wifiscanner with the following flags:

[ebuild     U ] net-wireless/wifiscanner-1.0.1-r1 [1.0.1] USE="(-ethereal%*) ncurses -wireshark%" 0 kB

Installation failed:

* checking 17 files for package collisions
existing file /usr/lib/libwiretap.la is not owned by this package
* spent 0.0129981040955 seconds checking for file collisions
* This package is blocked because it wants to overwrite
* files belonging to other packages (see messages above).
* If you have no clue what this is all about report it
* as a bug for this package on http://bugs.gentoo.org

package net-wireless/wifiscanner-1.0.1-r1 NOT merged

No package files given... Grabbing a set.
>>> Regenerating /etc/ld.so.cache...

real    179m50.973s
user    104m28.908s
sys     23m5.145s
Start:  Mo Sep  4 07:33:00 CEST 2006
Ende:   Mo Sep  4 10:32:51 CEST 2006
alexander@blatt ~ $ epm -qf /usr/lib/libwiretap.la
wireshark-0.99.0-r1



alexander@blatt ~ $ emerge --info
Portage 2.1.1_rc1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r4.044.no-kernel-alsa i686)
=================================================================
System uname: 2.6.17-suspend2-r4.044.no-kernel-alsa i686 Intel(R) Celeron(R) M processor         1.50GHz
Gentoo Base System version 1.12.4
Last Sync: Fri, 01 Sep 2006 19:50:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.4-r1, 2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/   http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/       ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     http://distro.ibiblio.org/pub/linux/distributions/gentoo/  ftp://distro.ibiblio.org/pub/linux/distributions/gentoo    http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/Gentoo/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="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 GAPING_SECURITY_HOLE X acpi alsa amd apache2 apm arts artswrappersuid async avi bash-completion bdf berkdb bitmap-fonts bluetooth bootsplash cairo caps cardbus ccache cdda cddb cdio cdparanoia cdr cdrom cle266 cli crypt css curlwrappers dbus devmap dillo divx4linux dlloader dri dvd dvdread elibc_glibc emoticon esd exif fam fbcon fbdev firefox fping freetype gdbm gif gnokii gnome gstreamer gtk gtk2 hal hpn icc id3 idn imap imlib imlib2 input_devices_evdev input_devices_keyboard input_devices_mouse insecure-drivers insecure-savers isdnlog javascript jikes jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux libedit libnotify libwww linguas_de linuxthreads-tls logrotate lynxkeymap mad madwifi maildir matroska mbox mmx mmxext mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall musicbrainz ncurses netboot network new-login nfs nis nls no-old-linux no-suexec noantlr nobcel nobeanutils nobsf nobsh nocd nocommonslogging nocommonsnet nodrm nogg nogulm nojsch nojython nolog4j nomac nooro nopri norhino noxalan noxerces nozaptel nptl nsplugin offensive ogg opengl openssh pam_console pam_timestamp passfile password patented pccts pcmcia pcre perl perlsuid pic player png pnp pppd qt3 qt4 quicktime rar readline real recode reflection reiserfs sdl sendfile sensord session sftp sms spell spf spl sse sse2 ssl startup-notification stream subp subtitles suid symlink sysfs syslog tiff transcode truetype truetype-fonts trusted type1-fonts udev underscores unichrome unicode unsafe usb userland_GNU utf8 uudeview video_cards_fbdev video_cards_vesa video_cards_vga video_cards_via vim vim-pager vlm vorbis wifi win32codecs wma123 x11vnc xinetd xml xmms xorg xpm xscreensaver xv xvid xvmc zlib"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

alexander@blatt ~ $
Comment 1 Cédric Krier gentoo-dev 2006-10-21 12:47:58 UTC
Created attachment 100160 [details, diff]
wireshark-0.99.3.ebuild.patch

patch to add the header of wiretap library in /usr/include/wiretap
Comment 2 Cédric Krier gentoo-dev 2006-10-21 12:50:02 UTC
Created attachment 100161 [details, diff]
wifiscanner-1.0.1-r1.ebuild.patch

patch to use the wiretap library from wireshark
Comment 3 Daniel Black (RETIRED) gentoo-dev 2006-10-28 18:02:52 UTC
mobile people (where/who)ever you are. I'm going to ensure that C
Comment 4 Daniel Black (RETIRED) gentoo-dev 2006-10-28 18:02:52 UTC
mobile people (where/who)ever you are. I'm going to ensure that Cédric's wireshark patch is included in the 0.99.4 (bug 152951).

If you want to commit the wifiscanner patch on a masked version I'll test against it when wireshark-0.99.4 is released by upstream.

Looking at the patch is may need to be:
		$(use_with !wireshark internal-wiretap) \
		$(use_enable wireshark wtap) \
		--with-wtap_path=/usr/include/wiretap \

Not 100% sure - just a gut feel to make sure USE=-wireshark works.
Comment 5 Daniel Black (RETIRED) gentoo-dev 2006-11-01 02:19:32 UTC
wireshark changed in 0.99.4 - thanks for the patch.
(TODO need upstream fix)
Comment 6 Daniel Black (RETIRED) gentoo-dev 2006-11-01 12:53:12 UTC
opps. didn't mean to close. only the wireshark part is fixed.
Comment 7 Daniel Black (RETIRED) gentoo-dev 2006-11-01 12:54:59 UTC
mobile peoples - wifiscanner up to you. Thanks for the fix Alexander.
Comment 8 Marcelo Goes (RETIRED) gentoo-dev 2006-12-14 19:14:08 UTC
Mobile, if you don't have any objections, I will commit the patch.

Marcelo
Comment 9 Marcelo Goes (RETIRED) gentoo-dev 2006-12-23 14:12:55 UTC
In cvs.

Cheers!