Package: ceph
Version: 12.2.11+dfsg1-2.2
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu focal ubuntu-patch
Dear maintainers,
In Ubuntu, we are in the process of moving the i386 architecture to a
compatibility-only layer on amd64. We are keeping ceph on i386 because it
is a build-dependency of samba, but the various ceph server packages built
from this source package have dependencies on other packages that are not
being kept as part of the compatibility library set.
We would like to drop these various 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 this
binary package 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/
[email protected] [email protected]
diff -Nru ceph-12.2.11+dfsg1/debian/rules ceph-12.2.11+dfsg1/debian/rules
--- ceph-12.2.11+dfsg1/debian/rules 2019-04-05 08:12:52.000000000 -0500
+++ ceph-12.2.11+dfsg1/debian/rules 2019-12-21 22:43:03.000000000 -0600
@@ -27,6 +27,10 @@
export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
+ skip_packages = -Nceph -Nceph-base -Nceph-mds -Nceph-mgr -Nceph-mon
-Nceph-osd
+endif
+
export JAVA_HOME=/usr/lib/jvm/default-java
## Set JAVAC to prevent FTBFS due to incorrect use of 'gcj' if found (see
"m4/ac_prog_javac.m4").
export JAVAC=javac
@@ -189,4 +193,10 @@
--exclude=src/erasure-code/jerasure/jerasure/makefile.orig \
etc/sysctl/90-ceph-osd.conf
+override_dh_builddeb:
+ dh_builddeb ${skip_packages}
+
+override_dh_gencontrol:
+ dh_gencontrol ${skip_packages}
+
.PHONY: override_dh_auto_configure override_dh_installinit
override_dh_makeshlibs override_dh_auto_test override_dh_missing