=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/samba", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for samba-3.6.25nb52 Using CFLAGS = -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/ncurses -I. -I/tmp/work/net/samba/work/samba-3.6.25/source3 -I/tmp/work/net/samba/work/samba-3.6.25/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. -I./../lib/talloc -I./../lib/tevent -DHAVE_CONFIG_H -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/ncurses -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLDAP_DEPRECATED -DSUNOS5 -I/tmp/work/net/samba/work/samba-3.6.25/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG = -fPIC mkdir bin LIBS = -lsendfile -lresolv -lintl -liconv -lnsl -lsocket -lmd LDFLAGS = -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -lintl -lthread -L./bin DYNEXP = LDSHFLAGS = -fPIC -shared -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -lintl -lthread -L./bin -lc -Wl,-z,defs Compiling ../lib/talloc/talloc.c SHLIBEXT = so SONAMEFLAG = -Wl,-h, Compiling ../lib/replace/replace.c Compiling ../lib/replace/snprintf.c Compiling ../lib/replace/getpass.c Compiling ../lib/replace/strptime.c creating /tmp/work/net/samba/work/samba-3.6.25/source3/exports/libtalloc.syms 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 smbd/server_reload.c Compiling smbd/files.c Compiling smbd/connection.c Compiling smbd/utmp.c Compiling smbd/session.c Compiling smbd/dfree.c Compiling smbd/dir.c Compiling smbd/password.c smbd/password.c: In function 'validate_group': smbd/password.c:494:36: error: passing argument 1 of 'getnetgrent' from incompatible pointer type [-Wincompatible-pointer-types] 494 | while (getnetgrent(&host, &user, &domain)) { | ^~~~~ | | | const char ** In file included from ./../lib/replace/system/network.h:50, from ./../lib/util/util_net.h:24, from include/includes.h:507, from smbd/password.c:21: /usr/include/netdb.h:330:17: note: expected 'char **' but argument is of type 'const char **' 330 | int getnetgrent(char **, char **, char **); | ^~~~~~~ smbd/password.c:494:43: error: passing argument 2 of 'getnetgrent' from incompatible pointer type [-Wincompatible-pointer-types] 494 | while (getnetgrent(&host, &user, &domain)) { | ^~~~~ | | | const char ** /usr/include/netdb.h:330:26: note: expected 'char **' but argument is of type 'const char **' 330 | int getnetgrent(char **, char **, char **); | ^~~~~~~ smbd/password.c:494:50: error: passing argument 3 of 'getnetgrent' from incompatible pointer type [-Wincompatible-pointer-types] 494 | while (getnetgrent(&host, &user, &domain)) { | ^~~~~~~ | | | const char ** /usr/include/netdb.h:330:35: note: expected 'char **' but argument is of type 'const char **' 330 | int getnetgrent(char **, char **, char **); | ^~~~~~~ smbd/password.c:501:47: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 501 | return(user); | ^ In file included from include/includes.h:545: smbd/password.c: In function 'authorise_login': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:648:33: note: in expansion of macro 'fstrcpy' 648 | fstrcpy(user,user2); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:648:33: note: in expansion of macro 'fstrcpy' 648 | fstrcpy(user,user2); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:686:41: note: in expansion of macro 'fstrcpy' 686 | fstrcpy(user,auser); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:686:41: note: in expansion of macro 'fstrcpy' 686 | fstrcpy(user,auser); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:699:41: note: in expansion of macro 'fstrcpy' 699 | fstrcpy(user,user2); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:699:41: note: in expansion of macro 'fstrcpy' 699 | fstrcpy(user,user2); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:718:25: note: in expansion of macro 'fstrcpy' 718 | fstrcpy(user,guestname); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] 87 | #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) | ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' 172 | (CHECK_STRING_SIZE(d, max_len+1) \ | ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:9: note: in expansion of macro 'safe_strcpy_fn2' 126 | safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ | ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' 100 | #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) | ^~~~~~~~~~~ smbd/password.c:718:25: note: in expansion of macro 'fstrcpy' 718 | fstrcpy(user,guestname); | ^~~~~~~ smbd/password.c:594:40: note: declared here 594 | int snum, fstring user, DATA_BLOB password, | ~~~~~~~~^~~~ The following command failed: gcc -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/ncurses -I. -I/tmp/work/net/samba/work/samba-3.6.25/source3 -I/tmp/work/net/samba/work/samba-3.6.25/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. -I./../lib/talloc -I./../lib/tevent -DHAVE_CONFIG_H -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/ncurses -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLDAP_DEPRECATED -DSUNOS5 -I/tmp/work/net/samba/work/samba-3.6.25/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c smbd/password.c -o smbd/password.o gmake: *** [Makefile:1674: smbd/password.o] Error 1 gmake: *** Waiting for unfinished jobs.... Compiling smbd/conn.c *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/samba *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/samba