Subject: pkg/29456: devel/libusb breaks during build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <diro@nixsys.bz>
List: pkgsrc-bugs
Date: 02/19/2005 16:08:00
>Number: 29456
>Category: pkg
>Synopsis: devel/libusb breaks during build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 19 16:08:00 +0000 2005
>Originator: diro@nixsys.bz
>Release: NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD nixsys 1.6.2 NetBSD 1.6.2 (NIXSYS) #10: Thu Mar 4 22:20:38 EST 2004 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
Architecture: alpha
Machine: alpha
>Description:
cc -DHAVE_CONFIG_H -O2 -mieee -Wall -c bsd.c -Wp,-MD,.deps/bsd.TPlo -o bsd.o >/dev/null 2>&1
/bin/sh ./libtool --mode=link cc -O2 -mieee -Wall -Wl,-R/usr/pkg/lib -o libusb.la -rpath /usr/pkg/lib -version-info 8:2:4 -release 0.1 -export-dynamic usb.lo error.lo descriptors.lo bsd.lo
cc -shared .libs/usb.o .libs/error.o .libs/descriptors.o .libs/bsd.o -L/usr/src/sys/pkgsrc/devel/libusb/work/.buildlink/lib -mieee -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libusb-0.1.so.4 -o .libs/libusb-0.1.so.4.4.2
(cd .libs && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.2 libusb-0.1.so.4)
(cd .libs && rm -f libusb.so && ln -s libusb-0.1.so.4.4.2 libusb.so)
ar cru .libs/libusb.a usb.o error.o descriptors.o bsd.o
ranlib .libs/libusb.a
creating libusb.la
(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
source='usbpp.cpp' object='usbpp.lo' libtool=yes depfile='.deps/usbpp.Plo' tmpdepfile='.deps/usbpp.TPlo' depmode=gcc /bin/sh ./depcomp /bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -O2 -mieee -c -o usbpp.lo usbpp.cpp
c++ -DHAVE_CONFIG_H -O2 -mieee -c usbpp.cpp -Wp,-MD,.deps/usbpp.TPlo -fPIC -DPIC -o .libs/usbpp.o
usbpp.cpp: In method `void USB::Configuration::dumpDescriptor()':
usbpp.cpp:370: implicit declaration of function `int USB::printf(...)'
*** Error code 1
>How-To-Repeat:
make devel/libusb in pkgsrc-current
>Fix: