From nobody@FreeBSD.org  Sun May 30 06:46:45 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 76DD4106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 30 May 2010 06:46:45 +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 4BDCB8FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 30 May 2010 06:46:45 +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 o4U6kiRq096414
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 30 May 2010 06:46:44 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o4U6kiDu096413;
	Sun, 30 May 2010 06:46:44 GMT
	(envelope-from nobody)
Message-Id: <201005300646.o4U6kiDu096413@www.freebsd.org>
Date: Sun, 30 May 2010 06:46:44 GMT
From: Kazuo Dohzono <dohzono@axion-software.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [mail/squirrelmail] [lang/php5] [www/apache20] pcre library problem. 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         147202
>Category:       ports
>Synopsis:       [mail/squirrelmail] [lang/php5] [www/apache20] pcre library problem.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    tabthorpe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 30 06:50:04 UTC 2010
>Closed-Date:    Wed Jun 02 15:24:17 UTC 2010
>Last-Modified:  Wed Jun  2 15:50:18 UTC 2010
>Originator:     Kazuo Dohzono
>Release:        FreeBSD 8.0-STABLE
>Organization:
>Environment:
FreeBSD dohzono.vmware.axion-software.com 8.0-STABLE FreeBSD 8.0-STABLE #2: Sat May 
8 17:01:26 JST 2010    
dohzono@dohzono.vmware.axion-software.com:/usr/local/tmp/obj/usr/src/sys/GENERIC 
i386

>Description:
1) [mail/squirrelmail] tries to access
"HOST/src/src/login.php", which does not exist,
because of preg_replace problem [*1].

2) current [lang/php5] uses external pcre
library. I removed the patch [*2] and forced
[lang/php5] to use its bundled pcre library, and
squirrelmail problem was solved.

3) current [www/apache20] port is corrupted. I
can't even build it [*3].

[*1]: [Sun May 30 14:08:10 2010] [error] [client 192.168.0.200] PHP Warning: 
preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Internal
pcre_fullinfo() error -3 in /usr/local/www/squirrelmail/functions/strings.php on
line 315, referer: https://mail.dohzono.vmware.axion-software.com/src/login.php

[*2]: http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/Makefile.diff?r1=1.145;r2=1.146;f=h

[*3]:
# cd /usr/ports/www/apache20/
# make WITH_DBM=bdb WITH_LDAP=yes WITH_SSL_MODULES=yes WITH_SUEXEC_MODULES=yes WITH_PROXY_MODULES=yes WITH_KQUEUE_MODULES=yes WITHOUT_IPV6=yes
(snip)
===>  Configuring for apache-2.0.63_15
configure.in:264: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
./../lib/autoconf/specific.m4:385: AC_USE_SYSTEM_EXTENSIONS is expanded from...
./../lib/autoconf/specific.m4:456: AC_MINIX is expanded from...
configure.in:264: the top level
configure.in:264: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
checking for chosen layout... FreeBSD
checking for working mkdir -p... yes
checking build system type... i386-portbld-freebsd8.0
checking host system type... i386-portbld-freebsd8.0
checking target system type... i386-portbld-freebsd8.0

Configuring Apache Portable Runtime library ...

checking for APR... configure: error: the --with-apr parameter is incorrect. It must
specify an install prefix, a
build directory, or an apr-config file.
===>  Script "configure" failed unexpectedly.
Please report the problem to apache@FreeBSD.org [maintainer] and attach the
"/usr/local/tmp//usr/ports/www/apache20/work/httpd-2.0.63/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/ports/www/apache20.
# 

>How-To-Repeat:
Install mail/squirrelmail over lang/php5, www/apache20 and try to login.  
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->tabthorpe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun May 30 06:50:13 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147202 
State-Changed-From-To: open->closed 
State-Changed-By: tabthorpe 
State-Changed-When: Wed Jun 2 15:24:16 UTC 2010 
State-Changed-Why:  
Reinstall devel/apr following instructions in /usr/ports/UPDATING 

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

From: Thomas Abthorpe <tabthorpe@FreeBSD.org>
To: bug-followup@FreeBSD.org, dohzono@axion-software.com
Cc:  
Subject: Re: ports/147202: [mail/squirrelmail] [lang/php5] [www/apache20]
 pcre library problem.
Date: Wed, 2 Jun 2010 11:20:44 -0400

 LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQ0KSGFzaDogU0hBMQ0KDQpJIGhhZCBh
 IG1lbWJlciBvZiB0aGUgYXBhY2hlQCB0ZWFtIHNjcnV0aW5pc2UgdGhlIGxvZ3MsIGl0IGFwcGVh
 cnMgdGhhdCB5b3UNCm5lZWQgdG8gcmVpbnN0YWxsIGRldmVsL2FwciBmb2xsb3dpbmcgdGhlIGlu
 c3RydWN0aW9ucyBpbiAvdXNyL3BvcnRzL1VQREFUSU5HLg0KDQpJIGluc3RhbGxlZCBhcHIvYXBh
 Y2hlL3BocC9zcXVpcnJlbG1haWwgb24gYSBjbGVhbiBtYWNoaW5lIGFuZCBhbGwgd29ya2VkDQpm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