+ 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/libmtp-1.1.21/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libmtp-1.1.21/work.log ===> Building for libmtp-1.1.21 --- ./aclocal.m4 --- CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/bash '/home/pbulk/build/devel/libmtp/work/libmtp-1.1.21/missing' aclocal-1.16 -I m4 WARNING: 'aclocal' is missing on your system. You should only need it if you modified 'acinclude.m4' or 'configure.ac'. You might want to install the Automake and Perl packages. Grab them from any GNU archive site. --- ./configure --- --- ./config.h.in --- (CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/bash '/home/pbulk/build/devel/libmtp/work/libmtp-1.1.21/missing' autoheader) --- ./configure --- CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/bash '/home/pbulk/build/devel/libmtp/work/libmtp-1.1.21/missing' autoconf WARNING: 'autoconf' is missing on your system. You should only need it if you modified 'configure.ac'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- ./config.h.in --- WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.ac'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- ./config.status --- --- ./config.h.in --- rm -f stamp-h1 --- ./config.status --- /usr/bin/bash ./config.status --recheck --- ./config.h.in --- touch ./config.h.in --- stamp-h1 --- cd . && /usr/bin/bash ./config.status config.h config.status: creating config.h config.status: config.h is unchanged --- config.h --- --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- ./Makefile.in --- --- ../config.status --- --- libmtp_la-libmtp.lo --- --- libmtp_la-unicode.lo --- --- libmtp_la-libmtp.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT libmtp_la-libmtp.lo -MD -MP -MF .deps/libmtp_la-libmtp.Tpo -c -o libmtp_la-libmtp.lo `test -f 'libmtp.c' || echo './'`libmtp.c --- ../config.status --- cd .. && /opt/pkg/bin/bmake am--refresh --- libmtp_la-unicode.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT libmtp_la-unicode.lo -MD -MP -MF .deps/libmtp_la-unicode.Tpo -c -o libmtp_la-unicode.lo `test -f 'unicode.c' || echo './'`unicode.c --- ../config.status --- --- ./Makefile.in --- --- ./Makefile.in --- --- ./Makefile.in --- --- ../config.status --- cd . && /usr/bin/bash /home/pbulk/build/devel/libmtp/work/libmtp-1.1.21/missing automake-1.16 --foreign --- ./Makefile.in --- cd . && /usr/bin/bash /home/pbulk/build/devel/libmtp/work/libmtp-1.1.21/missing automake-1.16 --foreign --- ../config.status --- WARNING: 'automake' is missing on your system. You should only need it if you modified 'Makefile.am', 'acinclude.m4' or 'configure.ac'. You might want to install the Automake and Perl packages. Grab them from any GNU archive site. --- ./Makefile.in --- WARNING: 'automake' is missing on your system. You should only need it if you modified 'Makefile.am', 'acinclude.m4' or 'configure.ac'. You might want to install the Automake and Perl packages. Grab them from any GNU archive site. --- ../config.status --- --- ./config.status --- /usr/bin/bash ./config.status --recheck --- ./Makefile.in --- --- ./config.status --- /usr/bin/bash ./config.status --recheck --- libmtp_la-libmtp.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/devel/libmtp/work/.buildlink/include -I/home/pbulk/build/devel/libmtp/work/.buildlink/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT libmtp_la-libmtp.lo -MD -MP -MF .deps/libmtp_la-libmtp.Tpo -c libmtp.c -fPIC -DPIC -o .libs/libmtp_la-libmtp.o --- libmtp_la-unicode.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/devel/libmtp/work/.buildlink/include -I/home/pbulk/build/devel/libmtp/work/.buildlink/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT libmtp_la-unicode.lo -MD -MP -MF .deps/libmtp_la-unicode.Tpo -c unicode.c -fPIC -DPIC -o .libs/libmtp_la-unicode.o --- ../config.status --- --- Makefile --- --- ./Makefile.in --- --- Makefile --- --- ../config.status --- cd . && /usr/bin/bash ./config.status Makefile --- ./Makefile.in --- cd . && /usr/bin/bash ./config.status Makefile --- libmtp_la-unicode.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/devel/libmtp/work/.buildlink/include -I/home/pbulk/build/devel/libmtp/work/.buildlink/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT libmtp_la-unicode.lo -MD -MP -MF .deps/libmtp_la-unicode.Tpo -c unicode.c -o libmtp_la-unicode.o >/dev/null 2>&1 mv -f .deps/libmtp_la-unicode.Tpo .deps/libmtp_la-unicode.Plo --- libmtp_la-util.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT libmtp_la-util.lo -MD -MP -MF .deps/libmtp_la-util.Tpo -c -o libmtp_la-util.lo `test -f 'util.c' || echo './'`util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/devel/libmtp/work/.buildlink/include -I/home/pbulk/build/devel/libmtp/work/.buildlink/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT libmtp_la-util.lo -MD -MP -MF .deps/libmtp_la-util.Tpo -c util.c -fPIC -DPIC -o .libs/libmtp_la-util.o --- ../config.status --- config.status: creating Makefile --- ./Makefile.in --- config.status: creating Makefile --- ../config.status --- --- am--refresh --- --- libmtp_la-playlist-spl.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT libmtp_la-playlist-spl.lo -MD -MP -MF .deps/libmtp_la-playlist-spl.Tpo -c -o libmtp_la-playlist-spl.lo `test -f 'playlist-spl.c' || echo './'`playlist-spl.c --- ./Makefile.in --- --- am--refresh --- --- libmtp_la-ptp.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT libmtp_la-ptp.lo -MD -MP -MF .deps/libmtp_la-ptp.Tpo -c -o libmtp_la-ptp.lo `test -f 'ptp.c' || echo './'`ptp.c --- libmtp_la-util.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/devel/libmtp/work/.buildlink/include -I/home/pbulk/build/devel/libmtp/work/.buildlink/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT libmtp_la-util.lo -MD -MP -MF .deps/libmtp_la-util.Tpo -c util.c -o libmtp_la-util.o >/dev/null 2>&1 --- libmtp_la-playlist-spl.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/devel/libmtp/work/.buildlink/include -I/home/pbulk/build/devel/libmtp/work/.buildlink/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT libmtp_la-playlist-spl.lo -MD -MP -MF .deps/libmtp_la-playlist-spl.Tpo -c playlist-spl.c -fPIC -DPIC -o .libs/libmtp_la-playlist-spl.o --- libmtp_la-ptp.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/devel/libmtp/work/.buildlink/include -I/home/pbulk/build/devel/libmtp/work/.buildlink/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT libmtp_la-ptp.lo -MD -MP -MF .deps/libmtp_la-ptp.Tpo -c ptp.c -fPIC -DPIC -o .libs/libmtp_la-ptp.o --- libmtp_la-util.lo --- mv -f .deps/libmtp_la-util.Tpo .deps/libmtp_la-util.Plo --- libmtp_la-libusb1-glue.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT libmtp_la-libusb1-glue.lo -MD -MP -MF .deps/libmtp_la-libusb1-glue.Tpo -c -o libmtp_la-libusb1-glue.lo `test -f 'libusb1-glue.c' || echo './'`libusb1-glue.c --- libmtp_la-ptp.lo --- In file included from ptp.h:32, from ptp.c:27: ptp-pack.c: In function 'dtoh64p': gphoto2-endian.h:14:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 14 | #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ gphoto2-endian.h:16:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 16 | ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ gphoto2-endian.h:17:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 17 | ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ gphoto2-endian.h:18:43: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 18 | ((x) >> 8) & 0x00000000ff000000ULL | \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ gphoto2-endian.h:19:43: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 19 | ((x) >> 24) & 0x0000000000ff0000ULL | \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ gphoto2-endian.h:20:43: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 20 | ((x) >> 40) & 0x000000000000ff00ULL | \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ gphoto2-endian.h:21:43: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 21 | ((x) >> 56) & 0x00000000000000ffULL)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ --- libmtp_la-libusb1-glue.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/devel/libmtp/work/.buildlink/include -I/home/pbulk/build/devel/libmtp/work/.buildlink/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT libmtp_la-libusb1-glue.lo -MD -MP -MF .deps/libmtp_la-libusb1-glue.Tpo -c libusb1-glue.c -fPIC -DPIC -o .libs/libmtp_la-libusb1-glue.o In file included from ptp.h:32, from libusb-glue.h:33, from libusb1-glue.c:34: ptp-pack.c: In function 'dtoh64p': gphoto2-endian.h:14:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 14 | #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ gphoto2-endian.h:16:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 16 | ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ gphoto2-endian.h:17:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 17 | ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ gphoto2-endian.h:18:43: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 18 | ((x) >> 8) & 0x00000000ff000000ULL | \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ gphoto2-endian.h:19:43: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 19 | ((x) >> 24) & 0x0000000000ff0000ULL | \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ gphoto2-endian.h:20:43: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 20 | ((x) >> 40) & 0x000000000000ff00ULL | \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ gphoto2-endian.h:21:43: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 21 | ((x) >> 56) & 0x00000000000000ffULL)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gphoto2-endian.h:89:26: note: in expansion of macro 'swap64' 89 | # define be64toh(x) swap64(x) | ^~~~~~ ptp-pack.c:91:61: note: in expansion of macro 'be64toh' 91 | return ((params->byteorder==PTP_DL_LE)?le64toh(var):be64toh(var)); | ^~~~~~~ --- libmtp_la-playlist-spl.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/devel/libmtp/work/.buildlink/include -I/home/pbulk/build/devel/libmtp/work/.buildlink/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT libmtp_la-playlist-spl.lo -MD -MP -MF .deps/libmtp_la-playlist-spl.Tpo -c playlist-spl.c -o libmtp_la-playlist-spl.o >/dev/null 2>&1 --- libmtp_la-libusb1-glue.lo --- libusb1-glue.c: In function 'ptp_read_func': libusb1-glue.c:888:21: warning: 'context_block_size_1' may be used uninitialized [-Wmaybe-uninitialized] 888 | else if (toread == context_block_size_1) | ^ libusb1-glue.c:851:17: note: 'context_block_size_1' was declared here 851 | unsigned long context_block_size_1; | ^~~~~~~~~~~~~~~~~~~~ libusb1-glue.c:890:21: warning: 'context_block_size_2' may be used uninitialized [-Wmaybe-uninitialized] 890 | else if (toread == context_block_size_2) | ^ libusb1-glue.c:852:17: note: 'context_block_size_2' was declared here 852 | unsigned long context_block_size_2; | ^~~~~~~~~~~~~~~~~~~~ --- libmtp_la-playlist-spl.lo --- mv -f .deps/libmtp_la-playlist-spl.Tpo .deps/libmtp_la-playlist-spl.Plo --- Makefile --- cd .. && /usr/bin/bash ./config.status src/Makefile depfiles --- libmtp_la-libusb1-glue.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/devel/libmtp/work/.buildlink/include -I/home/pbulk/build/devel/libmtp/work/.buildlink/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT libmtp_la-libusb1-glue.lo -MD -MP -MF .deps/libmtp_la-libusb1-glue.Tpo -c libusb1-glue.c -o libmtp_la-libusb1-glue.o >/dev/null 2>&1 --- Makefile --- config.status: creating src/Makefile config.status: executing depfiles commands --- libmtp_la-libusb1-glue.lo --- mv -f .deps/libmtp_la-libusb1-glue.Tpo .deps/libmtp_la-libusb1-glue.Plo --- libmtp_la-libmtp.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/devel/libmtp/work/.buildlink/include -I/home/pbulk/build/devel/libmtp/work/.buildlink/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT libmtp_la-libmtp.lo -MD -MP -MF .deps/libmtp_la-libmtp.Tpo -c libmtp.c -o libmtp_la-libmtp.o >/dev/null 2>&1 --- libmtp_la-ptp.lo --- ptp.c: In function 'ptp_nikon_getwifiprofilelist': ptp.c:4604:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 4604 | strncpy(params->wifi_profiles[profn].creation_date, buffer, sizeof(params->wifi_profiles[profn].creation_date)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptp.c:4612:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 4612 | strncpy(params->wifi_profiles[profn].lastusage_date, buffer, sizeof(params->wifi_profiles[profn].lastusage_date)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptp.c: In function 'ptp_nikon_writewifiprofile': ptp.c:4699:9: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] 4699 | strncpy((char*)&buffer[0x05], profile->profile_name, 16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptp.c:4722:9: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] 4722 | strncpy((char*)&buffer[0x4A], profile->essid, 32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptp.c:4722:9: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/devel/libmtp/work/.buildlink/include -I/home/pbulk/build/devel/libmtp/work/.buildlink/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wmissing-prototypes -MT libmtp_la-ptp.lo -MD -MP -MF .deps/libmtp_la-ptp.Tpo -c ptp.c -o libmtp_la-ptp.o >/dev/null 2>&1 --- libmtp_la-libmtp.lo --- mv -f .deps/libmtp_la-libmtp.Tpo .deps/libmtp_la-libmtp.Plo --- libmtp_la-ptp.lo --- mv -f .deps/libmtp_la-ptp.Tpo .deps/libmtp_la-ptp.Plo --- libmtp.la --- /usr/bin/bash ../libtool --tag=CC --mode=link gcc -I/opt/pkg/include/libusb-1.0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -Wl,-R/opt/pkg/lib -liconv -L/opt/pkg/lib -no-undefined -export-symbols ./libmtp.sym -version-info 13:0:4 -Wl,-R/opt/pkg/lib -liconv -L/opt/pkg/lib -o libmtp.la -rpath /opt/pkg/lib libmtp_la-libmtp.lo libmtp_la-unicode.lo libmtp_la-util.lo libmtp_la-playlist-spl.lo libmtp_la-ptp.lo libmtp_la-libusb1-glue.lo -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lusb-1.0 libtool: link: echo "{ global:" > .libs/libmtp.so.9.4.0.exp libtool: link: cat ./libmtp.sym | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/libmtp.so.9.4.0.exp libtool: link: echo "local: *; };" >> .libs/libmtp.so.9.4.0.exp libtool: link: gcc -shared -fPIC -DPIC -Wl,-z -Wl,text -Wl,-M -Wl,.libs/libmtp.so.9.4.0.exp -Wl,-h -Wl,libmtp.so.9 -o .libs/libmtp.so.9.4.0 .libs/libmtp_la-libmtp.o .libs/libmtp_la-unicode.o .libs/libmtp_la-util.o .libs/libmtp_la-playlist-spl.o .libs/libmtp_la-ptp.o .libs/libmtp_la-libusb1-glue.o -R/home/pbulk/build/devel/libmtp/work/.buildlink/lib -R/home/pbulk/build/devel/libmtp/work/.buildlink/lib -L/home/pbulk/build/devel/libmtp/work/.buildlink/lib /home/pbulk/build/devel/libmtp/work/.buildlink/lib/libiconv.so /home/pbulk/build/devel/libmtp/work/.buildlink/lib/libusb-1.0.so -lnvpair -lcmdutils -ldevinfo -O2 -msave-args -Wl,-rpath -Wl,/opt/pkg/lib -Wl,-rpath -Wl,/opt/pkg/lib -Wl,-rpath -Wl,/opt/pkg/lib libtool: link: rm -f .libs/libmtp.so.9.4.0.exp libtool: link: (cd ".libs" && rm -f "libmtp.so.9" && ln -s "libmtp.so.9.4.0" "libmtp.so.9") libtool: link: (cd ".libs" && rm -f "libmtp.so" && ln -s "libmtp.so.9.4.0" "libmtp.so") libtool: link: ar cr .libs/libmtp.a libmtp_la-libmtp.o libmtp_la-unicode.o libmtp_la-util.o libmtp_la-playlist-spl.o libmtp_la-ptp.o libmtp_la-libusb1-glue.o libtool: link: ranlib .libs/libmtp.a libtool: link: ( cd ".libs" && rm -f "libmtp.la" && ln -s "../libmtp.la" "libmtp.la" ) Making all in examples --- ../config.status --- --- connect.o --- --- delfile.o --- --- getfile.o --- --- ../config.status --- cd .. && /opt/pkg/bin/bmake am--refresh --- connect.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT connect.o -MD -MP -MF .deps/connect.Tpo -c -o connect.o connect.c --- delfile.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT delfile.o -MD -MP -MF .deps/delfile.Tpo -c -o delfile.o delfile.c --- getfile.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT getfile.o -MD -MP -MF .deps/getfile.Tpo -c -o getfile.o getfile.c --- ../config.status --- --- ./config.status --- /usr/bin/bash ./config.status --recheck --- am--refresh --- --- getfile.o --- mv -f .deps/getfile.Tpo .deps/getfile.Po --- newfolder.o --- --- sendfile.o --- --- newfolder.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT newfolder.o -MD -MP -MF .deps/newfolder.Tpo -c -o newfolder.o newfolder.c --- connect.o --- mv -f .deps/connect.Tpo .deps/connect.Po --- sendfile.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT sendfile.o -MD -MP -MF .deps/sendfile.Tpo -c -o sendfile.o sendfile.c --- sendtr.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT sendtr.o -MD -MP -MF .deps/sendtr.Tpo -c -o sendtr.o sendtr.c --- delfile.o --- mv -f .deps/delfile.Tpo .deps/delfile.Po --- pathutils.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT pathutils.o -MD -MP -MF .deps/pathutils.Tpo -c -o pathutils.o pathutils.c pathutils.c: In function 'progress': pathutils.c:122:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 122 | printf("Progress: %llu of %llu (%d%%)\r", sent, total, percent); | ~~~^ ~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu pathutils.c:122:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 122 | printf("Progress: %llu of %llu (%d%%)\r", sent, total, percent); | ~~~^ ~~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu pathutils.c: In function 'find_filetype': pathutils.c:138:11: error: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] 138 | ptype = rindex(filename,'.'); | ^~~~~~ pathutils.c:138:11: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] --- newfolder.o --- mv -f .deps/newfolder.Tpo .deps/newfolder.Po --- util.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wmissing-prototypes -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c --- pathutils.o --- *** [pathutils.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/devel/libmtp/work/libmtp-1.1.21/examples --- sendfile.o --- mv -f .deps/sendfile.Tpo .deps/sendfile.Po --- util.o --- mv -f .deps/util.Tpo .deps/util.Po --- sendtr.o --- mv -f .deps/sendtr.Tpo .deps/sendtr.Po bmake[2]: 1 error bmake[2]: stopped making "all" in /home/pbulk/build/devel/libmtp/work/libmtp-1.1.21/examples bmake[1]: stopped making "all-recursive" in /home/pbulk/build/devel/libmtp/work/libmtp-1.1.21 bmake: stopped making "all" in /home/pbulk/build/devel/libmtp/work/libmtp-1.1.21 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmtp *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmtp