=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/print/enscript", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for enscript-1.6.6nb8 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/tmp/work/print/enscript/work/enscript-1.6.6' Making all in intl gmake[2]: Entering directory '/tmp/work/print/enscript/work/enscript-1.6.6/intl' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/tmp/work/print/enscript/work/enscript-1.6.6/intl' Making all in compat gmake[2]: Entering directory '/tmp/work/print/enscript/work/enscript-1.6.6/compat' gcc -DHAVE_CONFIG_H -I. -I.. -I./../intl -I../intl -I/opt/pkg/include -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c getopt.c gcc -DHAVE_CONFIG_H -I. -I.. -I./../intl -I../intl -I/opt/pkg/include -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c getopt1.c gcc -DHAVE_CONFIG_H -I. -I.. -I./../intl -I../intl -I/opt/pkg/include -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c xalloc.c gcc -DHAVE_CONFIG_H -I. -I.. -I./../intl -I../intl -I/opt/pkg/include -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c regex.c In file included from getopt1.c:36: /usr/include/stdio.h:335:17: error: conflicting types for 'getopt'; have 'int(int, char * const*, const char *)' 335 | extern int getopt(int, char *const *, const char *); | ^~~~~~ In file included from getopt1.c:26: getopt.h:108:12: note: previous declaration of 'getopt' with type 'int(void)' 108 | extern int getopt (); | ^~~~~~ getopt1.c: In function 'getopt_long': getopt1.c:68:1: warning: old-style function definition [-Wold-style-definition] 68 | getopt_long (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~ getopt1.c: In function 'getopt_long_only': getopt1.c:84:1: warning: old-style function definition [-Wold-style-definition] 84 | getopt_long_only (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~~~~~~ gmake[2]: *** [Makefile:348: getopt1.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... xalloc.c: In function 'xmalloc': xalloc.c:62:1: warning: old-style function definition [-Wold-style-definition] 62 | xmalloc (size) | ^~~~~~~ xalloc.c: In function 'xcalloc': xalloc.c:79:1: warning: old-style function definition [-Wold-style-definition] 79 | xcalloc (num, size) | ^~~~~~~ In file included from getopt.c:114: getopt.h:108:12: error: conflicting types for 'getopt'; have 'int(void)' 108 | extern int getopt (); | ^~~~~~ In file included from getopt.c:45: /usr/include/stdio.h:335:17: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 335 | extern int getopt(int, char *const *, const char *); | ^~~~~~ getopt.c: In function 'my_index': getopt.c:217:1: warning: old-style function definition [-Wold-style-definition] 217 | my_index (str, chr) | ^~~~~~~~ getopt.c: In function 'exchange': getopt.c:292:1: warning: old-style function definition [-Wold-style-definition] 292 | exchange (argv) | ^~~~~~~~ getopt.c: In function '_getopt_initialize': getopt.c:353:1: warning: old-style function definition [-Wold-style-definition] 353 | _getopt_initialize (argc, argv, optstring) | ^~~~~~~~~~~~~~~~~~ getopt.c:366:21: error: too many arguments to function 'getenv'; expected 0, have 1 366 | posixly_correct = getenv ("POSIXLY_CORRECT"); | ^~~~~~ ~~~~~~~~~~~~~~~~~ getopt.c:214:7: note: declared here 214 | char *getenv (); | ^~~~~~ getopt.c: In function '_getopt_internal': getopt.c:465:1: warning: old-style function definition [-Wold-style-definition] 465 | _getopt_internal (argc, argv, optstring, longopts, longind, long_only) | ^~~~~~~~~~~~~~~~ getopt.c: At top level: getopt.c:918:1: error: conflicting types for 'getopt'; have 'int(void)' 918 | getopt (argc, argv, optstring) | ^~~~~~ /usr/include/stdio.h:335:17: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 335 | extern int getopt(int, char *const *, const char *); | ^~~~~~ getopt.c: In function 'getopt': getopt.c:918:1: warning: old-style function definition [-Wold-style-definition] 918 | getopt (argc, argv, optstring) | ^~~~~~ xalloc.c: In function 'xrealloc': xalloc.c:97:1: warning: old-style function definition [-Wold-style-definition] 97 | xrealloc (ptr, size) | ^~~~~~~~ xalloc.c: In function 'xfree': xalloc.c:118:1: warning: old-style function definition [-Wold-style-definition] 118 | xfree (ptr) | ^~~~~ xalloc.c: In function 'xstrdup': xalloc.c:129:1: warning: old-style function definition [-Wold-style-definition] 129 | xstrdup (str) | ^~~~~~~ regex.c: In function 're_set_syntax': regex.c:946:1: warning: old-style function definition [-Wold-style-definition] 946 | re_set_syntax (syntax) | ^~~~~~~~~~~~~ regex.c: In function 'regex_compile': regex.c:1802:1: warning: old-style function definition [-Wold-style-definition] 1802 | regex_compile (pattern, size, syntax, bufp) | ^~~~~~~~~~~~~ gmake[2]: *** [Makefile:348: getopt.o] Error 1 regex.c: In function 'store_op1': regex.c:2902:1: warning: old-style function definition [-Wold-style-definition] 2902 | store_op1 (op, loc, arg) | ^~~~~~~~~ regex.c: In function 'store_op2': regex.c:2915:1: warning: old-style function definition [-Wold-style-definition] 2915 | store_op2 (op, loc, arg1, arg2) | ^~~~~~~~~ regex.c: In function 'insert_op1': regex.c:2930:1: warning: old-style function definition [-Wold-style-definition] 2930 | insert_op1 (op, loc, arg, end) | ^~~~~~~~~~ regex.c: In function 'insert_op2': regex.c:2949:1: warning: old-style function definition [-Wold-style-definition] 2949 | insert_op2 (op, loc, arg1, arg2, end) | ^~~~~~~~~~ regex.c: In function 'at_begline_loc_p': regex.c:2970:1: warning: old-style function definition [-Wold-style-definition] 2970 | at_begline_loc_p (pattern, p, syntax) | ^~~~~~~~~~~~~~~~ regex.c: In function 'at_endline_loc_p': regex.c:2989:1: warning: old-style function definition [-Wold-style-definition] 2989 | at_endline_loc_p (p, pend, syntax) | ^~~~~~~~~~~~~~~~ regex.c: In function 'group_in_compile_stack': regex.c:3011:1: warning: old-style function definition [-Wold-style-definition] 3011 | group_in_compile_stack (compile_stack, regnum) | ^~~~~~~~~~~~~~~~~~~~~~ regex.c: In function 'compile_range': regex.c:3039:1: warning: old-style function definition [-Wold-style-definition] 3039 | compile_range (p_ptr, pend, translate, syntax, b) | ^~~~~~~~~~~~~ regex.c: In function 're_compile_fastmap': regex.c:3098:1: warning: old-style function definition [-Wold-style-definition] 3098 | re_compile_fastmap (bufp) | ^~~~~~~~~~~~~~~~~~ regex.c: In function 're_set_registers': regex.c:3403:1: warning: old-style function definition [-Wold-style-definition] 3403 | re_set_registers (bufp, regs, num_regs, starts, ends) | ^~~~~~~~~~~~~~~~ regex.c: In function 're_search': regex.c:3430:1: warning: old-style function definition [-Wold-style-definition] 3430 | re_search (bufp, string, size, startpos, range, regs) | ^~~~~~~~~ regex.c: In function 're_search_2': regex.c:3463:1: warning: old-style function definition [-Wold-style-definition] 3463 | re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop) | ^~~~~~~~~~~ regex.c:3565:13: error: too many arguments to function 're_match_2_internal'; expected 0, have 8 3565 | val = re_match_2_internal (bufp, string1, size1, string2, size2, | ^~~~~~~~~~~~~~~~~~~ ~~~~ regex.c:339:12: note: declared here 339 | static int re_match_2_internal (); | ^~~~~~~~~~~~~~~~~~~ regex.c: In function 're_match': regex.c:3681:1: warning: old-style function definition [-Wold-style-definition] 3681 | re_match (bufp, string, size, pos, regs) | ^~~~~~~~ regex.c:3687:16: error: too many arguments to function 're_match_2_internal'; expected 0, have 8 3687 | int result = re_match_2_internal (bufp, NULL, 0, string, size, | ^~~~~~~~~~~~~~~~~~~ ~~~~ regex.c:339:12: note: declared here 339 | static int re_match_2_internal (); | ^~~~~~~~~~~~~~~~~~~ regex.c: In function 're_match_2': regex.c:3724:1: warning: old-style function definition [-Wold-style-definition] 3724 | re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) | ^~~~~~~~~~ regex.c:3732:16: error: too many arguments to function 're_match_2_internal'; expected 0, have 8 3732 | int result = re_match_2_internal (bufp, string1, size1, string2, size2, | ^~~~~~~~~~~~~~~~~~~ ~~~~ regex.c:339:12: note: declared here 339 | static int re_match_2_internal (); | ^~~~~~~~~~~~~~~~~~~ regex.c: In function 're_match_2_internal': regex.c:3745:1: warning: old-style function definition [-Wold-style-definition] 3745 | re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) | ^~~~~~~~~~~~~~~~~~~ regex.c: In function 'group_match_null_string_p': regex.c:5148:1: warning: old-style function definition [-Wold-style-definition] 5148 | group_match_null_string_p (p, end, reg_info) | ^~~~~~~~~~~~~~~~~~~~~~~~~ regex.c: In function 'alt_match_null_string_p': regex.c:5257:1: warning: old-style function definition [-Wold-style-definition] 5257 | alt_match_null_string_p (p, end, reg_info) | ^~~~~~~~~~~~~~~~~~~~~~~ regex.c: In function 'common_op_match_null_string_p': regex.c:5294:1: warning: old-style function definition [-Wold-style-definition] 5294 | common_op_match_null_string_p (p, end, reg_info) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c: In function 'bcmp_translate': regex.c:5382:1: warning: old-style function definition [-Wold-style-definition] 5382 | bcmp_translate (s1, s2, len, translate) | ^~~~~~~~~~~~~~ regex.c: In function 're_compile_pattern': regex.c:5409:1: warning: old-style function definition [-Wold-style-definition] 5409 | re_compile_pattern (pattern, length, bufp) | ^~~~~~~~~~~~~~~~~~ regex.c: In function 'regcomp': regex.c:5546:1: warning: old-style function definition [-Wold-style-definition] 5546 | regcomp (preg, pattern, cflags) | ^~~~~~~ regex.c: In function 'regexec': regex.c:5627:1: warning: old-style function definition [-Wold-style-definition] 5627 | regexec (preg, string, nmatch, pmatch, eflags) | ^~~~~~~ regex.c: In function 'regerror': regex.c:5692:1: warning: old-style function definition [-Wold-style-definition] 5692 | regerror (errcode, preg, errbuf, errbuf_size) | ^~~~~~~~ regex.c: In function 'regfree': regex.c:5735:1: warning: old-style function definition [-Wold-style-definition] 5735 | regfree (preg) | ^~~~~~~ gmake[2]: *** [Makefile:348: regex.o] Error 1 gmake[2]: Leaving directory '/tmp/work/print/enscript/work/enscript-1.6.6/compat' gmake[1]: *** [Makefile:393: all-recursive] Error 1 gmake[1]: Leaving directory '/tmp/work/print/enscript/work/enscript-1.6.6' gmake: *** [Makefile:331: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/print/enscript *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/print/enscript