[MacPorts] #17462: php5 upgrade fail

MacPorts noreply at macports.org
Mon Dec 1 04:24:01 PST 2008


#17462: php5 upgrade fail
---------------------------------+------------------------------------------
 Reporter:  smibrahim@…          |       Owner:  ryandesign@…           
     Type:  defect               |      Status:  new                    
 Priority:  Normal               |   Milestone:  Port Bugs              
Component:  ports                |     Version:  1.6.0                  
 Keywords:                       |        Port:  php5                   
---------------------------------+------------------------------------------
Changes (by jmr@…):

 * cc: jwa@… (added)
  * owner:  macports-tickets@… => ryandesign@…
  * priority:  High => Normal
  * port:  => php5


Old description:

> i was trying to upgrade php5. every time the compile is getting error.
> [Users/lavlu] > upgrade php5 +apache2 +macosx +mysql5
> --->  Staging php5 into destroot
> Error: Target org.macports.destroot returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/work/php-5.2.6"
> && 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_www_php5/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_www_php5/work/destroot
> " returned error 2
> Command output: Installing PHP CLI binary:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/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_www_php5/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_www_php5/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_www_php5/work/destroot/opt/local/include/php/
> Installing helper programs:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/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_www_php5/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_www_php5/work/destroot/opt/local/lib/php/
> dyld: Library not loaded: /opt/local/lib/libxml2.2.dylib
>   Referenced from: /opt/local/lib/libexslt.0.dylib
>   Reason: Incompatible library version: libexslt.0.dylib requires version
> 10.0.0 or later, but libxml2.2.dylib provides version 9.0.0
> make[1]: *** [install-pear-installer] Trace/BPT trap
> make: *** [install-pear] Error 2
>
> Error: Unable to upgrade port: 1

New description:

 i was trying to upgrade php5. every time the compile is getting error.
 {{{
 [Users/lavlu] > upgrade php5 +apache2 +macosx +mysql5
 --->  Staging php5 into destroot
 Error: Target org.macports.destroot returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/work/php-5.2.6"
 && 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_www_php5/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_www_php5/work/destroot
 " returned error 2
 Command output: Installing PHP CLI binary:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/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_www_php5/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_www_php5/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_www_php5/work/destroot/opt/local/include/php/
 Installing helper programs:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/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_www_php5/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_www_php5/work/destroot/opt/local/lib/php/
 dyld: Library not loaded: /opt/local/lib/libxml2.2.dylib
   Referenced from: /opt/local/lib/libexslt.0.dylib
   Reason: Incompatible library version: libexslt.0.dylib requires version
 10.0.0 or later, but libxml2.2.dylib provides version 9.0.0
 make[1]: *** [install-pear-installer] Trace/BPT trap
 make: *** [install-pear] Error 2

 Error: Unable to upgrade port: 1
 }}}

--

Comment:

 Please remember to use WikiFormatting in future.

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


More information about the macports-tickets mailing list