While trying to install pecl-zip-1.0 for both php4 and php5 I am getting the following error if I have FEATURES="splitdebug collision-protect" enabled: power1 ~ # emerge =dev-php5/pecl-zip-1.0 =dev-php4/pecl-zip-1.0 [...] <- dev-php5/pecl-zip finished successfully, next is form php4 version * checking 10 files for package collisions existing file /usr/src/debug/pecl-zip-1.0/zip-1.0/php_zip.h is not owned by this package existing file /usr/src/debug/pecl-zip-1.0/zip-1.0/zip.c is not owned by this package * spent 0.0126810073853 seconds checking for file collisions * This package is blocked because it wants to overwrite * files belonging to other packages (see messages above). * If you have no clue what this is all about report it * as a bug for this package on http://bugs.gentoo.org package dev-php4/pecl-zip-1.0 NOT merged No package files given... Grabbing a set. >>> Regenerating /etc/ld.so.cache... power1 ~ # equery belongs /usr/src/debug/pecl-zip-1.0/zip-1.0/php_zip.h [ Searching for file(s) /usr/src/debug/pecl-zip-1.0/zip-1.0/php_zip.h in *... ] dev-php5/pecl-zip-1.0 (/usr/src/debug/pecl-zip-1.0/zip-1.0/php_zip.h) power1 ~ # emerge --info Portage 2.1.1-r1 (default-linux/ppc/ppc64/2006.1/64bit-userland, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16.9 ppc64) ================================================================= System uname: 2.6.16.9 ppc64 POWER5 (gr) Gentoo Base System version 1.12.5 Last Sync: Tue, 26 Sep 2006 09:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] 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-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="ppc64" AUTOCLEAN="yes" CBUILD="powerpc64-unknown-linux-gnu" CFLAGS="-O2 -pipe -mtune=power5 -mcpu=power5 -g" CHOST="powerpc64-unknown-linux-gnu" 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" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -mtune=power5 -mcpu=power5 -g" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks installsources metadata-transfer sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc64 X a52 aac accessibility akode alsa altivec apache2 apm arts asf audacious berkdb bitmap-fonts bzip2 cairo cli crypt cups dbus dlloader doc dri dts dvd eds elibc_glibc emboss encode examples ffmpeg flac foomaticdb fortran ftp gcj gd gdbm ggi gif glib glitz gnome gnutls gphoto2 gpm gs gstreamer gtk hal ibm ieee1394 imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jack jpeg jpeg2k kde kdeenablefinal kernel_linux ldap libg++ libwww mad mhash mikmod mng motif mp3 mp4 mpeg mpm-prefork mysql nas ncurses nis nls nptl nptlonly objc ogg openexr opengl oss pam pcre pdf pdflib perl php png povray pppd python qt3 qt4 quicktime readline reflection samba sdl session smartcard spell spl ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_ati video_cards_dummy video_cards_fbdev video_cards_mga video_cards_nv video_cards_sisusb video_cards_v4l vorbis wifi x264 xcomposite xine xml xmms xorg xpm xscreensaver xv xvid zeroconf zip zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I suppose we can install the sources in /usr/src/debug/${CATEGORY}/${PF} or something similar.
I though having two packages with the same name was forbidden?
(In reply to comment #2) > I though having two packages with the same name was forbidden? No, it's never been forbidden and there are lots of them in portage beyond php - see app-emacs vs. app-xemacs for the most obvious example.
well lets install in cat/pkg as proposed by zac.
Created attachment 98401 [details, diff] move installed sources into ${CATEGORY} subdirectories Thanks everyone. This is fixed in svn r4559.
This has been released in 2.1.2_pre2.