Source: ola
Version: 0.10.2-1
Severity: serious
Tags: patch
Justification: makes the package in question unusable or mostly so
Control: block 835170 by -1

Dear Maintainer,

The recent upload of protobuf 3.0.0 to unstable has started an
uncoordinated transition (#835170). Unfortunately your package FTBFS,
initially because python-numpy is not among the build dependencies, and
secondly because -Werror causes a build failure due to the
unused-parameter warning.

The attached patch fixes the build failures by adding python-numpy to
the build dependencies, and adds -Wno-error=unused-parameter to
CPPFLAGS. Please apply these changes in the next upload.

Kind Regards,

Bas
diff -Nru ola-0.10.2/debian/control ola-0.10.2/debian/control
--- ola-0.10.2/debian/control	2016-05-21 23:27:00.000000000 +0200
+++ ola-0.10.2/debian/control	2016-08-25 18:10:20.000000000 +0200
@@ -2,7 +2,7 @@
 Priority: extra
 Maintainer: Wouter Verhelst <wou...@debian.org>
 Uploaders: RenZO <re...@imaginux.com>
-Build-Depends: debhelper (>= 9), autotools-dev, dh-autoreconf, bash-completion, libcppunit-dev, bison, flex, pkg-config, uuid-dev, python, python-protobuf, libprotobuf-dev, protobuf-compiler, libprotoc-dev, libusb-1.0-0-dev, libftdi-dev, liblo-dev, libmicrohttpd-dev (>= 0.9.44+dfsg-1), libclosure-compiler-java, libncurses5-dev
+Build-Depends: debhelper (>= 9), autotools-dev, dh-autoreconf, bash-completion, libcppunit-dev, bison, flex, pkg-config, uuid-dev, python, python-numpy, python-protobuf, libprotobuf-dev, protobuf-compiler, libprotoc-dev, libusb-1.0-0-dev, libftdi-dev, liblo-dev, libmicrohttpd-dev (>= 0.9.44+dfsg-1), libclosure-compiler-java, libncurses5-dev
 Standards-Version: 3.9.5
 Section: libs
 Vcs-Git: https://github.com/yoe/ola
diff -Nru ola-0.10.2/debian/rules ola-0.10.2/debian/rules
--- ola-0.10.2/debian/rules	2016-05-21 23:27:00.000000000 +0200
+++ ola-0.10.2/debian/rules	2016-08-25 18:15:54.000000000 +0200
@@ -10,6 +10,8 @@
 #export DH_VERBOSE=1
 export VERBOSE=1
 
+CPPFLAGS += -Wno-error=unused-parameter
+
 %:
 	dh $@ --parallel --with autotools_dev,autoreconf,bash_completion,python2
 

Reply via email to