Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 301562

Summary: app-admin/eselect-postgresql and net-fs/samba-client result in /usr/bin/net collision
Product: Gentoo Linux Reporter: eric.williams
Component: [OLD] UnspecifiedAssignee: PgSQL Bugs <pgsql-bugs>
Severity: normal CC: samba
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---

Description eric.williams 2010-01-19 19:09:18 UTC
This bug manifests in various ways depending on who was built last.  If samba-client is built last one gets a rather explicit collision message with the additional message that

* None of the installed packages claim the file(s).

(which is a little weird, though part of it is that eselect-postgresql puts a symlink there, so perhaps it's not considered a file).

If eselect-postgresql is built last one might get the message

!! /usr/bin/net exists and is not a symbolic link

or some such.  This message has occurred for me while building postgresql-base, etc. and puzzled me for a little while.

I doubt this is x86-specific but I don't have access to non-x86 equipment.

Reproducible: Always

Steps to Reproduce:
1. emerge app-admin/eselect-postgresql (version 8.4 currently)
2. emerge net-fs/samba-client (version 3.4.4 currently)

Actual Results:  
* 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.

Expected Results:  
I suppose I would expect both of them to be merged successfully in the same system.

Portage (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.30-tuxonice-r6 i686)
System uname: Linux-2.6.30-tuxonice-r6-i686-Mobile_Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 19 Jan 2010 16:30:01 +0000
distcc 3.1 i486-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Introversion"
CFLAGS="-O2 -pipe"
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 /var/lib/hsqldb"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X Xaw3d a52 aac aalib accessibility acl acpi ada alsa amr amrnb apache2 audio avi bash-completion bcmath blender-game bzip2 bzlib cairo cal3d cdr cegui cg cleartype cli consolekit cpudetection cracklib crypt cups cvs cxx dbus directfb doc dri dssi dtmf dts dvb dvd dxr3 eds encode examples extras fbcon ffmpeg firefox flac fontforge fortran ftp fuse gd gdbm gif glitz gmp gnome gpm gstreamer gtk gtkhtml guile hal:-crypt haskell http iconv ieee1394 imagemagick imap imlib ipv4 ipv6 jack jadetex java java6 javascript jbig jpeg jpeg2k kde kdrive kerberos kqemu lame ldap libcaca libssh2 libwww lirc lm_sensors mad madwifi mail mikmod mmap mmx mng modplug modules mono moonlight mp3 mpeg mudflap musepack mysql mythtv ncurses networking networkmanager nls nptl nptlonly nsplugin nss numarray obbvortis odbc ode ogg opengl openmp pam pango pascal pch pcmcia pcre pdflib perl php png policykit postgres ppds pppd pulseaudio python qt qt3support quicktime readline reflection ruby samba sasl sdk sdl seamonkey serial session shmvideo sip sndfile snmp soap speex spl sql sse ssl stun subversion svg sysfs tcl tcpd telnet theora thumbnail tiff tk truetype tts unicode usb v4l v4l2 vboxwebsrv vcd verse videos vidix vim-syntax vorbis vxml wav wavpack webdav webkit win32codecs wma wmf wxwidgets wxwindows x86 xcb xinerama xml xmlrpc xms xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest authn_alias authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_ajp" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati radeon vesa" 
Comment 1 Patrick Lauer gentoo-dev 2010-01-26 20:30:21 UTC
I cannot reproduce it here, eselect-postgresql doesn't install that file here