Subject: pkg/34042: lang/php5 configure fails on SPARC/Solaris
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 07/19/2006 21:00:01
>Number:         34042
>Category:       pkg
>Synopsis:       lang/php5 configure fails on SPARC/Solaris
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 19 21:00:01 +0000 2006
>Originator:     Jake Kupersmith
>Release:        pkgsrc-current
SunOS frylock 5.10 Generic_118822-25 sun4u sparc SUNW,Ultra-60
During the make configure stage of lang/php,  the build process fails with the following error.

=> Modifying libtool scripts to use pkgsrc libtool
/bin/sh: syntax error at line 1: `;' unexpected

root@frylock /usr/pkgsrc/lang/php5
> bmake configure
===> Checking for vulnerabilities in php-5.1.4nb2
WARNING: [] Unknown object format for installed package digest-20060302
=> Required installed package digest>=20010302: digest-20060302 found
=> Checksum SHA1 OK for php-5.1.4nb1/php-5.1.4.tar.bz2
=> Checksum RMD160 OK for php-5.1.4nb1/php-5.1.4.tar.bz2
===> Installing dependencies for php-5.1.4nb2
The supported build options for this package are:

        cgi fastcgi inet6 ssl

The currently selected options are:

        fastcgi inet6 ssl

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.php = fastcgi

Deprecated variable USE_INET6 set to YES, use PKG_DEFAULT_OPTIONS+=inet6 instead.

The following variables will affect the build process of this package,
php-5.1.4nb2.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTS = /usr/local/etc/openssl/certs
        * SSLKEYS = /usr/local/etc/openssl/private
        * USE_INET6 = YES

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/local/bin/bmake clean' after
the changes.
=> Required installed package libtool-base>=1.5.22nb3: libtool-base-1.5.22nb3 found
=> Required installed package gmake>=3.78: gmake-3.81 found
=> Required installed package flex>=2.5.4a: flex-2.5.4a found
=> Required installed package patch>=2.2: patch-2.5.4nb2 found
=> Required installed package libxml2>=2.6.23nb1: libxml2-2.6.26 found
=> Required installed package openssl>=0.9.7inb1: openssl-0.9.7inb1 found
===> Overriding tools for php-5.1.4nb2
===> Extracting for php-5.1.4nb2
===> Patching for php-5.1.4nb2
=> Applying pkgsrc patches for php-5.1.4nb2
===> Creating toolchain wrappers for php-5.1.4nb2
===> Configuring for php-5.1.4nb2
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
creating cache ./config.cache
checking for Cygwin environment... no


Generating files
updating cache ./config.cache
creating ./config.status
creating php5.spec
creating main/build-defs.h
creating scripts/phpize
creating scripts/man1/phpize.1
creating scripts/php-config
creating scripts/man1/php-config.1
creating sapi/cli/php.1
creating main/php_config.h
creating main/internal_functions.c
creating main/internal_functions_cli.c
|                        *** WARNING ***                             |
|                                                                    |
| You will be compiling the CGI version of PHP without any           |
| redirection checking.  By putting this cgi binary somewhere in     |
| your web space, users may be able to circumvent existing .htaccess |
| security by loading files directly through the parser.  See        |
| for more details.           |
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |

Thank you for using PHP.

=> Modifying libtool scripts to use pkgsrc libtool
/bin/sh: syntax error at line 1: `;' unexpected
*** Error code 2

bmake: stopped in /usr/pkgsrc/lang/php5
*** Error code 1

bmake: stopped in /usr/pkgsrc/lang/php5