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

Bug#815947: FTBFS[kfreebsd]: please don't build-depend on libusb-dev there



Package: flashrom
Version: 0.9.9~rc1+r1942-1
Severity: important
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

Hi,

flashrom stopped building on kfreebsd with the last upload.
The package build-depends on two different versions of libusb.

On kfreebsd, libusb-1.0-0-dev is sufficient, so please at least limit
the libusb-dev dependency to [!kfreebsd-any], as in the attached patch.

However, considering libusb-dev is planned for removal soon...
https://bugs.debian.org/810470
So maybe that build-dependency should be dropped altogether.  Perhaps
mention it in Bug#810470 if there is some problem with that.

Thanks!

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 10.1-0-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- debian/control.orig	2016-02-19 14:54:58.000000000 +0000
+++ debian/control	2016-02-26 00:54:20.308595899 +0000
@@ -2,7 +2,7 @@
 Section: electronics
 Priority: extra
 Maintainer: Uwe Hermann <uwe@debian.org>
-Build-Depends: cdbs, debhelper (>= 9.0.0), libpci-dev, libusb-dev, libusb-1.0-0-dev, libftdi1-dev
+Build-Depends: cdbs, debhelper (>= 9.0.0), libpci-dev, libusb-dev [!kfreebsd-any], libusb-1.0-0-dev, libftdi1-dev
 Standards-Version: 3.9.6
 Homepage: http://www.flashrom.org
 

Reply to: