+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/unfs3-0.9.22nb2/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/unfs3-0.9.22nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for unfs3-0.9.22nb2 cd /home/pbulk/build/net/unfs3/work/unfs3-0.9.22/Config && /usr/pkg/bin/bmake clean rm -f lex.yy.o y.tab.o lib.a rm -f lex.yy.c y.tab.h y.tab.c --- subdirs --- for i in Config; do cd $i; make all; cd ..; done --- y.tab.c --- --- lex.yy.c --- --- y.tab.c --- /usr/pkg/bin/bison -y -d exports.y --- lex.yy.c --- flex exports.l --- y.tab.h --- /usr/pkg/bin/bison -y -d exports.y --- y.tab.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -c y.tab.c --- lex.yy.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -c lex.yy.c lex.yy.c:1264:16: warning: 'input' defined but not used [-Wunused-function] 1264 | #else | ^ --- lib.a --- ar crs lib.a lex.yy.o y.tab.o --- attr.o --- --- daemon.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c daemon.c --- attr.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c attr.c --- daemon.o --- daemon.c: In function 'nfs3_program_3': daemon.c:403:22: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, const void *)' {aka 'int (*)(XDR *, const void *)'} [-Wcast-function-type] 403 | _xdr_argument = (xdrproc_t) xdr_void; | ^ daemon.c:404:20: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, const void *)' {aka 'int (*)(XDR *, const void *)'} [-Wcast-function-type] 404 | _xdr_result = (xdrproc_t) xdr_void; | ^ daemon.c: In function 'mountprog_3': daemon.c:591:22: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, const void *)' {aka 'int (*)(XDR *, const void *)'} [-Wcast-function-type] 591 | _xdr_argument = (xdrproc_t) xdr_void; | ^ daemon.c:592:20: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, const void *)' {aka 'int (*)(XDR *, const void *)'} [-Wcast-function-type] 592 | _xdr_result = (xdrproc_t) xdr_void; | ^ daemon.c:604:22: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, const void *)' {aka 'int (*)(XDR *, const void *)'} [-Wcast-function-type] 604 | _xdr_argument = (xdrproc_t) xdr_void; | ^ daemon.c:612:20: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, const void *)' {aka 'int (*)(XDR *, const void *)'} [-Wcast-function-type] 612 | _xdr_result = (xdrproc_t) xdr_void; | ^ daemon.c:618:22: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, const void *)' {aka 'int (*)(XDR *, const void *)'} [-Wcast-function-type] 618 | _xdr_argument = (xdrproc_t) xdr_void; | ^ daemon.c:619:20: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, const void *)' {aka 'int (*)(XDR *, const void *)'} [-Wcast-function-type] 619 | _xdr_result = (xdrproc_t) xdr_void; | ^ daemon.c:625:22: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, const void *)' {aka 'int (*)(XDR *, const void *)'} [-Wcast-function-type] 625 | _xdr_argument = (xdrproc_t) xdr_void; | ^ --- error.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c error.c --- fd_cache.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c fd_cache.c --- fh.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c fh.c --- fh_cache.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c fh_cache.c --- locate.o --- --- md5.o --- --- locate.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c locate.c --- md5.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c md5.c --- mount.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c mount.c --- nfs.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c nfs.c --- mount.o --- In file included from /usr/include/string.h:127, from mount.c:15: mount.c: In function 'mountproc_mnt_3_svc': mount.c:208:2: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 208 | strncpy(buf, dpath, PATH_MAX); | ^~~~~~~ --- password.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c password.c --- readdir.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c readdir.c --- user.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c user.c user.c: In function 'switch_groups': user.c:184:39: warning: pointer targets in passing argument 2 of 'setgroups' differ in signedness [-Wpointer-sign] 184 | return backend_setgroups(max, auth->aup_gids); | ~~~~^~~~~~~~~~ | | | int * In file included from user.c:14: /usr/include/unistd.h:380:21: note: expected 'const __gid_t *' {aka 'const unsigned int *'} but argument is of type 'int *' 380 | int setgroups(int, const gid_t *); | ^~~~~~~~~~~~~ --- xdr.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c xdr.c --- winsupport.o --- cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -W -D_GNU_SOURCE -c winsupport.c --- unfsd --- cc -o unfsd attr.o daemon.o error.o fd_cache.o fh.o fh_cache.o locate.o md5.o mount.o nfs.o password.o readdir.o user.o xdr.o winsupport.o Config/lib.a -L/usr/ucblib -R/usr/ucblib -Wl,-zrelro -Wl,-R/usr/pkg/lib -lfl ld: attr.o: in function `get_post_buf': attr.c:(.text+0x358): undefined reference to `exports_opts' ld: attr.c:(.text+0x487): undefined reference to `export_fsid' ld: daemon.o: in function `daemon_exit': daemon.c:(.text+0x18a): undefined reference to `exports_parse' ld: daemon.o: in function `main': daemon.c:(.text.startup+0x3ab): undefined reference to `exports_parse' ld: daemon.c:(.text.startup+0x6b3): undefined reference to `exports_parse' ld: fh.o: in function `fh_comp_raw': fh.c:(.text+0x291): undefined reference to `export_point' ld: fh.c:(.text+0x4d2): undefined reference to `exports_options' ld: fh.c:(.text+0x4de): undefined reference to `exports_opts' ld: fh.o: in function `fh_extend': fh.c:(.text+0x600): undefined reference to `export_password_hash' ld: fh.c:(.text+0x679): undefined reference to `export_point_from_fsid' ld: fh_cache.o: in function `fh_decomp': fh_cache.c:(.text+0x14c): undefined reference to `export_point_from_fsid' ld: fh_cache.o: in function `fh_comp': fh_cache.c:(.text+0x4d5): undefined reference to `export_password_hash' ld: mount.o: in function `mountproc_mnt_3_svc': mount.c:(.text+0x180): undefined reference to `exports_opts' ld: mount.c:(.text+0x18e): undefined reference to `export_point' ld: mount.c:(.text+0x1c5): undefined reference to `exports_options' ld: mount.c:(.text+0x460): undefined reference to `exports_options' ld: mount.c:(.text+0x55d): undefined reference to `exports_options' ld: mount.o: in function `mountproc_export_3_svc': mount.c:(.text+0x69e): undefined reference to `exports_nfslist' ld: nfs.o: in function `nfsproc3_getattr_3_svc': nfs.c:(.text+0x156): undefined reference to `exports_options' ld: nfs.c:(.text+0x162): undefined reference to `export_password_hash' ld: nfs.o: in function `nfsproc3_setattr_3_svc': nfs.c:(.text+0x23f): undefined reference to `exports_options' ld: nfs.c:(.text+0x24f): undefined reference to `export_password_hash' ld: nfs.c:(.text+0x272): undefined reference to `exports_rw' ld: nfs.o: in function `nfsproc3_lookup_3_svc': nfs.c:(.text+0x473): undefined reference to `exports_options' ld: nfs.c:(.text+0x483): undefined reference to `export_password_hash' ld: nfs.o: in function `nfsproc3_access_3_svc': nfs.c:(.text+0x6a3): undefined reference to `exports_options' ld: nfs.c:(.text+0x6b3): undefined reference to `export_password_hash' ld: nfs.o: in function `nfsproc3_readlink_3_svc': nfs.c:(.text+0x87d): undefined reference to `exports_options' ld: nfs.c:(.text+0x88d): undefined reference to `export_password_hash' ld: nfs.o: in function `nfsproc3_read_3_svc': nfs.c:(.text+0x9cf): undefined reference to `exports_options' ld: nfs.c:(.text+0x9df): undefined reference to `export_password_hash' ld: nfs.o: in function `nfsproc3_write_3_svc': nfs.c:(.text+0xbf8): undefined reference to `exports_options' ld: nfs.c:(.text+0xc08): undefined reference to `export_password_hash' ld: nfs.c:(.text+0xc22): undefined reference to `exports_rw' ld: nfs.o: in function `nfsproc3_create_3_svc': nfs.c:(.text+0xe4a): undefined reference to `exports_options' ld: nfs.c:(.text+0xe5a): undefined reference to `export_password_hash' ld: nfs.c:(.text+0xea7): undefined reference to `exports_rw' ld: nfs.o: in function `nfsproc3_mkdir_3_svc': nfs.c:(.text+0x151a): undefined reference to `exports_options' ld: nfs.c:(.text+0x152a): undefined reference to `export_password_hash' ld: nfs.c:(.text+0x1550): undefined reference to `exports_rw' ld: nfs.o: in function `nfsproc3_symlink_3_svc': nfs.c:(.text+0x185a): undefined reference to `exports_options' ld: nfs.c:(.text+0x186a): undefined reference to `export_password_hash' ld: nfs.c:(.text+0x1890): undefined reference to `exports_rw' ld: nfs.o: in function `nfsproc3_mknod_3_svc': nfs.c:(.text+0x1bce): undefined reference to `exports_options' ld: nfs.c:(.text+0x1bde): undefined reference to `export_password_hash' ld: nfs.c:(.text+0x1c37): undefined reference to `exports_rw' ld: nfs.o: in function `nfsproc3_remove_3_svc': nfs.c:(.text+0x244d): undefined reference to `exports_options' ld: nfs.c:(.text+0x245d): undefined reference to `export_password_hash' ld: nfs.c:(.text+0x2477): undefined reference to `exports_rw' ld: nfs.o: in function `nfsproc3_rmdir_3_svc': nfs.c:(.text+0x25fb): undefined reference to `exports_options' ld: nfs.c:(.text+0x260b): undefined reference to `export_password_hash' ld: nfs.c:(.text+0x2625): undefined reference to `exports_rw' ld: nfs.o: in function `nfsproc3_rename_3_svc': nfs.c:(.text+0x27a9): undefined reference to `exports_options' ld: nfs.c:(.text+0x27b9): undefined reference to `export_password_hash' ld: nfs.c:(.text+0x27df): undefined reference to `exports_rw' ld: nfs.c:(.text+0x2967): undefined reference to `exports_compat' ld: nfs.o: in function `nfsproc3_link_3_svc': nfs.c:(.text+0x2a48): undefined reference to `exports_options' ld: nfs.c:(.text+0x2a58): undefined reference to `export_password_hash' ld: nfs.c:(.text+0x2a7e): undefined reference to `exports_rw' ld: nfs.c:(.text+0x2bd1): undefined reference to `exports_compat' ld: nfs.o: in function `nfsproc3_readdir_3_svc': nfs.c:(.text+0x2c52): undefined reference to `exports_options' ld: nfs.c:(.text+0x2c62): undefined reference to `export_password_hash' ld: nfs.o: in function `nfsproc3_fsstat_3_svc': nfs.c:(.text+0x2d89): undefined reference to `exports_options' ld: nfs.c:(.text+0x2d99): undefined reference to `export_password_hash' ld: nfs.c:(.text+0x2e9d): undefined reference to `exports_opts' ld: nfs.c:(.text+0x2edb): undefined reference to `export_point' ld: nfs.o: in function `nfsproc3_fsinfo_3_svc': nfs.c:(.text+0x2f95): undefined reference to `exports_options' ld: nfs.c:(.text+0x2fa5): undefined reference to `export_password_hash' ld: nfs.o: in function `nfsproc3_pathconf_3_svc': nfs.c:(.text+0x30f1): undefined reference to `exports_options' ld: nfs.c:(.text+0x3101): undefined reference to `export_password_hash' ld: nfs.o: in function `nfsproc3_commit_3_svc': nfs.c:(.text+0x320e): undefined reference to `exports_options' ld: nfs.c:(.text+0x321e): undefined reference to `export_password_hash' ld: nfs.c:(.text+0x3238): undefined reference to `exports_rw' ld: readdir.o: in function `directory_hash': readdir.c:(.text+0x22): undefined reference to `fnv1a_32' ld: readdir.o: in function `read_dir': readdir.c:(.text+0xc2): undefined reference to `exports_opts' ld: readdir.c:(.text+0xcf): undefined reference to `export_point' ld: user.o: in function `mangle_uid': user.c:(.text+0x5b): undefined reference to `exports_anonuid' ld: user.c:(.text+0x7b): undefined reference to `exports_opts' ld: user.c:(.text+0x96): undefined reference to `exports_anonuid' ld: user.o: in function `mangle_gid': user.c:(.text+0xad): undefined reference to `exports_anongid' ld: user.c:(.text+0xcd): undefined reference to `exports_opts' ld: user.c:(.text+0xe8): undefined reference to `exports_anongid' ld: user.o: in function `get_uid': user.c:(.text+0x10a): undefined reference to `exports_anonuid' ld: user.c:(.text+0x130): undefined reference to `exports_anonuid' ld: user.c:(.text+0x14b): undefined reference to `exports_opts' ld: user.o: in function `has_group': user.c:(.text+0x1ba): undefined reference to `exports_opts' ld: user.c:(.text+0x1e1): undefined reference to `exports_opts' ld: user.o: in function `switch_user': user.c:(.text+0x2cb): undefined reference to `exports_anongid' ld: user.c:(.text+0x32c): undefined reference to `exports_opts' ld: user.c:(.text+0x3d6): undefined reference to `exports_anongid' ld: user.c:(.text+0x3fa): undefined reference to `exports_opts' *** [unfsd] Error code 1 bmake: stopped in /home/pbulk/build/net/unfs3/work/unfs3-0.9.22 1 error bmake: stopped in /home/pbulk/build/net/unfs3/work/unfs3-0.9.22 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/net/unfs3 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/net/unfs3