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

Bug 383159

Summary: dev-lang/php-5.3.6-r1 fails to compile and install
Product: Gentoo/Alt Reporter: nietonfir
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: binki
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 356467    
Bug Blocks: 388153    
Attachments: working php-5.3.6-r1 ebuild
Remove ${EPREFIX} from helper
Missing apache config file

Description nietonfir 2011-09-15 22:38:55 UTC
dev-lang/php-5.3.6-r1 fails to compile and install due to various reasons annotated in the follow-ups with possible fixes.
Comment 1 nietonfir 2011-09-15 22:41:13 UTC
Created attachment 286601 [details, diff]
working php-5.3.6-r1 ebuild

First it fails with the following message:
 * ERROR: dev-lang/php-5.3.5-r1 failed (compile phase):
 *   Unable to copy cgi SAPI

This can be fixed by removing, at least on 10.6, the darwin specific sed statement.
Comment 2 nietonfir 2011-09-15 22:48:56 UTC
Created attachment 286603 [details, diff]
Remove ${EPREFIX} from helper

Then it fails due to Q/A concerns -> double prefix -.-

This is easily fixed by removing ${EPREFIX} in line 56 of the src_install-v2.eblit as it is prepended by the helper iirc…
Comment 3 nietonfir 2011-09-15 22:51:47 UTC
Created attachment 286605 [details]
Missing apache config file

And as the best things come in threes it fails because of a missing apache config file. ;)
Comment 4 nietonfir 2011-09-15 22:52:37 UTC
(In reply to comment #1)
> Created attachment 286601 [details, diff]
> working php-5.3.6-r1 ebuild
> 
> First it fails with the following message:
>  * ERROR: dev-lang/php-5.3.5-r1 failed (compile phase):
>  *   Unable to copy cgi SAPI
> 
> This can be fixed by removing, at least on 10.6, the darwin specific sed
> statement.

This fix also applies to the 5.3.5 ebuilds.
Comment 5 Fabian Groffen gentoo-dev 2011-11-30 18:01:12 UTC
eblit problem fixed

files problem fixed

What's left is the sed thing, which is odd, because upstream bug is still open and supposed to be necessary.