www/mozilla & devel/nspr conflict with bind-base-8.3.7.

Thierry Thomas thierry at pompo.net
Thu Jan 22 15:53:25 PST 2004


>Submitter-Id:	current-users
>Originator:	Thierry Thomas
>Organization:	Kabbale Eros
>Confidential:	no 
>Synopsis:	www/mozilla & devel/nspr conflict with bind-base-8.3.7.
>Severity:	non-critical
>Priority:	medium
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 4.9-STABLE i386
>Environment:
System: FreeBSD graf.pompo.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Nov 20 23:06:13 CET 2003 thierry at 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!).



More information about the freebsd-gnome mailing list