+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/samba-3.6.25nb33/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/samba-3.6.25nb33/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for samba-3.6.25nb33 Using CFLAGS = -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/opt/local/include/ncurses -I. -I/home/pbulk/build/net/samba/work/samba-3.6.25/source3 -I/home/pbulk/build/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/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -DLDAP_DEPRECATED -I/opt/local/include/ncurses -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -DLDAP_DEPRECATED -DSUNOS5 -I/home/pbulk/build/net/samba/work/samba-3.6.25/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG = -fPIC LIBS = -lsendfile -lresolv -lintl -liconv -lnsl -lsocket -lmd LDFLAGS = -L/opt/local/lib -Wl,-R/opt/local/lib -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -lintl -lthread -L./bin -L/opt/local/lib DYNEXP = LDSHFLAGS = -fPIC -shared -L/opt/local/lib -Wl,-R/opt/local/lib -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -lintl -lthread -L./bin -L/opt/local/lib -lc -Wl,-z,defs SHLIBEXT = so SONAMEFLAG = -Wl,-h, mkdir bin Compiling ../lib/talloc/talloc.c Compiling ../lib/replace/replace.c Compiling ../lib/replace/snprintf.c Compiling ../lib/replace/getpass.c Compiling ../lib/replace/strptime.c creating /home/pbulk/build/net/samba/work/samba-3.6.25/source3/exports/libtalloc.syms Linking shared library bin/libtalloc.so.2 Compiling ../lib/tevent/tevent.c Compiling ../lib/tevent/tevent_debug.c Compiling ../lib/tevent/tevent_util.c Compiling ../lib/tevent/tevent_fd.c Compiling ../lib/tevent/tevent_timed.c Compiling ../lib/tevent/tevent_immediate.c Compiling ../lib/tevent/tevent_signal.c Compiling ../lib/tevent/tevent_req.c Compiling ../lib/tevent/tevent_wakeup.c Compiling ../lib/tevent/tevent_queue.c Compiling ../lib/tevent/tevent_standard.c Compiling ../lib/tevent/tevent_select.c Compiling ../lib/tevent/tevent_poll.c creating /home/pbulk/build/net/samba/work/samba-3.6.25/source3/exports/libtevent.syms Linking shared library bin/libtevent.so.0 Compiling ../nsswitch/libwbclient/wbclient.c Compiling ../nsswitch/libwbclient/wbc_util.c Compiling ../nsswitch/libwbclient/wbc_pwd.c Compiling ../nsswitch/libwbclient/wbc_idmap.c Compiling ../nsswitch/libwbclient/wbc_sid.c Compiling ../nsswitch/libwbclient/wbc_guid.c Compiling ../nsswitch/libwbclient/wbc_pam.c Compiling ../nsswitch/wb_common.c Compiling ../lib/util/blocking.c creating /home/pbulk/build/net/samba/work/samba-3.6.25/source3/exports/libwbclient.syms Linking shared library bin/libwbclient.so.0 Compiling ../lib/addns/dnsrecord.c Compiling ../lib/addns/dnsutils.c Compiling ../lib/addns/dnssock.c Compiling ../lib/addns/dnsgss.c Compiling ../lib/addns/dnsmarshall.c Compiling ../lib/addns/error.c Linking non-shared library bin/libaddns.a Compiling lib/netapi/netapi.c Compiling lib/netapi/cm.c Compiling librpc/gen_ndr/ndr_libnetapi.c Compiling lib/netapi/libnetapi.c Compiling lib/netapi/joindomain.c Compiling lib/netapi/serverinfo.c Compiling lib/netapi/getdc.c Compiling lib/netapi/user.c Compiling lib/netapi/group.c Compiling lib/netapi/localgroup.c Compiling lib/netapi/samr.c Compiling lib/netapi/sid.c Compiling lib/netapi/share.c Compiling lib/netapi/file.c Compiling lib/netapi/shutdown.c Compiling lib/netapi/netlogon.c Linking non-shared library bin/libnetapi.a Compiling libnet/libnet_join.c Compiling libnet/libnet_keytab.c Compiling librpc/gen_ndr/ndr_libnet_join.c Compiling ../lib/smbconf/smbconf.c Compiling ../lib/smbconf/smbconf_util.c Compiling ../lib/smbconf/smbconf_txt.c Compiling lib/smbconf/smbconf_reg.c Compiling lib/smbconf/smbconf_init.c Compiling registry/reg_api.c Compiling registry/reg_dispatcher.c Compiling registry/reg_cachehook.c Compiling registry/reg_objects.c Compiling registry/reg_util_internal.c Compiling lib/util_nttoken.c Compiling registry/reg_backend_db.c Compiling registry/reg_init_basic.c Compiling registry/reg_util_token.c Compiling registry/reg_api_util.c Compiling registry/reg_backend_smbconf.c Compiling registry/reg_init_smbconf.c Compiling dynconfig.c 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 ../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/rfc1738.c Compiling ../lib/util/select.c Compiling ../lib/util/util_pw.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/crc32.c Compiling ../lib/crypto/hmacmd5.c Compiling ../lib/crypto/arcfour.c Compiling ../lib/crypto/md4.c Compiling ../lib/crypto/sha256.c 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 Compiling lib/dbwrap_tdb.c Compiling lib/dbwrap_ctdb.c Compiling lib/g_lock.c Compiling lib/dbwrap_rbt.c Compiling lib/version.c Compiling lib/charcnv.c Compiling ../lib/util/debug.c Compiling ../lib/util/debug_s3.c Compiling lib/fault.c Compiling lib/interface.c Compiling lib/pidfile.c Compiling lib/system.c Compiling lib/sendfile.c Compiling lib/recvfile.c Compiling lib/time.c Compiling lib/username.c Compiling ../libds/common/flag_mapping.c Compiling lib/access.c Compiling lib/smbrun.c Compiling lib/bitmap.c Compiling lib/dprintf.c Compiling ../libcli/registry/util_reg.c Compiling lib/wins_srv.c Compiling lib/util_str.c Compiling lib/clobber.c Compiling lib/util_sid.c Compiling lib/util_unistr.c Compiling ../lib/util/charset/codepoints.c Compiling lib/util_file.c Compiling lib/util.c In file included from include/includes.h:545, from lib/util.c:24: lib/util.c: In function 'name_to_fqdn': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'fqdn' 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) | ^~~~~~~~~~~ lib/util.c:2215:17: note: in expansion of macro 'fstrcpy' 2215 | fstrcpy(fqdn, name); | ^~~~~~~ lib/util.c:2208:27: note: declared here 2208 | bool name_to_fqdn(fstring fqdn, const char *name) | ~~~~~~~~^~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'fqdn' 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) | ^~~~~~~~~~~ lib/util.c:2215:17: note: in expansion of macro 'fstrcpy' 2215 | fstrcpy(fqdn, name); | ^~~~~~~ lib/util.c:2208:27: note: declared here 2208 | bool name_to_fqdn(fstring fqdn, const char *name) | ~~~~~~~~^~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'fqdn' 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) | ^~~~~~~~~~~ lib/util.c:2243:9: note: in expansion of macro 'fstrcpy' 2243 | fstrcpy(fqdn, full); | ^~~~~~~ lib/util.c:2208:27: note: declared here 2208 | bool name_to_fqdn(fstring fqdn, const char *name) | ~~~~~~~~^~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'fqdn' 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) | ^~~~~~~~~~~ lib/util.c:2243:9: note: in expansion of macro 'fstrcpy' 2243 | fstrcpy(fqdn, full); | ^~~~~~~ lib/util.c:2208:27: note: declared here 2208 | bool name_to_fqdn(fstring fqdn, const char *name) | ~~~~~~~~^~~~ Compiling lib/util_cmdline.c Compiling lib/util_names.c Compiling lib/util_sock.c Compiling lib/sock_exec.c Compiling lib/util_sec.c Compiling lib/substitute.c Compiling lib/dbwrap_util.c Compiling lib/ms_fnmatch.c Compiling lib/errmap_unix.c Compiling lib/tallocmsg.c Compiling lib/dmallocmsg.c Compiling libsmb/clisigning.c Compiling libsmb/smb_signing.c Compiling ../lib/util/charset/iconv.c In file included from include/includes.h:23, from ../lib/util/charset/iconv.c:21: ../lib/util/charset/iconv.c: In function 'sys_iconv': ./../lib/replace/../replace/replace.h:699:37: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 699 | #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** ../lib/util/charset/iconv.c:149:28: note: in expansion of macro 'discard_const_p' 149 | discard_const_p(char *, inbuf), inbytesleft, | ^~~~~~~~~~~~~~~ In file included from ./../lib/replace/system/iconv.h:43, from ../lib/util/charset/iconv.c:23: /home/pbulk/build/net/samba/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ Compiling intl/lang_tdb.c Compiling lib/conn_tdb.c Compiling lib/adt_tree.c Compiling lib/gencache.c Compiling lib/sessionid_tdb.c Compiling lib/module.c Compiling lib/events.c Compiling lib/server_contexts.c Compiling lib/ldap_escape.c Compiling lib/secdesc.c Compiling ../libcli/security/access_check.c Compiling ../libcli/security/secace.c Compiling ../libcli/security/object_tree.c Compiling ../libcli/security/sddl.c Compiling ../libcli/security/secacl.c Compiling lib/fncall.c Compiling libads/krb5_errs.c Compiling lib/system_smbd.c Compiling lib/audit.c Compiling ../librpc/ndr/ndr_basic.c Compiling ../librpc/ndr/ndr.c Compiling ../librpc/ndr/ndr_misc.c Compiling librpc/gen_ndr/ndr_misc.c Compiling librpc/gen_ndr/ndr_security.c Compiling ../librpc/ndr/ndr_sec_helper.c Compiling ../librpc/ndr/ndr_string.c Compiling ../librpc/ndr/uuid.c Compiling librpc/ndr/util.c Compiling librpc/gen_ndr/ndr_server_id.c Compiling librpc/gen_ndr/ndr_dcerpc.c Compiling lib/file_id.c Compiling lib/idmap_cache.c Compiling ../libcli/security/dom_sid.c Compiling ../libcli/security/security_descriptor.c Compiling ../libcli/security/security_token.c Compiling ../libcli/security/util_sid.c Compiling lib/dummysmbd.c Compiling lib/dummyroot.c Compiling libsmb/clientgen.c Compiling libsmb/cliconnect.c Compiling libsmb/clifile.c Compiling libsmb/clikrb5.c libsmb/clikrb5.c: In function 'get_krb5_smb_session_key': libsmb/clikrb5.c:942:17: warning: 'krb5_auth_con_getremotesubkey' is deprecated [-Wdeprecated-declarations] 942 | err = krb5_auth_con_getremotesubkey(context, | ^~~ In file included from /home/pbulk/build/net/samba/work/.buildlink/include/krb5.h:8, from include/smb_krb5.h:36, from libsmb/clikrb5.c:24: /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5.h:5944:1: note: declared here 5944 | krb5_auth_con_getremotesubkey(krb5_context context, krb5_auth_context auth_context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libsmb/clikrb5.c:945:17: warning: 'krb5_auth_con_getlocalsubkey' is deprecated [-Wdeprecated-declarations] 945 | err = krb5_auth_con_getlocalsubkey(context, | ^~~ /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5.h:5939:1: note: declared here 5939 | krb5_auth_con_getlocalsubkey(krb5_context context, krb5_auth_context auth_context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling libsmb/clispnego.c Compiling ../libcli/auth/spnego_parse.c Compiling ../lib/util/asn1.c Compiling libsmb/clirap.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/clierror.c Compiling libsmb/climessage.c Compiling libsmb/clireadwrite.c Compiling libsmb/clilist.c 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 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/clidfs.c Compiling libsmb/clioplock.c Compiling libsmb/clirap2.c Compiling libsmb/smb_seal.c Compiling libsmb/async_smb.c libsmb/async_smb.c: In function 'cli_session_request_send': libsmb/async_smb.c:1205:32: warning: assignment to 'caddr_t' {aka 'char *'} from incompatible pointer type 'uint32_t *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] 1205 | state->iov[0].iov_base = &state->len_hdr; | ^ 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 libads/kerberos.c Compiling libads/ads_status.c Compiling ../libcli/auth/credentials.c Compiling ../libcli/auth/schannel_sign.c Compiling ../libcli/auth/schannel_state_tdb.c Compiling librpc/gen_ndr/ndr_schannel.c Compiling ../librpc/ndr/ndr_schannel.c Compiling rpc_client/cli_pipe.c Compiling librpc/crypto/gse_krb5.c Compiling librpc/crypto/gse.c Compiling librpc/crypto/cli_spnego.c Compiling librpc/rpc/rpc_common.c Compiling rpc_client/rpc_transport_np.c Compiling rpc_client/rpc_transport_sock.c Compiling rpc_client/rpc_transport_tstream.c rpc_client/rpc_transport_tstream.c: In function 'rpc_tstream_write_send': rpc_client/rpc_transport_tstream.c:278:29: warning: assignment to 'caddr_t' {aka 'char *'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types] 278 | state->iov.iov_base = discard_const_p(void *, data); | ^ rpc_client/rpc_transport_tstream.c: In function 'rpc_tstream_trans_send': rpc_client/rpc_transport_tstream.c:374:29: warning: assignment to 'caddr_t' {aka 'char *'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types] 374 | state->req.iov_base = discard_const_p(void *, data); | ^ Compiling ../librpc/rpc/binding.c Compiling ../librpc/rpc/dcerpc_util.c Compiling ../librpc/rpc/binding_handle.c Compiling librpc/rpc/dcerpc_helpers.c Compiling librpc/gen_ndr/ndr_epmapper_c.c Compiling librpc/gen_ndr/ndr_wkssvc.c Compiling librpc/gen_ndr/ndr_samr.c Compiling librpc/gen_ndr/ndr_lsa.c Compiling librpc/gen_ndr/ndr_dfs.c Compiling librpc/gen_ndr/ndr_echo.c Compiling librpc/gen_ndr/ndr_winreg.c Compiling librpc/gen_ndr/ndr_initshutdown.c Compiling librpc/gen_ndr/ndr_srvsvc.c Compiling librpc/gen_ndr/ndr_eventlog.c Compiling librpc/gen_ndr/ndr_netlogon.c Compiling ../librpc/ndr/ndr_netlogon.c Compiling librpc/gen_ndr/ndr_dssetup.c Compiling librpc/gen_ndr/ndr_epmapper.c Compiling librpc/gen_ndr/ndr_ntsvcs.c Compiling librpc/gen_ndr/ndr_spoolss.c Compiling ../librpc/ndr/ndr_spoolss_buf.c Compiling passdb/pdb_get_set.c Compiling passdb/passdb.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 passdb/pdb_interface.c Compiling lib/util_wellknown.c 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 lib/smbldap.c Compiling lib/smbldap_util.c Compiling groupdb/mapping.c Compiling groupdb/mapping_tdb.c Compiling libsmb/namequery_dc.c In file included from include/includes.h:545, from libsmb/namequery_dc.c:25: libsmb/namequery_dc.c: In function 'ads_dc_name': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'srv_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/namequery_dc.c:137:9: note: in expansion of macro 'fstrcpy' 137 | fstrcpy(srv_name, ads->config.ldap_server_name); | ^~~~~~~ libsmb/namequery_dc.c:55:33: note: declared here 55 | fstring srv_name) | ~~~~~~~~^~~~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'srv_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/namequery_dc.c:137:9: note: in expansion of macro 'fstrcpy' 137 | fstrcpy(srv_name, ads->config.ldap_server_name); | ^~~~~~~ libsmb/namequery_dc.c:55:33: note: declared here 55 | fstring srv_name) | ~~~~~~~~^~~~~~~~ Compiling libsmb/trustdom_cache.c Compiling libsmb/trusts_util.c Compiling libsmb/dsgetdcname.c Compiling libads/ldap.c Compiling libads/sasl.c Compiling libads/sasl_wrapping.c Compiling libads/krb5_setpw.c Compiling libads/kerberos_util.c Compiling libads/ldap_user.c Compiling libads/ads_struct.c Compiling libads/kerberos_keytab.c Compiling libads/disp_sec.c Compiling libads/ldap_utils.c Compiling libads/ldap_schema.c Compiling libads/util.c Compiling libads/ndr.c Compiling ../libcli/security/privileges.c Compiling auth/token_util.c Compiling librpc/gen_ndr/ndr_initshutdown_c.c Compiling librpc/gen_ndr/ndr_wkssvc_c.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_client/cli_pipe_schannel.c Compiling rpc_client/init_netlogon.c Compiling rpc_client/init_samr.c creating /home/pbulk/build/net/samba/work/samba-3.6.25/source3/exports/libnetapi.syms Linking shared library bin/libnetapi.so.0 Compiling libsmb/libsmb_cache.c Compiling libsmb/libsmb_compat.c Compiling libsmb/libsmb_context.c Compiling libsmb/libsmb_dir.c Compiling libsmb/libsmb_file.c Compiling libsmb/libsmb_misc.c Compiling libsmb/libsmb_path.c Compiling libsmb/libsmb_printjob.c Compiling libsmb/libsmb_server.c Compiling libsmb/libsmb_stat.c Compiling libsmb/libsmb_xattr.c Compiling libsmb/libsmb_setget.c Linking non-shared library bin/libsmbclient.a Compiling libsmb/libsmb_thread_impl.c Compiling libsmb/libsmb_thread_posix.c creating /home/pbulk/build/net/samba/work/samba-3.6.25/source3/exports/libsmbclient.syms Linking shared library bin/libsmbclient.so.0 Compiling libsmb/smb_share_modes.c Linking non-shared library bin/libsmbsharemodes.a creating /home/pbulk/build/net/samba/work/samba-3.6.25/source3/exports/libsmbsharemodes.syms Linking shared library bin/libsmbsharemodes.so.0 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 In file included from include/includes.h:545, from smbd/password.c:21: 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 smbd/error.c Compiling rpc_server/epmd.c Compiling printing/printspoolss.c Compiling printing/spoolssd.c Compiling lib/sysquotas.c Compiling lib/sysquotas_linux.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 smbd/smb2_server.c: In function 'dup_smb2_vec3': smbd/smb2_server.c:722:44: warning: comparison of distinct pointer types lacks a cast 722 | srcvec[1].iov_base == | ^~ smbd/smb2_server.c:746:40: warning: comparison of distinct pointer types lacks a cast 746 | if (srcvec[2].iov_base == | ^~ 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_notify.c Compiling smbd/smb2_getinfo.c Compiling smbd/smb2_setinfo.c Compiling smbd/smb2_break.c Compiling ../libcli/smb/smb2_create_blob.c Compiling smbd/mangle.c Compiling smbd/mangle_hash.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 smbd/mangle_hash2.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 modules/vfs_default.c Compiling modules/vfs_solarisacl.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 librpc/gen_ndr/srv_dfs.c Compiling rpc_server/dfs/srv_dfs_nt.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/srv_access_check.c Compiling rpc_server/rpc_server.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 rpc_server/rpc_ep_setup.c Compiling librpc/rpc/dcerpc_ep.c Compiling locking/locking.c Compiling locking/brlock.c Compiling locking/posix.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 printing/printing.c In file included from include/includes.h:545, from printing/printing.c:22: printing/printing.c: In function 'rap_to_pjobid': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'sharename' 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) | ^~~~~~~~~~~ printing/printing.c:133:25: note: in expansion of macro 'fstrcpy' 133 | fstrcpy( sharename, jinfo->sharename ); | ^~~~~~~ printing/printing.c:115:46: note: declared here 115 | bool rap_to_pjobid(uint16 rap_jobid, fstring sharename, uint32 *pjobid) | ~~~~~~~~^~~~~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'sharename' 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) | ^~~~~~~~~~~ printing/printing.c:133:25: note: in expansion of macro 'fstrcpy' 133 | fstrcpy( sharename, jinfo->sharename ); | ^~~~~~~ printing/printing.c:115:46: note: declared here 115 | bool rap_to_pjobid(uint16 rap_jobid, fstring sharename, uint32 *pjobid) | ~~~~~~~~^~~~~~~~~ Compiling printing/nt_printing.c Compiling printing/nt_printing_tdb.c Compiling printing/nt_printing_migrate.c Compiling printing/nt_printing_migrate_internal.c Compiling printing/nt_printing_ads.c Compiling librpc/gen_ndr/ndr_ntprinting.c Compiling ../librpc/ndr/ndr_ntprinting.c Compiling printing/notify.c Compiling printing/printing_db.c Compiling smbd/oplock.c Compiling smbd/oplock_irix.c Compiling smbd/oplock_linux.c Compiling smbd/oplock_onefs.c Compiling smbd/notify.c Compiling smbd/notify_inotify.c Compiling smbd/notify_internal.c Compiling librpc/gen_ndr/ndr_notify.c Compiling librpc/gen_ndr/ndr_file_id.c Compiling lib/filename_util.c Compiling auth/auth.c Compiling auth/auth_sam.c Compiling auth/check_samsec.c Compiling auth/auth_unix.c Compiling auth/auth_winbind.c Compiling auth/auth_wbc.c Compiling auth/auth_server.c Compiling auth/auth_domain.c Compiling auth/auth_builtin.c Compiling auth/auth_util.c Compiling auth/server_info.c Compiling auth/server_info_sam.c Compiling auth/user_info.c Compiling auth/user_util.c Compiling auth/user_krb5.c Compiling auth/auth_compat.c Compiling auth/auth_ntlmssp.c Compiling auth/pampass.c auth/pampass.c: In function 'smb_setup_pam_conv': auth/pampass.c:451:21: warning: assignment to 'int (*)(int, struct pam_message **, struct pam_response **, void *)' from incompatible pointer type 'smb_pam_conv_fn' {aka 'int (*)(int, const struct pam_message **, struct pam_response **, void *)'} [-Wincompatible-pointer-types] 451 | pconv->conv = smb_pam_conv_fnptr; | ^ Compiling auth/pass_check.c Compiling ../libcli/auth/pam_errors.c Compiling libsmb/samlogon_cache.c Compiling libads/kerberos_verify.c Compiling libads/authdata.c Compiling ../librpc/ndr/ndr_krb5pac.c Compiling librpc/gen_ndr/ndr_krb5pac.c Compiling libads/ldap_printer.c Compiling registry/reg_backend_printing.c Compiling registry/reg_backend_shares.c Compiling registry/reg_backend_netlogon_params.c Compiling registry/reg_backend_prod_options.c Compiling registry/reg_backend_tcpip_params.c Compiling registry/reg_backend_hkpt_params.c Compiling registry/reg_backend_current_version.c Compiling registry/reg_backend_perflib.c Compiling registry/reg_init_full.c Compiling registry/reg_perfcount.c Compiling librpc/gen_ndr/ndr_perfcount.c Compiling lib/popt_common.c Generating smbd/build_options.c Building include/build_env.h Compiling smbd/build_options.c Compiling registry/regfio.c Compiling registry/reg_parse_prs.c Compiling registry/reg_api_regf.c Compiling librpc/gen_ndr/ndr_xattr.c Compiling ../librpc/ndr/ndr_xattr.c Compiling smbd/server.c Compiling smbd/server_exit.c Compiling smbd/msg_idmap.c Linking bin/smbd Compiling nmbd/asyncdns.c Compiling nmbd/nmbd.c Compiling nmbd/nmbd_become_dmb.c Compiling nmbd/nmbd_become_lmb.c Compiling nmbd/nmbd_browserdb.c Compiling nmbd/nmbd_browsesync.c Compiling nmbd/nmbd_elections.c Compiling nmbd/nmbd_incomingdgrams.c Compiling nmbd/nmbd_incomingrequests.c Compiling nmbd/nmbd_lmhosts.c Compiling nmbd/nmbd_logonnames.c Compiling nmbd/nmbd_mynames.c Compiling nmbd/nmbd_namelistdb.c Compiling nmbd/nmbd_namequery.c Compiling nmbd/nmbd_nameregister.c Compiling nmbd/nmbd_namerelease.c Compiling nmbd/nmbd_nodestatus.c Compiling nmbd/nmbd_packets.c Compiling nmbd/nmbd_processlogon.c Compiling nmbd/nmbd_responserecordsdb.c Compiling nmbd/nmbd_sendannounce.c Compiling nmbd/nmbd_serverlistdb.c Compiling nmbd/nmbd_subnetdb.c Compiling nmbd/nmbd_winsproxy.c Compiling nmbd/nmbd_winsserver.c Compiling nmbd/nmbd_workgroupdb.c In file included from include/includes.h:545, from nmbd/nmbd_workgroupdb.c:23: nmbd/nmbd_workgroupdb.c: In function 'name_to_unstring': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'unname' 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:103:23: note: in expansion of macro 'safe_strcpy' 103 | #define unstrcpy(d,s) safe_strcpy((d), (s),sizeof(unstring)-1) | ^~~~~~~~~~~ nmbd/nmbd_workgroupdb.c:55:17: note: in expansion of macro 'unstrcpy' 55 | unstrcpy(unname, tname); | ^~~~~~~~ nmbd/nmbd_workgroupdb.c:46:39: note: declared here 46 | static void name_to_unstring(unstring unname, const char *name) | ~~~~~~~~~^~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'unname' 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:103:23: note: in expansion of macro 'safe_strcpy' 103 | #define unstrcpy(d,s) safe_strcpy((d), (s),sizeof(unstring)-1) | ^~~~~~~~~~~ nmbd/nmbd_workgroupdb.c:55:17: note: in expansion of macro 'unstrcpy' 55 | unstrcpy(unname, tname); | ^~~~~~~~ nmbd/nmbd_workgroupdb.c:46:39: note: declared here 46 | static void name_to_unstring(unstring unname, const char *name) | ~~~~~~~~~^~~~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'unname' 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:103:23: note: in expansion of macro 'safe_strcpy' 103 | #define unstrcpy(d,s) safe_strcpy((d), (s),sizeof(unstring)-1) | ^~~~~~~~~~~ nmbd/nmbd_workgroupdb.c:59:17: note: in expansion of macro 'unstrcpy' 59 | unstrcpy(unname, name); | ^~~~~~~~ nmbd/nmbd_workgroupdb.c:46:39: note: declared here 46 | static void name_to_unstring(unstring unname, const char *name) | ~~~~~~~~~^~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'unname' 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:103:23: note: in expansion of macro 'safe_strcpy' 103 | #define unstrcpy(d,s) safe_strcpy((d), (s),sizeof(unstring)-1) | ^~~~~~~~~~~ nmbd/nmbd_workgroupdb.c:59:17: note: in expansion of macro 'unstrcpy' 59 | unstrcpy(unname, name); | ^~~~~~~~ nmbd/nmbd_workgroupdb.c:46:39: note: declared here 46 | static void name_to_unstring(unstring unname, const char *name) | ~~~~~~~~~^~~~~~ Compiling nmbd/nmbd_synclists.c Linking bin/nmbd Compiling web/cgi.c Compiling web/diagnose.c Compiling web/startstop.c Compiling web/statuspage.c Compiling web/swat.c Compiling web/neg_lang.c Compiling libsmb/passchange.c Linking bin/swat Compiling winbindd/winbindd.c Compiling winbindd/winbindd_group.c Compiling winbindd/winbindd_util.c In file included from include/includes.h:545, from winbindd/winbindd_util.c:23: winbindd/winbindd_util.c: In function 'parse_domain_user': 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) | ^~~~~~~~~~~ winbindd/winbindd_util.c:864:17: note: in expansion of macro 'fstrcpy' 864 | fstrcpy(user, domuser); | ^~~~~~~ winbindd/winbindd_util.c:859:69: note: declared here 859 | bool parse_domain_user(const char *domuser, fstring domain, fstring user) | ~~~~~~~~^~~~ 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) | ^~~~~~~~~~~ winbindd/winbindd_util.c:864:17: note: in expansion of macro 'fstrcpy' 864 | fstrcpy(user, domuser); | ^~~~~~~ winbindd/winbindd_util.c:859:69: note: declared here 859 | bool parse_domain_user(const char *domuser, fstring domain, fstring user) | ~~~~~~~~^~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ winbindd/winbindd_util.c:867:25: note: in expansion of macro 'fstrcpy' 867 | fstrcpy(domain, lp_workgroup()); | ^~~~~~~ winbindd/winbindd_util.c:859:53: note: declared here 859 | bool parse_domain_user(const char *domuser, fstring domain, fstring user) | ~~~~~~~~^~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ winbindd/winbindd_util.c:867:25: note: in expansion of macro 'fstrcpy' 867 | fstrcpy(domain, lp_workgroup()); | ^~~~~~~ winbindd/winbindd_util.c:859:53: note: declared here 859 | bool parse_domain_user(const char *domuser, fstring domain, fstring user) | ~~~~~~~~^~~~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ winbindd/winbindd_util.c:869:25: note: in expansion of macro 'fstrcpy' 869 | fstrcpy(domain, p + 1); | ^~~~~~~ winbindd/winbindd_util.c:859:53: note: declared here 859 | bool parse_domain_user(const char *domuser, fstring domain, fstring user) | ~~~~~~~~^~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ winbindd/winbindd_util.c:869:25: note: in expansion of macro 'fstrcpy' 869 | fstrcpy(domain, p + 1); | ^~~~~~~ winbindd/winbindd_util.c:859:53: note: declared here 859 | bool parse_domain_user(const char *domuser, fstring domain, fstring user) | ~~~~~~~~^~~~~~ 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) | ^~~~~~~~~~~ winbindd/winbindd_util.c:875:17: note: in expansion of macro 'fstrcpy' 875 | fstrcpy(user, p+1); | ^~~~~~~ winbindd/winbindd_util.c:859:69: note: declared here 859 | bool parse_domain_user(const char *domuser, fstring domain, fstring user) | ~~~~~~~~^~~~ 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) | ^~~~~~~~~~~ winbindd/winbindd_util.c:875:17: note: in expansion of macro 'fstrcpy' 875 | fstrcpy(user, p+1); | ^~~~~~~ winbindd/winbindd_util.c:859:69: note: declared here 859 | bool parse_domain_user(const char *domuser, fstring domain, fstring user) | ~~~~~~~~^~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ winbindd/winbindd_util.c:876:17: note: in expansion of macro 'fstrcpy' 876 | fstrcpy(domain, domuser); | ^~~~~~~ winbindd/winbindd_util.c:859:53: note: declared here 859 | bool parse_domain_user(const char *domuser, fstring domain, fstring user) | ~~~~~~~~^~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ winbindd/winbindd_util.c:876:17: note: in expansion of macro 'fstrcpy' 876 | fstrcpy(domain, domuser); | ^~~~~~~ winbindd/winbindd_util.c:859:53: note: declared here 859 | bool parse_domain_user(const char *domuser, fstring domain, fstring user) | ~~~~~~~~^~~~~~ Compiling winbindd/winbindd_cache.c Compiling winbindd/winbindd_pam.c In file included from include/includes.h:545, from winbindd/winbindd_pam.c:25: winbindd/winbindd_pam.c: In function 'winbindd_raw_kerberos_login': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'krb5ccname' 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) | ^~~~~~~~~~~ winbindd/winbindd_pam.c:637:17: note: in expansion of macro 'fstrcpy' 637 | fstrcpy(krb5ccname, user_ccache_file); | ^~~~~~~ winbindd/winbindd_pam.c:533:53: note: declared here 533 | fstring krb5ccname) | ~~~~~~~~^~~~~~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'krb5ccname' 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) | ^~~~~~~~~~~ winbindd/winbindd_pam.c:637:17: note: in expansion of macro 'fstrcpy' 637 | fstrcpy(krb5ccname, user_ccache_file); | ^~~~~~~ winbindd/winbindd_pam.c:533:53: note: declared here 533 | fstring krb5ccname) | ~~~~~~~~^~~~~~~~~~ winbindd/winbindd_pam.c: In function 'winbindd_dual_pam_auth_cached': winbindd/winbindd_pam.c:838:18: warning: 'winbindd_get_creds' accessing 128 bytes in a region of size 8 [-Wstringop-overflow=] 838 | result = winbindd_get_creds(domain, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 839 | state->mem_ctx, | ~~~~~~~~~~~~~~~ 840 | &sid, | ~~~~~ 841 | &my_info3, | ~~~~~~~~~~ 842 | &cached_nt_pass, | ~~~~~~~~~~~~~~~~ 843 | &cached_salt); | ~~~~~~~~~~~~~ winbindd/winbindd_pam.c:838:18: note: referencing argument 5 of type 'const uint8_t *[16]' {aka 'const unsigned char *[16]'} winbindd/winbindd_pam.c:838:18: warning: 'winbindd_get_creds' accessing 128 bytes in a region of size 8 [-Wstringop-overflow=] winbindd/winbindd_pam.c:838:18: note: referencing argument 6 of type 'const uint8_t *[16]' {aka 'const unsigned char *[16]'} In file included from winbindd/winbindd.h:393, from winbindd/winbindd_pam.c:26: ./winbindd/winbindd_proto.h:216:10: note: in a call to function 'winbindd_get_creds' 216 | NTSTATUS winbindd_get_creds(struct winbindd_domain *domain, | ^~~~~~~~~~~~~~~~~~ In function 'winbindd_dual_pam_auth_cached', inlined from 'winbindd_dual_pam_auth' at winbindd/winbindd_pam.c:1699:12: winbindd/winbindd_pam.c:838:18: warning: 'winbindd_get_creds' accessing 128 bytes in a region of size 8 [-Wstringop-overflow=] 838 | result = winbindd_get_creds(domain, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 839 | state->mem_ctx, | ~~~~~~~~~~~~~~~ 840 | &sid, | ~~~~~ 841 | &my_info3, | ~~~~~~~~~~ 842 | &cached_nt_pass, | ~~~~~~~~~~~~~~~~ 843 | &cached_salt); | ~~~~~~~~~~~~~ winbindd/winbindd_pam.c:838:18: note: referencing argument 5 of type 'const uint8_t *[16]' {aka 'const unsigned char *[16]'} winbindd/winbindd_pam.c:838:18: warning: 'winbindd_get_creds' accessing 128 bytes in a region of size 8 [-Wstringop-overflow=] winbindd/winbindd_pam.c:838:18: note: referencing argument 6 of type 'const uint8_t *[16]' {aka 'const unsigned char *[16]'} ./winbindd/winbindd_proto.h: In function 'winbindd_dual_pam_auth': ./winbindd/winbindd_proto.h:216:10: note: in a call to function 'winbindd_get_creds' 216 | NTSTATUS winbindd_get_creds(struct winbindd_domain *domain, | ^~~~~~~~~~~~~~~~~~ In function 'winbindd_dual_pam_auth_cached', inlined from 'winbindd_dual_pam_auth' at winbindd/winbindd_pam.c:1699:12: winbindd/winbindd_pam.c:838:18: warning: 'winbindd_get_creds' accessing 128 bytes in a region of size 8 [-Wstringop-overflow=] 838 | result = winbindd_get_creds(domain, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 839 | state->mem_ctx, | ~~~~~~~~~~~~~~~ 840 | &sid, | ~~~~~ 841 | &my_info3, | ~~~~~~~~~~ 842 | &cached_nt_pass, | ~~~~~~~~~~~~~~~~ 843 | &cached_salt); | ~~~~~~~~~~~~~ winbindd/winbindd_pam.c:838:18: note: referencing argument 5 of type 'const uint8_t *[16]' {aka 'const unsigned char *[16]'} winbindd/winbindd_pam.c:838:18: warning: 'winbindd_get_creds' accessing 128 bytes in a region of size 8 [-Wstringop-overflow=] winbindd/winbindd_pam.c:838:18: note: referencing argument 6 of type 'const uint8_t *[16]' {aka 'const unsigned char *[16]'} ./winbindd/winbindd_proto.h: In function 'winbindd_dual_pam_auth': ./winbindd/winbindd_proto.h:216:10: note: in a call to function 'winbindd_get_creds' 216 | NTSTATUS winbindd_get_creds(struct winbindd_domain *domain, | ^~~~~~~~~~~~~~~~~~ Compiling winbindd/winbindd_misc.c Compiling winbindd/winbindd_cm.c In file included from include/includes.h:545, from winbindd/winbindd_cm.c:61: winbindd/winbindd_cm.c: In function 'get_dc_name_via_netlogon': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'dcname' 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) | ^~~~~~~~~~~ winbindd/winbindd_cm.c:764:9: note: in expansion of macro 'fstrcpy' 764 | fstrcpy(dcname, p); | ^~~~~~~ winbindd/winbindd_cm.c:664:46: note: declared here 664 | fstring dcname, | ~~~~~~~~^~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'dcname' 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) | ^~~~~~~~~~~ winbindd/winbindd_cm.c:764:9: note: in expansion of macro 'fstrcpy' 764 | fstrcpy(dcname, p); | ^~~~~~~ winbindd/winbindd_cm.c:664:46: note: declared here 664 | fstring dcname, | ~~~~~~~~^~~~~~ winbindd/winbindd_cm.c: In function 'dcip_to_name': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter '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) | ^~~~~~~~~~~ winbindd/winbindd_cm.c:1213:25: note: in expansion of macro 'fstrcpy' 1213 | fstrcpy(name, ads->config.ldap_server_name); | ^~~~~~~ winbindd/winbindd_cm.c:1186:25: note: declared here 1186 | fstring name ) | ~~~~~~~~^~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter '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) | ^~~~~~~~~~~ winbindd/winbindd_cm.c:1213:25: note: in expansion of macro 'fstrcpy' 1213 | fstrcpy(name, ads->config.ldap_server_name); | ^~~~~~~ winbindd/winbindd_cm.c:1186:25: note: declared here 1186 | fstring name ) | ~~~~~~~~^~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter '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) | ^~~~~~~~~~~ winbindd/winbindd_cm.c:1261:17: note: in expansion of macro 'fstrcpy' 1261 | fstrcpy(name, dc_name); | ^~~~~~~ winbindd/winbindd_cm.c:1186:25: note: declared here 1186 | fstring name ) | ~~~~~~~~^~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter '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) | ^~~~~~~~~~~ winbindd/winbindd_cm.c:1261:17: note: in expansion of macro 'fstrcpy' 1261 | fstrcpy(name, dc_name); | ^~~~~~~ winbindd/winbindd_cm.c:1186:25: note: declared here 1186 | fstring name ) | ~~~~~~~~^~~~ winbindd/winbindd_cm.c: In function 'find_new_dc': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'dcname' 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) | ^~~~~~~~~~~ winbindd/winbindd_cm.c:1471:17: note: in expansion of macro 'fstrcpy' 1471 | fstrcpy(dcname, dcnames[fd_index]); | ^~~~~~~ winbindd/winbindd_cm.c:1412:33: note: declared here 1412 | fstring dcname, struct sockaddr_storage *pss, int *fd) | ~~~~~~~~^~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'dcname' 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) | ^~~~~~~~~~~ winbindd/winbindd_cm.c:1471:17: note: in expansion of macro 'fstrcpy' 1471 | fstrcpy(dcname, dcnames[fd_index]); | ^~~~~~~ winbindd/winbindd_cm.c:1412:33: note: declared here 1412 | fstring dcname, struct sockaddr_storage *pss, int *fd) | ~~~~~~~~^~~~~~ Compiling winbindd/winbindd_wins.c Compiling winbindd/winbindd_msrpc.c Compiling winbindd/winbindd_rpc.c Compiling winbindd/winbindd_reconnect.c Compiling winbindd/winbindd_ads.c Compiling winbindd/winbindd_samr.c Compiling winbindd/winbindd_dual.c Compiling winbindd/winbindd_dual_ndr.c Compiling winbindd/winbindd_dual_srv.c Compiling librpc/gen_ndr/ndr_wbint_c.c Compiling librpc/gen_ndr/srv_wbint.c Compiling librpc/gen_ndr/ndr_wbint.c Compiling librpc/gen_ndr/ndr_idmap.c Compiling winbindd/winbindd_async.c Compiling winbindd/winbindd_creds.c Compiling winbindd/winbindd_cred_cache.c Compiling winbindd/winbindd_ccache_access.c Compiling winbindd/winbindd_domain.c Compiling winbindd/winbindd_idmap.c Compiling winbindd/winbindd_locator.c Compiling winbindd/winbindd_ndr.c Compiling winbindd/wb_ping.c Compiling winbindd/wb_lookupsid.c Compiling winbindd/wb_lookupsids.c Compiling winbindd/wb_lookupname.c Compiling winbindd/wb_sid2uid.c Compiling winbindd/wb_sid2gid.c Compiling winbindd/wb_uid2sid.c Compiling winbindd/wb_gid2sid.c Compiling winbindd/wb_queryuser.c Compiling winbindd/wb_lookupuseraliases.c Compiling winbindd/wb_lookupusergroups.c Compiling winbindd/wb_getpwsid.c Compiling winbindd/wb_gettoken.c Compiling winbindd/wb_seqnum.c Compiling winbindd/wb_seqnums.c Compiling winbindd/wb_group_members.c Compiling winbindd/wb_getgrsid.c Compiling winbindd/wb_query_user_list.c Compiling winbindd/wb_fill_pwent.c In file included from include/includes.h:545, from winbindd/wb_fill_pwent.c:20: winbindd/wb_fill_pwent.c: In function 'fillup_pw_field': 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, \ | ^~~~~~~~~~~~~~~ winbindd/wb_fill_pwent.c:195:9: note: in expansion of macro 'safe_strcpy' 195 | safe_strcpy(out, templ, sizeof(fstring) - 1); | ^~~~~~~~~~~ winbindd/wb_fill_pwent.c:169:37: note: declared here 169 | fstring out) | ~~~~~~~~^~~ 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, \ | ^~~~~~~~~~~~~~~ winbindd/wb_fill_pwent.c:195:9: note: in expansion of macro 'safe_strcpy' 195 | safe_strcpy(out, templ, sizeof(fstring) - 1); | ^~~~~~~~~~~ winbindd/wb_fill_pwent.c:169:37: note: declared here 169 | fstring out) | ~~~~~~~~^~~ Compiling winbindd/wb_next_pwent.c Compiling winbindd/wb_next_grent.c Compiling winbindd/wb_dsgetdcname.c Compiling winbindd/winbindd_lookupsid.c Compiling winbindd/winbindd_lookupsids.c Compiling winbindd/winbindd_lookupname.c Compiling winbindd/winbindd_sid_to_uid.c Compiling winbindd/winbindd_sid_to_gid.c Compiling winbindd/winbindd_uid_to_sid.c Compiling winbindd/winbindd_gid_to_sid.c Compiling winbindd/winbindd_sids_to_xids.c Compiling winbindd/winbindd_allocate_uid.c Compiling winbindd/winbindd_allocate_gid.c Compiling winbindd/winbindd_getpwsid.c Compiling winbindd/winbindd_getpwnam.c Compiling winbindd/winbindd_getpwuid.c Compiling winbindd/winbindd_getsidaliases.c Compiling winbindd/winbindd_getuserdomgroups.c Compiling winbindd/winbindd_getgroups.c Compiling winbindd/winbindd_show_sequence.c Compiling winbindd/winbindd_getgrgid.c Compiling winbindd/winbindd_getgrnam.c Compiling winbindd/winbindd_getusersids.c Compiling winbindd/winbindd_lookuprids.c Compiling winbindd/winbindd_setpwent.c Compiling winbindd/winbindd_getpwent.c Compiling winbindd/winbindd_endpwent.c Compiling winbindd/winbindd_setgrent.c Compiling winbindd/winbindd_getgrent.c Compiling winbindd/winbindd_endgrent.c Compiling winbindd/winbindd_dsgetdcname.c Compiling winbindd/winbindd_getdcname.c Compiling winbindd/winbindd_list_users.c Compiling winbindd/winbindd_list_groups.c Compiling winbindd/winbindd_check_machine_acct.c Compiling winbindd/winbindd_change_machine_acct.c Compiling winbindd/winbindd_ping_dc.c Compiling winbindd/winbindd_pam_auth.c Compiling winbindd/winbindd_pam_auth_crap.c Compiling winbindd/winbindd_pam_chauthtok.c Compiling winbindd/winbindd_pam_chng_pswd_auth_crap.c Compiling winbindd/winbindd_pam_logoff.c Compiling ../nsswitch/wb_reqtrans.c Compiling winbindd/idmap.c Compiling winbindd/idmap_util.c Compiling winbindd/idmap_rw.c Compiling winbindd/idmap_ldap.c Compiling winbindd/idmap_tdb.c Compiling winbindd/idmap_passdb.c Compiling winbindd/idmap_nss.c Compiling winbindd/idmap_rid.c Compiling winbindd/idmap_ad.c Compiling winbindd/nss_info.c Compiling winbindd/nss_info_template.c Compiling lib/tdb_validate.c Compiling librpc/gen_ndr/ndr_dssetup_c.c Linking bin/winbindd Compiling ../nsswitch/wbinfo.c In file included from include/includes.h:545, from ../nsswitch/wbinfo.c:24: ../nsswitch/wbinfo.c: In function 'parse_wbinfo_domain_user': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ ../nsswitch/wbinfo.c:124:25: note: in expansion of macro 'fstrcpy' 124 | fstrcpy(domain, ""); | ^~~~~~~ ../nsswitch/wbinfo.c:115:67: note: declared here 115 | static bool parse_wbinfo_domain_user(const char *domuser, fstring domain, | ~~~~~~~~^~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ ../nsswitch/wbinfo.c:124:25: note: in expansion of macro 'fstrcpy' 124 | fstrcpy(domain, ""); | ^~~~~~~ ../nsswitch/wbinfo.c:115:67: note: declared here 115 | static bool parse_wbinfo_domain_user(const char *domuser, fstring domain, | ~~~~~~~~^~~~~~ 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) | ^~~~~~~~~~~ ../nsswitch/wbinfo.c:125:25: note: in expansion of macro 'fstrcpy' 125 | fstrcpy(user, domuser); | ^~~~~~~ ../nsswitch/wbinfo.c:116:46: note: declared here 116 | fstring user) | ~~~~~~~~^~~~ 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) | ^~~~~~~~~~~ ../nsswitch/wbinfo.c:125:25: note: in expansion of macro 'fstrcpy' 125 | fstrcpy(user, domuser); | ^~~~~~~ ../nsswitch/wbinfo.c:116:46: note: declared here 116 | fstring user) | ~~~~~~~~^~~~ 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) | ^~~~~~~~~~~ ../nsswitch/wbinfo.c:129:17: note: in expansion of macro 'fstrcpy' 129 | fstrcpy(user, domuser); | ^~~~~~~ ../nsswitch/wbinfo.c:116:46: note: declared here 116 | fstring user) | ~~~~~~~~^~~~ 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) | ^~~~~~~~~~~ ../nsswitch/wbinfo.c:129:17: note: in expansion of macro 'fstrcpy' 129 | fstrcpy(user, domuser); | ^~~~~~~ ../nsswitch/wbinfo.c:116:46: note: declared here 116 | fstring user) | ~~~~~~~~^~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ ../nsswitch/wbinfo.c:130:17: note: in expansion of macro 'fstrcpy' 130 | fstrcpy(domain, get_winbind_domain()); | ^~~~~~~ ../nsswitch/wbinfo.c:115:67: note: declared here 115 | static bool parse_wbinfo_domain_user(const char *domuser, fstring domain, | ~~~~~~~~^~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ ../nsswitch/wbinfo.c:130:17: note: in expansion of macro 'fstrcpy' 130 | fstrcpy(domain, get_winbind_domain()); | ^~~~~~~ ../nsswitch/wbinfo.c:115:67: note: declared here 115 | static bool parse_wbinfo_domain_user(const char *domuser, fstring domain, | ~~~~~~~~^~~~~~ 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) | ^~~~~~~~~~~ ../nsswitch/wbinfo.c:134:9: note: in expansion of macro 'fstrcpy' 134 | fstrcpy(user, p+1); | ^~~~~~~ ../nsswitch/wbinfo.c:116:46: note: declared here 116 | fstring user) | ~~~~~~~~^~~~ 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) | ^~~~~~~~~~~ ../nsswitch/wbinfo.c:134:9: note: in expansion of macro 'fstrcpy' 134 | fstrcpy(user, p+1); | ^~~~~~~ ../nsswitch/wbinfo.c:116:46: note: declared here 116 | fstring user) | ~~~~~~~~^~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ ../nsswitch/wbinfo.c:135:9: note: in expansion of macro 'fstrcpy' 135 | fstrcpy(domain, domuser); | ^~~~~~~ ../nsswitch/wbinfo.c:115:67: note: declared here 115 | static bool parse_wbinfo_domain_user(const char *domuser, fstring domain, | ~~~~~~~~^~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ ../nsswitch/wbinfo.c:135:9: note: in expansion of macro 'fstrcpy' 135 | fstrcpy(domain, domuser); | ^~~~~~~ ../nsswitch/wbinfo.c:115:67: note: declared here 115 | static bool parse_wbinfo_domain_user(const char *domuser, fstring domain, | ~~~~~~~~^~~~~~ Linking bin/wbinfo Compiling client/client.c In file included from include/includes.h:545, from client/client.c:24: client/client.c: In function 'perms_to_string': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'permstr' 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) | ^~~~~~~~~~~ client/client.c:3192:9: note: in expansion of macro 'fstrcpy' 3192 | fstrcpy(permstr, "---"); | ^~~~~~~ client/client.c:3190:38: note: declared here 3190 | static char *perms_to_string(fstring permstr, unsigned char perms) | ~~~~~~~~^~~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'permstr' 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) | ^~~~~~~~~~~ client/client.c:3192:9: note: in expansion of macro 'fstrcpy' 3192 | fstrcpy(permstr, "---"); | ^~~~~~~ client/client.c:3190:38: note: declared here 3190 | static char *perms_to_string(fstring permstr, unsigned char perms) | ~~~~~~~~^~~~~~~ Compiling client/clitar.c Compiling client/dnsbrowse.c Compiling ../libcli/smbreadline/smbreadline.c Compiling ../libcli/security/display_sec.c Linking bin/smbclient Compiling utils/net.c Compiling utils/net_ads.c Compiling utils/net_help.c Compiling utils/net_rap.c Compiling utils/net_rpc.c Compiling utils/net_rpc_samsync.c Compiling utils/net_rpc_join.c Compiling utils/net_time.c Compiling utils/net_lookup.c Compiling utils/net_cache.c Compiling utils/net_groupmap.c Compiling utils/net_idmap.c Compiling utils/net_idmap_check.c Compiling utils/net_status.c Compiling utils/net_rpc_printer.c Compiling utils/net_rpc_rights.c In file included from include/includes.h:545, from utils/net_rpc_rights.c:20: utils/net_rpc_rights.c: In function 'sid_to_name': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter '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) | ^~~~~~~~~~~ utils/net_rpc_rights.c:54:25: note: in expansion of macro 'fstrcpy' 54 | fstrcpy( name, names[0] ); | ^~~~~~~ utils/net_rpc_rights.c:34:41: note: declared here 34 | fstring name) | ~~~~~~~~^~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter '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) | ^~~~~~~~~~~ utils/net_rpc_rights.c:54:25: note: in expansion of macro 'fstrcpy' 54 | fstrcpy( name, names[0] ); | ^~~~~~~ utils/net_rpc_rights.c:34:41: note: declared here 34 | fstring name) | ~~~~~~~~^~~~ Compiling utils/net_rpc_service.c Compiling utils/net_rpc_registry.c Compiling utils/net_usershare.c Compiling utils/netlookup.c Compiling utils/net_sam.c Compiling utils/net_rpc_shell.c Compiling utils/net_util.c Compiling utils/net_rpc_sh_acct.c Compiling utils/net_rpc_audit.c Compiling utils/passwd_util.c Compiling utils/net_dns.c Compiling utils/net_ads_gpo.c Compiling utils/net_conf.c Compiling utils/net_join.c Compiling utils/net_user.c Compiling utils/net_group.c Compiling utils/net_file.c Compiling utils/net_registry.c Compiling utils/net_dom.c Compiling utils/net_share.c Compiling utils/net_g_lock.c Compiling utils/net_serverid.c Compiling utils/net_eventlog.c Compiling utils/net_printing.c Compiling utils/net_rpc_trust.c Compiling librpc/gen_ndr/ndr_preg.c Compiling ../librpc/ndr/ndr_preg.c Compiling librpc/gen_ndr/ndr_drsuapi_c.c Compiling librpc/gen_ndr/ndr_svcctl_c.c Compiling registry/reg_parse.c In file included from registry/reg_parse.c:32: registry/reg_parse.c: In function 'handle_iconv_errno': registry/reg_parse_internal.h:41:19: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 41 | iconv(CD, (char**)(IPTR), ILEN, OPTR, OLEN) | ^~~~~~~~~~~~~~ | | | char ** registry/reg_parse.c:808:21: note: in expansion of macro 'smb_iconv' 808 | if (smb_iconv(cd, iptr, &il, optr, olen) != (size_t)-1 || (errno != EILSEQ)) { | ^~~~~~~~~ In file included from ./../lib/replace/system/iconv.h:43, from registry/reg_parse_internal.h:33: /home/pbulk/build/net/samba/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ registry/reg_parse.c: In function 'reg_parse_fd': registry/reg_parse_internal.h:41:19: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 41 | iconv(CD, (char**)(IPTR), ILEN, OPTR, OLEN) | ^~~~~~~~~~~~~~ | | | char ** registry/reg_parse.c:894:33: note: in expansion of macro 'smb_iconv' 894 | smb_iconv(cd, NULL, NULL, &optr, &olen); | ^~~~~~~~~ /home/pbulk/build/net/samba/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ registry/reg_parse_internal.h:41:19: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 41 | iconv(CD, (char**)(IPTR), ILEN, OPTR, OLEN) | ^~~~~~~~~~~~~~ | | | char ** registry/reg_parse.c:899:33: note: in expansion of macro 'smb_iconv' 899 | nconv = smb_iconv(cd, &iptr, &ilen, &optr, &olen); | ^~~~~~~~~ /home/pbulk/build/net/samba/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ Compiling registry/reg_format.c Compiling registry/reg_parse_internal.c In file included from registry/reg_parse_internal.c:28: registry/reg_parse_internal.c: In function 'iconvert_talloc': registry/reg_parse_internal.h:41:19: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 41 | iconv(CD, (char**)(IPTR), ILEN, OPTR, OLEN) | ^~~~~~~~~~~~~~ | | | char ** registry/reg_parse_internal.c:69:15: note: in expansion of macro 'smb_iconv' 69 | ret = smb_iconv(cd, &iptr, &ibytes, &optr, &obytes); | ^~~~~~~~~ In file included from ./../lib/replace/system/iconv.h:43, from registry/reg_parse_internal.h:33: /home/pbulk/build/net/samba/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ Compiling registry/reg_import.c Compiling lib/cbuf.c Compiling lib/srprs.c Compiling utils/net_registry_util.c Compiling utils/net_help_common.c Compiling ../libgpo/gpo_ldap.c Compiling ../libgpo/gpo_ini.c Compiling ../libgpo/gpo_util.c Compiling ../libgpo/gpo_fetch.c Compiling libgpo/gpo_filesync.c Compiling ../libgpo/gpo_sec.c Compiling libgpo/gpo_reg.c Compiling ../libgpo/gpext/gpext.c Compiling ../lib/iniparser_build/iniparser.c Compiling ../lib/iniparser_build/dictionary.c Compiling ../lib/iniparser_build/strlib.c Compiling libnet/libnet_dssync.c Compiling libnet/libnet_dssync_passdb.c Compiling libnet/libnet_dssync_keytab.c Compiling ../libcli/drsuapi/repl_decrypt.c Compiling libnet/libnet_samsync.c Compiling libnet/libnet_samsync_ldif.c Compiling libnet/libnet_samsync_passdb.c Compiling libnet/libnet_samsync_display.c Compiling libnet/libnet_samsync_keytab.c Compiling ../libcli/samsync/decrypt.c Linking bin/net Compiling client/smbspool.c Linking bin/smbspool Compiling utils/testparm.c Linking bin/testparm Compiling utils/status.c Compiling utils/status_profile.c Linking bin/smbstatus Compiling utils/smbget.c utils/smbget.c: In function 'get_num_cols': utils/smbget.c:66:2: warning: #warning No support for TIOCGWINSZ [-Wcpp] 66 | #warning No support for TIOCGWINSZ | ^~~~~~~ Linking bin/smbget Compiling utils/smbta-util.c Linking bin/smbta-util Compiling utils/smbcontrol.c Linking bin/smbcontrol Compiling utils/smbtree.c Linking bin/smbtree Compiling utils/nmblookup.c Linking bin/nmblookup Compiling utils/pdbedit.c Linking bin/pdbedit Compiling utils/smbpasswd.c Linking bin/smbpasswd Compiling rpcclient/rpcclient.c Compiling rpcclient/cmd_lsarpc.c Compiling rpcclient/cmd_samr.c Compiling rpcclient/cmd_spoolss.c Compiling rpcclient/cmd_netlogon.c Compiling rpcclient/cmd_srvsvc.c Compiling rpcclient/cmd_dfs.c Compiling rpcclient/cmd_epmapper.c Compiling rpcclient/cmd_dssetup.c Compiling rpcclient/cmd_echo.c Compiling rpcclient/cmd_shutdown.c Compiling rpcclient/cmd_test.c Compiling rpcclient/cmd_wkssvc.c Compiling rpcclient/cmd_ntsvcs.c Compiling rpcclient/cmd_drsuapi.c Compiling rpcclient/cmd_eventlog.c Compiling rpcclient/cmd_winreg.c Compiling librpc/gen_ndr/ndr_eventlog_c.c Compiling librpc/gen_ndr/ndr_ntsvcs_c.c Compiling librpc/gen_ndr/ndr_dfs_c.c Compiling librpc/gen_ndr/ndr_echo_c.c Linking bin/rpcclient Compiling utils/smbcacls.c In file included from include/includes.h:545, from utils/smbcacls.c:24: utils/smbcacls.c: In function 'SidToString': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'str' 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) | ^~~~~~~~~~~ utils/smbcacls.c:198:17: note: in expansion of macro 'fstrcpy' 198 | fstrcpy(str, name); | ^~~~~~~ utils/smbcacls.c:174:56: note: declared here 174 | static void SidToString(struct cli_state *cli, fstring str, const struct dom_sid *sid) | ~~~~~~~~^~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'str' 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) | ^~~~~~~~~~~ utils/smbcacls.c:198:17: note: in expansion of macro 'fstrcpy' 198 | fstrcpy(str, name); | ^~~~~~~ utils/smbcacls.c:174:56: note: declared here 174 | static void SidToString(struct cli_state *cli, fstring str, const struct dom_sid *sid) | ~~~~~~~~^~~ Linking bin/smbcacls Compiling utils/profiles.c Linking bin/profiles Compiling utils/ntlm_auth.c In file included from include/includes.h:545, from utils/ntlm_auth.c:26: utils/ntlm_auth.c: In function 'parse_ntlm_auth_domain_user': 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) | ^~~~~~~~~~~ utils/ntlm_auth.c:254:9: note: in expansion of macro 'fstrcpy' 254 | fstrcpy(user, p+1); | ^~~~~~~ utils/ntlm_auth.c:245:46: note: declared here 245 | fstring user) | ~~~~~~~~^~~~ 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) | ^~~~~~~~~~~ utils/ntlm_auth.c:254:9: note: in expansion of macro 'fstrcpy' 254 | fstrcpy(user, p+1); | ^~~~~~~ utils/ntlm_auth.c:245:46: note: declared here 245 | fstring user) | ~~~~~~~~^~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ utils/ntlm_auth.c:255:9: note: in expansion of macro 'fstrcpy' 255 | fstrcpy(domain, domuser); | ^~~~~~~ utils/ntlm_auth.c:244:70: note: declared here 244 | static bool parse_ntlm_auth_domain_user(const char *domuser, fstring domain, | ~~~~~~~~^~~~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' 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) | ^~~~~~~~~~~ utils/ntlm_auth.c:255:9: note: in expansion of macro 'fstrcpy' 255 | fstrcpy(domain, domuser); | ^~~~~~~ utils/ntlm_auth.c:244:70: note: declared here 244 | static bool parse_ntlm_auth_domain_user(const char *domuser, fstring domain, | ~~~~~~~~^~~~~~ Compiling utils/ntlm_auth_diagnostics.c Linking bin/ntlm_auth Compiling utils/sharesec.c Linking bin/sharesec Compiling utils/smbcquotas.c Linking bin/smbcquotas Compiling utils/eventlogadm.c Linking bin/eventlogadm Compiling modules/vfs_recycle.c Building plugin bin/recycle.so Compiling modules/vfs_audit.c Building plugin bin/audit.so Compiling modules/vfs_extd_audit.c Building plugin bin/extd_audit.so Compiling modules/vfs_full_audit.c Building plugin bin/full_audit.so Compiling modules/vfs_netatalk.c Building plugin bin/netatalk.so Compiling modules/vfs_fake_perms.c Building plugin bin/fake_perms.so Compiling modules/vfs_default_quota.c Building plugin bin/default_quota.so Compiling modules/vfs_readonly.c Compiling modules/getdate.c Building plugin bin/readonly.so Compiling modules/vfs_cap.c Building plugin bin/cap.so Compiling modules/vfs_expand_msdfs.c Building plugin bin/expand_msdfs.so Compiling modules/vfs_shadow_copy.c Building plugin bin/shadow_copy.so Compiling modules/vfs_shadow_copy2.c Building plugin bin/shadow_copy2.so Compiling modules/vfs_xattr_tdb.c Building plugin bin/xattr_tdb.so Compiling modules/vfs_catia.c Building plugin bin/catia.so Compiling modules/vfs_streams_xattr.c Building plugin bin/streams_xattr.so Compiling modules/vfs_streams_depot.c Building plugin bin/streams_depot.so Compiling modules/vfs_readahead.c Building plugin bin/readahead.so Compiling modules/vfs_preopen.c Building plugin bin/preopen.so Compiling modules/vfs_syncops.c Building plugin bin/syncops.so Compiling modules/vfs_acl_xattr.c Building plugin bin/acl_xattr.so Compiling modules/vfs_acl_tdb.c Building plugin bin/acl_tdb.so Compiling modules/vfs_smb_traffic_analyzer.c Building plugin bin/smb_traffic_analyzer.so Compiling modules/vfs_dirsort.c Building plugin bin/dirsort.so Compiling modules/vfs_scannedonly.c Building plugin bin/scannedonly.so Compiling modules/vfs_crossrename.c Building plugin bin/crossrename.so Compiling modules/vfs_linux_xfs_sgid.c Building plugin bin/linux_xfs_sgid.so Compiling modules/vfs_time_audit.c Building plugin bin/time_audit.so Compiling winbindd/idmap_autorid.c Building plugin bin/autorid.so Compiling modules/CP850.c Building plugin bin/CP850.so Compiling modules/CP437.c Building plugin bin/CP437.so Compiling auth/auth_script.c Building plugin bin/script.so Compiling ../nsswitch/winbind_nss_solaris.c ../nsswitch/winbind_nss_solaris.c: In function '_nss_winbind_getgroupsbymember_solwrap': ../nsswitch/winbind_nss_solaris.c:289:41: warning: passing argument 1 of '_nss_winbind_initgroups_dyn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 289 | _nss_winbind_initgroups_dyn(gmem->username, | ~~~~^~~~~~~~~~ In file included from ./../nsswitch/winbind_nss.h:32, from ../nsswitch/winbind_nss_config.h:49, from ../nsswitch/winbind_client.h:28, from ../nsswitch/winbind_nss_solaris.c:29: ./../nsswitch/winbind_nss_solaris.h:58:46: note: expected 'char *' but argument is of type 'const char *' 58 | NSS_STATUS _nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start, | ~~~~~~^~~~ Compiling ../nsswitch/winbind_nss_linux.c Linking ../nsswitch/libnss_winbind.so Compiling ../nsswitch/wins.c In file included from ./../nsswitch/winbind_nss.h:32, from ../nsswitch/wins.c:22: ./../nsswitch/winbind_nss_solaris.h:50:43: warning: 'struct group' declared inside parameter list will not be visible outside of this definition or declaration 50 | NSS_STATUS _nss_winbind_getgrent_r(struct group* result, char* buffer, | ^~~~~ ./../nsswitch/winbind_nss_solaris.h:53:43: warning: 'struct group' declared inside parameter list will not be visible outside of this definition or declaration 53 | struct group *result, char *buffer, | ^~~~~ ./../nsswitch/winbind_nss_solaris.h:56:43: warning: 'struct group' declared inside parameter list will not be visible outside of this definition or declaration 56 | struct group *result, char *buffer, | ^~~~~ Linking ../nsswitch/libnss_wins.so Compiling pam_smbpass/pam_smb_auth.c pam_smbpass/pam_smb_auth.c: In function 'pam_sm_authenticate': pam_smbpass/pam_smb_auth.c:98:38: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 98 | retval = pam_get_user( pamh, &name, "Username: " ); | ^~~~~ | | | const char ** In file included from pam_smbpass/pam_smb_auth.c:27: /usr/include/security/pam_appl.h:227:16: note: expected 'char **' but argument is of type 'const char **' 227 | char **user, /* User Name */ | ~~~~~~~^~~~ Compiling pam_smbpass/pam_smb_passwd.c pam_smbpass/pam_smb_passwd.c: In function 'pam_sm_chauthtok': pam_smbpass/pam_smb_passwd.c:118:34: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 118 | retval = pam_get_user( pamh, &user, "Username: " ); | ^~~~~ | | | const char ** In file included from pam_smbpass/pam_smb_passwd.c:32: /usr/include/security/pam_appl.h:227:16: note: expected 'char **' but argument is of type 'const char **' 227 | char **user, /* User Name */ | ~~~~~~~^~~~ Compiling pam_smbpass/pam_smb_acct.c pam_smbpass/pam_smb_acct.c: In function 'pam_sm_acct_mgmt': pam_smbpass/pam_smb_acct.c:67:38: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 67 | retval = pam_get_user( pamh, &name, "Username: " ); | ^~~~~ | | | const char ** In file included from pam_smbpass/pam_smb_acct.c:26: /usr/include/security/pam_appl.h:227:16: note: expected 'char **' but argument is of type 'const char **' 227 | char **user, /* User Name */ | ~~~~~~~^~~~ Compiling pam_smbpass/support.c pam_smbpass/support.c: In function 'converse': pam_smbpass/support.c:130:44: warning: passing argument 2 of 'conv->conv' from incompatible pointer type [-Wincompatible-pointer-types] 130 | retval = conv->conv(nargs, (const struct pam_message **) message | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const struct pam_message ** pam_smbpass/support.c:130:44: note: expected 'struct pam_message **' but argument is of type 'const struct pam_message **' pam_smbpass/support.c: In function '_pam_get_item': pam_smbpass/support.c:681:46: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 681 | return pam_get_item(pamh, item_type, item); | ^~~~ | | | const void ** In file included from pam_smbpass/general.h:8, from pam_smbpass/support.c:19: /usr/include/security/pam_appl.h:189:17: note: expected 'void **' but argument is of type 'const void **' 189 | void ** item /* Address of place to put pointer */ | ~~~~~~~~^~~~ Linking shared library bin/pam_smbpass.so Compiling ../nsswitch/pam_winbind.c ../nsswitch/pam_winbind.c: In function '_pam_get_item': ../nsswitch/pam_winbind.c:180:46: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 180 | return pam_get_item(pamh, item_type, item); | ^~~~ | | | const void ** In file included from ../nsswitch/pam_winbind.h:87, from ../nsswitch/pam_winbind.c:17: /usr/include/security/pam_appl.h:189:17: note: expected 'void **' but argument is of type 'const void **' 189 | void ** item /* Address of place to put pointer */ | ~~~~~~~~^~~~ ../nsswitch/pam_winbind.c: In function '_pam_log_state_datum': ../nsswitch/pam_winbind.c:316:52: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 316 | pam_get_item(ctx->pamh, item_type, &data); | ^~~~~ | | | const void ** /usr/include/security/pam_appl.h:189:17: note: expected 'void **' but argument is of type 'const void **' 189 | void ** item /* Address of place to put pointer */ | ~~~~~~~~^~~~ ../nsswitch/pam_winbind.c: In function 'converse': ../nsswitch/pam_winbind.c:655:37: warning: passing argument 2 of 'conv->conv' from incompatible pointer type [-Wincompatible-pointer-types] 655 | (const struct pam_message **)message, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const struct pam_message ** ../nsswitch/pam_winbind.c:655:37: note: expected 'struct pam_message **' but argument is of type 'const struct pam_message **' ../nsswitch/pam_winbind.c: In function '_pam_mkhomedir': ../nsswitch/pam_winbind.c:1591:39: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 1591 | ret = pam_get_user(ctx->pamh, &username, NULL); | ^~~~~~~~~ | | | const char ** /usr/include/security/pam_appl.h:227:16: note: expected 'char **' but argument is of type 'const char **' 227 | char **user, /* User Name */ | ~~~~~~~^~~~ ../nsswitch/pam_winbind.c: In function '_pam_delete_cred': ../nsswitch/pam_winbind.c:2491:45: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 2491 | retval = pam_get_user(pamh, &user, _("Username: ")); | ^~~~~ | | | const char ** /usr/include/security/pam_appl.h:227:16: note: expected 'char **' but argument is of type 'const char **' 227 | char **user, /* User Name */ | ~~~~~~~^~~~ ../nsswitch/pam_winbind.c: In function 'pam_sm_authenticate': ../nsswitch/pam_winbind.c:2619:37: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 2619 | retval = pam_get_user(pamh, &username, NULL); | ^~~~~~~~~ | | | const char ** /usr/include/security/pam_appl.h:227:16: note: expected 'char **' but argument is of type 'const char **' 227 | char **user, /* User Name */ | ~~~~~~~^~~~ ../nsswitch/pam_winbind.c: In function 'pam_sm_acct_mgmt': ../nsswitch/pam_winbind.c:2826:34: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 2826 | ret = pam_get_user(pamh, &username, NULL); | ^~~~~~~~~ | | | const char ** /usr/include/security/pam_appl.h:227:16: note: expected 'char **' but argument is of type 'const char **' 227 | char **user, /* User Name */ | ~~~~~~~^~~~ ../nsswitch/pam_winbind.c: In function 'pam_sm_chauthtok': ../nsswitch/pam_winbind.c:3038:34: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 3038 | ret = pam_get_user(pamh, &user, _("Username: ")); | ^~~~~ | | | const char ** /usr/include/security/pam_appl.h:227:16: note: expected 'char **' but argument is of type 'const char **' 227 | char **user, /* User Name */ | ~~~~~~~^~~~ Linking shared library bin/pam_winbind.so Compiling ../nsswitch/winbind_krb5_locator.c Linking bin/winbind_krb5_locator.so *** Please use pkgtools/verifypc to sanity check dependencies.