=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/viewfax", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for viewfax-2.4nb2 --- viewfax.o --- --- faxinput.o --- --- viewfax.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHELPFILE=\"/opt/pkg/libdata/viewfax/viewfax.tif\" -I/opt/pkg/include -c viewfax.c --- faxinput.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHELPFILE=\"/opt/pkg/libdata/viewfax/viewfax.tif\" -I/opt/pkg/include -c faxinput.c --- viewfax.o --- viewfax.c:48:12: error: conflicting types for 'getopt'; have 'int(void)' 48 | extern int getopt(); | ^~~~~~ In file included from viewfax.c:21: /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 *); | ^~~~~~ viewfax.c: In function 'main': viewfax.c:143:17: error: too many arguments to function 'getopt'; expected 0, have 3 143 | while ((c = getopt(argc, argv, "b:d:fg:h:ilm:nruvw:z:24")) != -1) | ^~~~~~ ~~~~ viewfax.c:48:12: note: declared here 48 | extern int getopt(); | ^~~~~~ viewfax.c: In function 'ShowLoop': viewfax.c:728:17: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 728 | switch(XKeycodeToKeysym(Disp, Event.xkey.keycode, 0)) { | ^~~~~~ In file included from viewfax.c:26: /home/pbulk/work/graphics/viewfax/work/.buildlink/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ *** [viewfax.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/graphics/viewfax/work/viewfax-2.4 bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/graphics/viewfax/work/viewfax-2.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/viewfax *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/viewfax