Gentoo Archives: gentoo-user

From: Walt Rarus <geeked.up@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] emerging gentoo-sources failing due to file collisions
Date: Wed, 06 Jan 2010 18:43:47
Message-Id: 534c2d371001061043r31680812n2ab4afc7630eb6c0@mail.gmail.com
1 I've never experienced this phenomenon prior to gentoo-sources-2.6.31.-r6.
2 I've always emerged gentoo-sources and they peacefully sat there and waited
3 until I built the corresponding kernel later when I felt like it - if ever.
4 With 2.6.31-r6, however, the emerge fails and consequently screws up 'emerge
5 world' attempts. PITA.
6
7 Any recommended workarounds or fixes?
8
9 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
10 I've pieced the following together from the console and elogv:
11
12 ERROR: preinst
13 This package will overwrite one or more files that may belong to other
14 packages (see list below). You can use a command such as `portageq
15 owners / <filename>` to identify the installed package that owns
16 a
17 file. If portageq reports that only one package owns a file then do
18 NOT file a bug report. A bug report is only useful if it identifies at
19 least two or more packages that are known to install the same file(s).
20 If a collision occurs and you can not explain where the file came from
21 then you should simply ignore the collision since there is not enough
22 information to determine if a real problem exists. Please do NOT file
23 a bug report at http://bugs.gentoo.org unless you report exactly which
24 two packages install the same file(s). Once again, please do NOT file
25 a bug report unless you have completely understood the above message.
26
27 package sys-kernel/gentoo-sources-2.6.31-r6 NOT merged
28
29 Detected file collision(s):
30
31 * /usr/src/linux-2.6.31-gentoo-r6/Makefile
32 * /usr/src/linux-2.6.31-gentoo-r6/Kbuild
33 .... gazillion similar ellided
34 * /usr/src/linux-2.6.31-gentoo-r6/include/asm-generic/bitops/lock.h
35 * /usr/src/linux-2.6.31-gentoo-r6/include/asm-generic/bitops/hweight.h
36 *
37 /usr/src/linux-2.6.31-gentoo-r6/include/asm-generic/bitops/non-atomic.h
38 *
39 * Searching all installed packages for file collisions...
40 *
41 * Press Ctrl-C to Stop
42 *
43 * None of the installed packages claim the file(s).
44 *
45 * Package 'sys-kernel/gentoo-sources-2.6.31-r6' NOT merged due to file
46 * collisions. If necessary, refer to your elog messages for the whole
47 * content of the above message.
48
49 >>> Failed to install sys-kernel/gentoo-sources-2.6.31-r6, Log file:
50 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
51
52 WALRUS ~ # emerge
53 --info
54 Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4,
55 glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
56 =================================================================
57
58 System uname:
59 Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-1.12.13
60
61 Timestamp of tree: Wed, 06 Jan 2010 07:45:02
62 +0000
63 app-shells/bash: 4.0_p35
64 dev-java/java-config: 1.3.7-r1, 2.1.9-r2
65 dev-lang/python: 2.4.6, 2.5.4-r3, 2.6.4
66 dev-python/pycrypto: 2.0.1-r8
67 dev-util/cmake: 2.6.4-r3
68 sys-apps/baselayout: 1.12.13
69 sys-apps/sandbox: 1.6-r2
70 sys-devel/autoconf: 2.13, 2.63-r1
71 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
72 1.10.2
73 sys-devel/binutils: 2.18-r3
74 sys-devel/gcc-config: 1.4.1
75 sys-devel/libtool: 2.2.6b
76 virtual/os-headers: 2.6.27-r2
77 ACCEPT_KEYWORDS="amd64"
78 CBUILD="x86_64-pc-linux-gnu"
79 CFLAGS="-march=athlon64 -O2 -pipe -msse3"
80 CHOST="x86_64-pc-linux-gnu"
81 CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
82 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
83 /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d
84 /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d
85 /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
86 CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
87 DISTDIR="/usr/portage/distfiles"
88 FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch
89 protect-owned sandbox sfperms strict unmerge-orphans userfetch"
90 GENTOO_MIRRORS="http://gentoo.osuosl.org/
91 ftp://ftp.gtlib.gatech.edu/pub/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/
92 http://open-systems.ufl.edu/mirrors/gentoo ftp://lug.mtu.edu/gentoo
93 ftp://gentoo.cites.uiuc.edu/pub/gentoo/
94 http://mirror.clarkson.edu/pub/distributions/gentoo/ "
95 LANG="en_US.utf8"
96 LDFLAGS="-Wl,-O1"
97 LINGUAS="en en_US"
98 MAKEOPTS="-j3"
99 PKGDIR="/usr/portage/packages"
100 PORTAGE_CONFIGROOT="/"
101 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
102 --compress --force --whole-file --delete --stats --timeout=180
103 --exclude=/distfiles --exclude=/local --exclude=/packages"
104 PORTAGE_TMPDIR="/var/tmp"
105 PORTDIR="/usr/portage"
106 PORTDIR_OVERLAY="/usr/local/portage/layman/java-binary
107 /usr/local/portage/layman/sunrise /usr/local/portage/layman/lisp"
108 SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
109 USE="X a52 aac acl acpi alsa amd64 apache2 berkdb blas bluetooth branding
110 bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus dri dts dvd
111 dvdr eds emacs emboss encode evo fam firefox flac fortran gdbm gif gpm
112 gstreamer gtk hal iconv ipv6 jpeg kde lapack ldap libnotify mad mikmod mmx
113 mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nvidia
114 ogg opengl openmp oss pam pcre pdf perl png postgres ppds pppd python
115 qt3support qt4 quicktime readline reflection ruby sdl session spell spl
116 sqlite sse sse2 ssl startup-notification svg sysfs tcltk tcpd thunar tiff
117 truetype type1 unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib"
118 ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
119 dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
120 mmap_emul mulaw multi null plug rate route share shm softvol"
121 APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd
122 authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile
123 authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd
124 deflate dir disk_cache env expires ext_filter file_cache filter headers
125 ident imagemap include info log_config logio mem_cache mime mime_magic
126 negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite
127 setenvif so speling status unique_id userdir usertrack vhost_alias"
128 ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
129 LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
130 ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU"
131 VIDEO_CARDS="nvidia vesa"
132 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
133 LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Replies

Subject Author
Re: [gentoo-user] emerging gentoo-sources failing due to file collisions Helmut Jarausch <jarausch@××××××××××××××××.de>