Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288906 - install log fails to include package collision information
Summary: install log fails to include package collision information
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 288499
  Show dependency tree
 
Reported: 2009-10-13 16:46 UTC by Allen Brooker (AllenJB)
Modified: 2010-09-04 08:44 UTC (History)
0 users

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


Attachments
kde-misc:krename-4.0.1:20091013-154346.log (kde-misc:krename-4.0.1:20091013-154346.log,13.77 KB, text/plain)
2009-10-13 16:47 UTC, Allen Brooker (AllenJB)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Brooker (AllenJB) 2009-10-13 16:46:22 UTC
Details of package collisions are not included in the install log. This results in the log being useless in the case of a failure due to package collisions, but the user is still directed to submit it for bug reports.

From the install section of the emerge:
>>> Installing (218 of 265) kde-misc/krename-4.0.1
 * checking 12 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 kde-misc/krename-4.0.1 NOT merged
 *
 * Detected file collision(s):
 *
 *      /usr/lib/debug/usr/bin/krename.debug
 *      /usr/bin/krename
 *      /usr/share/icons/locolor/16x16/apps/krename.png
 *      /usr/share/icons/locolor/32x32/apps/krename.png
 *      /usr/share/icons/hicolor/48x48/apps/krename.png
 *      /usr/share/icons/hicolor/32x32/apps/krename.png
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * kde-misc/krename-3.0.14
 *      /usr/bin/krename
 *      /usr/lib/debug/usr/bin/krename.debug
 *      /usr/share/icons/hicolor/32x32/apps/krename.png
 *      /usr/share/icons/hicolor/48x48/apps/krename.png
 *      /usr/share/icons/locolor/16x16/apps/krename.png
 *      /usr/share/icons/locolor/32x32/apps/krename.png
 *
 * Package 'kde-misc/krename-4.0.1' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

>>> Failed to install kde-misc/krename-4.0.1, Log file:

>>>  '/var/log/portage/kde-misc:krename-4.0.1:20091013-154346.log'


The aforementioned install log is attached. As you can see, it ends at:
 * checking 12 files for package collisions
Comment 1 Allen Brooker (AllenJB) 2009-10-13 16:47:09 UTC
Created attachment 206982 [details]
kde-misc:krename-4.0.1:20091013-154346.log
Comment 2 Allen Brooker (AllenJB) 2009-10-13 17:22:41 UTC
Portage 2.2_rc46 (default/linux/amd64/10.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r1 x86_64)
=================================================================                                              
System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1      
Timestamp of tree: Tue, 13 Oct 2009 08:15:01 +0000                                                             
app-shells/bash:     4.0_p28                                                                                   
dev-java/java-config: 2.1.8-r1                                                                                 
dev-lang/python:     2.6.2-r1                                                                                  
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --alphabetical --verbose --tree"
FEATURES="assume-digests buildpkg collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="        http://mirror.switch.ch/mirror/gentoo/  http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo       http://pandemonium.tiscali.de/pub/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en en_US"
MAKEOPTS="-j3 --load-average=2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/mnt/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/allenjb /usr/portage/local/layman/jokey /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 apm bash-completion branding bzip2 cairo cdr cli cracklib crypt cups curl dbus dedicated dga dri dts dvd dvdr dvdread emboss encode evo exif expat fbcon ffmpeg firefox flac flax fontconfig ftp gif gnutls gtk hal htmlhandbook iconv idn ipod ipv6 isdnlog java javascript jpeg jpeg2k kate kde kipi lcms libass libnotify libssh2 lzma lzo mad matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib musepack mysql mysqli ncurses nls nocd nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl php plasma png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection rss samba sdl sdl-image session speex spl sqlite sqlite3 sse sse2 sse3 ssl startup-notification subversion svg sysfs tcpd tetex theora threads thumbnail thunar tidy tiff truetype twolame unicode usb vcd vdpau vhosts videos vorbis webkit wlm wmf wxwindows x264 xcomposite xine xinerama xml xorg xpm xulrunner xv xvid zip zlib" ALSA_CARDS="emu10k1" 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_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 ident include info log_config logio mem_cache mime  mime_magic negotiation rewrite rss setenvif so 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="en_GB en en_US" LIRC_DEVICES="livedrive_midi" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 3 Zac Medico gentoo-dev 2009-10-14 00:14:16 UTC
The message refers to 'elog' messages, which are actually separate logs. For example, you should see the collision message in /var/log/portage/elog/summary.log. I guess we can include the collision message in the build log as well, though.
Comment 4 Zac Medico gentoo-dev 2009-10-14 06:35:19 UTC
This is fixed in svn r14600.
Comment 5 Zac Medico gentoo-dev 2009-10-31 04:37:43 UTC
This is fixed in 2.1.7.2 and 2.2_rc47.