Package: openssh Version: 1:8.1p1-2 Severity: minor Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu focal ubuntu-patch
Dear maintainers, In Ubuntu, we are in the process (as you may know) of moving the i386 architecture to a compatibility-only layer on amd64. We are keeping openssh on i386 because it's a necessary part of a base system for builders, but the openssh-tests package built from this source has dependencies on other packages that are not being kept as part of the compatibility library set (python3-twisted). I would like to drop this binary package rather than keeping it around in the Ubuntu archive and uninstallable. Would you please consider applying the attached patch, or something like it, to omit building theis binary package on Ubuntu? (With or without the openssh-tests package in the archive on i386, the openssh autopkgtests will not pass on i386 due to the missing dependencies.) 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/ slanga...@ubuntu.com vor...@debian.org
diff -Nru openssh-8.1p1/debian/rules openssh-8.1p1/debian/rules --- openssh-8.1p1/debian/rules 2019-12-11 15:53:49.000000000 -0800 +++ openssh-8.1p1/debian/rules 2020-01-08 15:11:01.000000000 -0800 @@ -100,8 +100,12 @@ confflags += --with-ldflags='$(strip -Wl,--as-needed $(LDFLAGS))' confflags_udeb += --with-ldflags='-Wl,--as-needed' +ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386) + BUILD_PACKAGES += -Nopenssh-tests +endif + %: - dh $@ --with=autoreconf,systemd,runit + dh $@ --with=autoreconf,systemd,runit $(BUILD_PACKAGES) autoreconf: autoreconf -f -i