From neil@darlow.co.uk  Fri Sep 21 10:48:39 2007
Return-Path: <neil@darlow.co.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 96BB016A418
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Sep 2007 10:48:39 +0000 (UTC)
	(envelope-from neil@darlow.co.uk)
Received: from queueout02-winn.ispmail.ntl.com (queueout02-winn.ispmail.ntl.com [81.103.221.56])
	by mx1.freebsd.org (Postfix) with ESMTP id EFDEC13C45D
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Sep 2007 10:48:38 +0000 (UTC)
	(envelope-from neil@darlow.co.uk)
Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35])
          by mtaout02-winn.ispmail.ntl.com with ESMTP
          id <20070921102706.GVUE4.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Fri, 21 Sep 2007 11:27:06 +0100
Received: from router.darlow.co.uk ([80.6.42.220])
          by aamtaout04-winn.ispmail.ntl.com with ESMTP
          id <20070921102648.LPGQ29112.aamtaout04-winn.ispmail.ntl.com@router.darlow.co.uk>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Fri, 21 Sep 2007 11:26:48 +0100
Received: from router.darlow.co.uk (localhost [127.0.0.1])
	by router.darlow.co.uk (Postfix) with ESMTP id 01F5110320C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Sep 2007 11:26:43 +0100 (BST)
Received: by router.darlow.co.uk (Postfix, from userid 1001)
	id CD559103208; Fri, 21 Sep 2007 11:26:42 +0100 (BST)
Message-Id: <20070921102642.CD559103208@router.darlow.co.uk>
Date: Fri, 21 Sep 2007 11:26:42 +0100 (BST)
From: Neil Darlow <neil@darlow.co.uk>
Reply-To: Neil Darlow <neil@darlow.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: www/apache22: apache-2.2.6_1 build breaks for mod_authnz_ldap
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         116508
>Category:       ports
>Synopsis:       www/apache22: apache-2.2.6_1 build breaks for mod_authnz_ldap
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    clement
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 21 10:50:00 GMT 2007
>Closed-Date:    Sun Jan 20 15:10:01 UTC 2008
>Last-Modified:  Sun Jan 20 15:10:01 UTC 2008
>Originator:     Neil Darlow
>Release:        FreeBSD 6.2-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD router.darlow.co.uk 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Thu Aug 2 18:15:16 BST 2007 root@router.darlow.co.uk:/usr/obj/usr/src/sys/ROUTER i386
>Description:
I attempted to replace my WITH_XXX_MODULES=yes constructs in pkgtools.conf
with use of appropriate OPTIONS settings.
The following error occurred during the build of mod_authnz_ldap:

/usr/ports/www/apache22/work/httpd-2.2.6/srclib/apr/libtool --silent --mode=compile cc   -O2 -fno-strict-aliasing -pipe      -I/usr/ports/www/apache22/work/httpd-2.2.6/srclib/pcre -I. -I/usr/ports/www/apache22/work/httpd-2.2.6/os/unix -I/usr/ports/www/apache22/work/httpd-2.2.6/server/mpm/prefork -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/http -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/filters -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/proxy -I/usr/ports/www/apache22/work/httpd-2.2.6/include -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/generators -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/mappers -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/database -I/usr/ports/www/apache22/work/httpd-2.2.6/srclib/apr/include -I/usr/ports/www/apache22/work/httpd-2.2.6/srclib/apr-util/include -I/usr/local/include -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/proxy/../generators -I/usr/include -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/ss
 l -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/dav/main -prefer-pic -c mod_authnz_ldap.c && touch mod_authnz_ldap.slo
mod_authnz_ldap.c:40:2: #error mod_authnz_ldap requires APR-util to have LDAP support built in. To fix add --with-ldap to ./configure.
>How-To-Repeat:
mod_authnz_ldap via OPTIONS and don't use WITH_LDAP_MODULES.
>Fix:
I tried changing:

.if defined ( WITH_LDAP ) || defined ( WITH_LDAP_MODULES )

to:

.if defined ( WITH_LDAP ) || defined ( WITH_AUTHNZ_LDAP ) || defined ( WITH_LDAP_MODULES )

in www/apache22/Makefile but it doesn't help.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clement 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Sep 21 10:50:10 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116508 
State-Changed-From-To: open->analyzed 
State-Changed-By: clement 
State-Changed-When: Fri Sep 21 14:11:14 UTC 2007 
State-Changed-Why:  
The issue isn't straightforward to fix, due to conflits of include 
OPTIONS vs USE_APACHE vs b.p.m 

BTW, if you had read UPDATING, you should have noticed that OPTIONS is  
one more way to configure apache22 port. 
By adding WITHOUT_APACHE_OPTIONS to pkgtool.conf, you can go back the  
old behavior. 


Of course, thanks for the report, I'll fix it soon. 

clem 

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

From: Neil Darlow <neil@darlow.co.uk>
To: bug-followup@FreeBSD.org,  neil@darlow.co.uk
Cc:  
Subject: Re: ports/116508: www/apache22: apache-2.2.6_1 build breaks for mod_authnz_ldap
Date: Sat, 22 Sep 2007 08:38:49 +0100

 You are making an assumption that I hadn't read UPDATING. There's
 nothing in the entry that suggests OPTIONS is experimental and may break
 things.
State-Changed-From-To: analyzed->closed 
State-Changed-By: clement 
State-Changed-When: Sun Jan 20 15:09:22 UTC 2008 
State-Changed-Why:  
Already fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116508 
>Unformatted:
