Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96393 - php & php-cgi: conflicts file collision in /usr/share/man/man1/php-config.1.gz and /usr/share/man/man1/phpize.1.gz
Summary: php & php-cgi: conflicts file collision in /usr/share/man/man1/php-config.1.g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 97204 102657 102812 116070 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-17 10:29 UTC by Alexander Skwar
Modified: 2006-01-20 01:24 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2005-06-17 10:29:31 UTC
>>> Completed installing php-4.4.0_rc1 into /var/tmp/portage/php-4.4.0_rc1/image/

* checking 317 files for package collisions
existing file /usr/share/man/man1/php-config.1.gz is not owned by this package
existing file /usr/share/man/man1/phpize.1.gz is not owned by this package
* spent 0.430473089218 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-php/php-4.4.0_rc1 NOT merged


[19:23:20 alexander@server:~/tmp/emwrap] $ epm -qf /usr/share/man/man1/php-config.1.gz /usr/share/man/man1/phpize.1.gz
php-cgi-4.4.0_rc1
php-cgi-4.4.0_rc1
Comment 1 Alexander Skwar 2005-06-17 10:31:20 UTC
I don't think it matters, but here's my emerge info:

[19:30:48 alexander@server:~/tmp] $ emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-ck10.ASN.006.reiser4.patch-4.no-proc-pci.xfs-module i686)
=================================================================
System uname: 2.6.11-ck10.ASN.006.reiser4.patch-4.no-proc-pci.xfs-module i686
AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distfiles.gentoo.org/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acl alsa apache2 apm async avi bash-completion
bluetooth bonobo calendar cdda cddb cdparanoia cdr cdrom codecs crypt cscope css
cups divx4linux dvdread encode esd ethereal exif fam fbcon fbdev ffmpeg fftw
firefox flash foomaticdb ftp gd gdbm gif gimp gimpprint gmail gnokii gnome
gphoto2 gpm gs gstreamer gtk gtk2 guile hal iconv idn imagemagick imap imlib
java javascript jpeg kde kdeenablefinal kdexdeltas libwww logitech-mouse
logrotate lufsusermount lzw lzw-tiff mad maildir matroska matrox mbox mime mmap
mmx mng mozdevelop mozilla moznocompose moznoirc mozp3p mozsvg mp3 mpeg mplayer
ncurses network nls no-old-linux no_wxgtk1 noantlr nobcel nobeanutils nobsh
nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro nopop3d
noregexp norhino noxalan noxerces nptl offensive ofx ogg oggvorbis opengl oss
pam parse-clocks pcntl pcre pda pdflib perl pic pie png posix ppds python qt
quicktime quotes rdesktop readline real recode samba sasl shared slang sockets
speex spell sse ssl svg symlink sysvipc tcltk tcpd theora tidy tiff truetype
truetype-fonts type1-fonts unicode usb usepackagedmakefiles vcd videos vim
vim-pager vim-with-x vorbis wmf wsconvert x11vnc xchattext xfs xine xml2 xmms xv
xvid zlib video_cards_matrox linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, PORTDIR_OVERLAY
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2005-06-23 15:21:56 UTC
Thanks for the bug report.  Until we provide a solution, please disable the 
collision-detect FEATURE if you wish to install php.

Best regards,
Stu
Comment 3 Joshua Pettett 2005-08-01 16:23:01 UTC
For future reference, mod_php also causes a collision:  
  
>>> extracting php-4.4.0  
* checking 324 files for package collisions  
existing file /usr/share/man/man1/php-config.1.gz is not owned by this package  
existing file /usr/share/man/man1/phpize.1.gz is not owned by this package  
existing file /usr/lib/php/extensions/no-debug-non-zts-1020050626/php_java.jar  
is not owned by this package  
existing file /usr/lib/php/extensions/no-debug-non-zts-1020050626/java-test.php  
is not owned by this package  
existing file /usr/lib/php/extensions/no-debug-non-zts-1020050626/java.so is  
not owned by this package  
* spent 0.372991800308 seconds checking for file collisions  
 
 
equery output: 
[ Searching for 
file(s) /usr/share/man/man1/php-config.1.gz,/usr/share/man/man1/phpize.1.gz,/usr/lib/php/extensions/no-debug-non-zts-1020050626/php_java.jar,/usr/lib/php/extensions/no-debug-non-zts-1020050626/java-test.php,/usr/lib/php/extensions/no-debug-non-zts-1020050626/java.so 
in *... ] 
dev-php/mod_php-4.4.0 
(/usr/lib/php/extensions/no-debug-non-zts-1020050626/java.so) 
dev-php/mod_php-4.4.0 (/usr/share/man/man1/php-config.1.gz) 
dev-php/mod_php-4.4.0 (/usr/share/man/man1/phpize.1.gz) 
dev-php/mod_php-4.4.0 
(/usr/lib/php/extensions/no-debug-non-zts-1020050626/php_java.jar) 
dev-php/mod_php-4.4.0 
(/usr/lib/php/extensions/no-debug-non-zts-1020050626/java-test.php) 
 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-08-15 14:43:56 UTC
*** Bug 102657 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-08-17 04:11:42 UTC
*** Bug 102812 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-08-17 04:12:29 UTC
*** Bug 97204 has been marked as a duplicate of this bug. ***
Comment 7 Stuart Herbert (RETIRED) gentoo-dev 2005-08-17 05:29:51 UTC
This is fixed in our new dev-lang/php package.  You can find this in our 
Gentoo PHP Overlay (http://svn.gnqs.org/projects/gentoo-php-overlay/) or wait 
a week or two until these packages are added to Portage.

Best regards,
Stu
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-08-25 11:23:18 UTC
Closing.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-12-19 11:04:48 UTC
*** Bug 116070 has been marked as a duplicate of this bug. ***
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2005-12-20 20:43:27 UTC
(In reply to comment #7)
> This is fixed in our new dev-lang/php package.  You can find this in our 
> Gentoo PHP Overlay (http://svn.gnqs.org/projects/gentoo-php-overlay/) or wait 
> a week or two until these packages are added to Portage.

Is this bug supposed to be fixed now? That comment is from August, but I just emerged both tonight and hit it with dev-php/php-4.4.0-r4 and dev-php/mod_php-4.4.0-r9.

Thanks,
Donnie
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-12-21 02:07:30 UTC
(In reply to comment #10)
> Is this bug supposed to be fixed now? That comment is from August, but I just
> emerged both tonight and hit it with dev-php/php-4.4.0-r4 and
> dev-php/mod_php-4.4.0-r9.

It's fixed in dev-lang/php, don't think that anyone plans to fix this in the old dev-php/{mod_}php ebuilds that are to be removed from portage.
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2005-12-21 10:17:36 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > Is this bug supposed to be fixed now? That comment is from August, but I just
> > emerged both tonight and hit it with dev-php/php-4.4.0-r4 and
> > dev-php/mod_php-4.4.0-r9.
> 
> It's fixed in dev-lang/php, don't think that anyone plans to fix this in the
> old dev-php/{mod_}php ebuilds that are to be removed from portage.

Then perhaps they shouldn't be pulled in by default anymore, as they were when I emerged phpmyadmin.
Comment 13 Lares Moreau 2005-12-21 11:39:11 UTC
(In reply to comment #12)
> Then perhaps they shouldn't be pulled in by default anymore, as they were when
> I emerged phpmyadmin.

this error came up for me when I emerged mod_php for apache. It would appear there is a dependency issue somewhere along the way.

Further. In a new install of mod_php, dev-php/php is installed _after_ mod-php. It seems weird to me.
Comment 14 Sebastian Bergmann (RETIRED) gentoo-dev 2006-01-20 01:24:37 UTC
dev-php/php, dev-php/mod_php, and dev-php/php-cgi have been replaced by dev-lang/php.

Please upgrade (following the guide at http://svn.gnqs.org/projects/gentoo-php-overlay/file/docs/php-upgrading.html?format=raw) to the new-style PHP package and open a new bug if the problem persists.

Thank you.