=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for u9fs-2.0.3 cc -g -I. -c io_std.c io_std.c:6:9: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] return write(fd, buf, count); ^ io_std.c:12:9: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] return read(fd, buf, count); ^ 2 warnings generated. cc -g -I. -c authnone.c cc -g -I. -c authrhosts.c cc -g -I. -c authp9any.c authp9any.c:18:19: warning: '/*' within block comment [-Wcomment] /* DESKEYLEN= 7, /* length of a des key for encrypt/decrypt */ ^ authp9any.c:305:11: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if((fd = open(af, OREAD)) < 0) ^ authp9any.c:306:3: warning: implicit declaration of function 'sysfatal' is invalid in C99 [-Wimplicit-function-declaration] sysfatal("can't open key file '%s'", af); ^ authp9any.c:528:23: warning: 'memset' call operates on objects of type 'AuthSession' (aka 'struct AuthSession') while the size is based on a different type 'AuthSession *' (aka 'struct AuthSession *') [-Wsizeof-pointer-memaccess] memset(sp, 0, sizeof(sp)); ~~ ^~ authp9any.c:528:23: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(sp, 0, sizeof(sp)); ^~ 4 warnings generated. cc -g -I. -c convD2M.c cc -g -I. -c convM2D.c cc -g -I. -c convM2S.c cc -g -I. -c convS2M.c cc -g -I. -c des.c cc -g -I. -c dirmodeconv.c cc -g -I. -c doprint.c cc -g -I. -c fcallconv.c cc -g -I. -c oldfcall.c cc -g -I. -c print.c cc -g -I. -c random.c cc -g -I. -c readn.c cc -g -I. -c remotehost.c cc -g -I. -c rune.c cc -g -I. -c safecpy.c cc -g -I. -c strecpy.c cc -g -I. -c tokenize.c tokenize.c:21:6: warning: implicit declaration of function 'utfrune' is invalid in C99 [-Wimplicit-function-declaration] if(utfrune(set, r)) { ^ 1 warning generated. cc -g -I. -c u9fs.c u9fs.c:765:19: warning: implicit declaration of function 'MAJOR' is invalid in C99 [-Wimplicit-function-declaration] int majordev = MAJOR(st->st_rdev); ^ u9fs.c:766:19: warning: implicit declaration of function 'MINOR' is invalid in C99 [-Wimplicit-function-declaration] int minordev = MINOR(st->st_rdev); ^ u9fs.c:1068:33: warning: implicit declaration of function 'MKDEV' is invalid in C99 [-Wimplicit-function-declaration] if ( mknod(fid->path, d.mode, MKDEV(major, minor))<0) { ^ u9fs.c:1111:6: warning: implicit declaration of function 'groupchange' is invalid in C99 [-Wimplicit-function-declaration] if(groupchange(fid->u, gid2user(gid), &e) < 0){ ^ u9fs.c:1218:13: warning: passing 'unsigned char [9]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(c, "%08x", u->id); ^ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ u9fs.c:1219:23: warning: passing 'unsigned char [9]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u->name = estrdup(c); ^ u9fs.c:86:20: note: passing argument to parameter here char* estrdup(char*); ^ u9fs.c:1279:13: warning: passing 'unsigned char [9]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(c, "%08x", g->gr_gid); ^ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ u9fs.c:1280:23: warning: passing 'unsigned char [9]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u->name = estrdup(c); ^ u9fs.c:86:20: note: passing argument to parameter here char* estrdup(char*); ^ u9fs.c:1554:5: warning: implicit declaration of function 'setreuid' is invalid in C99 [-Wimplicit-function-declaration] if(setreuid(0, 0) < 0){ ^ u9fs.c:1604:5: warning: implicit declaration of function 'setregid' is invalid in C99 [-Wimplicit-function-declaration] if(setregid(-1, g->id) < 0){ ^ u9fs.c:2001:3: warning: implicit declaration of function 'getremotehostname' is invalid in C99 [-Wimplicit-function-declaration] getremotehostname(remotehostname, sizeof remotehostname); ^ 11 warnings generated. cc -g -I. -c utfrune.c cc -Wl,-R/usr/pkg/lib -o u9fs io_std.o authnone.o authrhosts.o authp9any.o convD2M.o convM2D.o convM2S.o convS2M.o des.o dirmodeconv.o doprint.o fcallconv.o oldfcall.o print.o random.o readn.o remotehost.o rune.o safecpy.o strecpy.o tokenize.o u9fs.o utfrune.o u9fs.o: In function `rwstat': /usr/pkgsrc/work/filesystems/u9fs/work/u9fs/u9fs.c:1068: undefined reference to `MKDEV' u9fs.o: In function `stat2dir': /usr/pkgsrc/work/filesystems/u9fs/work/u9fs/u9fs.c:765: undefined reference to `MAJOR' /usr/pkgsrc/work/filesystems/u9fs/work/u9fs/u9fs.c:766: undefined reference to `MINOR' /usr/pkgsrc/work/filesystems/u9fs/work/u9fs/u9fs.c:771: undefined reference to `MAJOR' /usr/pkgsrc/work/filesystems/u9fs/work/u9fs/u9fs.c:771: undefined reference to `MINOR' u9fs.o: In function `userchange': /usr/pkgsrc/work/filesystems/u9fs/work/u9fs/u9fs.c:1554: undefined reference to `setreuid' /usr/pkgsrc/work/filesystems/u9fs/work/u9fs/u9fs.c:1572: undefined reference to `setreuid' u9fs.o: In function `groupchange': /usr/pkgsrc/work/filesystems/u9fs/work/u9fs/u9fs.c:1603: undefined reference to `setreuid' /usr/pkgsrc/work/filesystems/u9fs/work/u9fs/u9fs.c:1604: undefined reference to `setregid' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/filesystems/u9fs/work/u9fs *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/filesystems/u9fs *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/filesystems/u9fs