Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288516 - file collisions: net-fs/samba-libs-3.4.2-r3 and net-fs/samba-server-3.4.2-r1
Summary: file collisions: net-fs/samba-libs-3.4.2-r3 and net-fs/samba-server-3.4.2-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 290328 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-11 07:04 UTC by Maxim Kraev
Modified: 2009-11-04 12:47 UTC (History)
6 users (show)

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


Attachments
removed ldb tools from samba-server ebuild (samba-server-3.4.2.ebuild.patch,1.16 KB, patch)
2009-10-14 02:52 UTC, Marcel Greter
Details | Diff
removed ldb tools from samba-server ebuild (samba-server-3.4.2.ebuild.patch,593 bytes, patch)
2009-10-14 03:46 UTC, Marcel Greter
Details | Diff
only build ldb tools when ldb use flag is enabled (samba-libs-3.4.2-r1.ebuild.patch,923 bytes, patch)
2009-10-14 03:50 UTC, Marcel Greter
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Kraev 2009-10-11 07:04:14 UTC
Install filed with error:
>>> Installing (2 of 4) net-fs/samba-server-3.4.2
 * checking 128 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.
 *
 * Detected file collision(s):
 *
 *      /usr/bin/ldbmodify
 *      /usr/bin/ldbrename
 *      /usr/bin/ldbsearch
 *      /usr/bin/ldbedit
 *      /usr/bin/ldbadd
 *      /usr/bin/ldbdel
 *      /usr/share/man/man1/ldbdel.1.bz2
 *      /usr/share/man/man1/ldbedit.1.bz2
 *      /usr/share/man/man1/ldbrename.1.bz2
 *      /usr/share/man/man1/ldbsearch.1.bz2
 *      /usr/share/man/man1/ldbadd.1.bz2
 *      /usr/share/man/man1/ldbmodify.1.bz2
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * net-fs/samba-libs-3.4.2
 *      /usr/bin/ldbadd
 *      /usr/bin/ldbdel
 *      /usr/bin/ldbedit
 *      /usr/bin/ldbmodify
 *      /usr/bin/ldbrename
 *      /usr/bin/ldbsearch
 *      /usr/share/man/man1/ldbadd.1.bz2
 *      /usr/share/man/man1/ldbdel.1.bz2
 *      /usr/share/man/man1/ldbedit.1.bz2
 *      /usr/share/man/man1/ldbmodify.1.bz2
 *      /usr/share/man/man1/ldbrename.1.bz2
 *      /usr/share/man/man1/ldbsearch.1.bz2
 *
 * Package 'net-fs/samba-server-3.4.2' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.

>>> Failed to install net-fs/samba-server-3.4.2, Log file:


emerge --info                                              10:55
Portage 2.1.7 (default/linux/amd64/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.31-gentoo-v1 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-v1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.1
Timestamp of tree: Sun, 11 Oct 2009 05:00:01 +0000
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/calculate/share/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs userfetch"
GENTOO_MIRRORS="http://mirrors.relaxdom.net/gentoo/distfiles http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/calculate/share/packages/CLD/9.7/x86_64"
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/kde-testing /usr/local/portage/layman/sunrise /usr/local/portage/layman/desktop-effects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi ads alsa amd64 apache2 apm audiofile avi berkdb bittorrent bzip2 cairo cddb cdparanoia cdr chm clamav cleartype cli cracklib crypt cups dbus directfb djvu dri dv dvd dvdr dvdread ebook encode exif expat fbcon ffmpeg firefox3 flac flash foomaticdb fortran ftp gd gdbm ggi gif gphoto2 gpm hal iconv icu id3tag ieee1394 imagemagick irc isdnlog jabber java jingle jpeg jpeg2k kde kde4 kerberos ldap libcaca libwww lirc logrotate lzo mad matroska mbox melt mikmod mmx mmxext mng modules mozilla mp3 mpeg mpi mplayer mudflap multilib musepack mysql nas ncurses nfs nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl openmp openssl oscar pam pcre pdf perl php plasma png portaudio pppd python qt3support qt4 quicktime rdesktop readline reflection samba samba4 scanner sdl session slang smp speex spell spl sql srt sse sse2 sse3 sse4.1 sse4.2 sse4a sse5 ssl ssse3 svg sysfs tcpd tga theora tiff tools truetype type1 unicode usb userlocales v4l v4l2 vcd vhosts vorbis webkit winbind wmf wxwindows x264 xanim xcomposite xine xinerama xorg xpm xv xvid xvmc yahoo zlib" ALSA_CARDS="ca0106 emu10k1 hda-intel intel8x0 intel8x0m pcsp via82xx" 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 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" CAMERAS="*" ELIBC="glibc" FOO2ZJS_DEVICES="*" INPUT_DEVICES="keyboard mouse evdev " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" NETBEANS_MODULES="ide php " USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 James Ausmus 2009-10-13 21:07:05 UTC
And a big "Me Too" here, x86 arch
Comment 2 Marcel Greter 2009-10-14 02:52:15 UTC
Created attachment 207039 [details, diff]
removed ldb tools from samba-server ebuild

Thanks for reporting. Missed to remove ldb tools from samba-server when moving them to samba-libs (sorry). I'm not 100% sure if this move makes totally sense. But it seems that ldb will be a standalone lib sooner or later (http://ldb.samba.org/, same as tdb and talloc). So I guess it makes sense to install the tools with samba-libs (or with sys-libs/ldb, if/when it will go standalone).

For an immediate fix, you can try to
USE="-tools" emerge -1 samba-libs

If you apply the patch, you need to
emerge -1 samba-server
emerge -1 samba-libs

HTH, Marcel
Comment 3 Marcel Greter 2009-10-14 03:46:52 UTC
Created attachment 207040 [details, diff]
removed ldb tools from samba-server ebuild

Sorry, patch file somehow got messed up
Comment 4 Marcel Greter 2009-10-14 03:50:40 UTC
Created attachment 207042 [details, diff]
only build ldb tools when ldb use flag is enabled

I added use flag ldb for samba-libs so the ldb-tools will only be built if tools and ldb use flags are enabled (I guess most people will not need these tools). It seems that they also work without the samba4 use flag enabled, so I removed that one.

Unfortunately there is no configure option to build ldb as a shared lib, so the use flag is really not of much use yet. I also gave up building it from the source tree directly. Committers feel free to change it as you see fit.
Comment 5 Víctor Ostorga (RETIRED) gentoo-dev 2009-11-03 14:31:20 UTC
*** Bug 290328 has been marked as a duplicate of this bug. ***
Comment 6 Patrick Lauer gentoo-dev 2009-11-04 12:47:04 UTC
Thanks, fixed in 3.4.3-r1.