Source: te923con
Version: 0.6.1-1
Severity: important
Justification: fails to build from source

The build of te923con for hurd-i386 (admittedly not a release
architecture) failed:

  te923usb.c: In function 'te923_handle':
  te923usb.c:67:9: warning: implicit declaration of function 
'usb_get_driver_np' [-Wimplicit-function-declaration]
     ret = usb_get_driver_np(devh, 0, driver_name, driver_name_len);
           ^~~~~~~~~~~~~~~~~
  te923usb.c:69:5: warning: implicit declaration of function 
'usb_detach_kernel_driver_np' [-Wimplicit-function-declaration]
       usb_detach_kernel_driver_np( devh, 0 );
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  /tmp/ccHeVdmH.o: In function `te923_handle':
  ./te923usb.c:67: undefined reference to `usb_get_driver_np'
  ./te923usb.c:69: undefined reference to `usb_detach_kernel_driver_np'
  collect2: error: ld returned 1 exit status

The package is still in the Needs-Build queue on kfreebsd-*, but I
suspect it will hit the same problem there.  If these calls are
essential, please restrict the package's Architecture: field to
linux-any accordingly.  Otherwise, please conditionalize them on
LIBUSB_HAS_GET_DRIVER_NP and LIBUSB_HAS_DETACH_KERNEL_DRIVER_NP
respectively.

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu

Reply via email to