[MacPorts] #36775: php5-oracle @5.3.17 arch -i386 php -v returns error on Mountain Lion

MacPorts noreply at macports.org
Sun Oct 28 14:24:37 PDT 2012


#36775: php5-oracle @5.3.17 arch -i386 php -v returns error on Mountain Lion
--------------------------+--------------------------
  Reporter:  djwiz1@…     |      Owner:  ryandesign@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.1.2
Resolution:               |   Keywords:
      Port:  php5-oracle  |
--------------------------+--------------------------
Changes (by macsforever2000@…):

 * owner:  macports-tickets@… => ryandesign@…


Old description:

> MacBook Pro i7
> Mountain Lion 10.8.2
> Xcode 4.5
>
> Following instructions on https://trac.macports.org/changeset/98925, I
> installed php5-oracle.  When I use arch -i386 php -v, I get arch:
> posix_spawnp: php: Bad CPU type in executable
>
> {{{
> $ sudo port uninstall php5-oracle
> dyld: DYLD_ environment variables being ignored because main executable
> (/usr/bin/sudo) is setuid or setgid
> $ sudo port install php5-oracle
> dyld: DYLD_ environment variables being ignored because main executable
> (/usr/bin/sudo) is setuid or setgid
> --->  Computing dependencies for php5-oracle
> --->  Dependencies to be installed: php5
> --->  Fetching archive for php5
> --->  Attempting to fetch php5-5.3.17_0+apache2.darwin_12.x86_64.tbz2
> from http://packages.macports.org/php5
> --->  Attempting to fetch php5-5.3.17_0+apache2.darwin_12.x86_64.tbz2
> from http://lil.fr.packages.macports.org/php5
> --->  Attempting to fetch php5-5.3.17_0+apache2.darwin_12.x86_64.tbz2
> from http://mse.uk.packages.macports.org/sites/packages.macports.org/php5
> --->  Fetching distfiles for php5
> --->  Verifying checksum(s) for php5
> --->  Extracting php5
> --->  Applying patches to php5
> --->  Configuring php5
> --->  Building php5
> --->  Staging php5 into destroot
> Warning: php5 installs files outside the common directory structure.
> --->  Installing php5 @5.3.17_0+apache2
> --->  Activating php5 @5.3.17_0+apache2
> You may need to update your php.ini for any changes that have been made
> in this version of php. Compare /opt/local/etc/php5/php.ini with
> /opt/local/etc/php5/php.ini-development (if this is a development server)
> or
> /opt/local/etc/php5/php.ini-production (if this is a production server).
>
> If this is your first install, you need to activate PHP in your web
> server.
>
> To enable PHP in Apache, run
>   cd /opt/local/apache2/modules
>   /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so
> --->  Cleaning php5
> --->  Fetching archive for php5-oracle
> --->  Attempting to fetch php5-oracle-5.3.17_0.darwin_12.x86_64.tbz2 from
> http://packages.macports.org/php5-oracle
> --->  Attempting to fetch php5-oracle-5.3.17_0.darwin_12.x86_64.tbz2 from
> http://lil.fr.packages.macports.org/php5-oracle
> --->  Attempting to fetch php5-oracle-5.3.17_0.darwin_12.x86_64.tbz2 from
> http://mse.uk.packages.macports.org/sites/packages.macports.org/php5-oracle
> --->  Fetching distfiles for php5-oracle
> --->  Verifying checksum(s) for php5-oracle
> --->  Extracting php5-oracle
> --->  Configuring php5-oracle
> --->  Building php5-oracle
> --->  Staging php5-oracle into destroot
> --->  Installing php5-oracle @5.3.17_0
> --->  Activating php5-oracle @5.3.17_0
> --->  Cleaning php5-oracle
> --->  Updating database of binaries: 100.0%
> --->  Scanning binaries for linking errors: 100.0%
> --->  No broken files found.
> $ arch -i386 /opt/local/bin/php -v
> arch: posix_spawnp: /opt/local/bin/php: Bad CPU type in executable
> }}}

New description:

 MacBook Pro i7
 Mountain Lion 10.8.2
 Xcode 4.5

 Following instructions on r98925, I installed php5-oracle.  When I use
 arch -i386 php -v, I get arch: posix_spawnp: php: Bad CPU type in
 executable

 {{{
 $ sudo port uninstall php5-oracle
 dyld: DYLD_ environment variables being ignored because main executable
 (/usr/bin/sudo) is setuid or setgid
 $ sudo port install php5-oracle
 dyld: DYLD_ environment variables being ignored because main executable
 (/usr/bin/sudo) is setuid or setgid
 --->  Computing dependencies for php5-oracle
 --->  Dependencies to be installed: php5
 --->  Fetching archive for php5
 --->  Attempting to fetch php5-5.3.17_0+apache2.darwin_12.x86_64.tbz2 from
 http://packages.macports.org/php5
 --->  Attempting to fetch php5-5.3.17_0+apache2.darwin_12.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/php5
 --->  Attempting to fetch php5-5.3.17_0+apache2.darwin_12.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/php5
 --->  Fetching distfiles for php5
 --->  Verifying checksum(s) for php5
 --->  Extracting php5
 --->  Applying patches to php5
 --->  Configuring php5
 --->  Building php5
 --->  Staging php5 into destroot
 Warning: php5 installs files outside the common directory structure.
 --->  Installing php5 @5.3.17_0+apache2
 --->  Activating php5 @5.3.17_0+apache2
 You may need to update your php.ini for any changes that have been made
 in this version of php. Compare /opt/local/etc/php5/php.ini with
 /opt/local/etc/php5/php.ini-development (if this is a development server)
 or
 /opt/local/etc/php5/php.ini-production (if this is a production server).

 If this is your first install, you need to activate PHP in your web
 server.

 To enable PHP in Apache, run
   cd /opt/local/apache2/modules
   /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so
 --->  Cleaning php5
 --->  Fetching archive for php5-oracle
 --->  Attempting to fetch php5-oracle-5.3.17_0.darwin_12.x86_64.tbz2 from
 http://packages.macports.org/php5-oracle
 --->  Attempting to fetch php5-oracle-5.3.17_0.darwin_12.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/php5-oracle
 --->  Attempting to fetch php5-oracle-5.3.17_0.darwin_12.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/php5-oracle
 --->  Fetching distfiles for php5-oracle
 --->  Verifying checksum(s) for php5-oracle
 --->  Extracting php5-oracle
 --->  Configuring php5-oracle
 --->  Building php5-oracle
 --->  Staging php5-oracle into destroot
 --->  Installing php5-oracle @5.3.17_0
 --->  Activating php5-oracle @5.3.17_0
 --->  Cleaning php5-oracle
 --->  Updating database of binaries: 100.0%
 --->  Scanning binaries for linking errors: 100.0%
 --->  No broken files found.
 $ arch -i386 /opt/local/bin/php -v
 arch: posix_spawnp: /opt/local/bin/php: Bad CPU type in executable
 }}}

--

Comment:

 In the future, please Cc the port maintainer(s).

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


More information about the macports-tickets mailing list