[Debian-ha-maintainers] Bug#948379: pacemaker: Please omit pacemaker{, -cli-utils, -remote} on Ubuntu/i386

Steve Langasek steve.langasek at canonical.com
Tue Jan 7 23:44:33 GMT 2020


Package: pacemaker
Version: 2.0.1-5
Severity: minor
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

In Ubuntu, we are in the process of moving the i386 architecture to a
compatibility-only layer on amd64.  We are keeping pacemaker on i386 because
it's a build-dependency of dlm, but several of the binary packages built
from this source have dependencies on other packages that are not being kept
as part of the compatibility library set (resource-agents, via arch: all
pacemaker-resource-agents).

We would like to drop these binary packages rather than keeping them around
in the Ubuntu archive and uninstallable.  Would you please consider applying
the attached patch, or something like it, to omit building these binary
packages on Ubuntu?

Thanks for considering,
-- 
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 pacemaker-2.0.1/debian/rules pacemaker-2.0.1/debian/rules
--- pacemaker-2.0.1/debian/rules	2019-11-04 12:31:07.000000000 -0800
+++ pacemaker-2.0.1/debian/rules	2020-01-07 15:41:00.000000000 -0800
@@ -11,8 +11,12 @@
 # Avoid useless dependencies in the utilities
 export DEB_LDFLAGS_MAINT_APPEND+=-Wl,--as-needed
 
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
+   BUILD_PACKAGES += -Nlibkate-tools
+endif
+
 %:
-	dh $@ --with python3
+	dh $@ --with python3 $(BUILD_PACKAGES)
 
 # autoreconf options taken from autogen.sh
 # without symlink usage (-s) to make --as-needed effective


More information about the Debian-ha-maintainers mailing list