=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for samba-3.6.25nb48 Using CFLAGS = -O2 -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include -I. -I/pbulk/work/net/samba/work/samba-3.6.25/source3 -I/pbulk/work/net/samba/work/samba-3.6.25/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. -I./../lib/talloc -I./../lib/tevent -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/pkg/include -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED -I/pbulk/work/net/samba/work/samba-3.6.25/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG = -fPIC -DPIC LIBS = -lresolv -lresolv -lexecinfo -lintl mkdir bin LDFLAGS = -pie -Wl,-z,relro -Wl,-zrelro -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L./bin Compiling ../lib/talloc/talloc.c DYNEXP = -Wl,--export-dynamic Compiling ../lib/replace/snprintf.c Compiling ../lib/replace/getpass.c Compiling ../lib/replace/replace.c LDSHFLAGS = -fPIC -DPIC -shared -Wl,-z,relro -Wl,-zrelro -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L./bin -lc -Wl,-z,defs SHLIBEXT = so SONAMEFLAG = -Wl,-soname, Compiling dynconfig.c Compiling ../lib/replace/strptime.c creating /pbulk/work/net/samba/work/samba-3.6.25/source3/exports/libtalloc.syms Compiling param/loadparm.c Compiling param/loadparm_server_role.c Compiling param/util.c Compiling lib/sharesec.c Compiling lib/ldap_debug_handler.c Compiling smbd/server_reload.c Compiling smbd/files.c Compiling smbd/connection.c Compiling smbd/utmp.c Compiling smbd/session.c Compiling smbd/dfree.c Compiling smbd/dir.c Compiling smbd/password.c smbd/password.c: In function 'validate_group': smbd/password.c:494:36: warning: passing argument 1 of 'getnetgrent' from incompatible pointer type [-Wincompatible-pointer-types] 494 | while (getnetgrent(&host, &user, &domain)) { | ^~~~~ | | | char ** In file included from include/includes.h:169, from smbd/password.c:21: /usr/include/netgroup.h:58:26: note: expected 'const char **' but argument is of type 'char **' 58 | int getnetgrent (const char **, const char **, const char **); | ^~~~~~~~~~~~~ smbd/password.c:494:43: warning: passing argument 2 of 'getnetgrent' from incompatible pointer type [-Wincompatible-pointer-types] 494 | while (getnetgrent(&host, &user, &domain)) { | ^~~~~ | | | char ** /usr/include/netgroup.h:58:41: note: expected 'const char **' but argument is of type 'char **' 58 | int getnetgrent (const char **, const char **, const char **); | ^~~~~~~~~~~~~ smbd/password.c:494:50: warning: passing argument 3 of 'getnetgrent' from incompatible pointer type [-Wincompatible-pointer-types] 494 | while (getnetgrent(&host, &user, &domain)) { | ^~~~~~~ | | | char ** /usr/include/netgroup.h:58:56: note: expected 'const char **' but argument is of type 'char **' 58 | int getnetgrent (const char **, const char **, const char **); | ^~~~~~~~~~~~~ In file included from include/includes.h:545: smbd/password.c: In function 'authorise_login': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:648:33: note: in expansion of macro 'fstrcpy' 648 | fstrcpy(user,user2); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:648:33: note: in expansion of macro 'fstrcpy' 648 | fstrcpy(user,user2); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:686:41: note: in expansion of macro 'fstrcpy' 686 | fstrcpy(user,auser); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:686:41: note: in expansion of macro 'fstrcpy' 686 | fstrcpy(user,auser); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:699:41: note: in expansion of macro 'fstrcpy' 699 | fstrcpy(user,user2); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:699:41: note: in expansion of macro 'fstrcpy' 699 | fstrcpy(user,user2); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:718:25: note: in expansion of macro 'fstrcpy' 718 | fstrcpy(user,guestname); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:718:25: note: in expansion of macro 'fstrcpy' 718 | fstrcpy(user,guestname); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ Compiling smbd/conn.c Compiling smbd/share_access.c Compiling smbd/fileio.c Compiling smbd/ipc.c Compiling smbd/lanman.c Compiling smbd/negprot.c Compiling smbd/message.c Compiling smbd/nttrans.c Compiling smbd/pipes.c Compiling smbd/reply.c Compiling smbd/sesssetup.c Compiling smbd/trans2.c Compiling smbd/uid.c Compiling smbd/dosmode.c Compiling smbd/filename.c Compiling smbd/open.c Compiling smbd/close.c Compiling smbd/blocking.c Compiling smbd/sec_ctx.c Compiling smbd/srvstr.c Compiling smbd/vfs.c Compiling smbd/perfcount.c Compiling smbd/statcache.c Compiling smbd/seal.c Compiling smbd/posix_acls.c Compiling lib/sysacls.c Compiling smbd/process.c Compiling smbd/service.c In file included from include/includes.h:545, from smbd/service.c:20: smbd/service.c: In function 'share_sanity_checks': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/service.c:467:25: note: in expansion of macro 'fstrcpy' 467 | fstrcpy(dev,"LPT1:"); | ^~~~~~~ smbd/service.c:457:45: note: declared here 457 | fstring dev) | ~~~~~~~~^~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/service.c:467:25: note: in expansion of macro 'fstrcpy' 467 | fstrcpy(dev,"LPT1:"); | ^~~~~~~ smbd/service.c:457:45: note: declared here 457 | fstring dev) | ~~~~~~~~^~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/service.c:469:25: note: in expansion of macro 'fstrcpy' 469 | fstrcpy(dev, "IPC"); | ^~~~~~~ smbd/service.c:457:45: note: declared here 457 | fstring dev) | ~~~~~~~~^~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/service.c:469:25: note: in expansion of macro 'fstrcpy' 469 | fstrcpy(dev, "IPC"); | ^~~~~~~ smbd/service.c:457:45: note: declared here 457 | fstring dev) | ~~~~~~~~^~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/service.c:471:25: note: in expansion of macro 'fstrcpy' 471 | fstrcpy(dev,"A:"); | ^~~~~~~ smbd/service.c:457:45: note: declared here 457 | fstring dev) | ~~~~~~~~^~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/service.c:471:25: note: in expansion of macro 'fstrcpy' 471 | fstrcpy(dev,"A:"); | ^~~~~~~ smbd/service.c:457:45: note: declared here 457 | fstring dev) | ~~~~~~~~^~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/service.c:491:17: note: in expansion of macro 'fstrcpy' 491 | fstrcpy(dev, "LPT1:"); | ^~~~~~~ smbd/service.c:457:45: note: declared here 457 | fstring dev) | ~~~~~~~~^~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/service.c:491:17: note: in expansion of macro 'fstrcpy' 491 | fstrcpy(dev, "LPT1:"); | ^~~~~~~ smbd/service.c:457:45: note: declared here 457 | fstring dev) | ~~~~~~~~^~~ Compiling rpc_server/epmd.c Compiling smbd/error.c Compiling printing/spoolssd.c Compiling printing/printspoolss.c Compiling lib/sysquotas_linux.c Compiling lib/sysquotas.c Compiling lib/sysquotas_xfs.c Compiling lib/sysquotas_4A.c Compiling lib/sysquotas_nfs.c Compiling smbd/fake_file.c Compiling smbd/quotas.c Compiling smbd/ntquotas.c Compiling lib/afs.c Compiling smbd/msdfs.c Compiling lib/afs_settoken.c Compiling smbd/aio.c Compiling smbd/statvfs.c Compiling smbd/dmapi.c Compiling smbd/signing.c Compiling smbd/file_access.c Compiling smbd/dnsregister.c Compiling smbd/globals.c Compiling smbd/smb2_server.c Compiling smbd/smb2_signing.c Compiling smbd/smb2_glue.c Compiling smbd/smb2_negprot.c Compiling smbd/smb2_sesssetup.c Compiling smbd/smb2_tcon.c Compiling smbd/smb2_create.c Compiling smbd/smb2_close.c Compiling smbd/smb2_flush.c Compiling smbd/smb2_read.c Compiling smbd/smb2_write.c Compiling smbd/smb2_lock.c Compiling smbd/smb2_ioctl.c Compiling smbd/smb2_keepalive.c Compiling smbd/smb2_find.c Compiling smbd/smb2_getinfo.c Compiling smbd/smb2_setinfo.c Compiling smbd/smb2_notify.c Compiling smbd/smb2_break.c Compiling ../libcli/smb/smb2_create_blob.c Compiling smbd/mangle.c Compiling smbd/mangle_hash.c Compiling smbd/mangle_hash2.c In file included from include/includes.h:545, from smbd/mangle_hash.c:23: smbd/mangle_hash.c: In function 'hash_name_to_8_3': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'out' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ smbd/mangle_hash.c:676:17: note: in expansion of macro 'safe_strcpy' 676 | safe_strcpy(out, in, 12); | ^~~~~~~~~~~ smbd/mangle_hash.c:653:30: note: declared here 653 | char out[13], | ~~~~~^~~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'out' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ smbd/mangle_hash.c:676:17: note: in expansion of macro 'safe_strcpy' 676 | safe_strcpy(out, in, 12); | ^~~~~~~~~~~ smbd/mangle_hash.c:653:30: note: declared here 653 | char out[13], | ~~~~~^~~~~~~ Compiling modules/vfs_default.c Compiling modules/vfs_posixacl.c Compiling libsmb/clientgen.c Compiling libsmb/cliconnect.c In file included from include/includes.h:545, from smbd/mangle_hash2.c:66: smbd/mangle_hash2.c: In function 'hash2_name_to_8_3': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'new_name' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ smbd/mangle_hash2.c:706:25: note: in expansion of macro 'safe_strcpy' 706 | safe_strcpy(new_name, name, 12); | ^~~~~~~~~~~ smbd/mangle_hash2.c:689:30: note: declared here 689 | char new_name[13], | ~~~~~^~~~~~~~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'new_name' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ smbd/mangle_hash2.c:706:25: note: in expansion of macro 'safe_strcpy' 706 | safe_strcpy(new_name, name, 12); | ^~~~~~~~~~~ smbd/mangle_hash2.c:689:30: note: declared here 689 | char new_name[13], | ~~~~~^~~~~~~~~~~~ Compiling libsmb/clifile.c Compiling libsmb/clikrb5.c Compiling libsmb/clispnego.c Compiling ../libcli/auth/spnego_parse.c Compiling ../lib/util/asn1.c Compiling libsmb/clirap.c Compiling libsmb/clierror.c Compiling libsmb/climessage.c In file included from include/includes.h:545, from libsmb/clirap.c:22: libsmb/clirap.c: In function 'cli_qpathinfo_alt_name': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'alt_name' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ libsmb/clirap.c:1283:9: note: in expansion of macro 'fstrcpy' 1283 | fstrcpy(alt_name, converted); | ^~~~~~~ libsmb/clirap.c:1250:83: note: declared here 1250 | NTSTATUS cli_qpathinfo_alt_name(struct cli_state *cli, const char *fname, fstring alt_name) | ~~~~~~~~^~~~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'alt_name' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ libsmb/clirap.c:1283:9: note: in expansion of macro 'fstrcpy' 1283 | fstrcpy(alt_name, converted); | ^~~~~~~ libsmb/clirap.c:1250:83: note: declared here 1250 | NTSTATUS cli_qpathinfo_alt_name(struct cli_state *cli, const char *fname, fstring alt_name) | ~~~~~~~~^~~~~~~~ Compiling libsmb/clireadwrite.c libsmb/clikrb5.c: In function 'smb_krb5_unparse_name': libsmb/clikrb5.c:124:17: warning: 'krb5_free_unparsed_name' is deprecated [-Wdeprecated-declarations] 124 | krb5_free_unparsed_name(context, utf8_name); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/krb5/krb5.h:969, from include/smb_krb5.h:36, from libsmb/clikrb5.c:24: /usr/include/krb5/krb5-protos.h:3845:1: note: declared here 3845 | krb5_free_unparsed_name ( | ^~~~~~~~~~~~~~~~~~~~~~~ libsmb/clikrb5.c:127:9: warning: 'krb5_free_unparsed_name' is deprecated [-Wdeprecated-declarations] 127 | krb5_free_unparsed_name(context, utf8_name); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/krb5/krb5-protos.h:3845:1: note: declared here 3845 | krb5_free_unparsed_name ( | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling libsmb/clilist.c libsmb/clikrb5.c: In function 'kerberos_free_data_contents': libsmb/clikrb5.c:502:17: warning: 'krb5_free_data_contents' is deprecated [-Wdeprecated-declarations] 502 | krb5_free_data_contents(context, pdata); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/krb5/krb5-protos.h:3676:1: note: declared here 3676 | krb5_free_data_contents ( | ^~~~~~~~~~~~~~~~~~~~~~~ libsmb/clikrb5.c: In function 'kerberos_compatible_enctypes': libsmb/clikrb5.c:527:9: warning: 'krb5_c_enctype_compare' is deprecated [-Wdeprecated-declarations] 527 | krb5_c_enctype_compare(context, enctype1, enctype2, &similar); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/krb5/krb5-protos.h:849:1: note: declared here 849 | krb5_c_enctype_compare ( | ^~~~~~~~~~~~~~~~~~~~~~ libsmb/clikrb5.c: In function 'smb_krb5_principal_get_realm': libsmb/clikrb5.c:2173:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2173 | return krb5_principal_get_realm(context, principal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling libsmb/cliprint.c Compiling libsmb/clitrans.c Compiling libsmb/clisecdesc.c Compiling libsmb/clidgram.c Compiling libsmb/clistr.c Compiling libsmb/cliquota.c Compiling libsmb/clifsinfo.c Compiling libsmb/clidfs.c Compiling libsmb/clioplock.c Compiling libsmb/clirap2.c In file included from include/includes.h:545, from libsmb/clifsinfo.c:21: libsmb/clifsinfo.c: In function 'cli_get_fs_volume_info': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'volume_name' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:195:6: note: in expansion of macro 'CHECK_STRING_SIZE' 195 | (CHECK_STRING_SIZE(dest, dest_len) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:146:9: note: in expansion of macro 'clistr_pull_fn2' 146 | clistr_pull_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ libsmb/clifsinfo.c:392:9: note: in expansion of macro 'clistr_pull' 392 | clistr_pull(cli->inbuf, volume_name, rdata + 18, sizeof(fstring), | ^~~~~~~~~~~ libsmb/clifsinfo.c:357:64: note: declared here 357 | NTSTATUS cli_get_fs_volume_info(struct cli_state *cli, fstring volume_name, | ~~~~~~~~^~~~~~~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'volume_name' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:195:6: note: in expansion of macro 'CHECK_STRING_SIZE' 195 | (CHECK_STRING_SIZE(dest, dest_len) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:146:9: note: in expansion of macro 'clistr_pull_fn2' 146 | clistr_pull_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ libsmb/clifsinfo.c:392:9: note: in expansion of macro 'clistr_pull' 392 | clistr_pull(cli->inbuf, volume_name, rdata + 18, sizeof(fstring), | ^~~~~~~~~~~ libsmb/clifsinfo.c:357:64: note: declared here 357 | NTSTATUS cli_get_fs_volume_info(struct cli_state *cli, fstring volume_name, | ~~~~~~~~^~~~~~~~~~~ Compiling libsmb/smb_seal.c Compiling libsmb/async_smb.c Compiling libsmb/cli_np_tstream.c Compiling libsmb/smbsock_connect.c Compiling ../libcli/auth/ntlm_check.c Compiling libsmb/ntlmssp.c Compiling libsmb/ntlmssp_wrap.c Compiling ../libcli/auth/ntlmssp.c Compiling ../libcli/auth/ntlmssp_sign.c Compiling librpc/gen_ndr/ndr_ntlmssp.c Compiling ../librpc/ndr/ndr_ntlmssp.c Compiling ../libcli/auth/ntlmssp_ndr.c Compiling ../libcli/auth/ntlmssp_server.c Compiling libsmb/nterr.c Compiling libsmb/smberr.c Compiling ../libcli/util/doserr.c Compiling libsmb/errormap.c Compiling ../librpc/rpc/dcerpc_error.c Compiling ../libcli/auth/smbdes.c Compiling ../libcli/auth/smbencrypt.c Compiling ../libcli/auth/msrpc_parse.c Compiling ../libcli/auth/session.c Compiling passdb/secrets.c Compiling passdb/machine_account_secrets.c Compiling passdb/machine_sid.c Compiling librpc/gen_ndr/ndr_secrets.c Compiling libsmb/unexpected.c Compiling libsmb/namecache.c Compiling libsmb/nmblib.c Compiling libsmb/namequery.c Compiling ../libcli/nbt/lmhosts.c Compiling libsmb/conncache.c Compiling libads/dns.c Compiling libads/sitename_cache.c Compiling ../libcli/nbt/nbtname.c Compiling ../libcli/netlogon/netlogon.c Compiling ../libcli/netlogon/ndr_netlogon.c Compiling librpc/gen_ndr/ndr_nbt.c Compiling librpc/gen_ndr/ndr_svcctl.c Compiling ../librpc/ndr/ndr_svcctl.c Compiling libads/cldap.c Compiling ../libcli/cldap/cldap.c Compiling ../lib/util/idtree.c Compiling ../libcli/ldap/ldap_message.c Compiling ../libcli/ldap/ldap_ndr.c Compiling lib/ldb_compat.c Compiling ../lib/tsocket/tsocket.c Compiling ../lib/tsocket/tsocket_helpers.c Compiling ../lib/tsocket/tsocket_bsd.c Compiling ../librpc/ndr/ndr_drsuapi.c Compiling ../librpc/ndr/ndr_compression.c Compiling librpc/gen_ndr/ndr_drsuapi.c Compiling ../librpc/ndr/ndr_drsblobs.c Compiling librpc/gen_ndr/ndr_drsblobs.c Compiling ../lib/compression/mszip.c Compiling ../lib/compression/lzxpress.c Compiling rpc_server/lsa/srv_lsa_nt.c Compiling librpc/gen_ndr/srv_lsa.c Compiling rpc_server/winreg/srv_winreg_nt.c Compiling librpc/gen_ndr/srv_winreg.c Compiling librpc/gen_ndr/srv_initshutdown.c Compiling rpc_server/initshutdown/srv_initshutdown_nt.c Compiling rpc_server/dssetup/srv_dssetup_nt.c Compiling librpc/gen_ndr/srv_dssetup.c Compiling librpc/gen_ndr/srv_wkssvc.c Compiling rpc_server/wkssvc/srv_wkssvc_nt.c Compiling rpc_server/svcctl/srv_svcctl_nt.c Compiling rpc_server/svcctl/srv_svcctl_reg.c Compiling librpc/gen_ndr/srv_svcctl.c Compiling services/svc_winreg_glue.c Compiling services/svc_spoolss.c Compiling services/svc_rcinit.c Compiling services/svc_netlogon.c Compiling services/svc_winreg.c Compiling services/svc_wins.c Compiling rpc_server/ntsvcs/srv_ntsvcs_nt.c Compiling librpc/gen_ndr/srv_ntsvcs.c Compiling rpc_server/netlogon/srv_netlog_nt.c Compiling librpc/gen_ndr/srv_netlogon.c Compiling rpc_server/dfs/srv_dfs_nt.c Compiling librpc/gen_ndr/srv_dfs.c Compiling rpc_server/srvsvc/srv_srvsvc_nt.c Compiling librpc/gen_ndr/srv_srvsvc.c Compiling rpc_server/spoolss/srv_spoolss_nt.c Compiling rpc_server/spoolss/srv_spoolss_util.c Compiling librpc/gen_ndr/srv_spoolss.c Compiling rpc_server/eventlog/srv_eventlog_nt.c Compiling rpc_server/eventlog/srv_eventlog_reg.c Compiling lib/eventlog/eventlog.c Compiling librpc/gen_ndr/srv_eventlog.c Compiling rpc_server/samr/srv_samr_nt.c Compiling rpc_server/samr/srv_samr_util.c Compiling rpc_server/samr/srv_samr_chgpasswd.c Compiling librpc/gen_ndr/srv_samr.c Compiling rpc_server/echo/srv_echo_nt.c Compiling librpc/gen_ndr/srv_echo.c Compiling rpc_server/epmapper/srv_epmapper.c Compiling librpc/gen_ndr/srv_epmapper.c Compiling rpc_server/srv_pipe.c Compiling rpc_server/srv_pipe_hnd.c Compiling rpc_server/srv_pipe_register.c Compiling rpc_server/rpc_ncacn_np.c Compiling rpc_server/rpc_handles.c Compiling rpc_server/rpc_server.c Compiling rpc_server/srv_access_check.c Compiling rpc_server/dcesrv_ntlmssp.c Compiling rpc_server/dcesrv_gssapi.c Compiling rpc_server/dcesrv_spnego.c Compiling ../libcli/named_pipe_auth/npa_tstream.c Compiling librpc/gen_ndr/ndr_named_pipe_auth.c Compiling ../auth/auth_sam_reply.c Compiling librpc/gen_ndr/ndr_auth.c Compiling librpc/gen_ndr/ndr_spoolss_c.c Compiling rpc_client/cli_spoolss.c Compiling rpc_client/init_spoolss.c Compiling rpc_client/cli_winreg_spoolss.c Compiling printing/nt_printing_os2.c Compiling librpc/gen_ndr/ndr_winreg_c.c Compiling rpc_client/cli_winreg.c Compiling rpc_client/cli_winreg_int.c Compiling librpc/gen_ndr/ndr_srvsvc_c.c Compiling librpc/gen_ndr/ndr_lsa_c.c Compiling rpc_client/cli_lsarpc.c Compiling rpc_client/init_lsa.c Compiling librpc/gen_ndr/ndr_samr_c.c Compiling rpc_client/cli_samr.c Compiling librpc/gen_ndr/ndr_netlogon_c.c Compiling rpc_client/cli_netlogon.c Compiling rpc_client/util_netlogon.c Compiling rpc_server/rpc_ep_setup.c Compiling librpc/rpc/dcerpc_ep.c Compiling rpc_client/cli_pipe_schannel.c Compiling rpc_client/init_netlogon.c Compiling rpc_client/init_samr.c Compiling locking/locking.c Compiling locking/brlock.c Compiling locking/posix.c Compiling passdb/pdb_get_set.c Compiling passdb/passdb.c Compiling passdb/pdb_interface.c Compiling lib/util_wellknown.c In file included from include/includes.h:545, from passdb/passdb.c:25: passdb/passdb.c: In function 'pdb_sethexpwd': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'p' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ passdb/passdb.c:388:25: note: in expansion of macro 'safe_strcpy' 388 | safe_strcpy(p, "NO PASSWORDXXXXXXXXXXXXXXXXXXXXX", 32); | ^~~~~~~~~~~ passdb/passdb.c:380:25: note: declared here 380 | void pdb_sethexpwd(char p[33], const unsigned char *pwd, uint32_t acct_ctrl) | ~~~~~^~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'p' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ passdb/passdb.c:388:25: note: in expansion of macro 'safe_strcpy' 388 | safe_strcpy(p, "NO PASSWORDXXXXXXXXXXXXXXXXXXXXX", 32); | ^~~~~~~~~~~ passdb/passdb.c:380:25: note: declared here 380 | void pdb_sethexpwd(char p[33], const unsigned char *pwd, uint32_t acct_ctrl) | ~~~~~^~~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'p' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ passdb/passdb.c:390:25: note: in expansion of macro 'safe_strcpy' 390 | safe_strcpy(p, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", 32); | ^~~~~~~~~~~ passdb/passdb.c:380:25: note: declared here 380 | void pdb_sethexpwd(char p[33], const unsigned char *pwd, uint32_t acct_ctrl) | ~~~~~^~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'p' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ passdb/passdb.c:390:25: note: in expansion of macro 'safe_strcpy' 390 | safe_strcpy(p, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", 32); | ^~~~~~~~~~~ passdb/passdb.c:380:25: note: declared here 380 | void pdb_sethexpwd(char p[33], const unsigned char *pwd, uint32_t acct_ctrl) | ~~~~~^~~~~ Compiling lib/util_builtin.c Compiling passdb/pdb_compat.c Compiling lib/util_unixsids.c Compiling passdb/lookup_sid.c Compiling passdb/login_cache.c Compiling passdb/pdb_ldap.c Compiling passdb/pdb_nds.c Compiling passdb/pdb_ipa.c Compiling passdb/pdb_smbpasswd.c Compiling passdb/pdb_tdb.c Compiling passdb/pdb_wbc_sam.c Compiling passdb/account_pol.c Compiling lib/privileges.c Compiling lib/util_nscd.c Compiling lib/winbind_util.c Compiling lib/server_mutex.c Compiling passdb/pdb_util.c Compiling printing/pcap.c Compiling printing/print_svid.c Compiling printing/print_aix.c Compiling printing/print_cups.c Compiling printing/print_generic.c Compiling printing/lpq_parse.c Compiling printing/load.c Compiling printing/print_iprint.c Compiling printing/print_standard.c Compiling printing/printer_list.c Compiling librpc/gen_ndr/ndr_printcap.c Compiling profile/profile.c Compiling ../lib/util/rbtree.c Compiling ../lib/util/signal.c Compiling ../lib/util/time.c Compiling ../lib/util/xfile.c Compiling ../lib/util/util_strlist.c Compiling ../lib/util/util_file.c Compiling ../lib/util/data_blob.c Compiling ../lib/util/util.c Compiling ../lib/util/fsusage.c Compiling ../lib/util/params.c Compiling ../lib/util/talloc_stack.c Compiling ../lib/util/genrand.c Compiling ../lib/util/util_net.c Compiling ../lib/util/become_daemon.c Compiling ../lib/util/system.c Compiling ../lib/util/tevent_unix.c Compiling ../lib/util/tevent_ntstatus.c Compiling ../lib/util/tevent_werror.c Compiling ../lib/util/smb_threads.c Compiling ../lib/util/util_id.c Compiling ../lib/util/blocking.c Compiling ../lib/util/rfc1738.c Compiling ../lib/util/select.c Compiling ../lib/crypto/crc32.c Compiling ../lib/util/util_pw.c Compiling ../lib/crypto/hmacmd5.c Compiling ../lib/crypto/arcfour.c Compiling ../lib/crypto/md4.c Compiling ../lib/crypto/sha256.c ../lib/util/util_pw.c: In function 'passwd_expand_gecos': ../lib/util/util_pw.c:128:14: warning: implicit declaration of function 'lp_passwd_expand_gecos'; did you mean 'passwd_expand_gecos'? [-Wimplicit-function-declaration] 128 | if (!lp_passwd_expand_gecos()) { | ^~~~~~~~~~~~~~~~~~~~~~ | passwd_expand_gecos Compiling ../lib/crypto/hmacsha256.c Compiling ../lib/crypto/aes.c Compiling ../lib/crypto/rijndael-alg-fst.c Compiling lib/messages.c Compiling librpc/gen_ndr/ndr_messaging.c Compiling lib/messages_local.c Compiling lib/messages_ctdbd.c Compiling lib/packet.c Compiling lib/ctdbd_conn.c Compiling lib/interfaces.c Compiling lib/memcache.c Compiling lib/talloc_dict.c Compiling lib/serverid.c Compiling lib/util_sconn.c Compiling lib/util_transfer_file.c Compiling ../lib/async_req/async_sock.c Compiling lib/addrchange.c Compiling lib/util_tdb.c Compiling ../lib/util/util_tdb.c Compiling ../lib/util/tdb_wrap.c Compiling lib/dbwrap.c gmake: *** readdir lib: Invalid argument. Stop. gmake: *** Waiting for unfinished jobs.... Compiling lib/dbwrap_tdb.c Compiling lib/dbwrap_ctdb.c *** Error code 2 Stop. make[1]: stopped making "all" in /usr/pkgsrc/net/samba *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/net/samba