=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/converters/macfork", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for macfork-1.0nb1 g++ -g -Wall -I. -c -o Resource.o Resource.cc g++ -g -Wall -I. -c -o MacFork.o MacFork.cc MacFork.cc: In function 'Void SaveIconFamily(ResourceFile&, ResShort)': MacFork.cc:162:38: warning: '.ppm' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 162 | sprintf(filename, "%s.ppm", stub); | ^~~~ MacFork.cc:162:24: note: 'std::sprintf' output between 5 and 1028 bytes into a destination of size 1024 162 | sprintf(filename, "%s.ppm", stub); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ MacFork.cc:183:38: warning: '-bw.pbm' directive writing 7 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 183 | sprintf(filename, "%s-bw.pbm", stub); | ^~~~~~~ MacFork.cc:183:24: note: 'std::sprintf' output between 8 and 1031 bytes into a destination of size 1024 183 | sprintf(filename, "%s-bw.pbm", stub); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MacFork.cc:188:38: warning: '-mask.pbm' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 188 | sprintf(filename, "%s-mask.pbm", stub); | ^~~~~~~~~ MacFork.cc:188:24: note: 'std::sprintf' output between 10 and 1033 bytes into a destination of size 1024 188 | sprintf(filename, "%s-mask.pbm", stub); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -Wall -I. -c -o arg.o arg.c arg.c: In function 'arg_parse': arg.c:112:12: error: too many arguments to function 'arg_to_form1'; expected 0, have 1 112 | form = arg_to_form1(ap); | ^~~~~~~~~~~~ ~~ In file included from arg.c:36: arg.h:59:11: note: declared here 59 | Arg_form *arg_to_form1(), *arg_find_flag(), *arg_find_reg(); | ^~~~~~~~~~~~ arg.c: In function 'arg_to_form': arg.c:136:12: error: too many arguments to function 'arg_to_form1'; expected 0, have 1 136 | return arg_to_form1(ap); | ^~~~~~~~~~~~ ~~ arg.h:59:11: note: declared here 59 | Arg_form *arg_to_form1(), *arg_find_flag(), *arg_find_reg(); | ^~~~~~~~~~~~ arg.c: At top level: arg.c:146:11: error: conflicting types for 'arg_to_form1'; have 'Arg_form *(__va_list_tag *)' {aka 'struct arg_form *(__va_list_tag *)'} 146 | Arg_form *arg_to_form1(va_list ap) | ^~~~~~~~~~~~ arg.h:59:11: note: previous declaration of 'arg_to_form1' with type 'Arg_form *(void)' {aka 'struct arg_form *(void)'} 59 | Arg_form *arg_to_form1(), *arg_find_flag(), *arg_find_reg(); | ^~~~~~~~~~~~ arg.c: In function 'arg_format': arg.c:255:9: error: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 255 | bcopy(f->format, f->flag, n); | ^~~~~ arg.c:255:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] arg.c: In function 'arg_doc_parse': arg.c:321:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 321 | for (s++; *s && *s=='-' || *s>'0'&&*s<='9' || *s=='.'; s++); | ~~~^~~~~~~~~~ arg.c:342:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 342 | if (size==2 || *s>='A' && *s<='Z') va_arg(app->ap, long); | ~~~~~~~~^~~~~~~~~~ arg.c: In function 'arg_parse_form1': arg.c:513:17: error: too many arguments to function 'arg_find_flag'; expected 0, have 2 513 | f = arg_find_flag(av[i], form); | ^~~~~~~~~~~~~ ~~~~~ arg.h:59:28: note: declared here 59 | Arg_form *arg_to_form1(), *arg_find_flag(), *arg_find_reg(); | ^~~~~~~~~~~~~ arg.c:529:21: error: too many arguments to function 'arg_find_flag'; expected 0, have 2 529 | f = arg_find_flag("", form); | ^~~~~~~~~~~~~ ~~ arg.h:59:28: note: declared here 59 | Arg_form *arg_to_form1(), *arg_find_flag(), *arg_find_reg(); | ^~~~~~~~~~~~~ arg.c: At top level: arg.c:576:11: error: conflicting types for 'arg_find_flag'; have 'Arg_form *(char *, Arg_form *)' {aka 'struct arg_form *(char *, struct arg_form *)'} 576 | Arg_form *arg_find_flag(char *arg, Arg_form *form) | ^~~~~~~~~~~~~ arg.h:59:28: note: previous declaration of 'arg_find_flag' with type 'Arg_form *(void)' {aka 'struct arg_form *(void)'} 59 | Arg_form *arg_to_form1(), *arg_find_flag(), *arg_find_reg(); | ^~~~~~~~~~~~~ arg.c: In function 'arg_do': arg.c:648:14: error: too many arguments to function 'f->subr'; expected 0, have 2 648 | (*f->subr)(narg, av); | ~^~~~~~~~~ ~~~~ arg.h:25:15: note: declared here 25 | int (*subr)(); /* subroutine to call for action (if any) */ | ^~~~ arg.c: In function 'nargs': arg.c:715:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 715 | for (; i0; i++, au++, av++) { | ~~~~^~~~~~~ arg.c:734:53: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] 734 | fprintf(stderr, " %s: requested %d, got %d args: ", | ~^ | | | int | %ld 735 | flag, np, au-av0); | ~~~~~~ | | | long int arg.c: In function 'checkstr': arg.c:845:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 845 | if (!s || (int)s&ARG_MASKNEXT) { | ^ arg.c: At top level: arg.c:27:13: warning: 'rcsid' defined but not used [-Wunused-variable] 27 | static char rcsid[] = "$Header: /usr/people/ajw/cvsroot/arg/arg.c,v 1.1 1998/01/21 04:57:18 ajw Exp $"; | ^~~~~ gmake: *** [: arg.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/converters/macfork *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/converters/macfork