+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tuxpaint-0.9.23nb11/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tuxpaint-0.9.23nb11/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for tuxpaint-0.9.23nb11 /usr/bin/mkdir -p /home/pbulk/build/graphics/tuxpaint/work/tuxpaint-0.9.23/trans ...Generating 'Magic' tool API development header file... ...Compiling Tux Paint from source... gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/harfbuzz -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/local/include/fribidi -I/opt/local/include/librsvg-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -pthread -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -Isrc/mouse -DLARGE_CURSOR_SHAPES -DVER_DATE=\"2022-08-05\" -DVER_VERSION=\"0.9.23\" -DDATA_PREFIX=\"/opt/local/share/tuxpaint/\" -DDOC_PREFIX=\"/opt/local/share/doc/tuxpaint-0.9.23/\" -DLOCALEDIR=\"/home/pbulk/build/graphics/tuxpaint/work/.destdir/opt/local/lib/locale/\" -DIMDIR=\"/opt/local/share/tuxpaint/im/\" -DCONFDIR=\"/opt/local/etc/tuxpaint/\" -DMAGIC_PREFIX=\"/opt/local/lib/tuxpaint/plugins/\" \ -c src/tuxpaint.c -o obj/tuxpaint.o src/tuxpaint.c:199:2: warning: #warning "Attempting to define strcasestr(); if errors, build with -DHAVE_STRCASESTR" [-Wcpp] 199 | #warning "Attempting to define strcasestr(); if errors, build with -DHAVE_STRCASESTR" | ^~~~~~~ In file included from src/tuxpaint.c:447: /home/pbulk/build/graphics/tuxpaint/work/.buildlink/include/librsvg-2.0/librsvg/rsvg-cairo.h:26:2: warning: #warning "Including directly is deprecated." [-Wcpp] 26 | #warning "Including directly is deprecated." | ^~~~~~~ src/tuxpaint.c: In function 'load_starter_id': src/tuxpaint.c:11290:19: warning: assignment to 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion] 11290 | tmp = fgets(template_id, sizeof(template_id), fi); | ^ src/tuxpaint.c: In function 'load_starter': src/tuxpaint.c:11381:52: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] 11381 | tmp_surf = load_starter_helper(fname, "png", &IMG_Load); | ^~~~~~~~~ | | | SDL_Surface * (*)(const char *) src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' but argument is of type 'SDL_Surface * (*)(const char *)' 11318 | static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11415:53: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] 11415 | tmp_surf = load_starter_helper(fname, "jpeg", &IMG_Load); | ^~~~~~~~~ | | | SDL_Surface * (*)(const char *) src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' but argument is of type 'SDL_Surface * (*)(const char *)' 11318 | static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11422:52: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] 11422 | tmp_surf = load_starter_helper(fname, "jpg", &IMG_Load); | ^~~~~~~~~ | | | SDL_Surface * (*)(const char *) src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' but argument is of type 'SDL_Surface * (*)(const char *)' 11318 | static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11429:52: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] 11429 | tmp_surf = load_starter_helper(fname, "png", &IMG_Load); | ^~~~~~~~~ | | | SDL_Surface * (*)(const char *) src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' but argument is of type 'SDL_Surface * (*)(const char *)' 11318 | static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c: In function 'load_template': src/tuxpaint.c:11564:53: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] 11564 | tmp_surf = load_starter_helper(fname, "jpeg", &IMG_Load); | ^~~~~~~~~ | | | SDL_Surface * (*)(const char *) src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' but argument is of type 'SDL_Surface * (*)(const char *)' 11318 | static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11570:52: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] 11570 | tmp_surf = load_starter_helper(fname, "jpg", &IMG_Load); | ^~~~~~~~~ | | | SDL_Surface * (*)(const char *) src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' but argument is of type 'SDL_Surface * (*)(const char *)' 11318 | static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:11577:52: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] 11577 | tmp_surf = load_starter_helper(fname, "png", &IMG_Load); | ^~~~~~~~~ | | | SDL_Surface * (*)(const char *) src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' but argument is of type 'SDL_Surface * (*)(const char *)' 11318 | static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c: In function 'load_svg': src/tuxpaint.c:17595:3: warning: 'rsvg_handle_get_dimensions' is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead [-Wdeprecated-declarations] 17595 | rsvg_handle_get_dimensions(rsvg_handle, &dimensions); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/tuxpaint.c:446: /home/pbulk/build/graphics/tuxpaint/work/.buildlink/include/librsvg-2.0/librsvg/rsvg.h:706:6: note: declared here 706 | void rsvg_handle_get_dimensions (RsvgHandle *handle, RsvgDimensionData *dimension_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:17670:3: warning: 'rsvg_handle_render_cairo' is deprecated: Use 'rsvg_handle_render_document' instead [-Wdeprecated-declarations] 17670 | rsvg_handle_render_cairo(rsvg_handle, cr); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/graphics/tuxpaint/work/.buildlink/include/librsvg-2.0/librsvg/rsvg.h:1450, from src/tuxpaint.c:446: /home/pbulk/build/graphics/tuxpaint/work/.buildlink/include/librsvg-2.0/librsvg/rsvg-cairo.h:88:10: note: declared here 88 | gboolean rsvg_handle_render_cairo (RsvgHandle *handle, cairo_t *cr); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/tuxpaint.c: In function 'do_new_dialog': src/tuxpaint.c:18889:72: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] 18889 | img = load_starter_helper(fname, "jpeg", &IMG_Load); | ^~~~~~~~~ | | | SDL_Surface * (*)(const char *) src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' but argument is of type 'SDL_Surface * (*)(const char *)' 11318 | static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:18894:75: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] 18894 | img = load_starter_helper(fname, "jpg", &IMG_Load); | ^~~~~~~~~ | | | SDL_Surface * (*)(const char *) src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' but argument is of type 'SDL_Surface * (*)(const char *)' 11318 | static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c:18912:75: warning: passing argument 3 of 'load_starter_helper' from incompatible pointer type [-Wincompatible-pointer-types] 18912 | img = load_starter_helper(fname, "png", &IMG_Load); | ^~~~~~~~~ | | | SDL_Surface * (*)(const char *) src/tuxpaint.c:11318:99: note: expected 'SDL_Surface * (*)(char *)' but argument is of type 'SDL_Surface * (*)(const char *)' 11318 | static SDL_Surface *load_starter_helper(char *path_and_basename, char *extension, SDL_Surface * (*load_func) (char *)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/tuxpaint.c: In function 'setup_config': src/tuxpaint.c:22782:28: warning: passing argument 1 of 'strtok' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22782 | token = strtok(tmpcfg.joystick_buttons_ignore, ","); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:34, from src/tuxpaint.c:182: /usr/include/iso/string_iso.h:84:21: note: expected 'char * restrict' but argument is of type 'const char *' 84 | extern char *strtok(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ ...Compiling i18n support... ...Compiling IM support... ...Compiling cursor support... ...Compiling pixel functions... ...Compiling RGB to Linear functions... ...Compiling sound playback functions... ...Compiling font support... ...Generating the command-line and config file parser (STEP 1)... ...Generating the command-line and config file parser (STEP 2)... ...Compiling the command-line and config file parser... src/parse.gperf: In function 'imm_version': src/parse.gperf:42:3: warning: implicit declaration of function 'show_version'; did you mean 'imm_version'? [-Wimplicit-function-declaration] 42 | show_version(0); | ^~~~~~~~~~~~ | imm_version src/parse.gperf: In function 'imm_usage': src/parse.gperf:52:3: warning: implicit declaration of function 'show_usage' [-Wimplicit-function-declaration] 52 | show_usage(0); | ^~~~~~~~~~ ...Compiling progress bar functions... ...Compiling directory-walking support... src/dirwalk.c: In function 'tp_ftw': src/dirwalk.c:343:2: warning: #warning Failed to see DT_UNKNOWN [-Wcpp] 343 | #warning Failed to see DT_UNKNOWN | ^~~~~~~ ...Compiling filename support... ...Compiling on screen keyboard support... ...Compiling PostScript print support... ...Linking Tux Paint... gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/harfbuzz -lsocket -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/local/include/fribidi -DVER_DATE=\"2022-08-05\" -DVER_VERSION=\"0.9.23\" -DDATA_PREFIX=\"/opt/local/share/tuxpaint/\" -DDOC_PREFIX=\"/opt/local/share/doc/tuxpaint-0.9.23/\" -DLOCALEDIR=\"/home/pbulk/build/graphics/tuxpaint/work/.destdir/opt/local/lib/locale/\" -DIMDIR=\"/opt/local/share/tuxpaint/im/\" -DCONFDIR=\"/opt/local/etc/tuxpaint/\" -DMAGIC_PREFIX=\"/opt/local/lib/tuxpaint/plugins/\" \ -o tuxpaint obj/tuxpaint.o obj/i18n.o obj/im.o obj/cursor.o obj/pixels.o obj/rgblinear.o obj/playsound.o obj/fonts.o obj/parse.o obj/progressbar.o obj/dirwalk.o obj/get_fname.o obj/onscreen_keyboard.o obj/postscript_print.o \ -L/opt/local/lib -R/opt/local/lib -lSDL -lpthread -lposix4 -lSDL_image -lSDL_ttf -lz -lpng -lSDL_mixer -lSDL_Pango -L/opt/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -Wl,-R/opt/local/lib -lcairo -lpaper -Wl,-R/opt/local/lib -L/opt/local/lib -lfribidi Undefined first referenced symbol in file libintl_gettext obj/tuxpaint.o (symbol belongs to implicit dependency /home/pbulk/build/graphics/tuxpaint/work/.buildlink/lib/libintl.so.8) libintl_textdomain obj/i18n.o (symbol belongs to implicit dependency /home/pbulk/build/graphics/tuxpaint/work/.buildlink/lib/libintl.so.8) libintl_bindtextdomain obj/i18n.o (symbol belongs to implicit dependency /home/pbulk/build/graphics/tuxpaint/work/.buildlink/lib/libintl.so.8) ld: fatal: symbol referencing errors. No output written to tuxpaint collect2: error: ld returned 1 exit status gmake: *** [Makefile:1031: tuxpaint] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/graphics/tuxpaint *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/graphics/tuxpaint