+ 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/rdesktop-1.9.0nb21/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rdesktop-1.9.0nb21/work.log ===> Building for rdesktop-1.9.0nb21 --- rdesktop.o --- --- xwin.o --- --- xkeymap.o --- --- ewmhints.o --- --- rdesktop.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wextra -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -DPACKAGE_NAME=\"rdesktop\" -DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.9.0\" -DPACKAGE_STRING=\"rdesktop\ 1.9.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DL_ENDIAN=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LANGINFO_H=1 -DHAVE_SYSEXITS_H=1 -DHAVE_XRANDR=1 -DHAVE_XCURSOR=1 -DEGD_SOCKET=\"/var/run/egd-pool\" -DHAVE_LIBSAMPLERATE=1 -DWITH_RDPSND=1 -DRDPSND_OSS=1 -DRDPSND_SUN=1 -DHAVE_DIRENT_H=1 -DHAVE_DIRFD=1 -DHAVE--- xwin.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wextra -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -DPACKAGE_NAME=\"rdesktop\" -DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.9.0\" -DPACKAGE_STRING=\"rdesktop\ 1.9.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DL_ENDIAN=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LANGINFO_H=1 -DHAVE_SYSEXITS_H=1 -DHAVE_XRANDR=1 -DHAVE_XCURSOR=1 -DEGD_SOCKET=\"/var/run/egd-pool\" -DHAVE_LIBSAMPLERATE=1 -DWITH_RDPSND=1 -DRDPSND_OSS=1 -DRDPSND_SUN=1 -DHAVE_DIRENT_H=1 -DHAVE_DIRFD=1 -DHAVE--- xkeymap.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wextra -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -DPACKAGE_NAME=\"rdesktop\" -DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.9.0\" -DPACKAGE_STRING=\"rdesktop\ 1.9.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DL_ENDIAN=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LANGINFO_H=1 -DHAVE_SYSEXITS_H=1 -DHAVE_XRANDR=1 -DHAVE_XCURSOR=1 -DEGD_SOCKET=\"/var/run/egd-pool\" -DHAVE_LIBSAMPLERATE=1 -DWITH_RDPSND=1 -DRDPSND_OSS=1 -DRDPSND_SUN=1 -DHAVE_DIRENT_H=1 -DHAVE_DIRFD=1 -DHAVE--- ewmhints.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wextra -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -DPACKAGE_NAME=\"rdesktop\" -DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.9.0\" -DPACKAGE_STRING=\"rdesktop\ 1.9.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DL_ENDIAN=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LANGINFO_H=1 -DHAVE_SYSEXITS_H=1 -DHAVE_XRANDR=1 -DHAVE_XCURSOR=1 -DEGD_SOCKET=\"/var/run/egd-pool\" -DHAVE_LIBSAMPLERATE=1 -DWITH_RDPSND=1 -DRDPSND_OSS=1 -DRDPSND_SUN=1 -DHAVE_DIRENT_H=1 -DHAVE_DIRFD=1 -DHAVE--- rdesktop.o --- _DECL_DIRFD=1 -DHAVE_ICONV_H=1 -DHAVE_ICONV=1 -DICONV_CONST=const -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DSTAT_STATVFS=1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=1 -DIPv6=1 -DKEYMAP_PATH=\"/opt/pkg/share/rdesktop/keymaps/\" -o rdesktop.o -c rdesktop.c --- xwin.o --- _DECL_DIRFD=1 -DHAVE_ICONV_H=1 -DHAVE_ICONV=1 -DICONV_CONST=const -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DSTAT_STATVFS=1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=1 -DIPv6=1 -DKEYMAP_PATH=\"/opt/pkg/share/rdesktop/keymaps/\" -o xwin.o -c xwin.c --- xkeymap.o --- _DECL_DIRFD=1 -DHAVE_ICONV_H=1 -DHAVE_ICONV=1 -DICONV_CONST=const -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DSTAT_STATVFS=1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=1 -DIPv6=1 -DKEYMAP_PATH=\"/opt/pkg/share/rdesktop/keymaps/\" -o xkeymap.o -c xkeymap.c --- ewmhints.o --- _DECL_DIRFD=1 -DHAVE_ICONV_H=1 -DHAVE_ICONV=1 -DICONV_CONST=const -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DSTAT_STATVFS=1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=1 -DIPv6=1 -DKEYMAP_PATH=\"/opt/pkg/share/rdesktop/keymaps/\" -o ewmhints.o -c ewmhints.c --- rdesktop.o --- rdesktop.c: In function 'save_licence': rdesktop.c:1988:40: warning: '.new' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 1988 | snprintf(tmppath, PATH_MAX, "%s.new", path); | ^~~~ rdesktop.c:1988:9: note: 'snprintf' output between 5 and 1028 bytes into a destination of size 1024 1988 | snprintf(tmppath, PATH_MAX, "%s.new", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'parse_server_and_port', inlined from 'main' at rdesktop.c:1187:2: rdesktop.c:579:25: warning: 'strncpy' accessing between 0 and 255 bytes at offsets 0 and 1 may overlap up to 254 bytes at offset [1, 254] [-Wrestrict] 579 | strncpy(server, server + 1, strlen(server)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdesktop.c: In function 'main': rdesktop.c:1305:17: warning: 'strncat' output may be truncated copying 52 bytes from a string of length 255 [-Wstringop-truncation] 1305 | strncat(g_title, server, sizeof(g_title) - sizeof("rdesktop - ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xclip.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -Wall -Wextra -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -DPACKAGE_NAME=\"rdesktop\" -DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.9.0\" -DPACKAGE_STRING=\"rdesktop\ 1.9.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DL_ENDIAN=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LANGINFO_H=1 -DHAVE_SYSEXITS_H=1 -DHAVE_XRANDR=1 -DHAVE_XCURSOR=1 -DEGD_SOCKET=\"/var/run/egd-pool\" -DHAVE_LIBSAMPLERATE=1 -DWITH_RDPSND=1 -DRDPSND_OSS=1 -DRDPSND_SUN=1 -DHAVE_DIRENT_H=1 -DHAVE_DIRFD=1 -DHAVE_DECL_DIRFD=1 -DHAVE_ICONV_H=1 -DHAVE_ICONV=1 -DICONV_CONST=const -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DSTAT_STATVFS=1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=1 -DIPv6=1 -DKEYMAP_PATH=\"/opt/pkg/share/rdesktop/keymaps/\" -o xclip.o -c xclip.c xclip.c: In function 'xclip_send_data_with_convert': xclip.c:376:27: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 376 | iconv(cd, (char **) &data_remaining, &data_size_remaining, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** In file included from xclip.c:39: /home/pbulk/build/net/rdesktop/work/.buildlink/include/iconv.h:82:48: note: expected 'const char **' but argument is of type 'char **' 82 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ xclip.c: In function 'ui_clip_handle_data': xclip.c:1060:35: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 1060 | iconv(cd, (char **) &data_remaining, &length_remaining, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** /home/pbulk/build/net/rdesktop/work/.buildlink/include/iconv.h:82:48: note: expected 'const char **' but argument is of type 'char **' 82 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ *** [xclip.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/rdesktop/work/rdesktop-1.9.0 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/rdesktop/work/rdesktop-1.9.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/rdesktop *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/rdesktop