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

Bug 169769

Summary: dev-php5/pecl-fileinfo-1.0.3 will not compile against dev-lang/php-5.2.1
Product: Gentoo Linux Reporter: Matthew Wesley <weslem>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://pecl.php.net/bugs/bug.php?id=9245&edit=1
Whiteboard:
Package list:
Runtime testing required: ---

Description Matthew Wesley 2007-03-07 14:39:16 UTC
dev-php5/pecl-fileinfo-1.0.3 does not compile with dev-lang/php-5.2.X installed. This is an error that has been fixed in dev-php5/pecl-fileinfo-1.0.4 (see Bug #169765). The dev-php5/pecl-fileinfo-1.0.3 ebuild should be updated to DEPEND="<dev-lang/php-5.2.1" to prevent this problem.

Reproducible: Always

Steps to Reproduce:
1. emerge ~dev-lang/php-5.2.1 PEAR-PEAR
2. emerge ~dev-php5/pecl-fileinfo-1.0.3
3.

Actual Results:  
1. Succeeds
2. Fails compilation with:

/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c:124:42: error: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c:125:49: error: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c:124: error: 'ZEND_ME_MAPPING' undeclared here (not in a function)
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c:125: error: expected '}' before 'ZEND_ME_MAPPING'
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c:126:41: error: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c:127:45: error: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given

Expected Results:  
1. Success
2. Downgrade dev-lang/php-5.2.1, then successfully build ~dev-php5/pecl-fileinfo-1.0.3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-07 14:40:56 UTC

*** This bug has been marked as a duplicate of bug 155755 ***