From owner-freebsd-gnome@FreeBSD.ORG Tue Jul 18 11:13:52 2006 Return-Path: X-Original-To: gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00BA816A4DF for ; Tue, 18 Jul 2006 11:13:52 +0000 (UTC) (envelope-from ohkoshi@mua.biglobe.ne.jp) Received: from rcpt-expgw.biglobe.ne.jp (rcpt-expgw.biglobe.ne.jp [202.225.89.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 421D943D64 for ; Tue, 18 Jul 2006 11:13:45 +0000 (GMT) (envelope-from ohkoshi@mua.biglobe.ne.jp) Received: from smtp-gw.biglobe.ne.jp by rcpt-expgw.biglobe.ne.jp (mssh/3820010406) with SMTP id k6IBDicK029745 for ; Tue, 18 Jul 2006 20:13:44 +0900 (JST) X-Biglobe-Sender: Received: from localhost (219.0.224.111 [219.0.224.111]) by smtp-gw.biglobe.ne.jp id UDBDC0A82757; Tue, 18 Jul 2006 20:13:44 +0900 (JST) Date: Tue, 18 Jul 2006 20:13:40 +0900 (JST) Message-Id: <20060718.201340.193723393.ohkoshi@mua.biglobe.ne.jp> To: gnome@FreeBSD.org From: Keishiro OHKOSHI X-Mailer: Mew version 5.1rc1 on Emacs 22.0.50 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Biglobe-VirusCheck: Tue, 18 Jul 2006 20:13:44 +0900 Cc: Subject: [devel/nspr] and MFC'ed netdb.h on RELENG_6 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 11:13:52 -0000 Dear maintainer of the port devel/nspr, Kon'nichiwa. Unfortunately the port was not built successfully on today's RELENG_6: > cc -o prnetdb.o -c -O -pipe -march=athlon-xp -pipe -fPIC -UDEBUG -DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DXP_UNIX=1 -DFREEBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=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../../../dist/include/nspr -I../../.././../pr/include -I../../.././../pr/include/private ../../.././../pr/src/misc/prnetdb.c > ../../.././../pr/src/misc/prnetdb.c:1183: error: conflicting types for 'getprotobyname_r' > /usr/include/netdb.h:249: error: previous declaration of 'getprotobyname_r' was here > ../../.././../pr/src/misc/prnetdb.c:1183: error: conflicting types for 'getprotobyname_r' > /usr/include/netdb.h:249: error: previous declaration of 'getprotobyname_r' was here > ../../.././../pr/src/misc/prnetdb.c:1192: error: conflicting types for 'getprotobynumber_r' > /usr/include/netdb.h:252: error: previous declaration of 'getprotobynumber_r' was here > ../../.././../pr/src/misc/prnetdb.c:1192: error: conflicting types for 'getprotobynumber_r' > /usr/include/netdb.h:252: error: previous declaration of 'getprotobynumber_r' was here > gmake[3]: *** [prnetdb.o] Error 1 > gmake[3]: Leaving directory `/usr/ports/devel/nspr/work/nspr-4.6.1/mozilla/nsprpub/build/pr/src/misc' > gmake[2]: *** [export] Error 2 > gmake[2]: Leaving directory `/usr/ports/devel/nspr/work/nspr-4.6.1/mozilla/nsprpub/build/pr/src' > gmake[1]: *** [export] Error 2 > gmake[1]: Leaving directory `/usr/ports/devel/nspr/work/nspr-4.6.1/mozilla/nsprpub/build/pr' > gmake: *** [export] Error 2 > *** Error code 2 > > Stop in /usr/ports/devel/nspr. According to CVS log, RELENG_6 src/include/netdb.h was MFC'd yesterday, where the definition of getprotoby--- was taken in. http://www.freebsd.org/cgi/cvsweb.cgi/src/include/netdb.h.diff?r1=1.38.2.1&r2=1.38.2.2&f=h I followed the fix for Current. File : /usr/ports/devel/nspr/files/patch-.._pr_include_md__freebsd.h Line 7: +#if __FreeBSD_version >= 700016 When I used my value 601103 instead, building and 'make test' seemed both successful. Would you please check this. Thanks in advance. Yours, ------------------------------------------------------------------- OHKOSHI Keishiro Tokyo, Japan