From nobody@FreeBSD.org  Mon Apr 19 13:09:31 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AEB6C106567E
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 19 Apr 2010 13:09:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 6814C8FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 19 Apr 2010 13:09:31 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3JD9UAr000389
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 19 Apr 2010 13:09:30 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o3JD9UNM000369;
	Mon, 19 Apr 2010 13:09:30 GMT
	(envelope-from nobody)
Message-Id: <201004191309.o3JD9UNM000369@www.freebsd.org>
Date: Mon, 19 Apr 2010 13:09:30 GMT
From: Frank Wall <fw@moov.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: lang/php4 does not compile with openssl-1.0.0
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         145840
>Category:       ports
>Synopsis:       lang/php4 does not compile with openssl-1.0.0
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 19 13:10:01 UTC 2010
>Closed-Date:    Mon Apr 19 13:28:13 UTC 2010
>Last-Modified:  Mon Apr 19 13:30:07 UTC 2010
>Originator:     Frank Wall
>Release:        FreeBSD 6.4-RELEASE
>Organization:
>Environment:
FreeBSD 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 11:43:51 UTC 2008     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The port lang/php4 does not compile with openssl-1.0.0.
>How-To-Repeat:
1. configure lang/php4 with OPENSSL support (make config)
2. try to install lang/php4
3. build fails with this error:

===>  Building for php4-4.4.9_2
"Makefile", line 508: warning: duplicate script for target "main/internal_functions.lo" ignored
/bin/sh /usr/ports/lang/php4/work/php-4.4.9/libtool --silent --preserve-dup-deps --mode=compile cc  -Iext/openssl/ -I/usr/ports/lang/php4/work/php-4.4.9/ext/openssl/ -DPHP_ATOM_INC -I/usr/ports/lang/php4/work/php-4.4.9/include -I/usr/ports/lang/php4/work/php-4.4.9/main -I/usr/ports/lang/php4/work/php-4.4.9 -I/usr/local/include -I/usr/ports/lang/php4/work/php-4.4.9/TSRM -I/usr/ports/lang/php4/work/php-4.4.9/Zend    -O2 -fno-strict-aliasing -pipe -march=pentiumpro  -prefer-non-pic -c /usr/ports/lang/php4/work/php-4.4.9/ext/openssl/openssl.c -o ext/openssl/openssl.lo
/usr/ports/lang/php4/work/php-4.4.9/ext/openssl/openssl.c:182: error: syntax error before "LHASH"
/usr/ports/lang/php4/work/php-4.4.9/ext/openssl/openssl.c:343: error: syntax error before "LHASH"
/usr/ports/lang/php4/work/php-4.4.9/ext/openssl/openssl.c: In function `php_openssl_config_check_syntax':
/usr/ports/lang/php4/work/php-4.4.9/ext/openssl/openssl.c:348: error: `config' undeclared (first use in this function)
[...]

*** Error code 1

Stop in /usr/ports/lang/php4/work/php-4.4.9.
*** Error code 1

>Fix:
Either create a new port security/openssl-0.9 or patch lang/php4 to work with the new openssl library. I can't help out with patching lang/php4 since I'm not a C programmer.

I'd vote for the new port security/openssl-0.9 because I think a few more ports are likely to face compatiblity problems.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Apr 19 13:10:10 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145840 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Mon Apr 19 13:27:59 UTC 2010 
State-Changed-Why:  
Fixed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145840 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/145840: commit references a PR
Date: Mon, 19 Apr 2010 13:27:55 +0000 (UTC)

 ale         2010-04-19 13:27:45 UTC
 
   FreeBSD ports repository
 
   Modified files:
     lang/php4            Makefile 
   Log:
   Use openssl from base.
   
   PR:             ports/145840
   Submitted by:   Frank Wall <fw@moov.de>
   
   Revision  Changes    Path
   1.128     +1 -0      ports/lang/php4/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
