[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#815341: libbladerf1: uninstallable on kfreebsd: unsatisfiable Depends: libusb-1.0-0 (>= 1.0.12)

tags 815341 + patch
user debian-bsd@lists.debian.org
usertags 815341 + kfreebsd


Andreas Beckmann wrote:
> The following packages have unmet dependencies:
>  libbladerf1 : Depends: libusb-1.0-0 (>= 1.0.12) but it is not installable
> There is no libusb-1.0-0 package on kfreebsd.
> There is also no real libusb-1.0-0-dev kfreebsd, but a virtual one
> provided by libusb2-dev.

The package is already compiled against libusb2-dev on kfreebsd.
The problem is this control file entry for the binary package

| Depends: libusb-1.0-0 (>= 1.0.12), ${misc:Depends}, ${shlibs:Depends}

which forces a dependency on libusb-1.0-0, even if not building on
Linux.  It should be [linux-any] (although I'm surprised it needs to be
listed there at all, due to using shlibs?)

Steven Chamberlain
--- bladerf-0.2016.01~rc1/debian/control.orig	2016-01-12 21:58:17.000000000 +0000
+++ bladerf-0.2016.01~rc1/debian/control	2016-02-21 01:00:20.292345186 +0000
@@ -22,7 +22,7 @@
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libusb-1.0-0 (>= 1.0.12), ${misc:Depends}, ${shlibs:Depends}
+Depends: libusb-1.0-0 (>= 1.0.12) [linux-any], ${misc:Depends}, ${shlibs:Depends}
 Suggests: bladerf, bladerf-firmware, bladerf-fpga
 Description: nuand bladeRF software-defined radio device
  The nuand bladeRF is an open-source software-defined radio (SDR) system,

Attachment: signature.asc
Description: Digital signature

Reply to: