+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gphoto2-2.5.28nb6/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gphoto2-2.5.28nb6/work.log ===> Building for gphoto2-2.5.28nb6 /opt/pkg/bin/bmake all-recursive Making all in gphoto-m4 Making all in contrib Making all in doc Making all in gphoto2 gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/pkg/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/libxml2 -I.. -I../gphoto2 -I/opt/pkg/include -I/opt/pkg/include/gphoto2 -DLOCALEDIR=\"/opt/pkg/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/libxml2 -pipe -msave-args -fno-aggressive-loop-optimizations -fPIC -I/opt/pkg/include/ncurses -I./include -I/opt/pkg/include/ncurses -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED -I/opt/pkg/include/cdk -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/libxml2 -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-gphoto2-cmd-config.o -MD -MP -MF .deps/gphoto2-gphoto2-cmd-config.Tpo -c -o gphoto2-gphoto2-cmd-config.o `test -f 'gphoto2-cmd-config.c' || echo './'`gphoto2-cmd-config.c gphoto2-cmd-config.c: In function 'set_config': gphoto2-cmd-config.c:74:42: error: passing argument 4 of 'newCDKDialog' from incompatible pointer type [-Wincompatible-pointer-types] 74 | msg, 4, buttons, 2, | ^~~ | | | const char ** In file included from /home/pbulk/build/graphics/gphoto2/work/.buildlink/include/cdk/cdk.h:40, from gphoto2-cmd-config.c:33: /home/pbulk/build/graphics/gphoto2/work/.buildlink/include/cdk/cdk_config.h:12:32: note: expected 'char **' but argument is of type 'const char **' 12 | #define CDK_CSTRING2 CDK_CONST char * CDK_CONST * | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/graphics/gphoto2/work/.buildlink/include/cdk/dialog.h:90:17: note: in expansion of macro 'CDK_CSTRING2' 90 | CDK_CSTRING2 /* message */, | ^~~~~~~~~~~~ gphoto2-cmd-config.c:74:50: error: passing argument 6 of 'newCDKDialog' from incompatible pointer type [-Wincompatible-pointer-types] 74 | msg, 4, buttons, 2, | ^~~~~~~ | | | const char ** /home/pbulk/build/graphics/gphoto2/work/.buildlink/include/cdk/cdk_config.h:12:32: note: expected 'char **' but argument is of type 'const char **' 12 | #define CDK_CSTRING2 CDK_CONST char * CDK_CONST * | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/graphics/gphoto2/work/.buildlink/include/cdk/dialog.h:92:17: note: in expansion of macro 'CDK_CSTRING2' 92 | CDK_CSTRING2 /* buttons */, | ^~~~~~~~~~~~ gphoto2-cmd-config.c: In function 'show_section': gphoto2-cmd-config.c:127:32: error: passing argument 8 of 'newCDKScroll' from incompatible pointer type [-Wincompatible-pointer-types] 127 | (const char**)items, count, NUMBERS, A_REVERSE, TRUE, FALSE); | ^~~~~~~~~~~~~~~~~~~ | | | const char ** /home/pbulk/build/graphics/gphoto2/work/.buildlink/include/cdk/cdk_config.h:12:32: note: expected 'char **' but argument is of type 'const char **' 12 | #define CDK_CSTRING2 CDK_CONST char * CDK_CONST * | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/graphics/gphoto2/work/.buildlink/include/cdk/scroll.h:82:17: note: in expansion of macro 'CDK_CSTRING2' 82 | CDK_CSTRING2 /* itemList */, | ^~~~~~~~~~~~ gphoto2-cmd-config.c: In function 'show_radio': gphoto2-cmd-config.c:321:53: error: passing argument 6 of 'newCDKItemlist' from incompatible pointer type [-Wincompatible-pointer-types] 321 | title, _("Value: "), (const char**)items, count, | ^~~~~~~~~~~~~~~~~~~ | | | const char ** /home/pbulk/build/graphics/gphoto2/work/.buildlink/include/cdk/cdk_config.h:12:32: note: expected 'char **' but argument is of type 'const char **' 12 | #define CDK_CSTRING2 CDK_CONST char * CDK_CONST * | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/graphics/gphoto2/work/.buildlink/include/cdk/itemlist.h:86:17: note: in expansion of macro 'CDK_CSTRING2' 86 | CDK_CSTRING2 /* itemlist */, | ^~~~~~~~~~~~ gphoto2-cmd-config.c: In function 'show_toggle': gphoto2-cmd-config.c:378:32: error: passing argument 6 of 'newCDKItemlist' from incompatible pointer type [-Wincompatible-pointer-types] 378 | info, 2, 1 - value, TRUE, FALSE); | ^~~~ | | | const char ** /home/pbulk/build/graphics/gphoto2/work/.buildlink/include/cdk/cdk_config.h:12:32: note: expected 'char **' but argument is of type 'const char **' 12 | #define CDK_CSTRING2 CDK_CONST char * CDK_CONST * | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/graphics/gphoto2/work/.buildlink/include/cdk/itemlist.h:86:17: note: in expansion of macro 'CDK_CSTRING2' 86 | CDK_CSTRING2 /* itemlist */, | ^~~~~~~~~~~~ *** Error code 1 Stop. bmake[2]: stopped making "all" in /home/pbulk/build/graphics/gphoto2/work/gphoto2-2.5.28/gphoto2 *** Error code 1 Stop. bmake[1]: stopped making "all-recursive" in /home/pbulk/build/graphics/gphoto2/work/gphoto2-2.5.28 *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/graphics/gphoto2/work/gphoto2-2.5.28 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/gphoto2 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/gphoto2