=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/wol", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for wol-0.7.1nb13 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/work/net/wol/work/wol-0.7.1' Making all in intl gmake[2]: Entering directory '/home/pbulk/work/net/wol/work/wol-0.7.1/intl' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/work/net/wol/work/wol-0.7.1/intl' Making all in demo gmake[2]: Entering directory '/home/pbulk/work/net/wol/work/wol-0.7.1/demo' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/work/net/wol/work/wol-0.7.1/demo' Making all in doc gmake[2]: Entering directory '/home/pbulk/work/net/wol/work/wol-0.7.1/doc' /opt/pkg/bin/perl -w ./texi2pod.pl wol.texi wol.pod pod2man --section=1 --center="wol" --release="wol 0.7.1" wol.pod > wol.1 gmake[2]: Leaving directory '/home/pbulk/work/net/wol/work/wol-0.7.1/doc' Making all in include gmake[2]: Entering directory '/home/pbulk/work/net/wol/work/wol-0.7.1/include' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/work/net/wol/work/wol-0.7.1/include' Making all in lib gmake[2]: Entering directory '/home/pbulk/work/net/wol/work/wol-0.7.1/lib' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -W -Wall -Wpointer-arith -Wimplicit-function-declaration -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" \ -c -o getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c; \ then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; \ else rm -f ".deps/getopt1.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -W -Wall -Wpointer-arith -Wimplicit-function-declaration -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 getopt1.c:31: /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:27: getopt.h:154:12: note: previous declaration of 'getopt' with type 'int(void)' 154 | extern int getopt (); | ^~~~~~ In file included from getopt.c:98: getopt.h:154:12: error: conflicting types for 'getopt'; have 'int(void)' 154 | extern int getopt (); | ^~~~~~ In file included from getopt.c:33: /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_initialize': getopt.c:283:28: error: too many arguments to function 'getenv'; expected 0, have 1 283 | d->__posixly_correct = !!getenv ("POSIXLY_CORRECT"); | ^~~~~~ ~~~~~~~~~~~~~~~~~ getopt.c:146:14: note: declared here 146 | extern char *getenv (); | ^~~~~~ getopt.c:272:25: warning: unused parameter 'argc' [-Wunused-parameter] 272 | _getopt_initialize (int argc, char *const *argv, const char *optstring, | ~~~~^~~~ getopt.c:272:44: warning: unused parameter 'argv' [-Wunused-parameter] 272 | _getopt_initialize (int argc, char *const *argv, const char *optstring, | ~~~~~~~~~~~~~^~~~ gmake[2]: *** [Makefile:240: getopt1.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [Makefile:240: getopt.o] Error 1 gmake[2]: Leaving directory '/home/pbulk/work/net/wol/work/wol-0.7.1/lib' gmake[1]: *** [Makefile:230: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/work/net/wol/work/wol-0.7.1' gmake: *** [Makefile:183: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/wol *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/wol