=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/security/srm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for srm-1.2.15 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in lib --- snprintf.o --- --- getopt1.o --- --- snprintf.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNDEBUG -MT snprintf.o -MD -MP -MF .deps/snprintf.Tpo -c -o snprintf.o snprintf.c --- getopt1.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DNDEBUG -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c In file included from getopt1.c:39: /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:29: getopt.h:136:12: note: previous declaration of 'getopt' with type 'int(void)' 136 | extern int getopt (); | ^~~~~~ getopt1.c: In function 'getopt_long': getopt1.c:71:1: warning: old-style function definition [-Wold-style-definition] 71 | getopt_long (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~ getopt1.c: In function 'getopt_long_only': getopt1.c:87:1: warning: old-style function definition [-Wold-style-definition] 87 | getopt_long_only (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~~~~~~ --- snprintf.o --- mv -f .deps/snprintf.Tpo .deps/snprintf.Po --- getopt1.o --- *** [getopt1.o] Error code 1 bmake[2]: stopped making "all" in /tmp/work/security/srm/work/srm-1.2.15/lib bmake[2]: 1 error bmake[2]: stopped making "all" in /tmp/work/security/srm/work/srm-1.2.15/lib bmake[1]: stopped making "all-recursive" in /tmp/work/security/srm/work/srm-1.2.15 bmake: stopped making "all" in /tmp/work/security/srm/work/srm-1.2.15 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/srm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/srm