From thierry@pompo.net  Thu Jan 22 15:53:25 2004
Return-Path: <thierry@pompo.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 810A916A4CE; Thu, 22 Jan 2004 15:53:25 -0800 (PST)
Received: from graf.pompo.net (graf.pompo.net [81.56.186.139])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 4FE6243D2F; Thu, 22 Jan 2004 15:53:24 -0800 (PST)
	(envelope-from thierry@pompo.net)
Received: by graf.pompo.net (Postfix, from userid 1001)
	id 169DB750E; Fri, 23 Jan 2004 00:49:31 +0100 (CET)
Message-Id: <20040122234931.169DB750E@graf.pompo.net>
Date: Fri, 23 Jan 2004 00:49:31 +0100 (CET)
From: Thierry Thomas <thierry@pompo.net>
Reply-To: Thierry Thomas <thierry@pompo.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gnome@FreeBSD.org
Subject: www/mozilla & devel/nspr conflict with bind-base-8.3.7.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         61756
>Category:       ports
>Synopsis:       www/mozilla & devel/nspr conflict with bind-base-8.3.7.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 22 16:00:24 PST 2004
>Closed-Date:    Thu Mar 18 19:23:27 PST 2004
>Last-Modified:  Thu Mar 18 19:23:27 PST 2004
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Nov 20 23:06:13 CET 2003 thierry@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	www/mozilla, www/mozilla-gtk2 & devel/nspr don't build if dns/bind8
	is installed with the option PORT_REPLACES_BASE_BIND8: in this case,
	/usr/include/netdb.h is replaced by an uncompatible file, and you get
	this kind of error:

cc -o prnetdb.o -c    -O -pipe -march=pentiumpro -O2 -pipe  -ansi -Wall -O2 -fPIC  -UDEBUG  -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -DFREEBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_REENTRANT=1 -D_THREAD_SAFE=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I/mntports/ports/www/mozilla-gtk2/work/mozilla/dist/include/nspr -I../../../pr/include -I../../../pr/include/private  prnetdb.c
prnetdb.c:1180: conflicting types for `getprotobyname_r'
/usr/include/netdb.h:457: previous declaration of `getprotobyname_r'
prnetdb.c:1189: conflicting types for `getprotobynumber_r'
/usr/include/netdb.h:459: previous declaration of `getprotobynumber_r'
gmake[5]: *** [prnetdb.o] Erreur 1

>How-To-Repeat:
	- install bind-base-8.3.7;
	- try to build www/mozilla or devel/nspr.

>Fix:
	I don't know exactly...

	- Q&D way: just define a CONFLICT between these ports...

	- "right way": nsprpub/configure already tries to define several
	_PR_HAVE_GETPROTO_R, but it is not precise enough, and should be
	patched (but I have not built this patch!).

>Release-Note:
>Audit-Trail:

From: Thierry Thomas <thierry@pompo.net>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: gnome@FreeBSD.org
Subject: Re: ports/61756: www/mozilla & devel/nspr conflict with bind-base-8.3.7.
Date: Fri, 23 Jan 2004 07:33:07 +0100

 Le Ven 23 jan 04   0:49:31 +0100, Thierry Thomas <thierry@pompo.net>
  crivait:
 > 
 > >Number:         61756
 > >Category:       ports
 > >Synopsis:       www/mozilla & devel/nspr conflict with bind-base-8.3.7.
 
 Just a related remark:
 
 - we often install a JDK and Mozilla on a same machine;
 - the ports java/jdk* depend on devel/nspr;
 - Mozilla ports build their own nspr.
 
 Would'nt it be safer to let mozilla depend on the external devel/nspr?
 (mozilla's configure accepts knobs to trigger that)
 
 Regards,
 -- 
 Th. Thomas.

Adding to audit trail from misfiled PR ports/61769 by
Christer Solskogen <solskogen@carebears.mine.nu>:

Pretty OT but this also happens when trying to compile MySQL using the
same settings. So, it aint just mozilla that is affected.
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Jan 23 00:18:16 PST 2004 
Responsible-Changed-Why:  
gnome is shown as the maintainer of www/mozilla. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61756 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Thu Mar 18 19:22:58 PST 2004 
State-Changed-Why:  
These ports will now error out with an informative message if bind has been 
installed with PORT_REPLACES_BASE_BIND defined. 

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