I noticed two issues with my patch:
1) In debian/rules, the if-condition should start with "ifneq", not "ifeq".
2) in debian/ctdb.install, "linux-any" should be replaced with
"amd64 arm64 i386 mips64el ppc64el ppc64 x32".
Apologies for the mistakes. I wasn't finished with full testing when I submitted the patch.
It also seems that ceph can be enabled on more architectures than
amd64 arm64 i386 mips64el ppc64el ppc64 x32
but the primary problem that needs to be fixed first is that samba hangs during configure
on at least armel, armhf, mipsel and powerpc. We need to figure out what's happening
here.