=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for libusb-0.1.12nb5 --- config.h --- --- all --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in . --- usb.lo --- --- error.lo --- --- descriptors.lo --- --- usb.lo --- if /bin/sh ./libtool --mode=compile clang -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 clang -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 --- descriptors.lo --- if /bin/sh ./libtool --mode=compile clang -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 --- libtool: compile: clang -DHAVE_CONFIG_H -I. -Werror -O2 -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -fPIC -DPIC -o .libs/usb.o --- descriptors.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -Werror -O2 -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -fPIC -DPIC -o .libs/descriptors.o --- error.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -Werror -O2 -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o libtool: compile: clang -DHAVE_CONFIG_H -I. -Werror -O2 -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1 --- usb.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -Werror -O2 -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -o usb.o >/dev/null 2>&1 --- bsd.lo --- if /bin/sh ./libtool --mode=compile clang -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 clang++ -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 --- descriptors.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -Werror -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: clang -DHAVE_CONFIG_H -I. -Werror -O2 -Wall -MT bsd.lo -MD -MP -MF .deps/bsd.Tpo -c bsd.c -fPIC -DPIC -o .libs/bsd.o In file included from bsd.c:48: In file included from ./usbi.h:4: ./usb.h:72:8: error: redefinition of 'usb_string_descriptor' struct usb_string_descriptor { ^ /usr/include/dev/usb/usb.h:568:8: note: previous definition is here struct usb_string_descriptor { ^ In file included from bsd.c:48: In file included from ./usbi.h:4: ./usb.h:92:8: error: redefinition of 'usb_endpoint_descriptor' struct usb_endpoint_descriptor { ^ /usr/include/dev/usb/usb.h:517:8: note: previous definition is here struct usb_endpoint_descriptor { ^ In file included from bsd.c:48: In file included from ./usbi.h:4: ./usb.h:117:8: error: redefinition of 'usb_interface_descriptor' struct usb_interface_descriptor { ^ /usr/include/dev/usb/usb.h:396:8: note: previous definition is here struct usb_interface_descriptor { ^ In file included from bsd.c:48: In file included from ./usbi.h:4: ./usb.h:143:8: error: redefinition of 'usb_config_descriptor' struct usb_config_descriptor { ^ /usr/include/dev/usb/usb.h:379:8: note: previous definition is here struct usb_config_descriptor { ^ In file included from bsd.c:48: In file included from ./usbi.h:4: ./usb.h:160:8: error: redefinition of 'usb_device_descriptor' struct usb_device_descriptor { ^ /usr/include/dev/usb/usb.h:282:8: note: previous definition is here struct usb_device_descriptor { ^ bsd.c:139:15: error: use of undeclared identifier 'USB_MAX_ENDPOINTS' int ep_fd[USB_MAX_ENDPOINTS]; ^ bsd.c:169:19: error: use of undeclared identifier 'USB_MAX_ENDPOINTS' for (i = 0; i < USB_MAX_ENDPOINTS; i++) ^ bsd.c:182:19: error: use of undeclared identifier 'USB_MAX_ENDPOINTS' for (i = 0; i < USB_MAX_ENDPOINTS; i++) ^ --- config.h --- --- bsd.lo --- bsd.c:206:24: error: use of undeclared identifier 'USB_SET_CONFIG' ret = ioctl(dev->fd, USB_SET_CONFIG, &configuration); ^ bsd.c:235:28: error: variable has incomplete type 'struct usb_alt_interface' struct usb_alt_interface intf; ^ bsd.c:235:10: note: forward declaration of 'struct usb_alt_interface' struct usb_alt_interface intf; ^ bsd.c:243:24: error: use of undeclared identifier 'USB_SET_ALTINTERFACE' ret = ioctl(dev->fd, USB_SET_ALTINTERFACE, &intf); ^ bsd.c:306:19: error: use of undeclared identifier 'USB_SET_TIMEOUT' ret = ioctl(fd, USB_SET_TIMEOUT, &timeout); ^ bsd.c:344:19: error: use of undeclared identifier 'USB_SET_TIMEOUT' ret = ioctl(fd, USB_SET_TIMEOUT, &timeout); ^ bsd.c:348:19: error: use of undeclared identifier 'USB_SET_SHORT_XFER' ret = ioctl(fd, USB_SET_SHORT_XFER, &one); ^ bsd.c:385:19: error: use of undeclared identifier 'USB_SET_TIMEOUT' --- usbpp.lo --- libtool: compile: clang++ -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 --- ret = ioctl(fd, USB_SET_TIMEOUT, &timeout); ^ bsd.c:427:19: error: use of undeclared identifier 'USB_SET_TIMEOUT' ret = ioctl(fd, USB_SET_TIMEOUT, &timeout); ^ bsd.c:431:19: error: use of undeclared identifier 'USB_SET_SHORT_XFER' ret = ioctl(fd, USB_SET_SHORT_XFER, &one); ^ bsd.c:458:26: error: variable has incomplete type 'struct usb_ctl_request' struct usb_ctl_request req; ^ bsd.c:458:10: note: forward declaration of 'struct usb_ctl_request' struct usb_ctl_request req; ^ bsd.c:472:19: error: use of undeclared identifier 'USBD_SHORT_XFER_OK' req.ucr_flags = USBD_SHORT_XFER_OK; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** [bsd.lo] Error code 1 bmake[2]: stopped in /var/pkgsrc/work/devel/libusb/work/libusb-0.1.12 --- usbpp.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1 1 error bmake[2]: stopped in /var/pkgsrc/work/devel/libusb/work/libusb-0.1.12 *** [all-recursive] Error code 1 bmake[1]: stopped in /var/pkgsrc/work/devel/libusb/work/libusb-0.1.12 1 error bmake[1]: stopped in /var/pkgsrc/work/devel/libusb/work/libusb-0.1.12 *** [all] Error code 2 bmake: stopped in /var/pkgsrc/work/devel/libusb/work/libusb-0.1.12 1 error bmake: stopped in /var/pkgsrc/work/devel/libusb/work/libusb-0.1.12 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/devel/libusb *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/devel/libusb