+ 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.27nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gphoto2-2.5.27nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for gphoto2-2.5.27nb2 /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.. -I../gphoto2 -I/opt/pkg/include/gphoto2 -I/opt/pkg/include -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/cdk -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -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:7: warning: 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.h:47, from gphoto2-cmd-config.c:36: /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:97:3: note: in expansion of macro 'CDK_CSTRING2' 97 | CDK_CSTRING2 /* message */, | ^~~~~~~~~~~~ gphoto2-cmd-config.c:74:15: warning: passing argument 6 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.h:47, from gphoto2-cmd-config.c:36: /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:99:3: note: in expansion of macro 'CDK_CSTRING2' 99 | CDK_CSTRING2 /* buttons */, | ^~~~~~~~~~~~ gphoto2-cmd-config.c: In function 'show_date': gphoto2-cmd-config.c:157:24: warning: variable 'selection' set but not used [-Wunused-but-set-variable] 157 | int day, month, year, selection; | ^~~~~~~~~ gphoto2-cmd-config.c: In function 'show_toggle': gphoto2-cmd-config.c:378:11: warning: passing argument 6 of 'newCDKItemlist' from incompatible pointer type [-Wincompatible-pointer-types] 378 | info, 2, 1 - value, TRUE, FALSE); | ^~~~ | | | const char ** In file included from /home/pbulk/build/graphics/gphoto2/work/.buildlink/include/cdk.h:47, from gphoto2-cmd-config.c:36: /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:93:3: note: in expansion of macro 'CDK_CSTRING2' 93 | CDK_CSTRING2 /* itemlist */, | ^~~~~~~~~~~~ mv -f .deps/gphoto2-gphoto2-cmd-config.Tpo .deps/gphoto2-gphoto2-cmd-config.Po 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.. -I../gphoto2 -I/opt/pkg/include/gphoto2 -I/opt/pkg/include -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/cdk -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-actions.o -MD -MP -MF .deps/gphoto2-actions.Tpo -c -o gphoto2-actions.o `test -f 'actions.c' || echo './'`actions.c actions.c: In function 'action_camera_upload_file': actions.c:110:18: warning: passing argument 1 of 'basename' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | fn = basename (path); | ^~~~ In file included from actions.c:32: /usr/include/libgen.h:52:23: note: expected 'char *' but argument is of type 'const char *' 52 | extern char *basename(char *); | ^~~~~~ actions.c: In function 'action_camera_upload_metadata': actions.c:138:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | fn = path+5; | ^ actions.c: In function 'action_camera_wait_event': actions.c:1147:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1147 | wp.u.str = arg; | ^ mv -f .deps/gphoto2-actions.Tpo .deps/gphoto2-actions.Po 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.. -I../gphoto2 -I/opt/pkg/include/gphoto2 -I/opt/pkg/include -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/cdk -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-foreach.o -MD -MP -MF .deps/gphoto2-foreach.Tpo -c -o gphoto2-foreach.o `test -f 'foreach.c' || echo './'`foreach.c foreach.c: In function 'get_path_for_id_rec': foreach.c:226:4: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 226 | strncpy (subfolder, base_folder, sizeof (subfolder)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/gphoto2-foreach.Tpo .deps/gphoto2-foreach.Po 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.. -I../gphoto2 -I/opt/pkg/include/gphoto2 -I/opt/pkg/include -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/cdk -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-gp-params.o -MD -MP -MF .deps/gphoto2-gp-params.Tpo -c -o gphoto2-gp-params.o `test -f 'gp-params.c' || echo './'`gp-params.c mv -f .deps/gphoto2-gp-params.Tpo .deps/gphoto2-gp-params.Po 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.. -I../gphoto2 -I/opt/pkg/include/gphoto2 -I/opt/pkg/include -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/cdk -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-spawnve.o -MD -MP -MF .deps/gphoto2-spawnve.Tpo -c -o gphoto2-spawnve.o `test -f 'spawnve.c' || echo './'`spawnve.c mv -f .deps/gphoto2-spawnve.Tpo .deps/gphoto2-spawnve.Po 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.. -I../gphoto2 -I/opt/pkg/include/gphoto2 -I/opt/pkg/include -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/cdk -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-main.o -MD -MP -MF .deps/gphoto2-main.Tpo -c -o gphoto2-main.o `test -f 'main.c' || echo './'`main.c main.c: In function 'thread_func': main.c:1207:1: warning: no return statement in function returning non-void [-Wreturn-type] 1207 | } | ^ mv -f .deps/gphoto2-main.Tpo .deps/gphoto2-main.Po 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.. -I../gphoto2 -I/opt/pkg/include/gphoto2 -I/opt/pkg/include -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/cdk -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-version.o -MD -MP -MF .deps/gphoto2-version.Tpo -c -o gphoto2-version.o `test -f 'version.c' || echo './'`version.c mv -f .deps/gphoto2-version.Tpo .deps/gphoto2-version.Po 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.. -I../gphoto2 -I/opt/pkg/include/gphoto2 -I/opt/pkg/include -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/cdk -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-range.o -MD -MP -MF .deps/gphoto2-range.Tpo -c -o gphoto2-range.o `test -f 'range.c' || echo './'`range.c mv -f .deps/gphoto2-range.Tpo .deps/gphoto2-range.Po 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.. -I../gphoto2 -I/opt/pkg/include/gphoto2 -I/opt/pkg/include -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/cdk -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-shell.o -MD -MP -MF .deps/gphoto2-shell.Tpo -c -o gphoto2-shell.o `test -f 'shell.c' || echo './'`shell.c mv -f .deps/gphoto2-shell.Tpo .deps/gphoto2-shell.Po /usr/bin/bash ../libtool --tag=CC --mode=link gcc -I.. -I../gphoto2 -I/opt/pkg/include/gphoto2 -I/opt/pkg/include -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/cdk -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wmissing-declarations -Wmissing-prototypes -g -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -g -o gphoto2 gphoto2-gphoto2-cmd-config.o gphoto2-actions.o gphoto2-foreach.o gphoto2-gp-params.o gphoto2-spawnve.o gphoto2-main.o gphoto2-version.o gphoto2-range.o gphoto2-shell.o -L/opt/pkg/lib -lgphoto2 -Wl,-R/opt/pkg/lib -lgphoto2_port -lm -L/opt/pkg/lib -lcdk -lncurses -ljpeg -lpthread -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lexif -lreadline -L/usr/ -lpopt -lm /opt/pkg/bin/libtool: line 979: /opt/pkg/bin/nbsed: No such file or directory /opt/pkg/bin/libtool: line 8269: /opt/pkg/bin/nbsed: No such file or directory /opt/pkg/bin/libtool: line 1434: /opt/pkg/bin/nbsed: No such file or directory /opt/pkg/bin/libtool: line 1330: /opt/pkg/bin/nbsed: No such file or directory : error: Failed to create '.libs' *** [gphoto2] Error code 1 bmake[2]: stopped in /home/pbulk/build/graphics/gphoto2/work/gphoto2-2.5.27/gphoto2 1 error bmake[2]: stopped in /home/pbulk/build/graphics/gphoto2/work/gphoto2-2.5.27/gphoto2 *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/graphics/gphoto2/work/gphoto2-2.5.27 1 error bmake[1]: stopped in /home/pbulk/build/graphics/gphoto2/work/gphoto2-2.5.27 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/graphics/gphoto2/work/gphoto2-2.5.27 1 error bmake: stopped in /home/pbulk/build/graphics/gphoto2/work/gphoto2-2.5.27 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/gphoto2 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/gphoto2