=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/namazu", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for namazu-2.0.21nb12 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in m4 Making all in conf --- mknmzrc-sample --- perl -pe 's/^/\x23 / unless /^(\x23|package|$)/' ../pl/conf.pl | perl -pe 's/^#\[WIN\].*$//s' > mknmzrc-sample Making all in doc --- all-recursive --- Making all in en Making all in ja Making all in etc Making all in filter --- all-recursive --- Making all in po Making all in lib --- getopt.o --- --- getopt1.o --- --- getopt.o --- gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -pedantic -c `test -f 'getopt.c' || echo './'`getopt.c --- getopt1.o --- gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -pedantic -c `test -f 'getopt1.c' || echo './'`getopt1.c --- getopt.o --- In file included from getopt.c:105: getopt.h:163:12: error: conflicting types for 'getopt'; have 'int(void)' 163 | extern int getopt (); | ^~~~~~ In file included from getopt.c:42: /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 *); | ^~~~~~ --- getopt1.o --- In file included from getopt1.c:35: /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:25: getopt.h:163:12: note: previous declaration of 'getopt' with type 'int(void)' 163 | extern int getopt (); | ^~~~~~ getopt1.c: In function 'nmz_getopt_long': getopt1.c:67:1: warning: old-style function definition [-Wold-style-definition] 67 | nmz_getopt_long (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~~~~~ --- getopt.o --- getopt.c: In function 'my_index': getopt.c:216:1: warning: old-style function definition [-Wold-style-definition] 216 | my_index (str, chr) | ^~~~~~~~ --- getopt1.o --- getopt1.c: In function 'nmz_getopt_long_only': getopt1.c:83:1: warning: old-style function definition [-Wold-style-definition] 83 | nmz_getopt_long_only (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~~~~~~~~~~ --- getopt.o --- getopt.c: In function 'exchange': getopt.c:299:1: warning: old-style function definition [-Wold-style-definition] 299 | exchange (argv) | ^~~~~~~~ getopt.c: In function '_getopt_initialize': getopt.c:384:1: warning: old-style function definition [-Wold-style-definition] 384 | _getopt_initialize (argc, argv, optstring) | ^~~~~~~~~~~~~~~~~~ getopt.c:397:21: error: too many arguments to function 'getenv'; expected 0, have 1 397 | posixly_correct = getenv ("POSIXLY_CORRECT"); | ^~~~~~ ~~~~~~~~~~~~~~~~~ getopt.c:212:14: note: declared here 212 | extern char *getenv (); | ^~~~~~ getopt.c: In function '_getopt_internal': getopt.c:506:1: warning: old-style function definition [-Wold-style-definition] 506 | _getopt_internal (argc, argv, optstring, longopts, longind, long_only) | ^~~~~~~~~~~~~~~~ getopt.c: At top level: getopt.c:972:1: error: conflicting types for 'getopt'; have 'int(void)' 972 | 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:972:1: warning: old-style function definition [-Wold-style-definition] 972 | getopt (argc, argv, optstring) | ^~~~~~ --- getopt1.o --- *** [getopt1.o] Error code 1 bmake[2]: stopped making "all" in /tmp/work/textproc/namazu/work/namazu-2.0.21/lib --- getopt.o --- *** [getopt.o] Error code 1 bmake[2]: stopped making "all" in /tmp/work/textproc/namazu/work/namazu-2.0.21/lib bmake[2]: 2 errors bmake[2]: stopped making "all" in /tmp/work/textproc/namazu/work/namazu-2.0.21/lib *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /tmp/work/textproc/namazu/work/namazu-2.0.21 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /tmp/work/textproc/namazu/work/namazu-2.0.21 *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/textproc/namazu/work/namazu-2.0.21 bmake: 1 error bmake: stopped making "all" in /tmp/work/textproc/namazu/work/namazu-2.0.21 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/namazu *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/namazu