=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for libusb-0.1.12nb7 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in . --- usb.lo --- --- error.lo --- --- descriptors.lo --- --- bsd.lo --- --- usbpp.lo --- --- descriptors.lo --- if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -O2 -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 --- usb.lo --- if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -O2 -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 --- error.lo --- if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -O2 -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 --- bsd.lo --- if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -O2 -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 --- usbpp.lo --- if /bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -O2 -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 --- usb.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -fPIC -DPIC -o .libs/usb.o --- descriptors.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -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. -O2 -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. -O2 -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o --- usbpp.lo --- libtool: compile: c++ -DHAVE_CONFIG_H -I. -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -fPIC -DPIC -o .libs/usbpp.o --- 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: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 19 [-Wformat-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); ^ --- error.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1 --- bsd.lo --- bsd.c: In function 'usb_os_open': bsd.c:156:31: warning: '.00' directive output may be truncated writing 3 bytes into a region of size between 0 and 1024 [-Wformat-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: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 992 [-Wformat-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: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 990 [-Wformat-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", ^~~~~~~~~~~~~ bsd.c: In function 'usb_interrupt_write': bsd.c:397:29: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 987 [-Wformat-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. -O2 -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: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 985 [-Wformat-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: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1009 [-Wformat-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, ^~~~~~~~~~~~~ --- descriptors.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1 --- bsd.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -Wall -MT bsd.lo -MD -MP -MF .deps/bsd.Tpo -c bsd.c -o bsd.o >/dev/null 2>&1 --- libusb.la --- /bin/sh ./libtool --mode=link gcc -Werror -O2 -Wall -Wl,-zrelro -Wl,-R/usr/pkg/lib -o libusb.la -rpath /usr/pkg/lib -version-info 8:4:4 -release 0.1 -export-dynamic usb.lo error.lo descriptors.lo bsd.lo libtool: link: gcc -shared -fPIC -DPIC .libs/usb.o .libs/error.o .libs/descriptors.o .libs/bsd.o -O2 -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-soname -Wl,libusb-0.1.so.4 -o .libs/libusb-0.1.so.4.4.4 libtool: link: (cd ".libs" && rm -f "libusb-0.1.so.4" && ln -s "libusb-0.1.so.4.4.4" "libusb-0.1.so.4") libtool: link: (cd ".libs" && rm -f "libusb.so" && ln -s "libusb-0.1.so.4.4.4" "libusb.so") libtool: link: ar cr .libs/libusb.a usb.o error.o descriptors.o bsd.o libtool: link: ranlib .libs/libusb.a libtool: link: ( cd ".libs" && rm -f "libusb.la" && ln -s "../libusb.la" "libusb.la" ) --- usbpp.lo --- libtool: compile: c++ -DHAVE_CONFIG_H -I. -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1 --- libusbpp.la --- /bin/sh ./libtool --mode=link c++ -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o libusbpp.la -rpath /usr/pkg/lib -version-info 8:4:4 -release 0.1 -export-dynamic libusb.la usbpp.lo libtool: link: c++ -shared -fPIC -DPIC .libs/usbpp.o -Wl,-rpath,/pbulk/work/devel/libusb/work/libusb-0.1.12/.libs -Wl,-rpath,/usr/pkg/lib -L./.libs -lusb -O2 -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4 libtool: link: (cd ".libs" && rm -f "libusbpp-0.1.so.4" && ln -s "libusbpp-0.1.so.4.4.4" "libusbpp-0.1.so.4") libtool: link: (cd ".libs" && rm -f "libusbpp.so" && ln -s "libusbpp-0.1.so.4.4.4" "libusbpp.so") libtool: link: ar cr .libs/libusbpp.a usbpp.o libtool: link: ranlib .libs/libusbpp.a libtool: link: ( cd ".libs" && rm -f "libusbpp.la" && ln -s "../libusbpp.la" "libusbpp.la" ) Making all in tests --- testlibusb.o --- --- descriptor_test.o --- --- id_test.o --- --- find_hubs.o --- --- find_mice.o --- --- get_resolution.o --- --- hub_strings.o --- --- testlibusb.o --- if gcc -DHAVE_CONFIG_H -I.. -I.. -O2 -Wall -MT testlibusb.o -MD -MP -MF ".deps/testlibusb.Tpo" -c -o testlibusb.o testlibusb.c; then mv -f ".deps/testlibusb.Tpo" ".deps/testlibusb.Po"; else rm -f ".deps/testlibusb.Tpo"; exit 1; fi --- descriptor_test.o --- if c++ -DHAVE_CONFIG_H -I.. -I.. -O2 -MT descriptor_test.o -MD -MP -MF ".deps/descriptor_test.Tpo" -c -o descriptor_test.o descriptor_test.cpp; then mv -f ".deps/descriptor_test.Tpo" ".deps/descriptor_test.Po"; else rm -f ".deps/descriptor_test.Tpo"; exit 1; fi --- id_test.o --- if c++ -DHAVE_CONFIG_H -I.. -I.. -O2 -MT id_test.o -MD -MP -MF ".deps/id_test.Tpo" -c -o id_test.o id_test.cpp; then mv -f ".deps/id_test.Tpo" ".deps/id_test.Po"; else rm -f ".deps/id_test.Tpo"; exit 1; fi --- find_hubs.o --- if c++ -DHAVE_CONFIG_H -I.. -I.. -O2 -MT find_hubs.o -MD -MP -MF ".deps/find_hubs.Tpo" -c -o find_hubs.o find_hubs.cpp; then mv -f ".deps/find_hubs.Tpo" ".deps/find_hubs.Po"; else rm -f ".deps/find_hubs.Tpo"; exit 1; fi --- find_mice.o --- if c++ -DHAVE_CONFIG_H -I.. -I.. -O2 -MT find_mice.o -MD -MP -MF ".deps/find_mice.Tpo" -c -o find_mice.o find_mice.cpp; then mv -f ".deps/find_mice.Tpo" ".deps/find_mice.Po"; else rm -f ".deps/find_mice.Tpo"; exit 1; fi --- hub_strings.o --- if c++ -DHAVE_CONFIG_H -I.. -I.. -O2 -MT hub_strings.o -MD -MP -MF ".deps/hub_strings.Tpo" -c -o hub_strings.o hub_strings.cpp; then mv -f ".deps/hub_strings.Tpo" ".deps/hub_strings.Po"; else rm -f ".deps/hub_strings.Tpo"; exit 1; fi --- get_resolution.o --- if c++ -DHAVE_CONFIG_H -I.. -I.. -O2 -MT get_resolution.o -MD -MP -MF ".deps/get_resolution.Tpo" -c -o get_resolution.o get_resolution.cpp; then mv -f ".deps/get_resolution.Tpo" ".deps/get_resolution.Po"; else rm -f ".deps/get_resolution.Tpo"; exit 1; fi --- testlibusb --- /bin/sh ../libtool --mode=link gcc -O2 -Wall -Wl,-zrelro -Wl,-R/usr/pkg/lib -o testlibusb testlibusb.o ../libusb.la libtool: link: gcc -O2 -Wall -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/testlibusb testlibusb.o -pie -L../.libs -lusb -Wl,-rpath,/usr/pkg/lib --- get_resolution --- /bin/sh ../libtool --mode=link c++ -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o get_resolution get_resolution.o ../libusbpp.la exec: /pbulk/work/devel/libusb/work/.cwrapper/bin/libtool: not found *** [get_resolution] Error code 127 make[2]: stopped in /pbulk/work/devel/libusb/work/libusb-0.1.12/tests 1 error make[2]: stopped in /pbulk/work/devel/libusb/work/libusb-0.1.12/tests *** [all-recursive] Error code 1 make[1]: stopped in /pbulk/work/devel/libusb/work/libusb-0.1.12 1 error make[1]: stopped in /pbulk/work/devel/libusb/work/libusb-0.1.12 *** [all] Error code 2 make: stopped in /pbulk/work/devel/libusb/work/libusb-0.1.12 1 error make: stopped in /pbulk/work/devel/libusb/work/libusb-0.1.12 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/devel/libusb *** Error code 1 Stop. make: stopped in /usr/pkgsrc/devel/libusb