=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/sendfile", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for sendfile-2.1bnb4 --- all --- cd src; make --- sendfile.o --- --- message.o --- --- utf7.o --- --- pstring.o --- --- sendfile.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -DSOLARIS2 -c sendfile.c --- pstring.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -DSOLARIS2 -c pstring.c --- message.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -DSOLARIS2 -c message.c --- utf7.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -DSOLARIS2 -c utf7.c --- sendfile.o --- sendfile.c: In function 'main': sendfile.c:490:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 490 | else strcpy(force_compress,optarg); break; | ^~~~ sendfile.c:490:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 490 | else strcpy(force_compress,optarg); break; | ^~~~~ sendfile.c:493:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 493 | else strcpy(comment,optarg); break; | ^~~~ sendfile.c:493:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 493 | else strcpy(comment,optarg); break; | ^~~~~ sendfile.c:499:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 499 | else strcpy(where,optarg); break; | ^~~~ sendfile.c:499:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 499 | else strcpy(where,optarg); break; | ^~~~~ sendfile.c:501:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 501 | 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' 501 | else packet_size=atoi(optarg); break; | ^~~~~ sendfile.c:962:18: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 962 | signal(SIGTERM,cleanexit); | ^~~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from sendfile.c:133: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ sendfile.c:186:6: note: 'cleanexit' declared here 186 | void cleanexit(); | ^~~~~~~~~ sendfile.c:963:18: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 963 | signal(SIGABRT,cleanexit); | ^~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ sendfile.c:186:6: note: 'cleanexit' declared here 186 | void cleanexit(); | ^~~~~~~~~ sendfile.c:964:18: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 964 | signal(SIGQUIT,cleanexit); | ^~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ sendfile.c:186:6: note: 'cleanexit' declared here 186 | void cleanexit(); | ^~~~~~~~~ sendfile.c:965:17: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 965 | signal(SIGHUP,cleanexit); | ^~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ sendfile.c:186:6: note: 'cleanexit' declared here 186 | void cleanexit(); | ^~~~~~~~~ sendfile.c:966:17: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 966 | signal(SIGINT,cleanexit); | ^~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ sendfile.c:186:6: note: 'cleanexit' declared here 186 | void cleanexit(); | ^~~~~~~~~ sendfile.c:1165:32: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 1165 | sscanf(line,"SIZE %lld %lld",&size,&orgsize); | ~~~^ ~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfile.c:1165:37: warning: format '%lld' expects argument of type 'long long int *', but argument 4 has type 'off_t *' {aka 'long int *'} [-Wformat=] 1165 | sscanf(line,"SIZE %lld %lld",&size,&orgsize); | ~~~^ ~~~~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfile.c:1218:34: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 1218 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfile.c:1218:39: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 1218 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfile.c:1353:30: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 1353 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfile.c:1353:35: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 1353 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfile.c:1746:32: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 1746 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfile.c:1746:37: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 1746 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfile.c: In function 'forward': 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=] 2352 | if (str_neq_nocase("SIZE",line,4)) sscanf(arg+1,"%lld",&size); | ~~~^ ~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfile.c: In function 'list_spool': 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=] 2634 | printf("%s@%s : %s (%lld KB)\n", | ~~~^ | | | long long int | %ld 2635 | oflp->to,hlp->host,file,(oflp->size+512)/1024); | ~~~~~~~~~~~~~~~~~~~~~ | | | off_t {aka long int} --- string.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -DSOLARIS2 -c string.c --- io.o --- --- sendfile.o --- *** [sendfile.o] Error code 1 make[1]: stopped making "all" in /tmp/work/net/sendfile/work/sendfile-2.1b/src --- io.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -DSOLARIS2 -c io.c --- string.o --- string.c: In function 'sm_escchar': string.c:247:13: warning: old-style function definition [-Wold-style-definition] 247 | static char sm_escchar( c ) | ^~~~~~~~~~ string.c: In function 'simplematch': string.c:263:5: warning: old-style function definition [-Wold-style-definition] 263 | int simplematch( text, pattern, nocase ) | ^~~~~~~~~~~ make[1]: 1 error make[1]: stopped making "all" in /tmp/work/net/sendfile/work/sendfile-2.1b/src *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/net/sendfile/work/sendfile-2.1b bmake: 1 error bmake: stopped making "all" in /tmp/work/net/sendfile/work/sendfile-2.1b *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/sendfile *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/sendfile