Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20523 - mod-php-4.3.1-r3.ebuild fails on install
Summary: mod-php-4.3.1-r3.ebuild fails on install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-06 05:58 UTC by Rigo
Modified: 2003-09-26 17:09 UTC (History)
0 users

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 Rigo 2003-05-06 05:58:26 UTC
<SNIP>
>>> Install mod_php-4.3.1-r3 into /var/tmp/portage/mod_php-4.3.1-r3/image/
category dev-php
Installing PEAR environment:     
/var/tmp/portage/mod_php-4.3.1-r3/image//usr/lib/php/
Installing header files:         
/var/tmp/portage/mod_php-4.3.1-r3/image//usr/include/php/
Installing helper programs:       /var/tmp/portage/mod_php-4.3.1-r3/image//usr/bin/
  program: phpize
cp: cannot create regular file
`/var/tmp/portage/mod_php-4.3.1-r3/image//usr/bin/#INST@6296#': Onbekend bestand
of map
  program: php-config
cp: cannot create regular file
`/var/tmp/portage/mod_php-4.3.1-r3/image//usr/bin/#INST@6320#': Onbekend bestand
of map
make: *** [install-programs] Fout 1
make: *** Wachten op onafgeronde taken...
[PEAR] Archive_Tar    - installed: 0.9
[PEAR] Console_Getopt - installed: 1.0
[PEAR] DB             - installed: 1.3
[PEAR] HTTP           - installed: 1.2
[PEAR] Mail           - installed: 1.0.1
[PEAR] PEAR           - installed: 1.0b3
[PEAR] Net_SMTP       - installed: 1.0
[PEAR] Net_Socket     - installed: 1.0.1
[PEAR] XML_Parser     - installed: 1.0
[PEAR] XML_RPC        - installed: 1.0.4
 
!!! ERROR: dev-php/mod_php-4.3.1-r3 failed.
!!! Function php_src_install, Line 244, Exitcode 2
!!! (no error message)
</SNIP>

<SOLUTION>
# diff -ur mod_php-4.3.1-r3.ebuild mod_php-4.3.1-r4.ebuild
--- mod_php-4.3.1-r3.ebuild     2003-05-06 12:29:16.000000000 +0200
+++ mod_php-4.3.1-r4.ebuild     2003-05-06 12:50:02.000000000 +0200
@@ -48,6 +48,10 @@
  
   
 src_install() {
+       dodir /usr/bin
+       dodir /usr/lib/php
+       dodir /usr/include/php
+
        php_src_install
  
        cp php.ini-dist php.ini

</SOLUTION>

Keep up the good work,

Rogi
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-05-14 19:03:03 UTC
Fixed in new PHP eclass to be released very soon.
When it is, please test it ASAP.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-26 17:09:59 UTC
closing old bugs.