Date: Tue, 18 Jul 2006 20:13:40 +0900 (JST) From: Keishiro OHKOSHI <ohkoshi@mua.biglobe.ne.jp> To: gnome@FreeBSD.org Subject: [devel/nspr] and MFC'ed netdb.h on RELENG_6 Message-ID: <20060718.201340.193723393.ohkoshi@mua.biglobe.ne.jp>
next in thread | raw e-mail | index | archive | help
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 <ohkoshi@mua.biglobe.ne.jp> Tokyo, Japan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060718.201340.193723393.ohkoshi>