Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 105756

Summary: lots of collisions with PEAR-* packages
Product: Gentoo Linux Reporter: Georgi Georgiev <chutz+bugs.gentoo.org>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Georgi Georgiev 2005-09-12 19:29:54 UTC
Every package that installs through php-pear-r1.eclass causes collisions. The
reason is that every PEAR package installs a /usr/share/php/.filemap and
/usr/share/php/.lock file. These files can safely be removed after "pear
install" in php-pear-r1_src_install and it will help the PEAR packages to not
die with FEATURES=collision-protect

Steps to reproduce:

1. FEATURES=collision-protect emerge PEAR-foo PEAR-bar

Actual result:

A collision protect error

Expected result:

Everything completes fine
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2005-09-13 08:15:35 UTC
Hi.
I just fixed this in the PHP Overlay [1], the fix will hopefully soon be also in
Portage, if you need this fast, just use the php-pear-r1.eclass from the
Subversion repository in the overlay [2].
Best regards, CHTEKK.

[1] http://svn.gnqs.org/projects/gentoo-php-overlay/
[2]
http://svn.gnqs.org/projects/gentoo-php-overlay/file/for-portage/eclass/php-pear-r1.eclass?rev=198&format=raw
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-09-13 08:17:05 UTC
Closing.