Bug#873158: liboggz FTCBFS: unsatisfiable Build-Depends, fails running tests despite DEB_BUILD_OPTIONS=nocheck

Helmut Grohne helmut at subdivi.de
Fri Aug 25 05:09:27 UTC 2017


Source: liboggz
Version: 1.1.1-5
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

liboggz fails to cross build from source for two reasons:

 * The binutils build dependency (treated as host arch) conflicts with
   the binutils dependency from build-essential. It would need
   "toolchain dependency cross translation", but the version restriction
   is so old, that it is simpler to just remove the dependency.
 * It fails running tests despite DEB_BUILD_OPTIONS=nocheck.

After fixing both, liboggz cross builds successfully. Please consider
applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru liboggz-1.1.1/debian/changelog liboggz-1.1.1/debian/changelog
--- liboggz-1.1.1/debian/changelog	2016-05-26 14:50:02.000000000 +0200
+++ liboggz-1.1.1/debian/changelog	2017-08-25 07:03:49.000000000 +0200
@@ -1,3 +1,12 @@
+liboggz (1.1.1-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Drop ancient binutils build dependency satisfied in wheezy.
+    + Honour DEB_BUILD_OPTIONS=nocheck.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Fri, 25 Aug 2017 07:03:49 +0200
+
 liboggz (1.1.1-5) unstable; urgency=medium
 
   * Changed Standards-Version from 3.9.6 to 3.9.8.
diff --minimal -Nru liboggz-1.1.1/debian/control liboggz-1.1.1/debian/control
--- liboggz-1.1.1/debian/control	2016-05-26 14:17:54.000000000 +0200
+++ liboggz-1.1.1/debian/control	2017-08-25 07:03:48.000000000 +0200
@@ -10,7 +10,6 @@
  , libogg-dev
  , doxygen
  , docbook-to-man
- , binutils (>= 2.12.90.0.9)
  , libtool
  , bash-completion (>= 1.1)
  , dh-autoreconf
diff --minimal -Nru liboggz-1.1.1/debian/rules liboggz-1.1.1/debian/rules
--- liboggz-1.1.1/debian/rules	2016-05-26 13:36:01.000000000 +0200
+++ liboggz-1.1.1/debian/rules	2017-08-25 07:03:49.000000000 +0200
@@ -6,9 +6,11 @@
 override_dh_strip:
 	dh_strip --dbg-package=liboggz2-dbg
 
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 # Run our test suite until the upstream source get one
 override_dh_auto_test:
 	dh_auto_test
 	for t in debian/tests/test-*; do \
 	    BUILDDIR=`pwd` $$t; \
 	done
+endif


More information about the pkg-xiph-maint mailing list