=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for changepass-1.3.3 --- xstring.o --- --- ccgi.o --- --- accessdb.o --- --- xstring.o --- clang -pipe -Os -c xstring.c --- accessdb.o --- clang -pipe -Os -c accessdb.c -DNO_GDBMDIR_NDBM_H --- ccgi.o --- clang -pipe -Os -c ccgi.c --- createcookie.o --- clang -pipe -Os -c createcookie.c --- acl.o --- clang -pipe -Os -c acl.c --- write_log.o --- clang -pipe -Os -c write_log.c --- acl.o --- In file included from acl.c:22: In file included from ./acl.h:23: In file included from ./pass.h:27: ./salt.h:22:9: warning: '__CGIPAFSALTH' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __CGIPAFSALTH ^~~~~~~~~~~~~ ./salt.h:23:9: note: '__CGIPAFSLATH' is defined here; did you mean '__CGIPAFSALTH'? #define __CGIPAFSLATH ^~~~~~~~~~~~~ __CGIPAFSALTH --- passpam.o --- clang -pipe -Os -D_WITHPAM -DCOMPAT -c passpam.c --- acl.o --- 1 warning generated. --- pass.o --- clang -pipe -Os -D_WITHPAM -DCOMPAT -c pass.c --- write_log.o --- write_log.c:92:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(priority,syslog_msg); ^~~~~~~~~~ write_log.c:92:19: note: treat the string as an argument to avoid this syslog(priority,syslog_msg); ^ "%s", 1 warning generated. --- salt.o --- clang -pipe -Os -c salt.c --- passpam.o --- In file included from passpam.c:22: In file included from ./pass.h:27: ./salt.h:22:9: warning: '__CGIPAFSALTH' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __CGIPAFSALTH ^~~~~~~~~~~~~ ./salt.h:23:9: note: '__CGIPAFSLATH' is defined here; did you mean '__CGIPAFSALTH'? #define __CGIPAFSLATH ^~~~~~~~~~~~~ __CGIPAFSALTH --- pass.o --- In file included from pass.c:22: In file included from ./pass.h:27: ./salt.h:22:9: warning: '__CGIPAFSALTH' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __CGIPAFSALTH ^~~~~~~~~~~~~ ./salt.h:23:9: note: '__CGIPAFSLATH' is defined here; did you mean '__CGIPAFSALTH'? #define __CGIPAFSLATH ^~~~~~~~~~~~~ __CGIPAFSALTH pass.c:520:1: warning: implicit declaration of function 'ulckpwdf' is invalid in C99 [-Wimplicit-function-declaration] ulckpwdf(); ^ --- passpam.o --- 1 warning generated. --- configfile.o --- clang -pipe -Os -c configfile.c --- salt.o --- In file included from salt.c:22: ./salt.h:22:9: warning: '__CGIPAFSALTH' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __CGIPAFSALTH ^~~~~~~~~~~~~ ./salt.h:23:9: note: '__CGIPAFSLATH' is defined here; did you mean '__CGIPAFSALTH'? #define __CGIPAFSLATH ^~~~~~~~~~~~~ __CGIPAFSALTH 1 warning generated. --- ephp.o --- --- pass.o --- 2 warnings generated. --- ephp.o --- clang -pipe -Os -c ephp.c --- cgipaf_func.o --- clang -pipe -Os -c cgipaf_func.c --- ephp.o --- ephp.c:162:32: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] memset(php_instr,'\0',sizeof(php_instr)); ~~~~~~~~~ ^~~~~~~~~ ephp.c:162:32: note: did you mean to provide an explicit length? memset(php_instr,'\0',sizeof(php_instr)); ^~~~~~~~~ --- configfile.o --- configfile.c:98:6: warning: comparison of array 's' equal to a null pointer is always false [-Wtautological-pointer-compare] if (s==NULL) ^ ~~~~ --- out_of_memory.o --- clang -pipe -Os -c out_of_memory.c --- ephp.o --- 1 warning generated. --- configfile.o --- 1 warning generated. --- showmsg.o --- --- searchdomain.o --- --- showmsg.o --- clang -pipe -Os -c showmsg.c --- searchdomain.o --- clang -pipe -Os -D_WITHPAM -DCOMPAT -c searchdomain.c --- run_cmd.o --- --- xmalloc.o --- --- run_cmd.o --- clang -pipe -Os -D_WITHPAM -DCOMPAT -c run_cmd.c --- xmalloc.o --- clang -pipe -Os -c xmalloc.c --- mailconfig.o --- clang -pipe -Os -D_WITHPAM -DCOMPAT -c mailconfig.c In file included from mailconfig.c:22: In file included from ./mailconfig.h:26: In file included from ./pass.h:27: ./salt.h:22:9: warning: '__CGIPAFSALTH' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __CGIPAFSALTH ^~~~~~~~~~~~~ ./salt.h:23:9: note: '__CGIPAFSLATH' is defined here; did you mean '__CGIPAFSALTH'? #define __CGIPAFSLATH ^~~~~~~~~~~~~ __CGIPAFSALTH --- passwd.cgi --- --- changepass --- --- mailconfig.o --- mailconfig.c:158:15: warning: comparison of array 'buf' equal to a null pointer is always false [-Wtautological-pointer-compare] if ((!i)||(buf==NULL)) {fclose(fp); return(NULL);} ^~~ ~~~~ mailconfig.c:210:7: warning: comparison of array 'hostname' not equal to a null pointer is always true [-Wtautological-pointer-compare] if(hostname!=NULL) strcat(hostdomainname,hostname); ^~~~~~~~ ~~~~ mailconfig.c:213:7: warning: comparison of array 'domainname' not equal to a null pointer is always true [-Wtautological-pointer-compare] if(domainname!=NULL) strcat(hostdomainname,domainname); ^~~~~~~~~~ ~~~~ --- passwd.cgi --- clang -pipe -Os -o passwd.cgi cgipaf.c xstring.o ccgi.o configfile.o showmsg.o ephp.o accessdb.o createcookie.o searchdomain.o xmalloc.o out_of_memory.o run_cmd.o acl.o write_log.o cgipaf_func.o passpam.o -lpam -D_WITHPAM -DCOMPAT -DCONFIGFILE=\"/opt/pkg/etc/cgipaf.conf\" -DCGIPAF_PASSWD --- changepass --- clang -pipe -Os -o changepass changepass.c xstring.o ccgi.o configfile.o showmsg.o ephp.o accessdb.o createcookie.o searchdomain.o xmalloc.o out_of_memory.o run_cmd.o acl.o write_log.o cgipaf_func.o passpam.o pass.o salt.o -lpam -D_WITHPAM -DCOMPAT -DNO_CHPASS_CRYPT --- mailconfig.o --- 4 warnings generated. --- mailcfg.cgi --- clang -pipe -Os -o mailcfg.cgi mailcfg.c xstring.o ccgi.o configfile.o showmsg.o ephp.o accessdb.o createcookie.o searchdomain.o xmalloc.o out_of_memory.o run_cmd.o acl.o write_log.o cgipaf_func.o passpam.o mailconfig.o -lpam -D_WITHPAM -DCOMPAT -DCONFIGFILE=\"/opt/pkg/etc/cgipaf.conf\" -DCGIPAF_MAILCFG --- changepass --- In file included from changepass.c:23: In file included from ./pass.h:27: ./salt.h:22:9: warning: '__CGIPAFSALTH' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __CGIPAFSALTH ^~~~~~~~~~~~~ ./salt.h:23:9: note: '__CGIPAFSLATH' is defined here; did you mean '__CGIPAFSALTH'? #define __CGIPAFSLATH ^~~~~~~~~~~~~ __CGIPAFSALTH --- passwd.cgi --- In file included from cgipaf.c:22: In file included from ./cgipaf_defs.h:27: In file included from ./acl.h:23: In file included from ./pass.h:27: ./salt.h:22:9: warning: '__CGIPAFSALTH' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __CGIPAFSALTH ^~~~~~~~~~~~~ ./salt.h:23:9: note: '__CGIPAFSLATH' is defined here; did you mean '__CGIPAFSALTH'? #define __CGIPAFSLATH ^~~~~~~~~~~~~ __CGIPAFSALTH --- changepass --- 1 warning generated. --- mailcfg.cgi --- In file included from mailcfg.c:22: In file included from ./cgipaf_defs.h:27: In file included from ./acl.h:23: In file included from ./pass.h:27: ./salt.h:22:9: warning: '__CGIPAFSALTH' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __CGIPAFSALTH ^~~~~~~~~~~~~ ./salt.h:23:9: note: '__CGIPAFSLATH' is defined here; did you mean '__CGIPAFSALTH'? #define __CGIPAFSLATH ^~~~~~~~~~~~~ __CGIPAFSALTH In file included from mailcfg.c:73: ./cgipaf_init.c:221:32: warning: format specifies type 'int *' but the argument has type 'time_t *' (aka 'long *') [-Wformat] if(cp!=NULL) sscanf(cp,"%d",&cookie_timeout); ~~ ^~~~~~~~~~~~~~~ %ld ./cgipaf_init.c:225:40: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] snprintf(cookie_timeout_txt,80,"%d",cookie_timeout); ~~ ^~~~~~~~~~~~~~ %ld /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ --- passwd.cgi --- 1 warning generated. --- changepass --- Undefined symbols for architecture arm64: "_fgetpwnam", referenced from: _get_pw_nopam in pass.o "_ulckpwdf", referenced from: _chpw_nopam in pass.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [changepass] Error code 1 bmake: stopped in /Users/pbulk/build/joyent/changepass/work/cgipaf-1.3.3 --- mailcfg.cgi --- 3 warnings generated. 1 error bmake: stopped in /Users/pbulk/build/joyent/changepass/work/cgipaf-1.3.3 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/joyent/changepass *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/joyent/changepass