=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gperf", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for gperf-3.2nb1 --- all --- cd lib; /opt/pkg/bin/bmake all --- getopt.o --- --- getopt1.o --- --- getline.o --- --- getopt1.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I. -c ./getopt1.c --- getopt.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I. -c ./getopt.c --- getline.o --- g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I. -c ./getline.cc --- getopt.o --- In file included from ./getopt.c:96: ./getopt.h:105:12: error: conflicting types for 'getopt'; have 'int(void)' 105 | extern int getopt (); | ^~~~~~ In file included from ./getopt.c:31: /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:25: /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:23: ./getopt.h:105:12: note: previous declaration of 'getopt' with type 'int(void)' 105 | extern int getopt (); | ^~~~~~ --- getopt.o --- ./getopt.c: In function '_getopt_initialize': ./getopt.c:366:21: error: too many arguments to function 'getenv'; expected 0, have 1 366 | posixly_correct = getenv ("POSIXLY_CORRECT"); | ^~~~~~ ~~~~~~~~~~~~~~~~~ ./getopt.c:196:14: note: declared here 196 | extern char *getenv (); | ^~~~~~ --- getopt1.o --- *** [getopt1.o] Error code 1 bmake[1]: stopped making "all" in /tmp/work/devel/gperf/work/gperf-3.2/lib --- getopt.o --- *** [getopt.o] Error code 1 bmake[1]: stopped making "all" in /tmp/work/devel/gperf/work/gperf-3.2/lib bmake[1]: 2 errors bmake[1]: stopped making "all" in /tmp/work/devel/gperf/work/gperf-3.2/lib *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/devel/gperf/work/gperf-3.2 bmake: 1 error bmake: stopped making "all" in /tmp/work/devel/gperf/work/gperf-3.2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gperf *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gperf