[Debian-med-packaging] Bug#921057: unanimity: don't depend on build target

Steve Langasek steve.langasek at canonical.com
Fri Feb 1 06:54:33 GMT 2019


Package: unanimity
Version: 3.3.0+dfsg-1
Severity: serious
Tags: patch
Justification: FTFS
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch

Dear maintainers,

unanimity is failing to build from source on the Debian buildds because the
package relies on certain html documentation being regenerated at build
time, but it's only regenerated if the 'build' target is called, which is
not the case for an arch-only build.

The attached patch fixes debian/rules to build the docs as part of the
binary-arch target instead.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru unanimity-3.3.0+dfsg/debian/rules unanimity-3.3.0+dfsg/debian/rules
--- unanimity-3.3.0+dfsg/debian/rules	2019-01-31 21:22:11.000000000 -0800
+++ unanimity-3.3.0+dfsg/debian/rules	2019-01-31 21:49:06.000000000 -0800
@@ -23,7 +23,7 @@
  PBCCS.html \
 )
 
-build: $(docs)
+binary-arch: $(docs)
 %:
 	dh $@ \
 	--package=unanimity \


More information about the Debian-med-packaging mailing list