[MacPorts] #26296: php52 +pear fails to build on macports 1.9.1, hangs on pear

MacPorts noreply at macports.org
Tue Aug 31 08:17:08 PDT 2010


#26296: php52 +pear fails to build on macports 1.9.1, hangs on pear
-----------------------------------+----------------------------------------
 Reporter:  niels.olson@…          |       Owner:  ryandesign@…           
     Type:  defect                 |      Status:  new                    
 Priority:  Normal                 |   Milestone:                         
Component:  ports                  |     Version:  1.9.1                  
 Keywords:                         |        Port:  php52                  
-----------------------------------+----------------------------------------
Changes (by jmr@…):

  * owner:  macports-tickets@… => ryandesign@…
 * cc: jwa@… (added)
  * port:  php52 pear => php52
  * keywords:  pear php52 =>


Old description:

> Excerpt from log, full log attached
>
> ======================
> :info:destroot Installing man pages:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/destroot/opt/local/share/man/man1/
> :info:destroot   page: phpize.1
> :info:destroot   page: php-config.1
> :info:destroot Installing PEAR environment:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/destroot/opt/local/lib/php/
> :info:destroot
> :info:destroot Notice: Unknown: Unable to find the wrapper "php" - did
> you forget to enable it when you configured PHP? in Unknown on line 0
> :info:destroot
> :info:destroot Notice: Unknown: Unable to find the wrapper "php" - did
> you forget to enable it when you configured PHP? in Unknown on line 0
> :info:destroot
> :info:destroot Notice: Unknown: Unable to find the wrapper "php" - did
> you forget to enable it when you configured PHP? in Unknown on line 0
> :info:destroot
> :info:destroot Fatal error: Call to undefined function in_array() in
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/php-5.2.14/pear
> /install-pear-nozlib.phar on line 393
> :info:destroot make[1]: *** [install-pear-installer] Error 255
> :info:destroot make: *** [install-pear] Error 2
> :info:destroot shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/php-5.2.14"
> && /usr/bin/make install-cli install-build install-headers install-
> programs install-pear
> INSTALL_ROOT=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/destroot
> PHP_PEAR_INSTALL_DIR=/opt/local/lib/php
> DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/destroot
> " returned error 2
> :error:destroot Target org.macports.destroot returned: shell command
> failed
> :debug:destroot Backtrace: shell command failed
>     while executing
> "command_exec destroot"
>     (procedure "portdestroot::destroot_main" line 2)
>     invoked from within
> "$procedure $targetname"
> :info:destroot Warning: the following items did not execute (for php52):
> org.macports.activate org.macports.destroot org.macports.install
> :notice:destroot Log for php52 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/main.log
> =============================

New description:

 Excerpt from log, full log attached
 {{{
 ======================
 :info:destroot Installing man pages:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/destroot/opt/local/share/man/man1/
 :info:destroot   page: phpize.1
 :info:destroot   page: php-config.1
 :info:destroot Installing PEAR environment:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/destroot/opt/local/lib/php/
 :info:destroot
 :info:destroot Notice: Unknown: Unable to find the wrapper "php" - did you
 forget to enable it when you configured PHP? in Unknown on line 0
 :info:destroot
 :info:destroot Notice: Unknown: Unable to find the wrapper "php" - did you
 forget to enable it when you configured PHP? in Unknown on line 0
 :info:destroot
 :info:destroot Notice: Unknown: Unable to find the wrapper "php" - did you
 forget to enable it when you configured PHP? in Unknown on line 0
 :info:destroot
 :info:destroot Fatal error: Call to undefined function in_array() in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/php-5.2.14/pear
 /install-pear-nozlib.phar on line 393
 :info:destroot make[1]: *** [install-pear-installer] Error 255
 :info:destroot make: *** [install-pear] Error 2
 :info:destroot shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/php-5.2.14"
 && /usr/bin/make install-cli install-build install-headers install-
 programs install-pear
 INSTALL_ROOT=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/destroot
 PHP_PEAR_INSTALL_DIR=/opt/local/lib/php
 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/destroot
 " returned error 2
 :error:destroot Target org.macports.destroot returned: shell command
 failed
 :debug:destroot Backtrace: shell command failed
     while executing
 "command_exec destroot"
     (procedure "portdestroot::destroot_main" line 2)
     invoked from within
 "$procedure $targetname"
 :info:destroot Warning: the following items did not execute (for php52):
 org.macports.activate org.macports.destroot org.macports.install
 :notice:destroot Log for php52 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/main.log
 =============================
 }}}

--

Comment:

 Please remember to cc the maintainers, and to use WikiFormatting for
 preformatted text.

-- 
Ticket URL: <http://trac.macports.org/ticket/26296#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list