=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for sendfile-2.1bnb4 --- all --- cd src; make --- sendfile.o --- --- message.o --- --- utf7.o --- --- pstring.o --- --- string.o --- --- io.o --- --- net.o --- --- address.o --- --- spool.o --- --- sendmsg.o --- --- getline.o --- --- receive.o --- --- getdate.o --- --- lock.o --- --- sendfiled.o --- --- peername.o --- --- sendfile.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c sendfile.c --- message.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c message.c --- utf7.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c utf7.c --- pstring.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c pstring.c --- string.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c string.c --- io.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c io.c --- net.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c net.c --- address.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c address.c --- spool.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c spool.c --- sendmsg.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c sendmsg.c --- getline.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c getline.c --- receive.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c receive.c --- getdate.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c getdate.c --- lock.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c lock.c --- sendfiled.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c sendfiled.c --- peername.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c peername.c --- io.o --- io.c: In function 'fcopy': io.c:135:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot access '%s'",from); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:135:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"cannot access '%s'",from); ^ io.c:135:5: note: each undeclared identifier is reported only once for each function it appears in io.c:135:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot access '%s'",from); ^ io.c:135:24: note: expected 'int' but argument is of type 'char *' io.c:150:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error opening '%s'",from); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:150:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error opening '%s'",from); ^ io.c:150:24: note: expected 'int' but argument is of type 'char *' io.c:161:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error creating '%s'",to); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:161:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error creating '%s'",to); ^ io.c:161:26: note: expected 'int' but argument is of type 'char *' io.c:183:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error writing '%s'",to); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:183:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error writing '%s'",to); ^ io.c:183:21: note: expected 'int' but argument is of type 'char *' io.c:215:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error reading '%s'",from); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:215:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error reading '%s'",from); ^ io.c:215:24: note: expected 'int' but argument is of type 'char *' io.c:223:56: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"wrong byte count for '%s'",from); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:223:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"wrong byte count for '%s'",from); ^ io.c:223:24: note: expected 'int' but argument is of type 'char *' --- spool.o --- spool.c: In function 'scanspool': spool.c:219:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ --- io.o --- io.c: In function 'mktmpdir': io.c:337:56: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot create tmpdir %s",tmpdir); ^ --- address.o --- address.c: In function 'destination': address.c:137:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(userconfig),"%s/.sendfile",pwe->pw_dir); ^ --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:219:7: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ spool.c:219:7: note: each undeclared identifier is reported only once for each function it appears in spool.c:219:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ spool.c:219:27: note: expected 'int' but argument is of type 'char *' spool.c:227:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"cannot open spool file %s",file); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:227:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"cannot open spool file %s",file); ^ spool.c:227:23: note: expected 'int' but argument is of type 'char *' --- io.o --- In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:337:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"cannot create tmpdir %s",tmpdir); ^ --- spool.o --- spool.c:249:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:249:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ spool.c:249:27: note: expected 'int' but argument is of type 'char *' spool.c:251:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:251:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ --- io.o --- io.c:337:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot create tmpdir %s",tmpdir); ^ io.c:337:24: note: expected 'int' but argument is of type 'char *' --- spool.o --- spool.c:251:22: note: expected 'int' but argument is of type 'char *' spool.c:263:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ --- io.o --- io.c:342:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"directory for temporary files is: %s",tmpdir); ^ --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:263:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ spool.c:263:22: note: expected 'int' but argument is of type 'char *' --- io.o --- In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:342:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"directory for temporary files is: %s",tmpdir); ^ io.c:342:24: note: expected 'int' but argument is of type 'char *' --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:137:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(userconfig),"%s/.sendfile",pwe->pw_dir); ^ address.c:137:3: note: each undeclared identifier is reported only once for each function it appears in address.c:137:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(userconfig),"%s/.sendfile",pwe->pw_dir); ^ address.c:137:29: note: expected 'int' but argument is of type 'char *' --- spool.o --- spool.c:296:43: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s (%s)",arg,cp+1); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:296:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s (%s)",arg,cp+1); ^ spool.c:296:25: note: expected 'int' but argument is of type 'char *' --- address.o --- address.c:138:52: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),SPOOL"/%s/config",pwe->pw_name); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: globals.h:17:19: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define SPOOL "/var/spool/sendfile" ^ address.c:138:22: note: in expansion of macro 'SPOOL' snprintf(MAXS(tmp),SPOOL"/%s/config",pwe->pw_name); ^~~~~ globals.h:17:19: note: expected 'int' but argument is of type 'char *' #define SPOOL "/var/spool/sendfile" ^ address.c:138:22: note: in expansion of macro 'SPOOL' snprintf(MAXS(tmp),SPOOL"/%s/config",pwe->pw_name); ^~~~~ --- io.o --- io.c: In function 'rmtmpdir': io.c:381:67: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot remove %s/%s",tmpdir,dire->d_name); ^ --- address.o --- address.c:145:56: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s/msg@%s",userconfig,localhost); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:145:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s/msg@%s",userconfig,localhost); ^ address.c:145:24: note: expected 'int' but argument is of type 'char *' --- spool.o --- spool.c:314:19: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type '__off_t * {aka long int *}' [-Wformat=] sscanf(arg,"%lld %lld",&csize,&osize); ~~~^ ~~~~~~ %ld spool.c:314:24: warning: format '%lld' expects argument of type 'long long int *', but argument 4 has type '__off_t * {aka long int *}' [-Wformat=] sscanf(arg,"%lld %lld",&csize,&osize); ~~~^ ~~~~~~ %ld --- io.o --- In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:381:7: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"cannot remove %s/%s",tmpdir,dire->d_name); ^ io.c:381:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot remove %s/%s",tmpdir,dire->d_name); ^ io.c:381:26: note: expected 'int' but argument is of type 'char *' io.c:389:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot remove %s",tmpdir); ^ --- address.o --- address.c:190:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(aliasfile),"%s/aliases",userconfig); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:190:30: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(aliasfile),"%s/aliases",userconfig); ^ address.c:190:30: note: expected 'int' but argument is of type 'char *' --- io.o --- In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:389:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot remove %s",tmpdir); ^ io.c:389:24: note: expected 'int' but argument is of type 'char *' --- spool.o --- spool.c:375:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:375:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ spool.c:375:29: note: expected 'int' but argument is of type 'char *' spool.c:377:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:377:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ spool.c:377:22: note: expected 'int' but argument is of type 'char *' --- io.o --- io.c: In function 'vsystem': io.c:486:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"shell-call: %s\n",cmd); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:486:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"shell-call: %s\n",cmd); ^ io.c:486:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"shell-call: %s\n",cmd); ^ io.c:486:24: note: expected 'int' but argument is of type 'char *' io.c: In function 'vpopen': --- address.o --- address.c: In function 'check_forward': --- io.o --- io.c:509:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 case 'r': snprintf(MAXS(tmp),"shell-call: %s|",cmd); break; ^ --- address.o --- address.c:345:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"server error: %s",reply+4); ^ --- spool.o --- spool.c: In function 'scanoutspool': spool.c:564:38: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s*.h",sender); ^ --- io.o --- In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:509:17: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? case 'r': snprintf(MAXS(tmp),"shell-call: %s|",cmd); break; ^ io.c:509:36: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] case 'r': snprintf(MAXS(tmp),"shell-call: %s|",cmd); break; ^ io.c:509:36: note: expected 'int' but argument is of type 'char *' io.c:510:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 case 'w': snprintf(MAXS(tmp),"shell-call: |%s",cmd); break; ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:510:36: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] case 'w': snprintf(MAXS(tmp),"shell-call: |%s",cmd); break; ^ io.c:510:36: note: expected 'int' but argument is of type 'char *' --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:345:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"server error: %s",reply+4); ^ address.c:345:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"server error: %s",reply+4); ^ address.c:345:24: note: expected 'int' but argument is of type 'char *' --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:564:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"%s*.h",sender); ^ spool.c:564:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s*.h",sender); ^ spool.c:564:24: note: expected 'int' but argument is of type 'char *' spool.c:568:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(hfn),OUTGOING"/%s",tmp); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: globals.h:18:18: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define OUTGOING "/var/spool/sendfile/OUTGOING" ^ spool.c:568:24: note: in expansion of macro 'OUTGOING' snprintf(MAXS(hfn),OUTGOING"/%s",tmp); ^~~~~~~~ globals.h:18:18: note: expected 'int' but argument is of type 'char *' #define OUTGOING "/var/spool/sendfile/OUTGOING" ^ spool.c:568:24: note: in expansion of macro 'OUTGOING' snprintf(MAXS(hfn),OUTGOING"/%s",tmp); ^~~~~~~~ --- address.o --- address.c: In function 'saft_connect': --- spool.o --- spool.c:575:68: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"cannot open outgoing spool file %s",hfn); ^ --- address.o --- address.c:662:79: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"opening connection to finger://%s/%s",host,recipient); ^ --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:575:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"cannot open outgoing spool file %s",hfn); ^ spool.c:575:28: note: expected 'int' but argument is of type 'char *' spool.c:637:24: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type '__off_t * {aka long int *}' [-Wformat=] sscanf(arg,"%lld",&size); ~~~^ ~~~~~ %ld --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:662:7: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"opening connection to finger://%s/%s",host,recipient); ^ address.c:662:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"opening connection to finger://%s/%s",host,recipient); ^ address.c:662:26: note: expected 'int' but argument is of type 'char *' address.c:674:75: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"opening connection to saft://%s/%s",host,recipient); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:674:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"opening connection to saft://%s/%s",host,recipient); ^ address.c:674:24: note: expected 'int' but argument is of type 'char *' address.c:683:56: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s has no internet-address",host); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:683:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s has no internet-address",host); ^ address.c:683:23: note: expected 'int' but argument is of type 'char *' address.c:689:39: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(ahost),"saft.%s",host); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:689:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(ahost),"saft.%s",host); ^ address.c:689:25: note: expected 'int' but argument is of type 'char *' --- spool.o --- spool.c: In function 'delete_sf': spool.c:779:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.d",userspool,flp->id); ^ --- address.o --- address.c:704:71: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"opening connection to %s@%s",recipient,host); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:704:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"opening connection to %s@%s",recipient,host); ^ address.c:704:27: note: expected 'int' but argument is of type 'char *' address.c:719:18: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 service,host); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:718:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot connect to SAFT port %s on %s", ^ address.c:718:23: note: expected 'int' but argument is of type 'char *' address.c:726:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "trying user SAFT server on port %s",host,service); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:725:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s has no system SAFT server, " ^ address.c:725:23: note: expected 'int' but argument is of type 'char *' address.c:729:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ address.c:731:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' needsFree = 0; ^~~~~~~~~ address.c:736:72: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket"); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:736:21: error: expected expression before ')' token if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket"); ^ address.c:736:40: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket"); ^ --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:779:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(file),"%s/%d.d",userspool,flp->id); ^ spool.c:779:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.d",userspool,flp->id); ^ spool.c:779:23: note: expected 'int' but argument is of type 'char *' spool.c:781:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.h",userspool,flp->id); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:781:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.h",userspool,flp->id); ^ --- address.o --- address.c:736:40: note: expected 'int' but argument is of type 'char *' address.c:737:75: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (sockfd==-2) snprintf(MAXS(tmp),"cannot open connection to %s",host); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:737:40: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-2) snprintf(MAXS(tmp),"cannot open connection to %s",host); ^ address.c:737:40: note: expected 'int' but argument is of type 'char *' address.c:738:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (sockfd==-3) snprintf(MAXS(tmp),"%s is unknown",host); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: --- spool.o --- spool.c:781:23: note: expected 'int' but argument is of type 'char *' spool.c:785:63: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"cannot delete spoolfile #%d",flp->id); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:785:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"cannot delete spoolfile #%d",flp->id); ^ spool.c:785:26: note: expected 'int' but argument is of type 'char *' spool.c:791:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"%s deleted",fname); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: --- address.o --- address.c:738:40: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-3) snprintf(MAXS(tmp),"%s is unknown",host); ^ address.c:738:40: note: expected 'int' but argument is of type 'char *' address.c:739:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (sockfd==-4) snprintf(MAXS(tmp),"out of memory"); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:739:21: error: expected expression before ')' token if (sockfd==-4) snprintf(MAXS(tmp),"out of memory"); ^ address.c:739:40: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-4) snprintf(MAXS(tmp),"out of memory"); ^ --- spool.o --- spool.c:791:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"%s deleted",fname); ^ spool.c:791:26: note: expected 'int' but argument is of type 'char *' spool.c: In function 'spoolid': spool.c:877:34: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%d.h",id); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:877:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(file),"%d.h",id); ^ spool.c:877:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%d.h",id); ^ spool.c:877:25: note: expected 'int' but argument is of type 'char *' --- address.o --- address.c:739:40: note: expected 'int' but argument is of type 'char *' address.c:753:72: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"No SAFT server on port %s at %s",service,host); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:753:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"No SAFT server on port %s at %s",service,host); ^ address.c:753:26: note: expected 'int' but argument is of type 'char *' address.c:766:38: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"FROM %s",user); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:766:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"FROM %s",user); ^ address.c:766:24: note: expected 'int' but argument is of type 'char *' address.c:768:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"TO %s",recipient); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:768:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"TO %s",recipient); ^ address.c:768:24: note: expected 'int' but argument is of type 'char *' --- spool.o --- spool.c:886:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%d.d",id); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:886:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%d.d",id); ^ spool.c:886:27: note: expected 'int' but argument is of type 'char *' --- io.o --- *** [io.o] Error code 1 make[1]: stopped in /tmp/pkgbuild/net/sendfile/work.x86_64/sendfile-2.1b/src --- sendfile.o --- sendfile.c: In function 'main': sendfile.c:501:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else packet_size=atoi(optarg); break; ^~~~ sendfile.c:501:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else packet_size=atoi(optarg); break; ^~~~~ --- address.o --- *** [address.o] Error code 1 make[1]: stopped in /tmp/pkgbuild/net/sendfile/work.x86_64/sendfile-2.1b/src --- spool.o --- *** [spool.o] Error code 1 make[1]: stopped in /tmp/pkgbuild/net/sendfile/work.x86_64/sendfile-2.1b/src --- sendfile.o --- sendfile.c:654:77: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"unsupported compression program %s",force_compress); ^ --- receive.o --- receive.c: In function 'main': receive.c:290:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 case 'S': snprintf(MAXS(pgpring),"%s",optarg); break; ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:290:19: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? case 'S': snprintf(MAXS(pgpring),"%s",optarg); break; ^ receive.c:290:19: note: each undeclared identifier is reported only once for each function it appears in --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:654:7: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"unsupported compression program %s",force_compress); ^ sendfile.c:654:7: note: each undeclared identifier is reported only once for each function it appears in --- receive.o --- receive.c:290:42: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] case 'S': snprintf(MAXS(pgpring),"%s",optarg); break; ^ receive.c:290:42: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:654:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"unsupported compression program %s",force_compress); ^ sendfile.c:654:26: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:292:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 case 'f': snprintf(MAXS(from),"%s",optarg); break; ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:292:39: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] case 'f': snprintf(MAXS(from),"%s",optarg); break; ^ receive.c:292:39: note: expected 'int' but argument is of type 'char *' receive.c:293:52: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 case 'b': snprintf(MAXS(bounce),"%s",optarg); break; ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:293:41: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] case 'b': snprintf(MAXS(bounce),"%s",optarg); break; ^ receive.c:293:41: note: expected 'int' but argument is of type 'char *' receive.c:294:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 case 'Z': snprintf(MAXS(userspool),"%s",optarg); break; ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:294:44: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] case 'Z': snprintf(MAXS(userspool),"%s",optarg); break; ^ receive.c:294:44: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:722:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s %s ",argv[0],aopt); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:722:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s %s ",argv[0],aopt); ^ sendfile.c:722:24: note: expected 'int' but argument is of type 'char *' sendfile.c:767:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(pgprid),"%s@%s",recipient,host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:767:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(pgprid),"%s@%s",recipient,host); ^ sendfile.c:767:26: note: expected 'int' but argument is of type 'char *' sendfile.c:799:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(pgpsign),"-u '%s",pop); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:799:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(pgpsign),"-u '%s",pop); ^ sendfile.c:799:29: note: expected 'int' but argument is of type 'char *' sendfile.c:816:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"wrong pgp option, see 'man %s'",prg); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:816:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"wrong pgp option, see 'man %s'",prg); ^ sendfile.c:816:21: note: expected 'int' but argument is of type 'char *' sendfile.c:824:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(userspool),SPOOL"/%s",pw_name); ^ --- receive.o --- receive.c:321:39: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(userspool),"%s",cp); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:321:32: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(userspool),"%s",cp); ^ receive.c:321:32: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: globals.h:17:19: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define SPOOL "/var/spool/sendfile" ^ sendfile.c:824:28: note: in expansion of macro 'SPOOL' snprintf(MAXS(userspool),SPOOL"/%s",pw_name); ^~~~~ --- receive.o --- receive.c:323:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(userspool),"%s/.sfspool",pwe->pw_dir); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:323:32: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(userspool),"%s/.sfspool",pwe->pw_dir); ^ receive.c:323:32: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- globals.h:17:19: note: expected 'int' but argument is of type 'char *' #define SPOOL "/var/spool/sendfile" ^ sendfile.c:824:28: note: in expansion of macro 'SPOOL' snprintf(MAXS(userspool),SPOOL"/%s",pw_name); ^~~~~ --- receive.o --- receive.c:325:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(userspool),SPOOL"/%s",pwe->pw_name); ^ --- sendfile.o --- sendfile.c:825:63: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(outlogtmp),"%s/.sendfile_%d.log",userspool,pid); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: globals.h:17:19: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define SPOOL "/var/spool/sendfile" ^ receive.c:325:27: note: in expansion of macro 'SPOOL' snprintf(MAXS(userspool),SPOOL"/%s",pwe->pw_name); ^~~~~ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:825:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(outlogtmp),"%s/.sendfile_%d.log",userspool,pid); ^ --- receive.o --- globals.h:17:19: note: expected 'int' but argument is of type 'char *' #define SPOOL "/var/spool/sendfile" ^ receive.c:325:27: note: in expansion of macro 'SPOOL' snprintf(MAXS(userspool),SPOOL"/%s",pwe->pw_name); ^~~~~ --- sendfile.o --- sendfile.c:825:28: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:328:72: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (*userspool=='Z') snprintf(MAXS(userspool),SPOOL"/%s",pwe->pw_name); ^ --- sendfile.o --- sendfile.c:826:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tartmp),"%s/sendfile.tar",tmpdir); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: globals.h:17:19: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define SPOOL "/var/spool/sendfile" ^ receive.c:328:49: note: in expansion of macro 'SPOOL' if (*userspool=='Z') snprintf(MAXS(userspool),SPOOL"/%s",pwe->pw_name); ^~~~~ globals.h:17:19: note: expected 'int' but argument is of type 'char *' #define SPOOL "/var/spool/sendfile" ^ receive.c:328:49: note: in expansion of macro 'SPOOL' if (*userspool=='Z') snprintf(MAXS(userspool),SPOOL"/%s",pwe->pw_name); ^~~~~ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:826:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tartmp),"%s/sendfile.tar",tmpdir); ^ sendfile.c:826:25: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:332:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"spool directory %s does not exist",userspool); ^ --- sendfile.o --- sendfile.c:827:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(ziptmp),"%s/sendfile.zip",tmpdir); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:332:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"spool directory %s does not exist",userspool); ^ receive.c:332:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:827:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(ziptmp),"%s/sendfile.zip",tmpdir); ^ sendfile.c:827:25: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:342:16: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 userspool); ^ --- sendfile.o --- sendfile.c:828:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(pgptmp),"%s/sendfile.pgp",tmpdir); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:341:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "no access to spool directory %s (wrong permissions)", ^ receive.c:341:7: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:828:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(pgptmp),"%s/sendfile.pgp",tmpdir); ^ sendfile.c:828:25: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:351:72: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"no files found in spool directory %s",userspool); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:351:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"no files found in spool directory %s",userspool); ^ --- sendfile.o --- sendfile.c:829:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(texttmp),"%s/sendfile.txt",tmpdir); ^ --- receive.o --- receive.c:351:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:829:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(texttmp),"%s/sendfile.txt",tmpdir); ^ sendfile.c:829:26: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:362:40: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s/log",userspool); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:362:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s/log",userspool); ^ receive.c:362:22: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:830:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(stdintmp),"%s/sendfile.tmp",tmpdir); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:830:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(stdintmp),"%s/sendfile.tmp",tmpdir); ^ --- sendmsg.o --- sendmsg.c: In function 'main': sendmsg.c:263:42: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"FROM %s",login); ^ --- sendfile.o --- sendfile.c:830:27: note: expected 'int' but argument is of type 'char *' sendfile.c:848:64: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"the user spool directory is: %s",userspool); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:848:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"the user spool directory is: %s",userspool); ^ sendfile.c:848:21: note: expected 'int' but argument is of type 'char *' sendfile.c:852:62: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s is an unknown -W argument",where); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:852:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s is an unknown -W argument",where); ^ sendfile.c:852:26: note: expected 'int' but argument is of type 'char *' sendfile.c:869:68: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "tmp-file %s does already exist and cannot be deleted",tartmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:869:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "tmp-file %s does already exist and cannot be deleted",tartmp); ^ sendfile.c:869:7: note: expected 'int' but argument is of type 'char *' sendfile.c:874:68: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "tmp-file %s does already exist and cannot be deleted",ziptmp); ^ --- sendmsg.o --- In file included from /usr/include/stdio.h:597:0, from sendmsg.c:62: sendmsg.c:263:7: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(line),"FROM %s",login); ^ sendmsg.c:263:7: note: each undeclared identifier is reported only once for each function it appears in --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:874:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "tmp-file %s does already exist and cannot be deleted",ziptmp); ^ --- sendmsg.o --- sendmsg.c:263:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"FROM %s",login); ^ sendmsg.c:263:27: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:874:7: note: expected 'int' but argument is of type 'char *' --- sendmsg.o --- sendmsg.c:266:40: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"TO %s",login); ^ --- sendfile.o --- sendfile.c:879:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "tmp-file %s does already exist and cannot be deleted",texttmp); ^ --- sendmsg.o --- In file included from /usr/include/stdio.h:597:0, from sendmsg.c:62: sendmsg.c:266:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"TO %s",login); ^ sendmsg.c:266:27: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:879:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "tmp-file %s does already exist and cannot be deleted",texttmp); ^ sendfile.c:879:7: note: expected 'int' but argument is of type 'char *' sendfile.c:884:68: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "tmp-file %s does already exist and cannot be deleted",pgptmp); ^ --- receive.o --- receive.c:423:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tartmp),"%s/receive.tar",tmpdir); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:423:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tartmp),"%s/receive.tar",tmpdir); ^ receive.c:423:25: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:884:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "tmp-file %s does already exist and cannot be deleted",pgptmp); ^ sendfile.c:884:7: note: expected 'int' but argument is of type 'char *' --- sendmsg.o --- sendmsg.c:284:68: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msgcf),"%s/%s/config/tty@%s",SPOOL,login,localhost); ^ In file included from /usr/include/stdio.h:597:0, from sendmsg.c:62: sendmsg.c:284:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msgcf),"%s/%s/config/tty@%s",SPOOL,login,localhost); ^ sendmsg.c:284:25: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:424:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(fileslist),"%s/files",tmpdir); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:424:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(fileslist),"%s/files",tmpdir); ^ receive.c:424:28: note: expected 'int' but argument is of type 'char *' receive.c:425:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(error_log),"%s/error.log",tmpdir); ^ --- sendfile.o --- sendfile.c:889:70: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "tmp-file %s does already exist and cannot be deleted",stdintmp); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:425:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(error_log),"%s/error.log",tmpdir); ^ receive.c:425:28: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:889:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "tmp-file %s does already exist and cannot be deleted",stdintmp); ^ sendfile.c:889:7: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:431:68: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"no files in spool directory %s",userspool); ^ --- sendmsg.o --- sendmsg.c:296:65: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot open your tty %s for writing",tty); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:431:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"no files in spool directory %s",userspool); ^ receive.c:431:26: note: expected 'int' but argument is of type 'char *' --- sendmsg.o --- In file included from /usr/include/stdio.h:597:0, from sendmsg.c:62: sendmsg.c:296:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot open your tty %s for writing",tty); ^ sendmsg.c:296:24: note: expected 'int' but argument is of type 'char *' sendmsg.c:304:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "(no write access to %s)",msgcf); ^ In file included from /usr/include/stdio.h:597:0, from sendmsg.c:62: sendmsg.c:303:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot configure your tty " ^ sendmsg.c:303:22: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:459:43: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s %d",bouncelist,id); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:459:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s %d",bouncelist,id); ^ receive.c:459:22: note: expected 'int' but argument is of type 'char *' receive.c:462:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(bouncelist),"%d",id); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:462:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(bouncelist),"%d",id); ^ receive.c:462:29: note: expected 'int' but argument is of type 'char *' --- sendmsg.o --- sendmsg.c:322:30: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "try sendmsg -m",tty); ^ In file included from /usr/include/stdio.h:597:0, from sendmsg.c:62: sendmsg.c:321:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"your tty %s is write protected; " ^ sendmsg.c:321:27: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:476:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"spool file #%d not found",id); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:476:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"spool file #%d not found",id); ^ receive.c:476:28: note: expected 'int' but argument is of type 'char *' receive.c:512:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s %d",bouncelist,flp->id); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:512:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s %d",bouncelist,flp->id); ^ receive.c:512:22: note: expected 'int' but argument is of type 'char *' receive.c:515:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(bouncelist),"%d",flp->id); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:515:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(bouncelist),"%d",flp->id); ^ receive.c:515:29: note: expected 'int' but argument is of type 'char *' receive.c:527:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"file %s not found",pattern); ^ --- sendfile.o --- sendfile.c:957:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"packet size = %d bytes",packet_size); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:527:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"file %s not found",pattern); ^ receive.c:527:28: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:957:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"packet size = %d bytes",packet_size); ^ sendfile.c:957:24: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:541:58: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "sendfile -bk=y %s %s %s",opt_v,bouncelist,bounce); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:541:9: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "sendfile -bk=y %s %s %s",opt_v,bouncelist,bounce); ^ receive.c:541:9: note: expected 'int' but argument is of type 'char *' receive.c:544:58: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "sendfile -bk=n %s %s %s",opt_v,bouncelist,bounce); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:544:9: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "sendfile -bk=n %s %s %s",opt_v,bouncelist,bounce); ^ receive.c:544:9: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:973:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot open tmp-file %s",stdintmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:973:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot open tmp-file %s",stdintmp); ^ sendfile.c:973:26: note: expected 'int' but argument is of type 'char *' --- sendmsg.o --- sendmsg.c:404:42: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"MSG %s",utf_msg); ^ In file included from /usr/include/stdio.h:597:0, from sendmsg.c:62: sendmsg.c:404:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"MSG %s",utf_msg); ^ sendmsg.c:404:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:980:63: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error while writing stdin to %s",stdintmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:980:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error while writing stdin to %s",stdintmp); ^ sendfile.c:980:21: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c: In function 'list': --- sendmsg.o --- sendmsg.c:436:43: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"MSG %s",utf_msg); ^ --- receive.o --- receive.c:631:23: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type '__off_t {aka long int}' [-Wformat=] printf("%3d) %s %9lld kB %s", ~~~~^ %9ld flp->id,flp->rdate,(flp->osize+1023)/1024,show_fname); ~~~~~~~~~~~~~~~~~~~~~~ --- sendmsg.o --- In file included from /usr/include/stdio.h:597:0, from sendmsg.c:62: sendmsg.c:436:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"MSG %s",utf_msg); ^ sendmsg.c:436:27: note: expected 'int' but argument is of type 'char *' sendmsg.c:444:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"server timeout"); ^ In file included from /usr/include/stdio.h:597:0, from sendmsg.c:62: sendmsg.c:444:11: error: expected expression before ')' token snprintf(MAXS(tmp),"server timeout"); ^ sendmsg.c:444:30: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"server timeout"); ^ sendmsg.c:444:30: note: expected 'int' but argument is of type 'char *' sendmsg.c:449:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"server error: %s",sr+4); ^ In file included from /usr/include/stdio.h:597:0, from sendmsg.c:62: sendmsg.c:449:30: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"server error: %s",sr+4); ^ sendmsg.c:449:30: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:672:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 pgp_bin,pgpvm,userspool,flp->id,tar_bin); ^ --- sendfile.o --- sendfile.c:1025:65: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"spool directory %s does not exist",outgoing); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1025:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"spool directory %s does not exist",outgoing); ^ sendfile.c:1025:21: note: expected 'int' but argument is of type 'char *' sendfile.c:1033:12: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 outgoing); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1032:4: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "spool directory %s has wrong protection (must have 1777)", ^ sendfile.c:1032:4: note: expected 'int' but argument is of type 'char *' sendfile.c:1048:70: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot access spool directory %s",userspool); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:671:6: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(showtar),"%s %s -f < %s/%d.d | %s tvf -", ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1048:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot access spool directory %s",userspool); ^ sendfile.c:1048:26: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:671:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(showtar),"%s %s -f < %s/%d.d | %s tvf -", ^ receive.c:671:29: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1054:42: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sdfn),"%s.d",argv[fn]); ^ --- receive.o --- receive.c:676:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 bzip2_bin,userspool,flp->id,tar_bin); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:675:31: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(showtar),"%s -d < %s/%d.d | %s tvf -", ^ receive.c:675:31: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1054:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sdfn),"%s.d",argv[fn]); ^ sendfile.c:1054:27: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:679:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 gzip_bin,userspool,flp->id,tar_bin); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:678:31: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(showtar),"%s -d < %s/%d.d | %s tvf -", ^ --- sendfile.o --- sendfile.c:1055:42: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(shfn),"%s.h",argv[fn]); ^ --- receive.o --- receive.c:678:31: note: expected 'int' but argument is of type 'char *' receive.c:681:71: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(showtar),"%s tvf %s/%d.d",tar_bin,userspool,flp->id); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1055:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(shfn),"%s.h",argv[fn]); ^ sendfile.c:1055:27: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:681:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(showtar),"%s tvf %s/%d.d",tar_bin,userspool,flp->id); ^ receive.c:681:29: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1056:74: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (info) snprintf(MAXS(tinfo),"#%d/%d: ",fn-optind+1,argc-optind-1); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1056:38: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (info) snprintf(MAXS(tinfo),"#%d/%d: ",fn-optind+1,argc-optind-1); ^ sendfile.c:1056:38: note: expected 'int' but argument is of type 'char *' sendfile.c:1060:65: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot open spool file #%s",argv[fn]); ^ --- receive.o --- receive.c: In function 'receive_sf': --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1060:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot open spool file #%s",argv[fn]); ^ --- receive.o --- receive.c:763:65: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 case 0: snprintf(MAXS(tmp),"no signature found for '%s'",nname); ^ --- sendfile.o --- sendfile.c:1060:28: note: expected 'int' but argument is of type 'char *' sendfile.c:1094:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s+ACA-(%s)",comment,cp+1); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1094:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s+ACA-(%s)",comment,cp+1); ^ sendfile.c:1094:25: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:763:11: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? case 0: snprintf(MAXS(tmp),"no signature found for '%s'",nname); ^ receive.c:763:30: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] case 0: snprintf(MAXS(tmp),"no signature found for '%s'",nname); ^ receive.c:763:30: note: expected 'int' but argument is of type 'char *' receive.c:768:32: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "signature for '%s'",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:767:30: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] case -1: snprintf(MAXS(tmp),"no public key found to check " ^ receive.c:767:30: note: expected 'int' but argument is of type 'char *' receive.c:772:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 case -2: snprintf(MAXS(tmp),"bad signature for '%s'",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:772:30: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] case -2: snprintf(MAXS(tmp),"bad signature for '%s'",nname); ^ receive.c:772:30: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1132:59: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot send %s : %s",file,reply+4); ^ --- receive.o --- receive.c:788:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s/%d.h",userspool,flp->id); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1132:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot send %s : %s",file,reply+4); ^ sendfile.c:1132:25: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:788:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s/%d.h",userspool,flp->id); ^ receive.c:788:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1145:62: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s -d <%s|%s>%s",BZIP2,sdfn,GZIP,ziptmp); ^ --- receive.o --- receive.c:802:78: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s %s -f < %s/%d.d",pgp_bin,pgpvm,userspool,flp->id); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:802:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s %s -f < %s/%d.d",pgp_bin,pgpvm,userspool,flp->id); ^ receive.c:802:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1145:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -d <%s|%s>%s",BZIP2,sdfn,GZIP,ziptmp); ^ sendfile.c:1145:22: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:805:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot decrypt '%s' :",nname); ^ --- sendfile.o --- sendfile.c:1147:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s -d < %s > %s",BZIP2,sdfn,ziptmp); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:805:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot decrypt '%s' :",nname); ^ receive.c:805:21: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1147:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -d < %s > %s",BZIP2,sdfn,ziptmp); ^ sendfile.c:1147:22: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:813:66: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s -d < %s/%d.d",bzip2_bin,userspool,flp->id); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:813:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -d < %s/%d.d",bzip2_bin,userspool,flp->id); ^ --- sendfile.o --- sendfile.c:1149:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s -dc %s > %s",GZIP,sdfn,ziptmp); ^ --- receive.o --- receive.c:813:21: note: expected 'int' but argument is of type 'char *' receive.c:815:65: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); ^ --- net.o --- net.c: In function 'sock_getline': net.c:461:74: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"network socket data overrun (read bytes: %d)",n); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1149:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -dc %s > %s",GZIP,sdfn,ziptmp); ^ sendfile.c:1149:27: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:815:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); ^ receive.c:815:21: note: expected 'int' but argument is of type 'char *' receive.c:818:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot decompress '%s' :",nname); ^ --- sendfile.o --- sendfile.c:1153:70: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot recompress spool file #%s",argv[fn]); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:818:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot decompress '%s' :",nname); ^ receive.c:818:21: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1153:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot recompress spool file #%s",argv[fn]); ^ sendfile.c:1153:27: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:826:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s/%d.d",userspool,flp->id); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:826:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s/%d.d",userspool,flp->id); ^ receive.c:826:26: note: expected 'int' but argument is of type 'char *' receive.c:829:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot read '%s'",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:829:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot read '%s'",nname); ^ receive.c:829:21: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1165:25: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type '__off_t * {aka long int *}' [-Wformat=] sscanf(line,"SIZE %lld %lld",&size,&orgsize); ~~~^ ~~~~~ %ld sendfile.c:1165:30: warning: format '%lld' expects argument of type 'long long int *', but argument 4 has type '__off_t * {aka long int *}' [-Wformat=] sscanf(line,"SIZE %lld %lld",&size,&orgsize); ~~~^ ~~~~~~~~ %ld sendfile.c:1172:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"%s+AA0ACg-%s",comment,redirect); ^ --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:461:7: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"network socket data overrun (read bytes: %d)",n); ^ net.c:461:7: note: each undeclared identifier is reported only once for each function it appears in --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1172:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"%s+AA0ACg-%s",comment,redirect); ^ sendfile.c:1172:26: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:461:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"network socket data overrun (read bytes: %d)",n); ^ net.c:461:26: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:868:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s/%d.d",userspool,flp->id); ^ --- sendfile.o --- sendfile.c:1175:56: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "%s+AA0ACg-forward+ACA-from+ACA-%s",line,comment); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:868:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s/%d.d",userspool,flp->id); ^ receive.c:868:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1175:8: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "%s+AA0ACg-forward+ACA-from+ACA-%s",line,comment); ^ sendfile.c:1175:8: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:870:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot receive '%s'",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:870:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot receive '%s'",nname); ^ receive.c:870:28: note: expected 'int' but argument is of type 'char *' receive.c:880:47: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"'%s' received",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:880:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"'%s' received",nname); ^ receive.c:880:26: note: expected 'int' but argument is of type 'char *' receive.c:890:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 pgp_bin,pgpvm,userspool,flp->id,tartmp); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:889:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s %s -f < %s/%d.d > %s", ^ receive.c:889:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1203:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"COMMENT %s%s",tmp,comment); ^ --- receive.o --- receive.c:896:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot decrypt '%s' :",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:896:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot decrypt '%s' :",nname); ^ receive.c:896:21: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1203:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"COMMENT %s%s",tmp,comment); ^ sendfile.c:1203:22: note: expected 'int' but argument is of type 'char *' sendfile.c:1205:40: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"\r\n%s",redirect); ^ --- receive.o --- receive.c:953:39: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 bzip2_bin,userspool,flp->id,tar_bin); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1205:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"\r\n%s",redirect); ^ sendfile.c:1205:23: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:952:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s tf -", ^ receive.c:952:21: note: expected 'int' but argument is of type 'char *' receive.c:956:38: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 gzip_bin,userspool,flp->id,tar_bin); ^ --- net.o --- net.c: In function 'getreply': --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:955:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s tf -", ^ receive.c:955:21: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:533:66: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (*reply) snprintf(MAXS(msg),"%s, last data: \"%s\"",msg,reply); ^ --- sendfile.o --- sendfile.c:1218:47: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ^ --- receive.o --- receive.c:958:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s tf %s",tar_bin,tartmp); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:958:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s tf %s",tar_bin,tartmp); ^ receive.c:958:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1218:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ^ sendfile.c:1218:23: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:960:67: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s tf %s/%d.d",tar_bin,userspool,flp->id); ^ --- sendfile.o --- sendfile.c:1219:37: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"SIZE %s",sizes); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:960:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s tf %s/%d.d",tar_bin,userspool,flp->id); ^ receive.c:960:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1219:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"SIZE %s",sizes); ^ sendfile.c:1219:22: note: expected 'int' but argument is of type 'char *' sendfile.c:1224:62: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "spool file #%s has wrong size count - ignored",argv[fn]); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1224:6: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "spool file #%s has wrong size count - ignored",argv[fn]); ^ sendfile.c:1224:6: note: expected 'int' but argument is of type 'char *' --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:533:14: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? if (*reply) snprintf(MAXS(msg),"%s, last data: \"%s\"",msg,reply); ^ net.c:533:33: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (*reply) snprintf(MAXS(msg),"%s, last data: \"%s\"",msg,reply); ^ net.c:533:33: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1019:61: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"receiving from archive '%s' :",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1019:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"receiving from archive '%s' :",nname); ^ receive.c:1019:24: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:545:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"corrupt reply: \"%s\"",reply); ^ In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:545:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"corrupt reply: \"%s\"",reply); ^ net.c:545:21: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1026:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 bzip2_bin,userspool,flp->id,tar_bin,error_log); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1025:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s xvf - 2>%s", ^ receive.c:1025:21: note: expected 'int' but argument is of type 'char *' receive.c:1029:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 gzip_bin,userspool,flp->id,tar_bin,error_log); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1028:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s xvf - 2>%s", ^ receive.c:1028:21: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:568:52: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:568:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ --- receive.o --- receive.c:1031:67: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s xvf %s 2>%s",tar_bin,tartmp,error_log); ^ --- net.o --- net.c:568:24: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1031:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s xvf %s 2>%s",tar_bin,tartmp,error_log); ^ receive.c:1031:26: note: expected 'int' but argument is of type 'char *' receive.c:1034:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 tar_bin,userspool,flp->id,error_log); ^ --- sendfile.o --- sendfile.c:1305:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"shell-call: %s",cmd); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1033:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s xvf %s/%d.d 2>%s", ^ receive.c:1033:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1305:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"shell-call: %s",cmd); ^ sendfile.c:1305:26: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1047:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"errors while receive '%s' :",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1047:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"errors while receive '%s' :",nname); ^ receive.c:1047:25: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c: In function 'sendheader': net.c:643:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ --- receive.o --- receive.c:1058:62: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"leaving '%s' in spool intact",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1058:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"leaving '%s' in spool intact",nname); ^ receive.c:1058:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1334:59: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s < %s > %s",zprg,tartmp,ziptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1334:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s < %s > %s",zprg,tartmp,ziptmp); ^ sendfile.c:1334:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1336:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"shell-call: %s",cmd); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1336:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"shell-call: %s",cmd); ^ sendfile.c:1336:21: note: expected 'int' but argument is of type 'char *' --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:643:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ --- receive.o --- receive.c:1112:59: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "file does already exist and is not deletable",fname); ^ --- net.o --- net.c:643:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ net.c:643:22: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1111:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot create '%s' : " ^ receive.c:1111:24: note: expected 'int' but argument is of type 'char *' receive.c:1122:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s/%d.d",userspool,flp->id); ^ --- sendfile.o --- sendfile.c:1353:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1122:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s/%d.d",userspool,flp->id); ^ receive.c:1122:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1353:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ^ sendfile.c:1353:26: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1124:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot receive '%s'",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1124:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot receive '%s'",nname); ^ --- sendmsg.o --- *** [sendmsg.o] Error code 1 make[1]: stopped in /tmp/pkgbuild/net/sendfile/work.x86_64/sendfile-2.1b/src --- receive.o --- receive.c:1124:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1363:39: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(to),"%s",argv[argc-1]); ^ --- receive.o --- receive.c:1134:33: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 nname,flp->charset,nname); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1363:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(to),"%s",argv[argc-1]); ^ sendfile.c:1363:22: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1132:9: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "'%s' has a SOURCE or TEXT attribute, you have to decode it " ^ receive.c:1132:9: note: expected 'int' but argument is of type 'char *' receive.c:1141:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "metamail after pgp-decrypting",nname); ^ --- sendfile.o --- sendfile.c:1365:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(to),"%s@%s",recipient,host); ^ --- net.o --- net.c: In function 'send_data': net.c:728:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"server error: %s",&reply[4]); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1140:9: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "'%s' has the MIME attribute, you have to run it through" ^ receive.c:1140:9: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1365:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(to),"%s@%s",recipient,host); ^ sendfile.c:1365:22: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1149:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"'%s' received",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1149:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"'%s' received",nname); ^ receive.c:1149:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1375:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1375:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); ^ sendfile.c:1375:27: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1164:68: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s -d < %s/%d.d",bzip2_bin,userspool,flp->id); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1164:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -d < %s/%d.d",bzip2_bin,userspool,flp->id); ^ receive.c:1164:23: note: expected 'int' but argument is of type 'char *' receive.c:1166:67: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1166:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); ^ receive.c:1166:23: note: expected 'int' but argument is of type 'char *' receive.c:1169:58: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "%s %s -f < %s/%d.d",pgp_bin,pgpvm,userspool,flp->id); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1169:6: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "%s %s -f < %s/%d.d",pgp_bin,pgpvm,userspool,flp->id); ^ receive.c:1169:6: note: expected 'int' but argument is of type 'char *' --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:728:6: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"server error: %s",&reply[4]); ^ net.c:728:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"server error: %s",&reply[4]); ^ --- receive.o --- receive.c:1179:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot open '%s' for writing",nname); ^ --- net.o --- net.c:728:25: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1409:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"FILE %s",utf_name); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1179:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot open '%s' for writing",nname); ^ receive.c:1179:21: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:734:23: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type '__off_t * {aka long int *}' [-Wformat=] sscanf(&reply[4],"%lld",&offset); ~~~^ ~~~~~~~ %ld --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1409:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"FILE %s",utf_name); ^ sendfile.c:1409:26: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1195:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sfile),"%s/%d.d",userspool,flp->id); ^ --- net.o --- net.c:746:67: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "file %s has been already transmitted - ignored.",iso_name); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1195:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sfile),"%s/%d.d",userspool,flp->id); ^ receive.c:1195:28: note: expected 'int' but argument is of type 'char *' --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:746:9: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "file %s has been already transmitted - ignored.",iso_name); ^ net.c:746:9: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1418:39: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"FILE %s",utf_name); ^ --- receive.o --- receive.c:1200:64: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot open '%s' for writing",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1200:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot open '%s' for writing",nname); ^ receive.c:1200:28: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1418:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"FILE %s",utf_name); ^ sendfile.c:1418:21: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:754:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"corrupt server reply: %s",&reply[4]); ^ In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:754:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"corrupt server reply: %s",&reply[4]); ^ net.c:754:21: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1218:63: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmpfile),"%sreceive-%d.tmp",tmp,(int)getpid()); ^ --- net.o --- net.c:767:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error reading %s",iso_name); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1218:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmpfile),"%sreceive-%d.tmp",tmp,(int)getpid()); ^ --- sendfile.o --- sendfile.c:1427:39: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"FILE %s",utf_name); ^ --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:767:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error reading %s",iso_name); ^ net.c:767:21: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1218:27: note: expected 'int' but argument is of type 'char *' receive.c:1219:64: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s -d < %s > %s",bzip2_bin,sfile,tmpfile); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1427:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"FILE %s",utf_name); ^ sendfile.c:1427:21: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1219:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s -d < %s > %s",bzip2_bin,sfile,tmpfile); ^ receive.c:1219:23: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:778:66: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"resuming %s at byte %lld",iso_name,offset); ^ In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:778:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"resuming %s at byte %lld",iso_name,offset); ^ --- receive.o --- receive.c:1222:23: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 bzip2_bin,nname); ^ --- net.o --- net.c:778:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1432:47: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"TYPE BINARY COMPRESSED"); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1221:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"call to %s failed, cannot receive '%s'", ^ receive.c:1221:25: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:783:73: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"begin transfer of %s with %lld bytes",fname,size); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1432:4: error: expected expression before ')' token snprintf(MAXS(tmp),"TYPE BINARY COMPRESSED"); ^ --- receive.o --- receive.c:1227:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot write to '%s'",nname); ^ --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:783:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"begin transfer of %s with %lld bytes",fname,size); ^ net.c:783:24: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1227:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot write to '%s'",nname); ^ receive.c:1227:25: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1432:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"TYPE BINARY COMPRESSED"); ^ sendfile.c:1432:23: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1243:61: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "call to %s failed, cannot receive '%s'",sad[0],nname); ^ --- sendfile.o --- sendfile.c:1434:59: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"TYPE BINARY COMPRESSED=%s",compress); ^ --- net.o --- net.c:808:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error reading %s",iso_name); ^ In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:808:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error reading %s",iso_name); ^ net.c:808:21: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1243:8: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "call to %s failed, cannot receive '%s'",sad[0],nname); ^ receive.c:1243:8: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1434:4: error: too few arguments to function '__builtin___snprintf_chk' snprintf(MAXS(tmp),"TYPE BINARY COMPRESSED=%s",compress); ^ --- receive.o --- receive.c:1255:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s %s -f < %s > '%s'",pgp_bin,pgpvm,sfile,fname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1255:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s %s -f < %s > '%s'",pgp_bin,pgpvm,sfile,fname); ^ receive.c:1255:21: note: expected 'int' but argument is of type 'char *' receive.c:1258:62: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot receive '%s', pgp failed",nname); ^ --- sendfile.o --- sendfile.c:1451:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"SIZE %s",sizes); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1258:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot receive '%s', pgp failed",nname); ^ receive.c:1258:23: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1451:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"SIZE %s",sizes); ^ sendfile.c:1451:26: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:830:35: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type '__off_t {aka long int}' [-Wformat=] fprintf(stderr,"%s%s: %3d%% (%lld of %lld kB)\r", ~~~^ %ld net.c:832:3: (bytes+offset-1)/1024+1,(size+offset-1)/1024+1); ~~~~~~~~~~~~~~~~~~~~~~~ --- receive.o --- receive.c:1277:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sfile),"%s/%d.d",userspool,flp->id); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1277:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sfile),"%s/%d.d",userspool,flp->id); ^ receive.c:1277:28: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:830:43: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type '__off_t {aka long int}' [-Wformat=] fprintf(stderr,"%s%s: %3d%% (%lld of %lld kB)\r", ~~~^ %ld net.c:832:27: (bytes+offset-1)/1024+1,(size+offset-1)/1024+1); ~~~~~~~~~~~~~~~~~~~~~~ --- receive.o --- receive.c:1285:64: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot open '%s' for writing",nname); ^ --- sendfile.o --- sendfile.c:1466:47: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s\r\n%s",line,redirect); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1285:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot open '%s' for writing",nname); ^ receive.c:1285:28: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1466:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s\r\n%s",line,redirect); ^ --- net.o --- net.c:847:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error reading %s",iso_name); ^ --- receive.o --- receive.c:1301:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s/%d.d",userspool,flp->id); ^ --- sendfile.o --- sendfile.c:1466:23: note: expected 'int' but argument is of type 'char *' --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:847:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error reading %s",iso_name); ^ net.c:847:28: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1301:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s/%d.d",userspool,flp->id); ^ receive.c:1301:26: note: expected 'int' but argument is of type 'char *' receive.c:1303:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot receive '%s'",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1303:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot receive '%s'",nname); ^ receive.c:1303:28: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1475:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"COMMENT %s",tmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1475:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"COMMENT %s",tmp); ^ --- receive.o --- receive.c:1318:43: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"'%s' received",nname); ^ --- sendfile.o --- sendfile.c:1475:29: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:886:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "transfer of %s completed: %.1f kB/s",fname,thruput/1024); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1318:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"'%s' received",nname); ^ --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:886:4: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "transfer of %s completed: %.1f kB/s",fname,thruput/1024); ^ net.c:886:4: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1318:22: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:889:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "transfer of %s completed: %d byte/s",fname,(int)thruput); ^ --- receive.o --- receive.c:1325:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s:"CHARSET,flp->charset); ^ --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:889:4: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "transfer of %s completed: %d byte/s",fname,(int)thruput); ^ net.c:889:4: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1325:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s:"CHARSET,flp->charset); ^ receive.c:1325:24: note: expected 'int' but argument is of type 'char *' receive.c:1333:25: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 recode_bin,nname); ^ --- net.o --- net.c:896:21: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '__off_t {aka long int}' [-Wformat=] fprintf(stderr,"%lld kB, ",bytes/1024); ~~~^ ~~~~~~~~~~ %ld --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1332:9: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "call to %s failed, cannot translate character set in '%s'", ^ receive.c:1332:9: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:898:21: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '__off_t {aka long int}' [-Wformat=] fprintf(stderr,"%lld byte, ",bytes); ~~~^ %ld --- sendfile.o --- sendfile.c:1518:74: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (info) snprintf(MAXS(tinfo),"#%d/%d: ",fn-optind+1,argc-optind-1); ^ --- receive.o --- receive.c:1353:14: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 nname); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1518:38: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (info) snprintf(MAXS(tinfo),"#%d/%d: ",fn-optind+1,argc-optind-1); ^ sendfile.c:1518:38: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1352:9: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "'%s' is a MIME file, you have to run it through metamail", ^ receive.c:1352:9: note: expected 'int' but argument is of type 'char *' receive.c:1365:22: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 metamail_bin,nname); ^ --- net.o --- net.c:912:59: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"transfer failed for %s",iso_name); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1364:4: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "call to %s failed, keeping local file '%s'", ^ receive.c:1364:4: note: expected 'int' but argument is of type 'char *' --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:912:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"transfer failed for %s",iso_name); ^ net.c:912:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1552:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(to),"%s",argv[argc-1]); ^ --- receive.o --- receive.c: In function 'crlf2lf': --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1552:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(to),"%s",argv[argc-1]); ^ --- receive.o --- receive.c:1406:54: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot write to %s",nname); ^ --- sendfile.o --- sendfile.c:1552:24: note: expected 'int' but argument is of type 'char *' sendfile.c:1554:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(to),"%s@%s",recipient,host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1554:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(to),"%s@%s",recipient,host); ^ sendfile.c:1554:24: note: expected 'int' but argument is of type 'char *' sendfile.c:1564:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1564:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); ^ sendfile.c:1564:22: note: expected 'int' but argument is of type 'char *' sendfile.c:1574:17: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 file,rto); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1573:9: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "deleted from outgoing spool: '%s' for %s ", ^ sendfile.c:1573:9: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1406:9: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"cannot write to %s",nname); ^ receive.c:1406:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot write to %s",nname); ^ receive.c:1406:28: note: expected 'int' but argument is of type 'char *' receive.c:1418:54: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot write to %s",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1418:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot write to %s",nname); ^ receive.c:1418:28: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1598:39: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"FILE %s",utf_name); ^ --- receive.o --- receive.c:1429:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot write to %s",nname); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1429:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot write to %s",nname); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1598:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"FILE %s",utf_name); ^ sendfile.c:1598:21: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1429:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1609:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"'%s' deleted",iso_name); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1609:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"'%s' deleted",iso_name); ^ sendfile.c:1609:25: note: expected 'int' but argument is of type 'char *' sendfile.c:1619:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot access '%s'",file); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1619:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot access '%s'",file); ^ sendfile.c:1619:28: note: expected 'int' but argument is of type 'char *' sendfile.c:1631:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s is not a regular file, skipping",file); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1631:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s is not a regular file, skipping",file); ^ sendfile.c:1631:28: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c: In function 'create_sigfile': receive.c:1610:40: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sigfile),"%s.sig",fname); ^ --- sendfile.o --- sendfile.c:1662:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot open '%s'",file); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1662:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot open '%s'",file); ^ sendfile.c:1662:23: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1610:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(sigfile),"%s.sig",fname); ^ --- sendfile.o --- sendfile.c:1706:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"*%s*",cft[n]); ^ --- receive.o --- receive.c:1610:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sigfile),"%s.sig",fname); ^ receive.c:1610:26: note: expected 'int' but argument is of type 'char *' receive.c:1611:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(nsigfile),"%s.sig",nname); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1706:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"*%s*",cft[n]); ^ sendfile.c:1706:23: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1611:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(nsigfile),"%s.sig",nname); ^ receive.c:1611:27: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1718:54: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s < '%s' > %s",zprg,file,ziptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1718:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s < '%s' > %s",zprg,file,ziptmp); ^ sendfile.c:1718:21: note: expected 'int' but argument is of type 'char *' sendfile.c:1720:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"shell-call: %s",strchr(cmd,';')+1); ^ --- receive.o --- receive.c:1645:61: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "file does already exist and is not deletable",sigfile); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1720:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"shell-call: %s",strchr(cmd,';')+1); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1644:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot create '%s' : " ^ receive.c:1644:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1720:23: note: expected 'int' but argument is of type 'char *' sendfile.c:1724:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot compress %s",file); ^ --- receive.o --- receive.c:1652:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot create signature file '%s' ",nsigfile); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1652:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot create signature file '%s' ",nsigfile); ^ receive.c:1652:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1724:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot compress %s",file); ^ sendfile.c:1724:23: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1659:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"signature file '%s' created",nsigfile); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1659:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"signature file '%s' created",nsigfile); ^ receive.c:1659:22: note: expected 'int' but argument is of type 'char *' receive.c: In function 'check_signature': receive.c:1698:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sigfile),"%s/%d.d.sig",userspool,flp->id); ^ --- sendfile.o --- sendfile.c:1746:52: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1746:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ^ sendfile.c:1746:28: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1698:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(sigfile),"%s/%d.d.sig",userspool,flp->id); ^ receive.c:1698:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sigfile),"%s/%d.d.sig",userspool,flp->id); ^ receive.c:1698:26: note: expected 'int' but argument is of type 'char *' receive.c:1700:64: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot write signature file %s",sigfile); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1700:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot write signature file %s",sigfile); ^ receive.c:1700:24: note: expected 'int' but argument is of type 'char *' receive.c:1710:68: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot read pgp pub ring file %s",pgpring); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1710:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot read pgp pub ring file %s",pgpring); ^ receive.c:1710:26: note: expected 'int' but argument is of type 'char *' receive.c:1713:75: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(pgpopt),"+batchmode=on +language=en +pubring=%s",pgpring); ^ --- sendfile.o --- sendfile.c:1784:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"TYPE %s COMPRESSED",type); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1713:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(pgpopt),"+batchmode=on +language=en +pubring=%s",pgpring); ^ receive.c:1713:27: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1784:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"TYPE %s COMPRESSED",type); ^ sendfile.c:1784:26: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1715:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(pgpopt),"+batchmode=on +language=en"); ^ --- sendfile.o --- sendfile.c:1786:63: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"TYPE %s COMPRESSED=%s",type,compress); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1715:5: error: expected expression before ')' token snprintf(MAXS(pgpopt),"+batchmode=on +language=en"); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1786:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"TYPE %s COMPRESSED=%s",type,compress); ^ sendfile.c:1786:26: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1715:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(pgpopt),"+batchmode=on +language=en"); ^ receive.c:1715:27: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1788:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"TYPE %s CRYPTED",type); ^ --- receive.o --- receive.c:1718:67: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s %s %s 2>/dev/null",pgp_bin,pgpopt,sigfile); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1788:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"TYPE %s CRYPTED",type); ^ sendfile.c:1788:24: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1718:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s %s %s 2>/dev/null",pgp_bin,pgpopt,sigfile); ^ receive.c:1718:22: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1790:38: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"TYPE %s",type); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1790:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"TYPE %s",type); ^ sendfile.c:1790:24: note: expected 'int' but argument is of type 'char *' sendfile.c:1794:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"remote site does not support file of %s",line); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1794:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"remote site does not support file of %s",line); ^ sendfile.c:1794:23: note: expected 'int' but argument is of type 'char *' sendfile.c:1797:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"SIZE %s",sizes); ^ --- receive.o --- receive.c: In function 'renumber': receive.c:1792:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot change to %s",userspool); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1797:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"SIZE %s",sizes); ^ sendfile.c:1797:21: note: expected 'int' but argument is of type 'char *' sendfile.c:1799:35: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"DATE %s",date); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1799:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"DATE %s",date); ^ sendfile.c:1799:21: note: expected 'int' but argument is of type 'char *' sendfile.c:1814:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s\r\n%s",line,redirect); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1814:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s\r\n%s",line,redirect); ^ sendfile.c:1814:25: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1792:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"cannot change to %s",userspool); ^ --- sendfile.o --- sendfile.c:1823:40: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"COMMENT %s",tmp); ^ --- receive.o --- receive.c:1792:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot change to %s",userspool); ^ receive.c:1792:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1823:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"COMMENT %s",tmp); ^ sendfile.c:1823:24: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1819:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(ofile),"%d.h",min); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1819:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(ofile),"%d.h",min); ^ receive.c:1819:26: note: expected 'int' but argument is of type 'char *' receive.c:1821:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(nfile),"%d.h",i); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1821:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(nfile),"%d.h",i); ^ receive.c:1821:28: note: expected 'int' but argument is of type 'char *' receive.c:1825:59: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot rename %s to %s",ofile,nfile); ^ In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1825:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot rename %s to %s",ofile,nfile); ^ receive.c:1825:23: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1883:74: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%d files sent with %.1f MB",tfn,tsize/1024/1024); ^ --- receive.o --- receive.c:1828:31: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(nfile),"%d.d",i); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1883:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%d files sent with %.1f MB",tfn,tsize/1024/1024); ^ sendfile.c:1883:26: note: expected 'int' but argument is of type 'char *' --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1828:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(nfile),"%d.d",i); ^ receive.c:1828:23: note: expected 'int' but argument is of type 'char *' receive.c:1829:33: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(ofile),"%d.d",min); ^ --- sendfile.o --- sendfile.c:1885:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%d files sent with %.1f kB",tfn,tsize/1024); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1829:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(ofile),"%d.d",min); ^ receive.c:1829:23: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1885:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%d files sent with %.1f kB",tfn,tsize/1024); ^ sendfile.c:1885:26: note: expected 'int' but argument is of type 'char *' --- receive.o --- receive.c:1832:59: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot rename %s to %s",ofile,nfile); ^ --- sendfile.o --- sendfile.c:1887:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%d files sent with %d byte",tfn,(int)tsize); ^ --- receive.o --- In file included from /usr/include/stdio.h:597:0, from receive.c:104: receive.c:1832:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot rename %s to %s",ofile,nfile); ^ receive.c:1832:23: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1887:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%d files sent with %d byte",tfn,(int)tsize); ^ sendfile.c:1887:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1889:61: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"%s at %.1f kB/s",tmp,thruput/1024); ^ --- sendfiled.o --- sendfiled.c: In function 'main': --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1889:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"%s at %.1f kB/s",tmp,thruput/1024); ^ sendfile.c:1889:27: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- sendfiled.c:599:28: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__off_t {aka long int}' [-Wformat=] case 'f': printf("%lld\n",free_space()); exit(0); ~~~^ ~~~~~~~~~~~~ %ld --- sendfile.o --- sendfile.c:1891:61: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"%s at %d byte/s",tmp,(int)thruput); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1891:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"%s at %d byte/s",tmp,(int)thruput); ^ sendfile.c:1891:27: note: expected 'int' but argument is of type 'char *' --- net.o --- *** [net.o] Error code 1 make[1]: stopped in /tmp/pkgbuild/net/sendfile/work.x86_64/sendfile-2.1b/src --- sendfile.o --- sendfile.c: In function 'cleanup': sendfile.c:1955:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^ --- sendfiled.o --- sendfiled.c:658:40: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(path),"PATH=%s",argp); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1955:2: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^ --- sendfiled.o --- In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:658:6: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(path),"PATH=%s",argp); ^ sendfiled.c:658:6: note: each undeclared identifier is reported only once for each function it appears in sendfiled.c:658:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(path),"PATH=%s",argp); ^ sendfiled.c:658:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1955:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^ sendfile.c:1955:22: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- sendfiled.c:668:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sys_forcepgp),"%s",argp); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:668:32: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sys_forcepgp),"%s",argp); ^ sendfiled.c:668:32: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1984:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1984:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^ sendfile.c:1984:28: note: expected 'int' but argument is of type 'char *' sendfile.c: In function 'pgp_encrypt': sendfile.c:2036:75: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s -kvf %s > %s 2>/dev/null",pgp_bin,pgprid,pgptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2036:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(cmd),"%s -kvf %s > %s 2>/dev/null",pgp_bin,pgprid,pgptmp); ^ --- sendfiled.o --- sendfiled.c:899:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s/config",userconfig); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:899:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s/config",userconfig); ^ sendfiled.c:899:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:2036:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -kvf %s > %s 2>/dev/null",pgp_bin,pgprid,pgptmp); ^ sendfile.c:2036:24: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- sendfiled.c:938:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(forcepgp),"%s",argp); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:938:32: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(forcepgp),"%s",argp); ^ --- sendfile.o --- sendfile.c:2047:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"ambigous pgp-ID '%s'",pgprid); ^ --- sendfiled.o --- sendfiled.c:938:32: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2047:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"ambigous pgp-ID '%s'",pgprid); ^ sendfile.c:2047:22: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- sendfiled.c:949:54: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(notification),"%s/notify ",userconfig); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:949:31: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(notification),"%s/notify ",userconfig); ^ sendfiled.c:949:31: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:2061:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 pgp_bin,pgpcrypt,shell_quote(file),pgptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2060:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s +armor=off -f%c < %s > %s", ^ sendfile.c:2060:24: note: expected 'int' but argument is of type 'char *' sendfile.c:2071:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 pgp_bin,pgprid,shell_quote(file),pgptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2070:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s +armor=off -fe %s < %s > %s 2>/dev/null", ^ sendfile.c:2070:24: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- sendfiled.c:1041:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(utfsender),"%s@%s %s",arg,peer,real); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1041:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(utfsender),"%s@%s %s",arg,peer,real); ^ sendfiled.c:1041:27: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c: In function 'pgp_sign': sendfile.c:2106:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 pgp_bin,pgpvm,pgpsign,shell_quote(infile)); ^ --- sendfiled.o --- sendfiled.c:1042:47: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s@%s (%s)",arg,peer,real); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1042:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s@%s (%s)",arg,peer,real); ^ sendfiled.c:1042:21: note: expected 'int' but argument is of type 'char *' sendfiled.c:1046:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(logsender),"%s (%s)",utfsender,cp+1); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1046:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(logsender),"%s (%s)",utfsender,cp+1); ^ sendfiled.c:1046:29: note: expected 'int' but argument is of type 'char *' sendfiled.c:1051:40: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(utfsender),"???@%s",peer); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1051:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(utfsender),"???@%s",peer); ^ sendfiled.c:1051:27: note: expected 'int' but argument is of type 'char *' sendfiled.c:1052:37: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sender),"???@%s",peer); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1052:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sender),"???@%s",peer); ^ sendfiled.c:1052:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2105:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(cmd),"%s %s -fsba %s < %s", ^ --- sendfiled.o --- sendfiled.c:1096:18: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 tmp[13],tmp[14]); ^ --- sendfile.o --- sendfile.c:2105:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s %s -fsba %s < %s", ^ sendfile.c:2105:22: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1090:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(date),"%c%c%c%c-%c%c-%c%c %c%c:%c%c:%c%c", ^ sendfiled.c:1090:22: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:2108:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"shell-call: %s",cmd); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2108:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"shell-call: %s",cmd); ^ sendfile.c:2108:24: note: expected 'int' but argument is of type 'char *' sendfile.c:2127:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sign),"SIGN %s",tmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2127:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sign),"SIGN %s",tmp); ^ sendfile.c:2127:23: note: expected 'int' but argument is of type 'char *' sendfile.c: In function 'start_spooldaemon': sendfile.c:2201:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon"); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2200:19: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket " ^ sendfile.c:2200:19: error: expected expression before ')' token if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket " ^ sendfile.c:2200:38: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket " ^ sendfile.c:2200:38: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- sendfiled.c:1309:21: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type '__off_t * {aka long int *}' [-Wformat=] if (sscanf(arg,"%lld",&size) != 1) { ~~~^ ~~~~~ %ld --- sendfile.o --- sendfile.c:2203:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon",localhost); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2202:38: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-2) snprintf(MAXS(tmp),"cannot open connection to %s " ^ sendfile.c:2202:38: note: expected 'int' but argument is of type 'char *' sendfile.c:2205:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon",localhost); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2204:38: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-3) snprintf(MAXS(tmp),"%s is unknown (name server down?) " ^ sendfile.c:2204:38: note: expected 'int' but argument is of type 'char *' sendfile.c:2207:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon"); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2206:19: error: expected expression before ')' token if (sockfd==-4) snprintf(MAXS(tmp),"out of memory " ^ sendfile.c:2206:38: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-4) snprintf(MAXS(tmp),"out of memory " ^ sendfile.c:2206:38: note: expected 'int' but argument is of type 'char *' sendfile.c:2222:63: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon",SERVICE,localhost); ^ --- sendfiled.o --- sendfiled.c:1405:71: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msgh),"Message from %s at %s :",sender,currentdate); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2221:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"No SAFT server on port %s at %s " ^ sendfile.c:2221:24: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1405:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msgh),"Message from %s at %s :",sender,currentdate); ^ sendfiled.c:1405:27: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:2245:47: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon"); ^ --- sendfiled.o --- sendfiled.c:1415:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s/msg@%s",userconfig,localhost); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1415:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s/msg@%s",userconfig,localhost); ^ sendfiled.c:1415:21: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2244:21: error: expected expression before ')' token if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket " ^ sendfile.c:2244:40: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket " ^ sendfile.c:2244:40: note: expected 'int' but argument is of type 'char *' sendfile.c:2247:52: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon",host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2246:40: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-2) snprintf(MAXS(tmp),"cannot open connection to %s " ^ sendfile.c:2246:40: note: expected 'int' but argument is of type 'char *' --- receive.o --- *** [receive.o] Error code 1 make[1]: stopped in /tmp/pkgbuild/net/sendfile/work.x86_64/sendfile-2.1b/src --- sendfile.o --- sendfile.c:2249:52: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon",host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2248:40: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-3) snprintf(MAXS(tmp),"%s is unknown (name server down?) " ^ sendfile.c:2248:40: note: expected 'int' but argument is of type 'char *' sendfile.c:2251:47: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon"); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2250:21: error: expected expression before ')' token if (sockfd==-4) snprintf(MAXS(tmp),"out of memory " ^ --- sendfiled.o --- sendfiled.c:1521:21: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type '__off_t * {aka long int *}' [-Wformat=] sscanf(tmp,"%lld",&spoolsize); ~~~^ ~~~~~~~~~~ %ld --- sendfile.o --- sendfile.c:2250:40: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-4) snprintf(MAXS(tmp),"out of memory " ^ sendfile.c:2250:40: note: expected 'int' but argument is of type 'char *' sendfile.c:2266:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon",SERVICE,host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2265:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"No SAFT server on port %s at %s " ^ sendfile.c:2265:26: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- sendfiled.c:1569:35: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sdfile),"%d.d",id); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1569:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sdfile),"%d.d",id); ^ sendfiled.c:1569:26: note: expected 'int' but argument is of type 'char *' sendfiled.c:1611:35: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(shfile),"%d.h",id); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1611:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(shfile),"%d.h",id); ^ sendfiled.c:1611:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c: In function 'forward': --- sendfiled.o --- sendfiled.c:1612:35: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sdfile),"%d.d",id); ^ --- sendfile.o --- sendfile.c:2352:59: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type '__off_t * {aka long int *}' [-Wformat=] if (str_neq_nocase("SIZE",line,4)) sscanf(arg+1,"%lld",&size); ~~~^ ~~~~~ %ld --- sendfiled.o --- In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1612:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sdfile),"%d.d",id); ^ sendfiled.c:1612:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c: In function 'get_header': sendfile.c:2396:66: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "illegal SAFT command \"%s\", \"%s\" was expected",line,cmd); ^ --- sendfiled.o --- sendfiled.c:1742:22: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 userspool,sdfile); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2395:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp), ^ sendfile.c:2396:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "illegal SAFT command \"%s\", \"%s\" was expected",line,cmd); ^ sendfile.c:2396:7: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1737:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cat %s/%s %s/%s | %s && rm -f %s/%s %s/%s", ^ sendfiled.c:1737:23: note: expected 'int' but argument is of type 'char *' sendfiled.c:1820:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%lld %lld",flp->csize,flp->osize); ^ --- sendfile.o --- sendfile.c: In function 'guess_ftype': --- sendfiled.o --- In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1820:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%lld %lld",flp->csize,flp->osize); ^ --- sendfile.o --- sendfile.c:2476:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"file %s",shell_quote(file)); ^ --- sendfiled.o --- sendfiled.c:1820:27: note: expected 'int' but argument is of type 'char *' sendfiled.c:1834:22: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__off_t {aka long int}' [-Wformat=] printf("230 %lld bytes have already been transmitted.\r\n",transmitted); ~~~^ %ld --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2476:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(cmd),"file %s",shell_quote(file)); ^ --- sendfiled.o --- sendfiled.c:1934:61: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(chfile),"tmp_challenge_%d",(int)getpid()); ^ --- sendfile.o --- sendfile.c:2476:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"file %s",shell_quote(file)); ^ sendfile.c:2476:22: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1934:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(chfile),"tmp_challenge_%d",(int)getpid()); ^ sendfiled.c:1934:29: note: expected 'int' but argument is of type 'char *' sendfiled.c:1941:65: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(csfile),"tmp_challenge_%d.asc",(int)getpid()); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1941:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(csfile),"tmp_challenge_%d.asc",(int)getpid()); ^ --- sendfile.o --- sendfile.c:2488:54: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s is of type %s",file,type); ^ --- sendfiled.o --- sendfiled.c:1941:29: note: expected 'int' but argument is of type 'char *' sendfiled.c:1958:30: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 pgp_bin,csfile,chfile); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2488:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s is of type %s",file,type); ^ sendfile.c:2488:26: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:1957:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s +pubring=config/public.pgp %s %s 2>/dev/null", ^ sendfiled.c:1957:26: note: expected 'int' but argument is of type 'char *' sendfiled.c:2012:47: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s/config",userspool); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2012:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s/config",userspool); ^ sendfiled.c:2012:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c: In function 'linkspeed': sendfile.c:2538:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(speeddir),"%s/speeds",userspool); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2538:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(speeddir),"%s/speeds",userspool); ^ --- sendfiled.o --- sendfiled.c:2091:28: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type '__off_t {aka long int}' [-Wformat=] printf("250-%d %s %s %lld ",flp->id,flp->fname,tmp,flp->csize); ~~~^ ~~~~~~~~~~ %ld --- sendfile.o --- sendfile.c:2538:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(speeddir),"%s/speeds",userspool); ^ sendfile.c:2538:27: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- sendfiled.c:2141:33: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(shfile),"%d.h",id); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2141:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(shfile),"%d.h",id); ^ sendfiled.c:2141:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:2545:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(hostfile),"%s/%s",speeddir,host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2545:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(hostfile),"%s/%s",speeddir,host); ^ sendfile.c:2545:27: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- sendfiled.c:2166:33: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sdfile),"%d.d",id); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2166:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sdfile),"%d.d",id); ^ sendfiled.c:2166:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:2557:17: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 host,speed); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2556:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "disabling compressing because last link speed to %s was %d kB/s", ^ sendfile.c:2556:7: note: expected 'int' but argument is of type 'char *' sendfile.c:2559:70: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"LAN speed is defined as min %d kB/s",lanspeed); ^ --- sendfiled.o --- sendfiled.c:2175:17: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__off_t {aka long int}' [-Wformat=] printf("231 %lld bytes will follow.\r\n",size); ~~~^ %ld --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2559:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"LAN speed is defined as min %d kB/s",lanspeed); ^ sendfile.c:2559:24: note: expected 'int' but argument is of type 'char *' sendfile.c: In function 'notespeed': sendfile.c:2590:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(speeddir),"%s/speeds",userspool); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2590:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(speeddir),"%s/speeds",userspool); ^ sendfile.c:2590:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(speeddir),"%s/speeds",userspool); ^ sendfile.c:2590:27: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- sendfiled.c:2306:19: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__off_t {aka long int}' [-Wformat=] printf("260 %lld MB free\r\n",f); ~~~^ %ld --- sendfile.o --- sendfile.c:2597:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(hostfile),"%s/%s",speeddir,host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2597:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(hostfile),"%s/%s",speeddir,host); ^ sendfile.c:2597:27: note: expected 'int' but argument is of type 'char *' sendfile.c: In function 'list_spool': --- sendfiled.o --- sendfiled.c: In function 'writeheader': --- sendfile.o --- sendfile.c:2634:30: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type '__off_t {aka long int}' [-Wformat=] printf("%s@%s : %s (%lld KB)\n", ~~~^ %ld oflp->to,hlp->host,file,(oflp->size+512)/1024); ~~~~~~~~~~~~~~~~~~~~~ --- sendfiled.o --- sendfiled.c:2437:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(header),"%s\t%s\n",attribute,value); ^ --- sendfile.o --- sendfile.c: In function 'spooled_info': sendfile.c:2661:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot access spool file %s",sdf); ^ --- sendfiled.o --- In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2437:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(header),"%s\t%s\n",attribute,value); ^ sendfiled.c:2437:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(header),"%s\t%s\n",attribute,value); ^ sendfiled.c:2437:25: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2661:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"cannot access spool file %s",sdf); ^ sendfile.c:2661:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot access spool file %s",sdf); ^ sendfile.c:2661:24: note: expected 'int' but argument is of type 'char *' sendfile.c:2669:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"'%s' spooled (%d KB [compressed])",file,size); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2669:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"'%s' spooled (%d KB [compressed])",file,size); ^ sendfile.c:2669:24: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- sendfiled.c: In function 'msg2tty': --- sendfile.o --- sendfile.c:2671:56: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"'%s' spooled (%d KB)",file,size); ^ --- sendfiled.o --- sendfiled.c:2540:62: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msgcf),"%s/config/tty@%s",userspool,localhost); ^ --- sendfile.o --- In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2671:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"'%s' spooled (%d KB)",file,size); ^ sendfile.c:2671:24: note: expected 'int' but argument is of type 'char *' --- sendfiled.o --- In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2540:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(msgcf),"%s/config/tty@%s",userspool,localhost); ^ sendfiled.c:2540:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msgcf),"%s/config/tty@%s",userspool,localhost); ^ sendfiled.c:2540:24: note: expected 'int' but argument is of type 'char *' sendfiled.c:2549:54: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(output),"\r\n%s\n\r%s\r\n",msgh,msg); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2549:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(output),"\r\n%s\n\r%s\r\n",msgh,msg); ^ sendfiled.c:2549:27: note: expected 'int' but argument is of type 'char *' sendfiled.c:2551:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(output),"\r\n%s\n\r",msgh); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2551:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(output),"\r\n%s\n\r",msgh); ^ sendfiled.c:2551:27: note: expected 'int' but argument is of type 'char *' sendfiled.c:2601:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tty),"/dev/%s",uinfo.ut_line); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2601:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tty),"/dev/%s",uinfo.ut_line); ^ sendfiled.c:2601:21: note: expected 'int' but argument is of type 'char *' sendfiled.c: In function 'mail2user': sendfiled.c:2667:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),SENDMAIL" %s",recipient); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2667:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(cmd),SENDMAIL" %s",recipient); ^ globals.h:29:19: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define SENDMAIL "/usr/sbin/sendmail" ^ sendfiled.c:2667:22: note: in expansion of macro 'SENDMAIL' snprintf(MAXS(cmd),SENDMAIL" %s",recipient); ^~~~~~~~ globals.h:29:19: note: expected 'int' but argument is of type 'char *' #define SENDMAIL "/usr/sbin/sendmail" ^ sendfiled.c:2667:22: note: in expansion of macro 'SENDMAIL' snprintf(MAXS(cmd),SENDMAIL" %s",recipient); ^~~~~~~~ sendfiled.c: In function 'restricted': sendfiled.c:2733:61: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(killfile),"%s/config/restrictions",userspool); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2733:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(killfile),"%s/config/restrictions",userspool); ^ sendfiled.c:2733:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(killfile),"%s/config/restrictions",userspool); ^ sendfiled.c:2733:27: note: expected 'int' but argument is of type 'char *' sendfiled.c: In function 'free_space': sendfiled.c:2789:42: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(spool),"%s/.",userspool); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2789:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(spool),"%s/.",userspool); ^ sendfiled.c:2789:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(spool),"%s/.",userspool); ^ sendfiled.c:2789:26: note: expected 'int' but argument is of type 'char *' sendfiled.c:2791:38: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(spool),"%s/.",SPOOL); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2791:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(spool),"%s/.",SPOOL); ^ sendfiled.c:2791:26: note: expected 'int' but argument is of type 'char *' sendfiled.c: In function 'get_sizes': sendfiled.c:2841:76: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (getrlimit(RLIMIT_FSIZE,&rl)==0) snprintf(MAXS(max),"%llu",rl.rlim_cur); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2841:39: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? if (getrlimit(RLIMIT_FSIZE,&rl)==0) snprintf(MAXS(max),"%llu",rl.rlim_cur); ^ sendfiled.c:2841:58: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (getrlimit(RLIMIT_FSIZE,&rl)==0) snprintf(MAXS(max),"%llu",rl.rlim_cur); ^ sendfiled.c:2841:58: note: expected 'int' but argument is of type 'char *' sendfiled.c:2858:17: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type '__off_t * {aka long int *}' [-Wformat=] sscanf(s1,"%lld",size); ~~~^ %ld sendfiled.c:2859:17: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type '__off_t * {aka long int *}' [-Wformat=] sscanf(s2,"%lld",osize); ~~~^ %ld sendfiled.c: In function 'send_msg': sendfiled.c:2886:32: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(user),"%s",to); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2886:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(user),"%s",to); ^ sendfiled.c:2886:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(user),"%s",to); ^ sendfiled.c:2886:25: note: expected 'int' but argument is of type 'char *' sendfiled.c:2887:34: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(host),"%s",cp+1); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2887:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(host),"%s",cp+1); ^ sendfiled.c:2887:25: note: expected 'int' but argument is of type 'char *' sendfiled.c:2889:32: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(user),"%s",to); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2889:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(user),"%s",to); ^ sendfiled.c:2889:25: note: expected 'int' but argument is of type 'char *' sendfiled.c:2907:77: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"FROM %s autogenerated+ACA-SAFT+ACA-message",recipient); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2907:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"FROM %s autogenerated+ACA-SAFT+ACA-message",recipient); ^ sendfiled.c:2907:23: note: expected 'int' but argument is of type 'char *' sendfiled.c:2908:42: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"FROM %s",recipient); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2908:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"FROM %s",recipient); ^ sendfiled.c:2908:23: note: expected 'int' but argument is of type 'char *' sendfiled.c:2914:35: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"TO %s",user); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2914:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"TO %s",user); ^ sendfiled.c:2914:23: note: expected 'int' but argument is of type 'char *' sendfiled.c:2921:35: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"MSG %s",tmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2921:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"MSG %s",tmp); ^ sendfiled.c:2921:23: note: expected 'int' but argument is of type 'char *' sendfiled.c: In function 'sfsd': sendfiled.c:2981:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),OUTGOING" : %s",strerror(errno)); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:2981:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),OUTGOING" : %s",strerror(errno)); ^ globals.h:18:18: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define OUTGOING "/var/spool/sendfile/OUTGOING" ^ sendfiled.c:2981:24: note: in expansion of macro 'OUTGOING' snprintf(MAXS(tmp),OUTGOING" : %s",strerror(errno)); ^~~~~~~~ globals.h:18:18: note: expected 'int' but argument is of type 'char *' #define OUTGOING "/var/spool/sendfile/OUTGOING" ^ sendfiled.c:2981:24: note: in expansion of macro 'OUTGOING' snprintf(MAXS(tmp),OUTGOING" : %s",strerror(errno)); ^~~~~~~~ sendfiled.c:3025:70: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot open %s : %s",lockfn,strerror(errno)); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3025:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot open %s : %s",lockfn,strerror(errno)); ^ sendfiled.c:3025:26: note: expected 'int' but argument is of type 'char *' sendfiled.c:3030:70: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot lock %s : %s",lockfn,strerror(errno)); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3030:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot lock %s : %s",lockfn,strerror(errno)); ^ sendfiled.c:3030:26: note: expected 'int' but argument is of type 'char *' sendfiled.c:3034:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%d\n",(int)getpid()); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3034:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%d\n",(int)getpid()); ^ sendfiled.c:3034:24: note: expected 'int' but argument is of type 'char *' sendfiled.c:3082:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"connected to %s",hlp->host); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3082:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"connected to %s",hlp->host); ^ sendfiled.c:3082:21: note: expected 'int' but argument is of type 'char *' sendfiled.c:3129:43: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"TO %s",arecipient); ^ --- sendfile.o --- *** [sendfile.o] Error code 1 make[1]: stopped in /tmp/pkgbuild/net/sendfile/work.x86_64/sendfile-2.1b/src --- sendfiled.o --- In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3129:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"TO %s",arecipient); ^ sendfiled.c:3129:25: note: expected 'int' but argument is of type 'char *' sendfiled.c:3154:14: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 hlp->host); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3153:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"connected to %s (forward redirection)", ^ sendfiled.c:3153:22: note: expected 'int' but argument is of type 'char *' sendfiled.c: In function 'send_spooldata': sendfiled.c:3294:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"sending %s to %s",isoname,to); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3294:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"sending %s to %s",isoname,to); ^ sendfiled.c:3294:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"sending %s to %s",isoname,to); ^ sendfiled.c:3294:24: note: expected 'int' but argument is of type 'char *' sendfiled.c:3298:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"sending %s to %s@%s",fname,to,host); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3298:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"sending %s to %s@%s",fname,to,host); ^ sendfiled.c:3298:22: note: expected 'int' but argument is of type 'char *' sendfiled.c:3304:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot access %s",osdfn); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3304:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot access %s",osdfn); ^ sendfiled.c:3304:24: note: expected 'int' but argument is of type 'char *' sendfiled.c:3321:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),SPOOL"/LOG/%s:%s",from,host); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: globals.h:17:19: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define SPOOL "/var/spool/sendfile" ^ sendfiled.c:3321:22: note: in expansion of macro 'SPOOL' snprintf(MAXS(tmp),SPOOL"/LOG/%s:%s",from,host); ^~~~~ globals.h:17:19: note: expected 'int' but argument is of type 'char *' #define SPOOL "/var/spool/sendfile" ^ sendfiled.c:3321:22: note: in expansion of macro 'SPOOL' snprintf(MAXS(tmp),SPOOL"/LOG/%s:%s",from,host); ^~~~~ sendfiled.c:3324:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"'%s' to %s",fname,to); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3324:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"'%s' to %s",fname,to); ^ sendfiled.c:3324:24: note: expected 'int' but argument is of type 'char *' sendfiled.c: In function 'saftserver_connect': sendfiled.c:3480:66: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"opening connection to %s:%s",host,service); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3480:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"opening connection to %s:%s",host,service); ^ sendfiled.c:3480:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"opening connection to %s:%s",host,service); ^ sendfiled.c:3480:24: note: expected 'int' but argument is of type 'char *' sendfiled.c:3486:43: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(server),"saft.%s",host); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3486:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(server),"saft.%s",host); ^ sendfiled.c:3486:29: note: expected 'int' but argument is of type 'char *' sendfiled.c:3487:70: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"opening connection to %s:%s",server,SERVICE); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3487:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"opening connection to %s:%s",server,SERVICE); ^ sendfiled.c:3487:26: note: expected 'int' but argument is of type 'char *' sendfiled.c:3526:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"forward points to %s",host); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3526:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"forward points to %s",host); ^ sendfiled.c:3526:26: note: expected 'int' but argument is of type 'char *' sendfiled.c:3534:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"connected to %s:%s",host,service); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3534:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"connected to %s:%s",host,service); ^ sendfiled.c:3534:24: note: expected 'int' but argument is of type 'char *' sendfiled.c: In function 'mail_report': sendfiled.c:3600:35: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"*:%s",host); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3600:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"*:%s",host); ^ sendfiled.c:3600:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"*:%s",host); ^ sendfiled.c:3600:24: note: expected 'int' but argument is of type 'char *' sendfiled.c: In function 'check_outspool': sendfiled.c:3696:43: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(oshfn),"%s",dire->d_name); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3696:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(oshfn),"%s",dire->d_name); ^ sendfiled.c:3696:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(oshfn),"%s",dire->d_name); ^ sendfiled.c:3696:26: note: expected 'int' but argument is of type 'char *' sendfiled.c:3706:63: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"no connection within %d days",bounce); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3706:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"no connection within %d days",bounce); ^ sendfiled.c:3706:26: note: expected 'int' but argument is of type 'char *' sendfiled.c: In function 'bounce_file': sendfiled.c:3752:40: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(oshfn),OUTGOING"/%s",cp); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3752:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(oshfn),OUTGOING"/%s",cp); ^ globals.h:18:18: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define OUTGOING "/var/spool/sendfile/OUTGOING" ^ sendfiled.c:3752:24: note: in expansion of macro 'OUTGOING' snprintf(MAXS(oshfn),OUTGOING"/%s",cp); ^~~~~~~~ globals.h:18:18: note: expected 'int' but argument is of type 'char *' #define OUTGOING "/var/spool/sendfile/OUTGOING" ^ sendfiled.c:3752:24: note: in expansion of macro 'OUTGOING' snprintf(MAXS(oshfn),OUTGOING"/%s",cp); ^~~~~~~~ sendfiled.c:3753:40: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(osdfn),OUTGOING"/%s",cp); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: globals.h:18:18: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define OUTGOING "/var/spool/sendfile/OUTGOING" ^ sendfiled.c:3753:24: note: in expansion of macro 'OUTGOING' snprintf(MAXS(osdfn),OUTGOING"/%s",cp); ^~~~~~~~ globals.h:18:18: note: expected 'int' but argument is of type 'char *' #define OUTGOING "/var/spool/sendfile/OUTGOING" ^ sendfiled.c:3753:24: note: in expansion of macro 'OUTGOING' snprintf(MAXS(osdfn),OUTGOING"/%s",cp); ^~~~~~~~ sendfiled.c:3761:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(userspool),SPOOL"/%s",pwe->pw_name); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: globals.h:17:19: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define SPOOL "/var/spool/sendfile" ^ sendfiled.c:3761:28: note: in expansion of macro 'SPOOL' snprintf(MAXS(userspool),SPOOL"/%s",pwe->pw_name); ^~~~~ globals.h:17:19: note: expected 'int' but argument is of type 'char *' #define SPOOL "/var/spool/sendfile" ^ sendfiled.c:3761:28: note: in expansion of macro 'SPOOL' snprintf(MAXS(userspool),SPOOL"/%s",pwe->pw_name); ^~~~~ sendfiled.c:3791:32: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(shfn),"%d.h",id); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3791:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(shfn),"%d.h",id); ^ sendfiled.c:3791:23: note: expected 'int' but argument is of type 'char *' sendfiled.c:3792:32: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sdfn),"%d.d",id); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3792:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sdfn),"%d.d",id); ^ sendfiled.c:3792:23: note: expected 'int' but argument is of type 'char *' sendfiled.c:3817:62: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot sent to %s : %s",arg,comment); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3817:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot sent to %s : %s",arg,comment); ^ sendfiled.c:3817:26: note: expected 'int' but argument is of type 'char *' sendfiled.c: In function 'check_userspool': sendfiled.c:3961:43: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(userspool),SPOOL"/%s",user); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3961:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(userspool),SPOOL"/%s",user); ^ globals.h:17:19: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define SPOOL "/var/spool/sendfile" ^ sendfiled.c:3961:28: note: in expansion of macro 'SPOOL' snprintf(MAXS(userspool),SPOOL"/%s",user); ^~~~~ globals.h:17:19: note: expected 'int' but argument is of type 'char *' #define SPOOL "/var/spool/sendfile" ^ sendfiled.c:3961:28: note: in expansion of macro 'SPOOL' snprintf(MAXS(userspool),SPOOL"/%s",user); ^~~~~ sendfiled.c:3962:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(userconfig),"%s/config",userspool); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:3962:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(userconfig),"%s/config",userspool); ^ sendfiled.c:3962:29: note: expected 'int' but argument is of type 'char *' sendfiled.c: In function 'sudo': sendfiled.c:4227:43: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"HOME=%s",pwe->pw_dir); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:4227:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"HOME=%s",pwe->pw_dir); ^ sendfiled.c:4227:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"HOME=%s",pwe->pw_dir); ^ sendfiled.c:4227:22: note: expected 'int' but argument is of type 'char *' sendfiled.c:4229:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"SHELL=%s",pwe->pw_shell); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:4229:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"SHELL=%s",pwe->pw_shell); ^ sendfiled.c:4229:22: note: expected 'int' but argument is of type 'char *' sendfiled.c:4231:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"USER=%s",user); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:4231:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"USER=%s",user); ^ sendfiled.c:4231:22: note: expected 'int' but argument is of type 'char *' sendfiled.c:4233:39: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"LOGNAME=%s",user); ^ In file included from /usr/include/stdio.h:597:0, from sendfiled.c:179: sendfiled.c:4233:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"LOGNAME=%s",user); ^ sendfiled.c:4233:22: note: expected 'int' but argument is of type 'char *' *** [sendfiled.o] Error code 1 make[1]: stopped in /tmp/pkgbuild/net/sendfile/work.x86_64/sendfile-2.1b/src 8 errors make[1]: stopped in /tmp/pkgbuild/net/sendfile/work.x86_64/sendfile-2.1b/src *** [all] Error code 2 make: stopped in /tmp/pkgbuild/net/sendfile/work.x86_64/sendfile-2.1b 1 error make: stopped in /tmp/pkgbuild/net/sendfile/work.x86_64/sendfile-2.1b *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/net/sendfile *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/sendfile