Date: Mon, 08 Oct 2001 19:29:13 +0900 From: Motoyuki Konno <motoyuki@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: Carl Schmidt <carl@slackerbsd.org>, freebsd-ports@hub.freebsd.org Subject: Re: ports/30899: build of lang/pm3-base failure on -current Message-ID: <200110081029.f98ATDn02294@sakura.mk.bsdclub.org> References: <200109282305.f8SN5XG89023@lappy.slackerbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Multipart_Mon_Oct__8_19:29:13_2001-1 Content-Type: text/plain; charset=US-ASCII Hi, This error caused by the NFS changes (NFS -> NFSSERVER + NFSCLIENT). Apply the patch I enclose Replace the ports/lang/pm3-base/files/patch-l[12] files with the patch I enclose with this mail. Carl Schmidt <carl@slackerbsd.org> wrote: : >Number: 30899 : >Category: ports : >Synopsis: build of lang/pm3-base failure on -current : >Confidential: no : >Severity: serious : >Priority: medium : >Responsible: freebsd-ports : >State: open : >Quarter: : >Keywords: : >Date-Required: : >Class: sw-bug : >Submitter-Id: current-users : >Arrival-Date: Fri Sep 28 16:30:01 PDT 2001 : >Closed-Date: : : >Description: : Building the cvsup-devel port requires lang/pm3-base which is failing to build on -CURRENT. : : In file included from RTHeapDepC.c:101: : /usr/include/nfs/nfs.h:207: syntax error before `NFSKERBKEY_T' : /usr/include/nfs/nfs.h:218: syntax error before `NFSKERBKEY_T' : gmake[1]: *** [RTHeapDepC.o] Error 1 : gmake[1]: Leaving directory : `/usr/ports/lang/pm3-base/work/pm3-1.1.15/boot-FreeBSD4/m3core/FreeBSD4' : gmake: *** [boot] Error 2 --Multipart_Mon_Oct__8_19:29:13_2001-1 Content-Type: text/plain; charset=US-ASCII --- lang/pm3-base/old/patch-l1 Sun Jul 22 06:07:55 2001 +++ lang/pm3-base/files/patch-l1 Fri Oct 5 18:45:50 2001 @@ -1,6 +1,18 @@ ---- libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c.old Thu Jun 1 02:54:33 2000 -+++ libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c Tue Jun 12 14:07:31 2001 -@@ -693,7 +693,9 @@ +--- libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c.old Thu Jun 1 02:54:33 2000 ++++ libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c Fri Oct 5 18:40:13 2001 +@@ -98,7 +98,11 @@ + #include <sys/time.h> + #include <nfs/rpcv2.h> + #include <nfs/nfsproto.h> ++#if __FreeBSD_version >= 500023 ++#include <nfsclient/nfs.h> ++#else + #include <nfs/nfs.h> ++#endif + #include <ufs/ufs/ufsmount.h> + #endif + +@@ -693,7 +697,9 @@ void *data; { int result; struct ufs_args *u_data; @@ -10,7 +22,7 @@ struct nfs_args *n_data; ENTER_CRITICAL; -@@ -704,11 +706,13 @@ +@@ -704,11 +710,13 @@ MAKE_READABLE(u_data); MAKE_READABLE(u_data->fspec); result = syscall(SYS_mount, type, dir, flags, data); --- lang/pm3-base/old/patch-l2 Tue Sep 11 07:12:09 2001 +++ lang/pm3-base/files/patch-l2 Fri Oct 5 18:45:58 2001 @@ -1,6 +1,18 @@ ---- libs/m3core/src/runtime/FBSD_ALPHA/RTHeapDepC.c.old Thu Jun 1 02:54:33 2000 -+++ libs/m3core/src/runtime/FBSD_ALPHA/RTHeapDepC.c Tue Jun 12 14:07:31 2001 -@@ -693,7 +693,9 @@ +--- libs/m3core/src/runtime/FBSD_ALPHA/RTHeapDepC.c.old Thu Jun 1 02:54:24 2000 ++++ libs/m3core/src/runtime/FBSD_ALPHA/RTHeapDepC.c Fri Oct 5 18:40:48 2001 +@@ -98,7 +98,11 @@ + #include <sys/time.h> + #include <nfs/rpcv2.h> + #include <nfs/nfsproto.h> ++#if __FreeBSD_version >= 500023 ++#include <nfsclient/nfs.h> ++#else + #include <nfs/nfs.h> ++#endif + #include <ufs/ufs/ufsmount.h> + #endif + +@@ -693,7 +697,9 @@ void *data; { int result; struct ufs_args *u_data; @@ -10,7 +22,7 @@ struct nfs_args *n_data; ENTER_CRITICAL; -@@ -704,11 +706,13 @@ +@@ -704,11 +710,13 @@ MAKE_READABLE(u_data); MAKE_READABLE(u_data->fspec); result = syscall(SYS_mount, type, dir, flags, data); --Multipart_Mon_Oct__8_19:29:13_2001-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110081029.f98ATDn02294>