=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for libusb-0.1.12nb5 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in . --- usb.lo --- --- error.lo --- --- descriptors.lo --- --- bsd.lo --- --- usb.lo --- if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -O2 -D_FORTIFY_SOURCE=2 -Wall -MT usb.lo -MD -MP -MF ".deps/usb.Tpo" -c -o usb.lo usb.c; then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; else rm -f ".deps/usb.Tpo"; exit 1; fi --- descriptors.lo --- if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -O2 -D_FORTIFY_SOURCE=2 -Wall -MT descriptors.lo -MD -MP -MF ".deps/descriptors.Tpo" -c -o descriptors.lo descriptors.c; then mv -f ".deps/descriptors.Tpo" ".deps/descriptors.Plo"; else rm -f ".deps/descriptors.Tpo"; exit 1; fi --- bsd.lo --- if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -O2 -D_FORTIFY_SOURCE=2 -Wall -MT bsd.lo -MD -MP -MF ".deps/bsd.Tpo" -c -o bsd.lo bsd.c; then mv -f ".deps/bsd.Tpo" ".deps/bsd.Plo"; else rm -f ".deps/bsd.Tpo"; exit 1; fi --- error.lo --- if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -O2 -D_FORTIFY_SOURCE=2 -Wall -MT error.lo -MD -MP -MF ".deps/error.Tpo" -c -o error.lo error.c; then mv -f ".deps/error.Tpo" ".deps/error.Plo"; else rm -f ".deps/error.Tpo"; exit 1; fi --- descriptors.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -Werror -O2 -D_FORTIFY_SOURCE=2 -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -fPIC -DPIC -o .libs/descriptors.o --- bsd.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -Werror -O2 -D_FORTIFY_SOURCE=2 -Wall -MT bsd.lo -MD -MP -MF .deps/bsd.Tpo -c bsd.c -fPIC -DPIC -o .libs/bsd.o --- error.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -Werror -O2 -D_FORTIFY_SOURCE=2 -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o --- usb.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -Werror -O2 -D_FORTIFY_SOURCE=2 -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -fPIC -DPIC -o .libs/usb.o --- error.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -Werror -O2 -D_FORTIFY_SOURCE=2 -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1 --- bsd.lo --- In file included from /usr/include/stdio.h:597:0, from bsd.c:35: bsd.c: In function 'ensure_ep_open.isra.0': bsd.c:269:36: error: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 19 [-Werror=format-truncation=] snprintf(buf, sizeof(buf) - 1, "%s.%02d", dev->device->filename, ep); ^ bsd.c:269:36: note: directive argument in the range [0, 15] bsd.c:269:5: note: '__builtin_snprintf' output between 4 and 1028 bytes into a destination of size 19 snprintf(buf, sizeof(buf) - 1, "%s.%02d", dev->device->filename, ep); ^ bsd.c: In function 'usb_os_open': bsd.c:156:31: error: '.00' directive output may be truncated writing 3 bytes into a region of size between 0 and 1024 [-Werror=format-truncation=] snprintf(ctlpath, PATH_MAX, "%s.00", dev->device->filename); ^ bsd.c:156:3: note: '__builtin_snprintf' output between 4 and 1028 bytes into a destination of size 1024 snprintf(ctlpath, PATH_MAX, "%s.00", dev->device->filename); ^ bsd.c: In function 'usb_bulk_write': bsd.c:317:27: error: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 992 [-Werror=format-truncation=] USB_ERROR_STR(-errno, "error writing to bulk endpoint %s.%02d: %s", ^ bsd.c:317:5: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "error writing to bulk endpoint %s.%02d: %s", ^~~~~~~~~~~~~ bsd.c:317:27: note: directive argument in the range [0, 15] USB_ERROR_STR(-errno, "error writing to bulk endpoint %s.%02d: %s", ^ bsd.c:317:5: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "error writing to bulk endpoint %s.%02d: %s", ^~~~~~~~~~~~~ error.h:24:4: note: '__builtin_snprintf' output 37 or more bytes (assuming 1061) into a destination of size 1023 snprintf(usb_error_str, sizeof(usb_error_str) - 1, format, ## args); \ ^ bsd.c:317:5: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "error writing to bulk endpoint %s.%02d: %s", ^~~~~~~~~~~~~ bsd.c: In function 'usb_bulk_read': bsd.c:358:27: error: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 990 [-Werror=format-truncation=] USB_ERROR_STR(-errno, "error reading from bulk endpoint %s.%02d: %s", ^ bsd.c:358:5: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "error reading from bulk endpoint %s.%02d: %s", ^~~~~~~~~~~~~ bsd.c:358:27: note: directive argument in the range [0, 15] USB_ERROR_STR(-errno, "error reading from bulk endpoint %s.%02d: %s", ^ bsd.c:358:5: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "error reading from bulk endpoint %s.%02d: %s", ^~~~~~~~~~~~~ error.h:24:4: note: '__builtin_snprintf' output 39 or more bytes (assuming 1063) into a destination of size 1023 snprintf(usb_error_str, sizeof(usb_error_str) - 1, format, ## args); \ ^ bsd.c:358:5: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "error reading from bulk endpoint %s.%02d: %s", ^~~~~~~~~~~~~ --- usbpp.lo --- if /bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -O2 -D_FORTIFY_SOURCE=2 -MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f ".deps/usbpp.Tpo"; exit 1; fi --- bsd.lo --- bsd.c: In function 'usb_interrupt_write': bsd.c:397:29: error: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 987 [-Werror=format-truncation=] USB_ERROR_STR(-errno, "error writing to interrupt endpoint %s.%02d: %s", ^ bsd.c:397:7: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "error writing to interrupt endpoint %s.%02d: %s", ^~~~~~~~~~~~~ bsd.c:397:29: note: directive argument in the range [0, 15] USB_ERROR_STR(-errno, "error writing to interrupt endpoint %s.%02d: %s", ^ bsd.c:397:7: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "error writing to interrupt endpoint %s.%02d: %s", ^~~~~~~~~~~~~ error.h:24:4: note: '__builtin_snprintf' output 42 or more bytes (assuming 1066) into a destination of size 1023 snprintf(usb_error_str, sizeof(usb_error_str) - 1, format, ## args); \ ^ bsd.c:397:7: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "error writing to interrupt endpoint %s.%02d: %s", ^~~~~~~~~~~~~ --- usb.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -Werror -O2 -D_FORTIFY_SOURCE=2 -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -o usb.o >/dev/null 2>&1 --- bsd.lo --- bsd.c: In function 'usb_interrupt_read': bsd.c:444:31: error: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 985 [-Werror=format-truncation=] USB_ERROR_STR(-errno, "error reading from interrupt endpoint %s.%02d: %s", ^ bsd.c:444:9: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "error reading from interrupt endpoint %s.%02d: %s", ^~~~~~~~~~~~~ bsd.c:444:31: note: directive argument in the range [0, 15] USB_ERROR_STR(-errno, "error reading from interrupt endpoint %s.%02d: %s", ^ bsd.c:444:9: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "error reading from interrupt endpoint %s.%02d: %s", ^~~~~~~~~~~~~ error.h:24:4: note: '__builtin_snprintf' output 44 or more bytes (assuming 1068) into a destination of size 1023 snprintf(usb_error_str, sizeof(usb_error_str) - 1, format, ## args); \ ^ bsd.c:444:9: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "error reading from interrupt endpoint %s.%02d: %s", ^~~~~~~~~~~~~ bsd.c: In function 'usb_os_find_devices': bsd.c:540:27: error: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1009 [-Werror=format-truncation=] USB_ERROR_STR(-errno, "couldn't open(%s): %s", bus->dirname, ^ bsd.c:540:5: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "couldn't open(%s): %s", bus->dirname, ^~~~~~~~~~~~~ error.h:24:4: note: '__builtin_snprintf' output 18 or more bytes (assuming 1042) into a destination of size 1023 snprintf(usb_error_str, sizeof(usb_error_str) - 1, format, ## args); \ ^ bsd.c:540:5: note: in expansion of macro 'USB_ERROR_STR' USB_ERROR_STR(-errno, "couldn't open(%s): %s", bus->dirname, ^~~~~~~~~~~~~ --- usbpp.lo --- libtool: compile: c++ -DHAVE_CONFIG_H -I. -O2 -D_FORTIFY_SOURCE=2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -fPIC -DPIC -o .libs/usbpp.o --- bsd.lo --- cc1: all warnings being treated as errors *** [bsd.lo] Error code 1 make[2]: stopped in /tmp/devel/libusb/work/libusb-0.1.12 --- descriptors.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -Werror -O2 -D_FORTIFY_SOURCE=2 -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1 --- usbpp.lo --- libtool: compile: c++ -DHAVE_CONFIG_H -I. -O2 -D_FORTIFY_SOURCE=2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1 1 error make[2]: stopped in /tmp/devel/libusb/work/libusb-0.1.12 *** [all-recursive] Error code 1 make[1]: stopped in /tmp/devel/libusb/work/libusb-0.1.12 1 error make[1]: stopped in /tmp/devel/libusb/work/libusb-0.1.12 *** [all] Error code 2 make: stopped in /tmp/devel/libusb/work/libusb-0.1.12 1 error make: stopped in /tmp/devel/libusb/work/libusb-0.1.12 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libusb *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libusb