>>> extracting xorg-x11-6.8.99.15-r4 * checking 8389 files for package collisions 1000 files checked ... 2000 files checked ... 3000 files checked ... 4000 files checked ... 5000 files checked ... 6000 files checked ... 7000 files checked ... 8000 files checked ... existing file /usr/X11R6/include is not owned by this package [...] package x11-base/xorg-x11-6.8.99.15-r4 NOT merged The problem is: alexander@blatt /usr/kde $ ls -la /usr/X11R6 lrwxrwxrwx 1 root root 6 4. Sep 12:18 /usr/X11R6 -> ../usr Thus, /usr/X11R6/include == /usr/include. When I use FEATURES=-collision-protect, I can of course emerge it. It would be better, if xorg could be installed *WITH* collision-protect being enabled.
What are you upgrading from?
Nothing. I just rebuild the package. IOW: I already had 6.8.99.15-r4 installed.
This collision error doesn't really make sense. Many people have emerged xorg-x11 with collision-protect enabled afaik, and I've never seen a collision issue on a directory. Could you confirm that /usr/X11R6/include is a directory, not a symlink? (ls -l will tell you pretty quick)
alexander@blatt ~ $ ls -lad /usr/X11R6/include drwxr-xr-x 246 root root 20480 2. Jan 00:56 /usr/X11R6/include alexander@blatt ~ $ cd /usr/X11R6/include alexander@blatt /usr/X11R6/include $ pwd -P /usr/include alexander@blatt /usr/X11R6 $ pwd -P /usr
alexander@blatt ~ $ emerge -vpt xorg-x11 These are the packages that I would merge, in reverse order: Calculating dependencies ...done! [ebuild R ] x11-base/xorg-x11-6.8.99.15-r4 USE="bitmap-fonts insecure-drivers nls opengl truetype-fonts type1-fonts xv -3dfx -cjk -debug -doc -font-server -ipv6 -minimal -nocxx -pam -sdk -static -xprint" 0 kB Total size of downloads: 0 kB alexander@blatt /tmp $ emerge info Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-suspend2-r9.038.ohne-mqueue i686) ================================================================= System uname: 2.6.14-suspend2-r9.038.ohne-mqueue i686 Intel(R) Celeron(R) M processor 1.50GHz Gentoo Base System version 1.12.0_pre12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.4-r1, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/Gentoo/Portage/distfiles" FEATURES="autoconfig buildpkg ccache collision-protect distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS=" http://server.bei.digitalprojects.com/gentoo/ http://stuff.alexander.skwar.name/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo http://distfiles.gentoo.org/ " LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/Gentoo/Portage/packages" PORTAGE_TMPDIR="/Gentoo/Portage/build" PORTDIR="/Gentoo/Portage/tree" PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 GAPING_SECURITY_HOLE X acpi alsa amd apm arts artswrappersuid async audiofile avi bash-completion bdf berkdb bitmap-fonts bluetooth bootsplash bzip2 caps cardbus ccache cdb cdda cddb cdio cdparanoia cdr cdrom cle266 crypt css curl curlwrappers dbus devmap dillo divx4linux dlloader dvd dvdread emoticon esd ethereal exif expat fam fbcon fbdev ffmpeg firefox fping freetype gd gdbm gif glut gmp gnokii gnome gstreamer gtk gtk2 hal hpn icc id3 idn imagemagick imap imlib imlib2 insecure-drivers insecure-savers java javascript jikes jpeg kde kdeenablefinal lcms libedit libwww linuxthreads-tls logrotate lua lynxkeymap mad madwifi maildir matroska mbox ming mmx mmxext mng mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall ncurses netboot network new-login nfs nis nls no-old-linux no-suexec noantlr nobcel nobeanutils nobsf nobsh nocd nocommonslogging nocommonsnet nodrm nogg nogulm nojsch nojython nolog4j nomac nooro nopri norhino noxalan noxerces nozaptel nptl nsplugin offensive ogg oggvorbis openal opengl openssh pam_console pam_timestamp passfile password patented pccts pcmcia pcre perl perlsuid pic player png pnp qt quicktime rar readline real recode reiserfs ruby samba sdl sendfile sensord sftp slang sms spell spf sqlite sse sse2 ssl startup-notification stream subp subtitles suid symlink sysfs syslog tiff transcode truetype truetype-fonts trusted type1-fonts udev underscores unichrome unicode unsafe usb utf8 uudeview vim vim-pager vlm vorbis wifi win32codecs wma123 wmf x11vnc xine xinetd xml xml2 xmms xpm xscreensaver xv xvid xvmc zlib elibc_glibc kernel_linux linguas_de userland_GNU video_cards_via" Unset: ASFLAGS, CTARGET, LC_ALL
Seems like depending on bug 80846 dereferencing would solve this bug: $ ls -Lid /usr/include /usr/X11R6/include 45992 /usr/X11R6/include 45992 /usr/include
Yes, I agree. This is a dupe of bug #80846 IMO, there should be a way for an ebuild writer to specify, that a certain file does *NOT* collide, ie. it is to be exempt from collision-protect check. With this, it would be possible to include the /usr/X11R6/include "file" and have it not collide with /usr/include. *** This bug has been marked as a duplicate of 80846 ***
FWIW: This happens with all versions of xorg-x11. On a different machine, I just had it happen with x11-base/xorg-x11-6.8.2-r6
Ya, it's definitely a dupe. And all current xorg-x11 versions create the X11R6 symlink, so, yes, they will will all be affected. Not much that can be done from a package standpoint.