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

Bug#918477: libkarma FTCBFS: Build-Depends: cli-common-dev unsatisfiable



Source: libkarma
Version: 0.1.2-4
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

Thank you for applying my cross build patch. Unfortunately, merging
Build-Depends-Indep breaks cross building, because cli-common-dev cannot
be satisfied. Please split Build-Depends-Indep again. The attached patch
implements that in a way that works for arch-only, indep-only and full
builds.

Helmut
diff --minimal -Nru libkarma-0.1.2/debian/changelog libkarma-0.1.2/debian/changelog
--- libkarma-0.1.2/debian/changelog	2019-01-02 00:36:36.000000000 +0100
+++ libkarma-0.1.2/debian/changelog	2019-01-06 14:42:40.000000000 +0100
@@ -1,3 +1,10 @@
+libkarma (0.1.2-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Split out Build-Depends-Indep again. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 06 Jan 2019 14:42:40 +0100
+
 libkarma (0.1.2-4) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru libkarma-0.1.2/debian/control libkarma-0.1.2/debian/control
--- libkarma-0.1.2/debian/control	2019-01-02 00:34:12.000000000 +0100
+++ libkarma-0.1.2/debian/control	2019-01-06 14:42:38.000000000 +0100
@@ -6,6 +6,7 @@
  libtagc0-dev,
  libusb-dev,
  zlib1g-dev,
+Build-Depends-Indep:
  cli-common-dev (>= 0.8~),
  mono-devel (>= 2.4.2.3),
 Standards-Version: 4.3.0
diff --minimal -Nru libkarma-0.1.2/debian/rules libkarma-0.1.2/debian/rules
--- libkarma-0.1.2/debian/rules	2019-01-02 00:34:22.000000000 +0100
+++ libkarma-0.1.2/debian/rules	2019-01-06 14:42:40.000000000 +0100
@@ -18,8 +18,10 @@
 override_dh_auto_install:
 	dh_auto_install -- MCS=$(shell which mono-csc)
 
+DH_ADDONS=
 %:
-	dh $@ --with cli --no-parallel
+	dh $@ --with=$(DH_ADDONS) --no-parallel
+build binary %-indep: DH_ADDONS=cli
 
 # dh_clideps expects to see dh_makeshlibs called before it, but dh_makeshlibs
 # is never called when building only arch-indep packages. So we force the issue

Reply to: