From nobody@FreeBSD.org  Sun Jun 28 03:20:31 2009
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 C1A23106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Jun 2009 03:20: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 AF3C58FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Jun 2009 03:20:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5S3KVYg010698
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Jun 2009 03:20:31 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n5S3KVgM010697;
	Sun, 28 Jun 2009 03:20:31 GMT
	(envelope-from nobody)
Message-Id: <200906280320.n5S3KVgM010697@www.freebsd.org>
Date: Sun, 28 Jun 2009 03:20:31 GMT
From: Rob Austein <sra@hactrn.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: bsd.gecko.mk PORT_REPLACES_BASE_BIND check causes grautitous failures
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         136111
>Category:       ports
>Synopsis:       Mk/bsd.gecko.mk PORT_REPLACES_BASE_BIND check causes grautitous failures
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beat
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 28 03:30:04 UTC 2009
>Closed-Date:    Sat Jul 11 06:42:25 UTC 2009
>Last-Modified:  Sat Jul 11 06:50:00 UTC 2009
>Originator:     Rob Austein
>Release:        6.4-STABLE
>Organization:
>Environment:
FreeBSD thrintun.hactrn.net 6.4-STABLE FreeBSD 6.4-STABLE #43: Wed Jun 10 09:03:37 EDT 2009     sra@thrintun.hactrn.net:/usr/obj/usr/src/sys/THRINTUN  i386

>Description:
/usr/ports/Mk/bsd.gecko.mk includes a check for bind ports installed in overwrite-base mode, and refuses to build if they are installed.  In my experience, this check is completely bogus, and the only build problem I see is that I have to comment out this freaking test every time I csup my ports tree.

I don't know what problem this was intended to solve, but from where I'm standing it's just a gratuitous failure.  Please consider removing it.

If there is a real problem here, please consider reporting it to the BIND ports maintainer (or to ISC, if you think it's a BIND bug).
>How-To-Repeat:
Install bind96-base* port, then try to build firefox, thunderbird, etc.  Then comment out the silly check and watch the compilation succeed.
>Fix:
Remove the silly check:

--- bsd.gecko.mk.~1~	2009-05-04 15:23:41.000000000 -0400
+++ bsd.gecko.mk	2009-06-27 22:50:59.000000000 -0400
@@ -532,10 +532,10 @@
 	@${REINPLACE_CMD} -e 's|/usr/local/netscape|${LOCALBASE}|g ; \
 		s|/usr/local/lib/netscape|${LOCALBASE}/lib|g' \
 		${WRKSRC}/xpcom/*/SpecialSystemDirectory.cpp
-	@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
-		${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \
-		${FALSE}; \
-	fi
+#	@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
+#		${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \
+#		${FALSE}; \
+#	fi
 
 # handles mozilla pis scripts.
 gecko-moz-pis-patch:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gecko 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jun 28 03:49:42 UTC 2009 
Responsible-Changed-Why:  
bsd.gecko.mk is gecko territory (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136111 
Responsible-Changed-From-To: gecko->beat 
Responsible-Changed-By: beat 
Responsible-Changed-When: Sat Jul 11 06:33:53 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136111 
State-Changed-From-To: open->closed 
State-Changed-By: beat 
State-Changed-When: Sat Jul 11 06:42:24 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/136111: commit references a PR
Date: Sat, 11 Jul 2009 06:42:04 +0000 (UTC)

 beat        2009-07-11 06:41:55 UTC
 
   FreeBSD ports repository
 
   Modified files:
     Mk                   bsd.gecko.mk 
   Log:
   - Remove obsolete check if BIND port was installed with WITH_REPLACE_BASE.
     These ports used to cause linker errors but this is not longer the case
     with current BIND ports. Tested with dns/bind9 and dns/bind96.
   
   PR:             ports/136111
   Submitted by:   Rob Austein <sra AT hactrn.net>
   With hat:       gecko
   
   Revision  Changes    Path
   1.13      +1 -5      ports/Mk/bsd.gecko.mk
 _______________________________________________
 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:
