=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/news/newsfetch", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for newsfetch-1.3nb2 --- newsfetch.o --- --- nntp.o --- --- net.o --- --- newsfetch.o --- gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations newsfetch.c --- nntp.o --- gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations nntp.c --- net.o --- gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations net.c --- opt.o --- gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations opt.c --- util.o --- gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations util.c --- getopt.o --- gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations getopt.c getopt.c:12:7: error: conflicting types for 'strchr'; have 'char *(void)' 12 | char *strchr(); | ^~~~~~ In file included from /usr/include/string.h:35, from getopt.c:3: /usr/include/iso/string_iso.h:140:14: note: previous declaration of 'strchr' with type 'char *(const char *, int)' 140 | extern char *strchr(const char *, int); | ^~~~~~ getopt.c: In function 'getopt': getopt.c:33:39: error: too many arguments to function 'strchr'; expected 0, have 2 33 | if (c == ':' || (cp = strchr(opts, c)) == 0) { | ^~~~~~ ~~~~ getopt.c:12:7: note: declared here 12 | char *strchr(); | ^~~~~~ *** [getopt.o] Error code 1 bmake: stopped making "all" in /tmp/work/news/newsfetch/work/newsfetch bmake: 1 error bmake: stopped making "all" in /tmp/work/news/newsfetch/work/newsfetch *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/news/newsfetch *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/news/newsfetch