Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149491 - FEATURES="installsources" may cause package name collisions in /usr/src/debug
Summary: FEATURES="installsources" may cause package name collisions in /usr/src/debug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2006-09-29 00:04 UTC by Markus Rothe (RETIRED)
Modified: 2006-09-29 16:49 UTC (History)
2 users (show)

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


Attachments
move installed sources into ${CATEGORY} subdirectories (installsources.patch,935 bytes, patch)
2006-09-29 12:15 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rothe (RETIRED) gentoo-dev 2006-09-29 00:04:22 UTC
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
Comment 1 Zac Medico gentoo-dev 2006-09-29 10:12:05 UTC
I suppose we can install the sources in /usr/src/debug/${CATEGORY}/${PF} or something similar.
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2006-09-29 10:29:10 UTC
I though having two packages with the same name was forbidden?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-29 10:30:58 UTC
(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.
 

Comment 4 Olivier Crete (RETIRED) gentoo-dev 2006-09-29 11:12:43 UTC
well lets install in cat/pkg as proposed by zac.
Comment 5 Zac Medico gentoo-dev 2006-09-29 12:15:58 UTC
Created attachment 98401 [details, diff]
move installed sources into ${CATEGORY} subdirectories

Thanks everyone.  This is fixed in svn r4559.
Comment 6 Zac Medico gentoo-dev 2006-09-29 16:49:53 UTC
This has been released in 2.1.2_pre2.