=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/audio/madplay", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for madplay-0.15.2bnb6 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in intl Making all in po --- madplay.o --- --- getopt.o --- --- getopt1.o --- --- version.o --- --- madplay.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I. -Iintl -DLOCALEDIR=\"/opt/pkg/lib/locale\" -I/opt/pkg/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT madplay.o -MD -MP -MF ".deps/madplay.Tpo" -c -o madplay.o madplay.c; then mv -f ".deps/madplay.Tpo" ".deps/madplay.Po"; else rm -f ".deps/madplay.Tpo"; exit 1; fi --- getopt.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I. -Iintl -DLOCALEDIR=\"/opt/pkg/lib/locale\" -I/opt/pkg/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi --- getopt1.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I. -Iintl -DLOCALEDIR=\"/opt/pkg/lib/locale\" -I/opt/pkg/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi --- version.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I. -Iintl -DLOCALEDIR=\"/opt/pkg/lib/locale\" -I/opt/pkg/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT version.o -MD -MP -MF ".deps/version.Tpo" -c -o version.o version.c; then mv -f ".deps/version.Tpo" ".deps/version.Po"; else rm -f ".deps/version.Tpo"; exit 1; fi --- 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:147:12: note: previous declaration of 'getopt' with type 'int(void)' 147 | extern int getopt (); | ^~~~~~ getopt1.c: In function 'getopt_long': getopt1.c:67:1: warning: old-style function definition [-Wold-style-definition] 67 | getopt_long (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~ getopt1.c: In function 'getopt_long_only': getopt1.c:83:1: warning: old-style function definition [-Wold-style-definition] 83 | getopt_long_only (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~~~~~~ --- getopt.o --- In file included from getopt.c:108: getopt.h:147:12: error: conflicting types for 'getopt'; have 'int(void)' 147 | 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 *); | ^~~~~~ --- madplay.o --- In file included from madplay.c:32: /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 *); | ^~~~~~ --- getopt.o --- getopt.c: In function 'my_index': --- madplay.o --- In file included from madplay.c:29: getopt.h:147:12: note: previous declaration of 'getopt' with type 'int(void)' 147 | extern int getopt (); | ^~~~~~ --- getopt.o --- getopt.c:219:1: warning: old-style function definition [-Wold-style-definition] 219 | my_index (str, chr) | ^~~~~~~~ getopt.c: In function 'exchange': getopt.c:302:1: warning: old-style function definition [-Wold-style-definition] 302 | exchange (argv) | ^~~~~~~~ getopt.c: In function '_getopt_initialize': getopt.c:387:1: warning: old-style function definition [-Wold-style-definition] 387 | _getopt_initialize (argc, argv, optstring) | ^~~~~~~~~~~~~~~~~~ getopt.c:400:21: error: too many arguments to function 'getenv'; expected 0, have 1 400 | posixly_correct = getenv ("POSIXLY_CORRECT"); | ^~~~~~ ~~~~~~~~~~~~~~~~~ getopt.c:215:14: note: declared here 215 | extern char *getenv (); | ^~~~~~ getopt.c: In function '_getopt_internal': getopt.c:509:1: warning: old-style function definition [-Wold-style-definition] 509 | _getopt_internal (argc, argv, optstring, longopts, longind, long_only) | ^~~~~~~~~~~~~~~~ --- getopt1.o --- *** [getopt1.o] Error code 1 bmake[2]: stopped making "all-am" in /tmp/work/audio/madplay/work/madplay-0.15.2b --- getopt.o --- getopt.c: At top level: getopt.c:1169:1: error: conflicting types for 'getopt'; have 'int(void)' 1169 | 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:1169:1: warning: old-style function definition [-Wold-style-definition] 1169 | getopt (argc, argv, optstring) | ^~~~~~ --- madplay.o --- In file included from madplay.c:34: /usr/include/stdlib.h:302:12: error: conflicting types for 'getopt'; have 'int(int, char * const*, const char *)' 302 | extern int getopt(int, char *const *, const char *); | ^~~~~~ getopt.h:147:12: note: previous declaration of 'getopt' with type 'int(void)' 147 | extern int getopt (); | ^~~~~~ --- getopt.o --- *** [getopt.o] Error code 1 bmake[2]: stopped making "all-am" in /tmp/work/audio/madplay/work/madplay-0.15.2b --- madplay.o --- *** [madplay.o] Error code 1 bmake[2]: stopped making "all-am" in /tmp/work/audio/madplay/work/madplay-0.15.2b bmake[2]: 3 errors bmake[2]: stopped making "all-am" in /tmp/work/audio/madplay/work/madplay-0.15.2b *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /tmp/work/audio/madplay/work/madplay-0.15.2b bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /tmp/work/audio/madplay/work/madplay-0.15.2b *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/audio/madplay/work/madplay-0.15.2b bmake: 1 error bmake: stopped making "all" in /tmp/work/audio/madplay/work/madplay-0.15.2b *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/madplay *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/madplay