=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/audio/vorbisgain", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for vorbisgain-0.37nb1 /opt/pkg/bin/gmake all-am gmake[1]: Entering directory '/home/pbulk/work/audio/vorbisgain/work/vorbisgain-0.37' if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -O2 -fsigned-char -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT gain_analysis.o -MD -MP -MF ".deps/gain_analysis.Tpo" \ -c -o gain_analysis.o `test -f 'gain_analysis.c' || echo './'`gain_analysis.c; \ then mv -f ".deps/gain_analysis.Tpo" ".deps/gain_analysis.Po"; \ else rm -f ".deps/gain_analysis.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -O2 -fsigned-char -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT vcedit.o -MD -MP -MF ".deps/vcedit.Tpo" \ -c -o vcedit.o `test -f 'vcedit.c' || echo './'`vcedit.c; \ then mv -f ".deps/vcedit.Tpo" ".deps/vcedit.Po"; \ else rm -f ".deps/vcedit.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -O2 -fsigned-char -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 `test -f 'getopt.c' || echo './'`getopt.c; \ then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; \ else rm -f ".deps/getopt.Tpo"; exit 1; \ fi In file included from getopt.c:104: getopt.h:136:12: error: conflicting types for 'getopt'; have 'int(void)' 136 | 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 *); | ^~~~~~ getopt.c: In function 'my_index': getopt.c:211:1: warning: old-style function definition [-Wold-style-definition] 211 | my_index (str, chr) | ^~~~~~~~ getopt.c: In function 'exchange': getopt.c:301:1: warning: old-style function definition [-Wold-style-definition] 301 | exchange (argv) | ^~~~~~~~ getopt.c: In function '_getopt_initialize': getopt.c:386:1: warning: old-style function definition [-Wold-style-definition] 386 | _getopt_initialize (argc, argv, optstring) | ^~~~~~~~~~~~~~~~~~ getopt.c:399:21: error: too many arguments to function 'getenv'; expected 0, have 1 399 | posixly_correct = getenv ("POSIXLY_CORRECT"); | ^~~~~~ ~~~~~~~~~~~~~~~~~ getopt.c:207:14: note: declared here 207 | extern char *getenv (); | ^~~~~~ getopt.c: In function '_getopt_internal': getopt.c:508:1: warning: old-style function definition [-Wold-style-definition] 508 | _getopt_internal (argc, argv, optstring, longopts, longind, long_only) | ^~~~~~~~~~~~~~~~ getopt.c: At top level: getopt.c:964:1: error: conflicting types for 'getopt'; have 'int(void)' 964 | 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:964:1: warning: old-style function definition [-Wold-style-definition] 964 | getopt (argc, argv, optstring) | ^~~~~~ gain_analysis.c:116:1: warning: variably modified 'lstepbuf' at file scope 116 | Float_t lstepbuf [MAX_SAMPLES_PER_WINDOW + MAX_ORDER]; | ^~~~~~~ gain_analysis.c:118:1: warning: variably modified 'loutbuf' at file scope 118 | Float_t loutbuf [MAX_SAMPLES_PER_WINDOW + MAX_ORDER]; | ^~~~~~~ gain_analysis.c:122:1: warning: variably modified 'rstepbuf' at file scope 122 | Float_t rstepbuf [MAX_SAMPLES_PER_WINDOW + MAX_ORDER]; | ^~~~~~~ gain_analysis.c:124:1: warning: variably modified 'routbuf' at file scope 124 | Float_t routbuf [MAX_SAMPLES_PER_WINDOW + MAX_ORDER]; | ^~~~~~~ gain_analysis.c:132:1: warning: variably modified 'A' at file scope 132 | static Uint32_t A [(size_t)(STEPS_per_dB * MAX_dB)]; | ^~~~~~ gain_analysis.c:133:1: warning: variably modified 'B' at file scope 133 | static Uint32_t B [(size_t)(STEPS_per_dB * MAX_dB)]; | ^~~~~~ gmake[1]: *** [Makefile:248: getopt.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory '/home/pbulk/work/audio/vorbisgain/work/vorbisgain-0.37' gmake: *** [Makefile:167: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/vorbisgain *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/vorbisgain