=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/wmnet", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for wmnet-1.06nb5 --- wmnet.o --- --- drivers.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c drivers.c --- wmnet.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c wmnet.c In file included from wmnet.c:65: getopt.h:106:12: error: conflicting types for 'getopt'; have 'int(void)' 106 | extern int getopt (); | ^~~~~~ In file included from wmnet.c:53: /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 *); | ^~~~~~ *** [wmnet.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/net/wmnet/work/wmnet-1.06 bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/net/wmnet/work/wmnet-1.06 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/wmnet *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/wmnet