=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/jbig2dec", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent", "PYTHON_VERSION_REQD=313"] ===> Building for jbig2dec-0.20 --- config.h --- --- all --- /opt/pkg/bin/bmake all-am --- test_sha1-sha1.o --- --- jbig2_arith.lo --- --- jbig2_huffman.lo --- --- jbig2dec.o --- --- sha1.o --- --- test_sha1-sha1.o --- CC test_sha1-sha1.o --- jbig2_arith.lo --- CC jbig2_arith.lo --- jbig2_huffman.lo --- CC jbig2_huffman.lo --- sha1.o --- CC sha1.o --- jbig2dec.o --- CC jbig2dec.o In file included from jbig2dec.c:32: getopt.h:146:12: error: conflicting types for 'getopt'; have 'int(void)' 146 | extern int getopt(); | ^~~~~~ In file included from jbig2dec.c:25: /usr/include/stdlib.h:302:12: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 302 | extern int getopt(int, char *const *, const char *); | ^~~~~~ *** [jbig2dec.o] Error code 1 bmake[1]: stopped making "all-am" in /home/pbulk/work/graphics/jbig2dec/work/jbig2dec-0.20 bmake[1]: 1 error bmake[1]: stopped making "all-am" in /home/pbulk/work/graphics/jbig2dec/work/jbig2dec-0.20 bmake: stopped making "all" in /home/pbulk/work/graphics/jbig2dec/work/jbig2dec-0.20 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/jbig2dec *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/jbig2dec