Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363291 - dev-java/antlr-2.7.7-r2 AND kde-base/kdesdk-misc-4.4.5 both want to install /usr/lib64/libantlr.so
Summary: dev-java/antlr-2.7.7-r2 AND kde-base/kdesdk-misc-4.4.5 both want to install /...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-12 13:51 UTC by Thomas Raschbacher
Modified: 2011-06-19 09:09 UTC (History)
2 users (show)

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


Attachments
patch for the source renaming the antlr library (kdesdk-misc-4.4.5-antlr.patch,1.75 KB, patch)
2011-04-16 05:45 UTC, Jan Kohnert
Details | Diff
updated ebuild (kdesdk-misc-4.4.5-r2.ebuild,909 bytes, text/plain)
2011-04-16 05:46 UTC, Jan Kohnert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Raschbacher gentoo-dev 2011-04-12 13:51:05 UTC
* Messages for package dev-java/antlr-2.7.7-r2:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 *
 * Detected file collision(s):
 *
 *      /usr/lib64/libantlr.so
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * kde-base/kdesdk-misc-4.4.5
 *      /usr/lib64/libantlr.so
 *
 * Package 'dev-java/antlr-2.7.7-r2' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.


Portage 2.1.9.45 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.36-gentooATH64 x86_64)
=================================================================
System uname: Linux-2.6.36-gentooATH64-x86_64-AMD_Phenom-tm-_II_X3_720_Processor-with-gentoo-2.0.2
Timestamp of tree: Tue, 12 Apr 2011 04:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.4 [enabled]
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.5.4-r4, 2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       3.3.6-r1, 4.1.2, 4.3.5, 4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm ut2003 googleearth AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_AT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB de ja en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/lordvan /usr/local/portage/layman/enlightenment /usr/local/portage/layman/science /usr/local/portage/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds X X509 a52 aac aalib acl acpi aio alsa amd64 amr amrnb amrwb anthy apache2 applet archive ares artworkextra aspell asyncns atmo auto-hinter autotrace avahi beagle benchmarks berkdb blender-game bluetooth bogofilter bonobo bookmarks boost branding bs2b btrfs bzip2 cairo cal3d canna canvas caps cdda cddax cddb cdio cdparanoia cdr cegui cg chm cjk clamdtop cleartype cli collab config-file consolekit contrast cracklib crypt css ctypes-python cups curl cvs cxx daap dbus derby desktopglobe devfs-compat device-mapper dga dia digitalradio disk-partition djvu dmraid dmx dns doc dri dtmf dts dvb dvd dvdr dvdread dvi ebook edb editor eds emacs emboss emf emotion enca encode epydoc escreen etk eu_epg ewl examples excel exif experimental extensions extra extras faac faad fam fame fat fax fbcon ffmpeg fftw firefox flac flash fltk fontconfig foomaticdb fortran freetds freewnn frei0r ftp fts3 fuse gajim galago games gcdmaster gcj gcrypt gd gda gdbm gdu gedit ggi gif gimp git glade glitz gmm gmp gnome gnome-keyring gnomecd gnuplot gnutls gpac gphoto2 gpm grammar graphviz gs gsf gsm gstreamer gtk gui guile gutenprint gzip-el h224 h281 h323 hbci howl-compat html http http-forms http-server httpd i18n iax iconv icq icu id3tag idle idn imagemagick imap imlib inkjar inotify iplayer iptc ipv6 irc jabber jack jadetex java java6 javascript jce jfs jpeg jpeg2k kde kdrive kmail kpathsea ladspa lame latex lcms lib32 libass libcaca libgda liblockfile libmms libnotify libproxy libsamplerate libsigsegv libssh2 libsysfs libtiger libv4l2 lightning lirc live lm_sensors logwatch look-aes loop-aes lqr lua lzma lzo mad mail maildir maps math matroska md5sum mdadm mdnsresponder-compat melt mem-scramble midi midii migemo mixer mjpeg mmx mmxext mng modplug modules mono moonlight mozdevelop mozdom mp3 mp3rtp mp4 mpeg mplayer msn mssql mtp mudflap multilib multimedia musepack musicbrainz mysql nas nautilus ncurses net netboot network networking nls nntp nokia nptl nptlonly nsplugin nspluginwrapper ntfs nut nuv objc odbc ode offensive ofx ogg old-hd-rules openal opencore-amr openexr opengl openmp openntpd openxml optimized-qmake otp ots overlays pam pango pcre pdf perl phonon physfs pipechan pkcs11 pkinit plasma playlist plotutils plugins png pnm policykit postgres postproc ppds pppd pulseaudio pvr python python3 qcalculate qos qt3support qt4 quicktime quota radio raw readline realtime reiser4 reiserfs remote replytolist rfc4175 rss rtmp rtsp samba sasl scanner schroedinger scim script sdk sdl sdl-image secure-delete semantic-desktop sensord server session shine shout sip sipim skins skk skype slideshow smime smp sndfile snes soap socks solver soundtouch soup sourceview spamassassin speex spell sql sqlite sqlite3 srtp sse sse2 sse4a ssl startup-notification stats stream strigi subtitles subversion svg swat sysfs syslog system-sqlite t1lib taglib tagwriting tcl tcpd teletext test tga theora thesaurus thin-splines threads thumbnail thunderbird tiff timezone timidity tk tls tools totem traits trayicon truetype tv tv_check tvtime twolame udev unicode upnp usb v4l v4l2 vaapi vala vamp vcd vcdinfo vcdx vdpau vdr verse vlc vlm vorbis vpx vxml wav wavpack webkit win64 winbind wma-fixed wmf wxwidgets wxwindows x264 xattr xcb xcomposite xfs xft xhtml xine xinerama xmame xml xmlpatterns xmlrpc xmp xorg xosd xpixmap xplanet xpm xrandr xscreensaver xslt xulrunner xv xvid xvmc yahoo zeroconf zip zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" APACHE2_MPMS="event" CAMERAS="directory" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="ttpci ttusb-dec" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB de ja en_US" LIRC_DEVICES="hauppauge_dvb hauppauge" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd vesa fbdev nv nvidia vesa vga radeon nouveau fglrx" 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
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2011-04-12 14:13:03 UTC
KDE should be using and depending on the system copy.
Comment 2 Thomas Raschbacher gentoo-dev 2011-04-14 09:48:58 UTC
I do agree with that ;) makes no sense for kde to install  antlr.so files
Comment 3 Jan Kohnert 2011-04-16 05:45:49 UTC
Created attachment 270155 [details, diff]
patch for the source renaming the antlr library
Comment 4 Jan Kohnert 2011-04-16 05:46:51 UTC
Created attachment 270157 [details]
updated ebuild

Dunno, if the ebuild complies with current Gentoo standards, but it works. Please recheck!
Comment 5 Jan Kohnert 2011-04-16 05:48:57 UTC
Just added a patch and an updated ebuild for the issue. It basically renames KDE's libantlr to libkanlr.

Tested and working in x86, but should work on other platforms, too.

Anyway, I think, this should be fixed upstream...

Best regards Jan
Comment 6 Jan Kohnert 2011-04-16 05:52:29 UTC
Just another thought:

KDE's version is *not* identical to the library antlr installs. I figured out that point, when dev-lang/gdl wanted to link against KDE's version instead of the original one, so just removing KDE's file is not a solution (There is at least a comment, if not a report, from me in the gdl bugtree; I can't remember the details at the moment.)
Comment 7 Jan Kohnert 2011-04-17 04:35:51 UTC
Just for completeness, there the gdl issue is:

http://bugs.gentoo.org/show_bug.cgi?id=286630
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2011-06-19 00:09:42 UTC
This can probably be resolved, see
https://bugs.kde.org/show_bug.cgi?id=230722
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2011-06-19 09:01:48 UTC
(In reply to comment #8)
> This can probably be resolved, see
> https://bugs.kde.org/show_bug.cgi?id=230722

I don't see why this was marked obsolete? Did you mean to mark it upstream?
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2011-06-19 09:09:54 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > This can probably be resolved, see
> > https://bugs.kde.org/show_bug.cgi?id=230722
> 
> I don't see why this was marked obsolete? Did you mean to mark it upstream?

Because no affected versions are in the tree anymore?