Subject: security/cfs build fail
To: None <current-users@netbsd.org>
From: Dunc <dunc@lemonia.org>
List: current-users
Date: 07/02/2003 07:36:30
Hi, I have 1.6.1/i386 on my laptop. pkgsrc/security/cfs fails to build 
(recent cvs checkout). I checked the MESSAGE file, but still can't get 
it to build. Any ideas anyone??

Here is the build output

Cheers,

Dunc

===> Checking for vulnerabilities in cfs-1.4.1
===> Building for cfs-1.4.1
/usr/bin/sed	-e "s|@AWK@|/usr/bin/awk|g"					 -e "s|@MV@|/bin/mv|g"				 
  /usr/pkgsrc/security/cfs/files/unansi.sh > 
/usr/pkgsrc/security/cfs/work/cfs-1.4.1/unansi
/bin/chmod +x /usr/pkgsrc/security/cfs/work/cfs-1.4.1/unansi
cd /usr/pkgsrc/security/cfs/work/cfs-1.4.1; /usr/bin/env USETOOLS=no 
OPSYS="NetBSD" MAKE=make COMPAT="-lcompat" RPCOPTS="-b" 
MAKECONF=/dev/null USETOOLS="no" OBJECT_FMT="ELF" LDFLAGS=" 
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib" RPATH_FLAG="-R" 
WHOLE_ARCHIVE_FLAG="-Wl,--whole-archive" 
NO_WHOLE_ARCHIVE_FLAG="-Wl,--no-whole-archive" LINK_ALL_LIBGCC_HACK="" 
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R6/bin 
PREFIX=/usr/pkg LOCALBASE=/usr/pkg X11BASE=/usr/X11R6 CFLAGS="-O2 
-DPROTOTYPES=1 -DBSD44 -DANYPORT -DCFS_PORT=2049 -DSHORTLINKS 
-DHAVE_GETPASS" CPPFLAGS=" " FFLAGS="-O" X11PREFIX=/usr/X11R6 CC="cc" 
CXX="c++" CPP="cpp" BSD_INSTALL_PROGRAM="install -c -s -o root -g 
wheel -m 555"		 BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 
555"			 BSD_INSTALL_DATA="install -c -o root -g wheel -m 444"			 
BSD_INSTALL_MAN="install -c -o root -g wheel -m 444"			 
BSD_INSTALL="install"				 BSD_INSTALL_PROGRAM_DIR="in!
  stall -d -o root -g wheel -m 555"	 BSD_INSTALL_SCRIPT_DIR="install -d 
-o root -g wheel -m 555"		 BSD_INSTALL_DATA_DIR="install -d -o root -g 
wheel -m 555"		 BSD_INSTALL_MAN_DIR="install -d -o root -g wheel -m 
555" PKG_SYSCONFDIR="/usr/pkg/etc"				 /bin/sh 
/usr/pkgsrc/security/cfs/work/cfs-1.4.1/netbsd_make_with_bad_rpcgen cfs
cc -O2 -DPROTOTYPES=1 -DBSD44 -DANYPORT -DCFS_PORT=2049 -DSHORTLINKS 
-DHAVE_GETPASS -Dnfsproc_null_2_svc=nfsproc_null_2 
-Dnfsproc_getattr_2_svc=nfsproc_getattr_2 
-Dnfsproc_setattr_2_svc=nfsproc_setattr_2 
-Dnfsproc_root_2_svc=nfsproc_root_2 
-Dnfsproc_lookup_2_svc=nfsproc_lookup_2 
-Dnfsproc_readlink_2_svc=nfsproc_readlink_2 
-Dnfsproc_read_2_svc=nfsproc_read_2 
-Dnfsproc_writecache_2_svc=nfsproc_writecache_2 
-Dnfsproc_write_2_svc=nfsproc_write_2 
-Dnfsproc_create_2_svc=nfsproc_create_2 
-Dnfsproc_remove_2_svc=nfsproc_remove_2 
-Dnfsproc_rename_2_svc=nfsproc_rename_2 
-Dnfsproc_link_2_svc=nfsproc_link_2 
-Dnfsproc_symlink_2_svc=nfsproc_symlink_2 
-Dnfsproc_mkdir_2_svc=nfsproc_mkdir_2 
-Dnfsproc_rmdir_2_svc=nfsproc_rmdir_2 
-Dnfsproc_readdir_2_svc=nfsproc_readdir_2 
-Dnfsproc_statfs_2_svc=nfsproc_statfs_2  !
         -Dadmproc_null_2_svc=admproc_null_2 
-Dadmproc_attach_2_svc=admproc_attach_2 
-Dadmproc_detach_2_svc=admproc_detach_2 
-Dadmproc_null_1_svc=admproc_null_1 
-Dadmproc_attach_1_svc=admproc_attach_1 
-Dadmproc_detach_1_svc=admproc_detach_1 
-Dadmproc_ls_1_svc=admproc_ls_1                    -c cfs.c
In file included from cfs.c:42:
cfs.h:71: `NFS_FHSIZE' undeclared here (not in a function)
cfs.h:149: `NFS_MAXPATHLEN' undeclared here (not in a function)
cfs.h:149: size of array `path' has non-integer type
cfs.h:150: `NFS_MAXNAMLEN' undeclared here (not in a function)
cfs.h:150: size of array `name' has non-integer type
cfs.h:183: parse error before `roottime'
cfs.h:183: warning: data definition has no type or storage class
cfs.c: In function `main':
cfs.c:192: `NFS_PROGRAM' undeclared (first use in this function)
cfs.c:192: (Each undeclared identifier is reported only once
cfs.c:192: for each function it appears in.)
cfs.c:192: `NFS_VERSION' undeclared (first use in this function)
cfs.c:197: `ADM_PROGRAM' undeclared (first use in this function)
cfs.c:197: `ADM_VERSION' undeclared (first use in this function)
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/cfs/work/cfs-1.4.1
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/cfs
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/cfs