Bug 91989

Summary: php4-openssl port is broken
Product: Ports & Packages Reporter: emz
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description emz 2006-01-19 08:10:08 UTC
The 'make'` call falls on configure:

===Cut===
# make
===>  Vulnerability check disabled, database not found
===>  Extracting for php4-openssl-4.4.2
=> MD5 Checksum OK for php-4.4.2.tar.bz2.
# make
===>   php4-openssl-4.4.2 depends on file: /usr/local/lib/libcrypto.so.3 - found
===>   php4-openssl-4.4.2 depends on executable: phpize - found
===>   php4-openssl-4.4.2 depends on file: /usr/local/bin/autoconf259 - found
===>  PHPizing for php4-openssl-4.4.2
autoheader253: `config.h.in' is created
Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010
===>  Configuring for php4-openssl-4.4.2
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd4.11
checking host system type... i386-portbld-freebsd4.11
checking for i386-portbld-freebsd4.11-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether cc understands -c and -o together... yes
checking if compiler supports -R... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr
/local/include/php/TSRM
checking for PHP extension directory... /usr/local/lib/php/20020429
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for OpenSSL support... yes, shared
checking for Kerberos support... no
./configure.lineno: 2998: Syntax error: word unexpected (expecting ")")
===>  Script "configure" failed unexpectedly.
Please report the problem to ale@FreeBSD.org [maintainer] and attach the
"/usr/local/ports/security/php4-openssl/work/php-4.4.2/ext/openssl/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/local/ports/security/php4-openssl.
===Cut===

The ./configure call inside the 'work' dir gives perhaps more detailed ouput:
===Cut===
# ./configure
checking build system type... i386-unknown-freebsd4.11
checking host system type... i386-unknown-freebsd4.11
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr
/local/include/php/TSRM
checking for PHP extension directory... /usr/local/lib/php/20020429
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for OpenSSL support... yes, shared
checking for Kerberos support... no
./configure: line 2998: syntax error near unexpected token `OPENSSL_SHARED_LIBADD'
./configure: line 2998: `    PHP_SETUP_KERBEROS(OPENSSL_SHARED_LIBADD)'
===Cut===

How-To-Repeat: update your ports
cd /usr/ports/security/php4-openssl && make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-01-19 11:06:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2006-01-19 17:48:13 UTC
State Changed
From-To: open->closed

Reinstall autoconf.