+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dpbox-6.00.00nb3/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dpbox-6.00.00nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for dpbox-6.00.00nb3 gcc -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -DNO_SHELL -c filesys.c gcc -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -DNO_SHELL -c box.c filesys.c: In function 'DFree': filesys.c:426:18: error: storage size of 'mystatfs' isn't known struct statvfs mystatfs; ^ filesys.c:428:3: warning: implicit declaration of function 'statvfs' [-Wimplicit-function-declaration] statvfs(mount, &mystatfs); ^ filesys.c:426:18: warning: unused variable 'mystatfs' [-Wunused-variable] struct statvfs mystatfs; ^ filesys.c: In function 'sfsetdatime': filesys.c:697:3: warning: pointer targets in passing argument 1 of 'utime' differ in signedness [-Wpointer-sign] if (utime((unsigned char *)name, &utim) >= 0) ^ In file included from filesys.c:27:0: /usr/include/utime.h:45:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int utime (const char *__file, ^ filesys.c: In function 'fmv_x': filesys.c:891:5: warning: pointer targets in passing argument 2 of 'sfgetdatime' differ in signedness [-Wpointer-sign] sfgetdatime(filea, &ddate, &dtime); ^ filesys.c:678:7: note: expected 'short unsigned int *' but argument is of type 'short int *' short sfgetdatime(char *name, unsigned short *date, unsigned short *time) ^ filesys.c:891:5: warning: pointer targets in passing argument 3 of 'sfgetdatime' differ in signedness [-Wpointer-sign] sfgetdatime(filea, &ddate, &dtime); ^ filesys.c:678:7: note: expected 'short unsigned int *' but argument is of type 'short int *' short sfgetdatime(char *name, unsigned short *date, unsigned short *time) ^ filesys.c:969:5: warning: pointer targets in passing argument 2 of 'sfsetdatime' differ in signedness [-Wpointer-sign] sfsetdatime(fileb, &ddate, &dtime); ^ filesys.c:692:7: note: expected 'short unsigned int *' but argument is of type 'short int *' short sfsetdatime(char *name, unsigned short *date, unsigned short *time) ^ filesys.c:969:5: warning: pointer targets in passing argument 3 of 'sfsetdatime' differ in signedness [-Wpointer-sign] sfsetdatime(fileb, &ddate, &dtime); ^ filesys.c:692:7: note: expected 'short unsigned int *' but argument is of type 'short int *' short sfsetdatime(char *name, unsigned short *date, unsigned short *time) ^ filesys.c: In function 'open_locked': filesys.c:1207:9: warning: variable 'Result' set but not used [-Wunused-but-set-variable] short Result, handle; ^ filesys.c: In function 'tas_lockfile': filesys.c:1412:3: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] time1 = time(NULL); ^ filesys.c: In function 'DFree': filesys.c:434:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ filesys.c: In function 'sfgetdir': filesys.c:745:9: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(p, 255); ^ filesys.c: In function 'flockprotocole': filesys.c:1190:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(k, hs, strlen(hs)); ^ filesys.c:1191:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(k, &crlfarr, sizeof(char)); ^ make: *** [filesys.o] Error 1 make: *** Waiting for unfinished jobs.... box.c: In function 'read_brett': box.c:1530:7: warning: pointer targets in passing argument 1 of 'checksum16_buf' differ in signedness [-Wpointer-sign] if (header->infochecksum != 0) checksum16_buf(copybuf, bct, &ics); ^ In file included from box.c:25:0: crc.h:29:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void checksum16_buf(unsigned char *adr, long size, unsigned short *crc); ^ box.c:1616:8: warning: pointer targets in passing argument 1 of 'checksum16_buf' differ in signedness [-Wpointer-sign] if (bcast) checksum16_buf(copybuf, bct, &bodychecksum); ^ In file included from box.c:25:0: crc.h:29:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void checksum16_buf(unsigned char *adr, long size, unsigned short *crc); ^ box.c:1689:3: warning: pointer targets in passing argument 1 of 'checksum16_buf' differ in signedness [-Wpointer-sign] if (header->infochecksum != 0) checksum16_buf(rp, err, &ics); ^ In file included from box.c:25:0: crc.h:29:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void checksum16_buf(unsigned char *adr, long size, unsigned short *crc); ^ box.c:1808:6: warning: pointer targets in passing argument 1 of 'checksum16_buf' differ in signedness [-Wpointer-sign] checksum16_buf(rp, err, &bodychecksum); ^ In file included from box.c:25:0: crc.h:29:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void checksum16_buf(unsigned char *adr, long size, unsigned short *crc); ^ box.c:1179:47: warning: variable 'crawler' set but not used [-Wunused-but-set-variable] boolean is_binary, bcast, is_call, export, crawler, hidflag; ^ box.c: In function 'list_brett': box.c:2118:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat=] sprintf(hs, "%s-%d-%d", header.absender, strlen(header.betreff), pwm); ^ box.c: In function 'transfer': box.c:3795:9: warning: pointer targets in passing argument 1 of 'checksum16_buf' differ in signedness [-Wpointer-sign] checksum16_buf(copybuf, rs, &ics); ^ In file included from box.c:25:0: crc.h:29:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void checksum16_buf(unsigned char *adr, long size, unsigned short *crc); ^ box.c:3826:9: warning: pointer targets in passing argument 1 of 'checksum16_buf' differ in signedness [-Wpointer-sign] checksum16_buf(hs, strlen(hs), &ics); ^ In file included from box.c:25:0: crc.h:29:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void checksum16_buf(unsigned char *adr, long size, unsigned short *crc); ^ box.c: In function 'export_brett': box.c:3980:11: warning: variable 'ok' set but not used [-Wunused-but-set-variable] boolean ok, sf; ^ box.c: In function 'set_reply_address': box.c:4573:15: warning: variable 'WITH' set but not used [-Wunused-but-set-variable] userstruct *WITH; ^ In file included from box.c:22:0: box.c: In function 'set_selection': tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4776:9: note: in expansion of macro 'compare' if (compare(w, "SFWAIT")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4778:9: note: in expansion of macro 'compare' if (compare(w, "PROPOSED")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4780:9: note: in expansion of macro 'compare' if (compare(w, "SFRX")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4782:9: note: in expansion of macro 'compare' if (compare(w, "SFTX")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4784:9: note: in expansion of macro 'compare' if (compare(w, "SFERR")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4786:9: note: in expansion of macro 'compare' if (compare(w, "SFNOFOUND")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4788:9: note: in expansion of macro 'compare' if (compare(w, "CUT")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4790:9: note: in expansion of macro 'compare' if (compare(w, "MINE")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4792:9: note: in expansion of macro 'compare' if (compare(w, "BROADCAST")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4794:9: note: in expansion of macro 'compare' if (compare(w, "BROADCAST_RX")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4796:9: note: in expansion of macro 'compare' if (compare(w, "OWNHOLD")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4798:9: note: in expansion of macro 'compare' if (compare(w, "LOCALHOLD")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4800:9: note: in expansion of macro 'compare' if (compare(w, "SFHOLD")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4802:9: note: in expansion of macro 'compare' if (compare(w, "REJECTED")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4804:9: note: in expansion of macro 'compare' if (compare(w, "DOUBLE")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4806:9: note: in expansion of macro 'compare' if (compare(w, "OUTDATED")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4808:9: note: in expansion of macro 'compare' if (compare(w, "UNDEF")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:4810:9: note: in expansion of macro 'compare' if (compare(w, "HIDDEN") && WITH->supervisor) ^ box.c: In function 'analyse_boxcommand': tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:5015:11: note: in expansion of macro 'compare' if (compare(w, "NEWS") || compare(w, "MESSAGES")) { ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:5015:33: note: in expansion of macro 'compare' if (compare(w, "NEWS") || compare(w, "MESSAGES")) { ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:5019:18: note: in expansion of macro 'compare' } else if (compare(w, "SENT")) { ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:5025:18: note: in expansion of macro 'compare' } else if (compare(w, "USERS")) { ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:5310:11: note: in expansion of macro 'compare' if (compare(w, "USERS")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:5312:16: note: in expansion of macro 'compare' else if (compare(w, "INFO")) ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:5314:16: note: in expansion of macro 'compare' else if (compare(w, "ALL")) { ^ tools.h:113:48: warning: comparison with string literal results in unspecified behavior [-Waddress] #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ box.c:5325:18: note: in expansion of macro 'compare' } else if (compare(w, "LOST") /* && WITH->supervisor */ ) ^ *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/ham/dpbox *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/ham/dpbox