Opened 14 years ago

Closed 14 years ago

#25784 closed defect (duplicate)

PHP52 fails to activate

Reported by: chrisbloom7 (Chris Bloom) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: php52

Description

I keep running into problems trying to install PHP52. Yesterday it was issues with libiconv.2.dylib being the wrong version, so I uninstalled MacPorts entirely and started from scratch. Today I can't get the port to activate. It appears to configure and build itself fine, but fails when it tries to stage itself to destroot. There are also additional errors about missing "php" wrappers when trying to install PEAR.

$ sudo port -d install php52 +mysql5 +sqlite +pear +apache2 +postgresql84
...
...
...
DEBUG: Executing org.macports.main (php52)
DEBUG: Skipping completed org.macports.fetch (php52)
DEBUG: Skipping completed org.macports.checksum (php52)
DEBUG: setting option extract.cmd to /usr/bin/bzip2
DEBUG: Skipping completed org.macports.extract (php52)
DEBUG: Skipping completed org.macports.patch (php52)
DEBUG: Skipping completed org.macports.configure (php52)
DEBUG: Skipping completed org.macports.build (php52)
--->  Staging php52 into destroot
. missing (directory not created: File exists)
./Applications missing (directory not created: File exists)
./Developer missing (directory not created: File exists)
./Library missing (directory not created: File exists)
DEBUG: destroot phase started at Thu Jul 22 17:21:57 EDT 2010
DEBUG: Executing org.macports.destroot (php52)
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/php-5.2.13" && /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'
Installing PHP CLI binary:        /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/destroot/opt/local/bin/
Installing PHP CLI man page:      /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/destroot/opt/local/share/man/man1/
Installing build environment:     /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/destroot/opt/local/lib/php/build/
Installing header files:          /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/destroot/opt/local/include/php/
Installing helper programs:       /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/destroot/opt/local/bin/
  program: phpize
  program: php-config
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/
  page: phpize.1
  page: php-config.1
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/

Notice: Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0

Notice: Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0

Notice: Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0

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.13/pear/install-pear-nozlib.phar on line 393
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/php-5.2.13" && /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: Target org.macports.destroot returned: shell command failed
DEBUG: Backtrace: shell command failed
    while executing
"command_exec destroot"
    (procedure "portdestroot::destroot_main" line 2)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for php52): org.macports.activate org.macports.destroot org.macports.install
Log for php52 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (2)

comment:1 Changed 14 years ago by raimue (Rainer Müller)

Owner: changed from macports-tickets@… to ryandesign@…

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: php52 removed
Resolution: duplicate
Status: newclosed

Duplicate of #25231.

Note: See TracTickets for help on using tickets.