=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/www/wwwcount", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for wwwcount-2.5nb2 ================ making Makefiles ./configure loading cache ./config.cache checking whether make sets ${MAKE}... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wl,-R/opt/pkg/lib) works... yes checking whether the C compiler (gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wl,-R/opt/pkg/lib) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking host system type... x86_64-pc-solaris2.11 checking target system type... x86_64-pc-solaris2.11 checking build system type... x86_64-pc-solaris2.11 checking host system type... x86_64-pc-solaris2.11 checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) no checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for string.h... (cached) yes checking for fcntl.h... (cached) yes checking for memory.h... (cached) yes checking for malloc.h... (cached) yes checking for unistd.h... (cached) yes checking for ctype.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/file.h... (cached) yes checking for stdlib.h... (cached) yes checking for working const... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for flock... (cached) yes checking for strcasecmp... (cached) yes checking for mktime... (cached) yes checking for strftime... (cached) yes checking for gmtime... (cached) yes checking for system type... Solaris updating cache ./config.cache creating ./config.status creating libs/mcfg/Makefile creating libs/bigplus/Makefile creating libs/combine/Makefile creating utils/mkstrip/Makefile creating utils/extdgts/Makefile creating src/Makefile ================= making libmcfg.a (cd libs/mcfg; make) rm -f mcfg.o gcc -O -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_STDLIB_H=1 -DHAVE_FLOCK=1 -DHAVE_STRCASECMP=1 -DHAVE_MKTIME=1 -DHAVE_STRFTIME=1 -DHAVE_GMTIME=1 -DSOLARIS=1 -DSYS_UNIX=1 -c mcfg.c mcfg.c: In function 'Parameter': mcfg.c:68:12: warning: old-style function definition [-Wold-style-definition] 68 | static int Parameter (fp,style,pfunc,c) | ^~~~~~~~~ mcfg.c:227:13: error: too many arguments to function 'pfunc'; expected 0, have 2 227 | return (pfunc(bufr,&bufr[vstart])); | ^~~~~ ~~~~ mcfg.c: In function 'openConfFile': mcfg.c:249:14: warning: old-style function definition [-Wold-style-definition] 249 | static FILE *openConfFile(filename) | ^~~~~~~~~~~~ mcfg.c: In function 'paramProcess': mcfg.c:322:5: warning: old-style function definition [-Wold-style-definition] 322 | int paramProcess(filename,style,sfunc,pfunc) | ^~~~~~~~~~~~ mcfg.c:328:7: error: argument 'sfunc' doesn't match prototype 328 | (*sfunc)(); | ^~~~~ In file included from mcfg.c:1: mcfg.h:62:5: error: prototype declaration 62 | int paramProcess _Declare ((char *filename,int style, | ^~~~~~~~~~~~ mcfg.c:330:7: error: argument 'pfunc' doesn't match prototype 330 | (*pfunc)(); | ^~~~~ mcfg.h:62:5: error: prototype declaration 62 | int paramProcess _Declare ((char *filename,int style, | ^~~~~~~~~~~~ mcfg.c:347:31: error: passing argument 3 of 'Parse' from incompatible pointer type [-Wincompatible-pointer-types] 347 | result=Parse(fp,style,sfunc,pfunc); | ^~~~~ | | | int (*)(void) mcfg.c:14:57: note: expected 'int (*)(char *)' but argument is of type 'int (*)(void)' 14 | int style,int (*sfunc)(char *), | ~~~~~~^~~~~~~~~~~~~~ mcfg.h:50:37: note: in definition of macro '_Declare' 50 | #define _Declare(formal_parameters) formal_parameters | ^~~~~~~~~~~~~~~~~ mcfg.c:347:37: error: passing argument 4 of 'Parse' from incompatible pointer type [-Wincompatible-pointer-types] 347 | result=Parse(fp,style,sfunc,pfunc); | ^~~~~ | | | int (*)(void) mcfg.c:15:53: note: expected 'int (*)(char *, char *)' but argument is of type 'int (*)(void)' 15 | int (*pfunc)(char *,char *))); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ mcfg.h:50:37: note: in definition of macro '_Declare' 50 | #define _Declare(formal_parameters) formal_parameters | ^~~~~~~~~~~~~~~~~ mcfg.c:358:31: error: passing argument 3 of 'Parse' from incompatible pointer type [-Wincompatible-pointer-types] 358 | result=Parse(fp,style,sfunc,pfunc); | ^~~~~ | | | int (*)(void) mcfg.c:14:57: note: expected 'int (*)(char *)' but argument is of type 'int (*)(void)' 14 | int style,int (*sfunc)(char *), | ~~~~~~^~~~~~~~~~~~~~ mcfg.h:50:37: note: in definition of macro '_Declare' 50 | #define _Declare(formal_parameters) formal_parameters | ^~~~~~~~~~~~~~~~~ mcfg.c:358:37: error: passing argument 4 of 'Parse' from incompatible pointer type [-Wincompatible-pointer-types] 358 | result=Parse(fp,style,sfunc,pfunc); | ^~~~~ | | | int (*)(void) mcfg.c:15:53: note: expected 'int (*)(char *, char *)' but argument is of type 'int (*)(void)' 15 | int (*pfunc)(char *,char *))); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ mcfg.h:50:37: note: in definition of macro '_Declare' 50 | #define _Declare(formal_parameters) formal_parameters | ^~~~~~~~~~~~~~~~~ mcfg.c: In function 'eatComment': mcfg.c:376:12: warning: old-style function definition [-Wold-style-definition] 376 | static int eatComment(fp) | ^~~~~~~~~~ mcfg.c: In function 'eatWhitespace': mcfg.c:389:12: warning: old-style function definition [-Wold-style-definition] 389 | static int eatWhitespace(fp) | ^~~~~~~~~~~~~ mcfg.c: In function 'Continuation': mcfg.c:401:12: warning: old-style function definition [-Wold-style-definition] 401 | static int Continuation(line,pos) | ^~~~~~~~~~~~ mcfg.c: In function 'Parse': mcfg.c:453:12: warning: old-style function definition [-Wold-style-definition] 453 | static int Parse(fp,style,sfunc,pfunc) | ^~~~~ mcfg.c:488:32: error: passing argument 2 of 'Section' from incompatible pointer type [-Wincompatible-pointer-types] 488 | if (Section(fp,sfunc) < 0) | ^~~~~ | | | int (*)(void) mcfg.c:16:56: note: expected 'int (*)(char *)' but argument is of type 'int (*)(void)' 16 | static int Section _Declare ((FILE *fp,int (*sfunc)(char *))); | ~~~~~~^~~~~~~~~~~~~~ mcfg.h:50:37: note: in definition of macro '_Declare' 50 | #define _Declare(formal_parameters) formal_parameters | ^~~~~~~~~~~~~~~~~ mcfg.c:504:40: error: passing argument 3 of 'Parameter' from incompatible pointer type [-Wincompatible-pointer-types] 504 | if (Parameter(fp,style,pfunc,c) < 0) | ^~~~~ | | | int (*)(void) mcfg.c:74:7: note: expected 'int (*)(char *, char *)' but argument is of type 'int (*)(void)' 74 | (*pfunc)(); | ^~~~~ mcfg.c: In function 'Section': mcfg.c:536:12: warning: old-style function definition [-Wold-style-definition] 536 | static int Section(fp,sfunc) | ^~~~~~~ mcfg.c:587:21: error: too many arguments to function 'sfunc'; expected 0, have 1 587 | if (sfunc(bufr) < 0) | ^~~~~ ~~~~ mcfg.c: In function 'loc_realloc': mcfg.c:636:14: warning: old-style function definition [-Wold-style-definition] 636 | static char *loc_realloc(p,size) | ^~~~~~~~~~~ mcfg.c: In function 'regSection': mcfg.c:688:13: warning: old-style function definition [-Wold-style-definition] 688 | static void regSection(s) | ^~~~~~~~~~ mcfg.c: At top level: mcfg.c:688:13: warning: 'regSection' defined but not used [-Wunused-function] *** Error code 1 Stop. make[1]: stopped making "all" in /tmp/work/www/wwwcount/work/wwwcount2.5/libs/mcfg *** Error code 1 Stop. bmake: stopped making "all" in /tmp/work/www/wwwcount/work/wwwcount2.5 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/wwwcount *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/wwwcount