Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314611 - sys-libs/tdb-1.2.1 package collision with sys-libs/tdb-1.2.0-r2
Summary: sys-libs/tdb-1.2.1 package collision with sys-libs/tdb-1.2.0-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-11 05:39 UTC by Pekka-Matti Nieminen
Modified: 2011-04-01 15:06 UTC (History)
4 users (show)

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 Pekka-Matti Nieminen 2010-04-11 05:39:14 UTC
>>> Installing (17 of 45) sys-libs/tdb-1.2.1
 * checking 10 files for package collisions
 * 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.
 * 
 * package sys-libs/tdb-1.2.1 NOT merged
 * 
 * Detected file collision(s):
 * 
 *      /usr/lib64/libtdb.so.1
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * None of the installed packages claim the file(s).
 * 
 * Package 'sys-libs/tdb-1.2.1' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.


ls -la /usr/lib64/libtdb.so.1
lrwxrwxrwx 1 root root 15  6.4. 20:29 /usr/lib64/libtdb.so.1 -> libtdb.so.1.2.0


# equery b /usr/lib64/libtdb.so.1.2.0 
 * Searching for /usr/lib64/libtdb.so.1.2.0 ... 
sys-libs/tdb-1.2.0-r2 (/usr/lib64/libtdb.so.1.2.0)


Reproducible: Always




Workaround is to unemerge currently installed sys-libs/tdb-1.2.0-r2 and then to emerge the newer version (1.2.1) of it.

# emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 11 Apr 2010 01:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.5.4-r2, 2.6.5-r1, 3.1.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.2.4, 4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Q3AEULA dlj-1.1 skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"                                                                                           
DISTDIR="/usr/portage/distfiles"                                                                                                  
FEATURES="assume-digests collision-protect distlocks fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                                           
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://ftp.public.fix.fi/gentoo/ ftp://ftp.public.fix.fi/gentoo "                                                                                                            
LANG="fi_FI.UTF8"                                                                                                                 
LC_ALL="fi_FI.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="fi"
MAKEOPTS="-j5"
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="/Omat"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi akonadi alsa amd64 apm aspell audiofile bash-completion berkdb bzip2 cairo cddb cdparanoia cdr chm cracklib crypt css cups curl cxx dbus dia dri dts dvd dvdr dvdread encode exif expat fam fbcon ffmpeg firefox flac ftp geolocation gif gnokii gnutls gpm gstreamer hal hvm iconv ieee1394 imagemagick imap imgemagick imlib inkjar java javascript jpeg jpeg2k kde kerberos kontact kqemu kvm lcms ldap lesstif libwww liemikuutio lircsettings lm_sensors lxc mad midi mjpeg mmx mng mp3 mpeg mplayer msn multilib mysql ncurses nls nntp nptl nsplugin ogg openal opengl pam parted pcre pdf perl phonon plasma png policykit posix python qemu qt3support qt4 quicktime rdesktop readline recode samba sasl sdl semantic-desktop spell sql sqlite sse sse2 ssl ssse3 startup-notification subtitles svg syslog sysvipc theora threads tiff timidity truetype ttxtsubs uml unicode usb vdpau vlm volctrl vorbis wmf x264 xattr xcb xcomposite xine xml xmlpatterns xmlrpc xorg xosd xpm xrandr xscreensaver xv xvid zlib" ALSA_CARDS="emu10k" ALSA_PCM_PLUGINS="iec958 dmix plug rate route share shm meter multi adpcm ioplug mulaw alaw asym copy dshare dsnoop empty extplug file hooks ladspa lfloat linear null 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kolan Sh. 2010-04-11 11:50:50 UTC
other workaround is to delete /usr/lib64/libtdb.so.1 symlink
Comment 2 Martin von Gagern 2010-04-11 12:19:38 UTC
I encounter the same thing, although I have no clue where the symlink came from in the first place. Still have the old package around, but even a look at its saved ebuild and environment don't explain this behaviour to me.
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2010-04-12 20:16:48 UTC
The soname is libtdb.so.1. My guess is that an earlier tdb version did not install the libtdb.so.1 symlink but ldconfig created it instead.
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-13 10:34:30 UTC
Isn't (shouldn't) there be a qa check to detect the missing symlinks?
Comment 5 Sunit Das 2010-05-13 16:53:24 UTC
(In reply to comment #1)
> other workaround is to delete /usr/lib64/libtdb.so.1 symlink


This workaround did not work for me. I'm on a 32-bit install, so my libpath is '/usr/lib/', but I don't think that's actually relevant.

Pekka-Matti's workaround *did* work, however (i.e., 'emerge -C tdb && emerge tdb').
Comment 6 Víctor Ostorga (RETIRED) gentoo-dev 2011-04-01 15:06:01 UTC
Even if sys-libs/tdb-1.2.0-r2 is no longer in portage, I've added a double block to the previous tdb version