=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/wmphoto", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for wmphoto-0.3anb1 gcc -c -I/opt/pkg/include -I/opt/pkg/include wmphoto.c -o wmphoto.o gcc -c -I/opt/pkg/include -I/opt/pkg/include ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o gcc -c -I/opt/pkg/include -I/opt/pkg/include ../wmgeneral/misc.c -o ../wmgeneral/misc.o wmphoto.c: In function 'init_stuff': wmphoto.c:76:9: error: too many arguments to function 'get_next_photo'; expected 0, have 1 76 | get_next_photo(current); | ^~~~~~~~~~~~~~ ~~~~~~~ In file included from wmphoto.c:15: wmphoto.h:32:6: note: declared here 32 | void get_next_photo(); | ^~~~~~~~~~~~~~ wmphoto.c: In function 'main_loop': wmphoto.c:109:49: error: too many arguments to function 'get_next_photo'; expected 0, have 1 109 | get_next_photo(current); | ^~~~~~~~~~~~~~ ~~~~~~~ wmphoto.h:32:6: note: declared here 32 | void get_next_photo(); | ^~~~~~~~~~~~~~ wmphoto.c: At top level: wmphoto.c:149:6: error: conflicting types for 'get_next_photo'; have 'void(char *)' 149 | void get_next_photo(char *current) | ^~~~~~~~~~~~~~ wmphoto.h:32:6: note: previous declaration of 'get_next_photo' with type 'void(void)' 32 | void get_next_photo(); | ^~~~~~~~~~~~~~ wmphoto.c: In function 'myselect': wmphoto.c:198:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 198 | { char *name = d->d_name; | ^ gmake: *** [Makefile:17: wmphoto.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/wmphoto *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/wmphoto