Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383159 - dev-lang/php-5.3.6-r1 fails to compile and install
Summary: dev-lang/php-5.3.6-r1 fails to compile and install
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on: 356467
Blocks: 388153
  Show dependency tree
 
Reported: 2011-09-15 22:38 UTC by nietonfir
Modified: 2012-03-08 03:02 UTC (History)
1 user (show)

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


Attachments
working php-5.3.6-r1 ebuild (php-5.3.6-r1.ebuild.diff,432 bytes, patch)
2011-09-15 22:41 UTC, nietonfir
Details | Diff
Remove ${EPREFIX} from helper (src_install-v2.eblit.diff,480 bytes, patch)
2011-09-15 22:48 UTC, nietonfir
Details | Diff
Missing apache config file (70_mod_php5.conf-apache2,348 bytes, text/plain)
2011-09-15 22:51 UTC, nietonfir
Details

Note You need to log in before you can comment on or make changes to this bug.
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.