Package: dovecot Version: 1:2.2.25-1 You can find more detail on the actual build issue at https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1636781
The topic itself is not so much a Debian but more of an Ubuntu problem. We have "-Bsymbolic-functions" linker option enabled by default, while you have not - and dovecot >=2.2.25 is incompatible with that. I also reported the issue and analysis for it upstream to Dovecot, but no reply yet that I could refer to. Never the less in my strive for a low amount of delta I found that many packages that are well co-maintained in both distributions just guard fixes for that inside a dpkg-vendor check. That way you could consider accepting it without affecting your build, have a head start on fixing it when you ever enable "-Bsymbolic-functions" and make my life easier. I understand that since this is like a no-op for the Debian build this might be at least discussion worthy. Yet I thought it would be nice and surely worth to at least ask. Suggested diff would be that: diff --git a/debian/rules b/debian/rules index 11028e4..a2c2b76 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,11 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all # DRAC doesn't build with -fPIE drac_buildflags = DEB_BUILD_MAINT_OPTIONS="hardening=+all,-pie" dpkg-buildflags +# LP: 1636781 - strip incompatible default linker option +ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes) + export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions +endif + # Macros to help move files to the module packages CORE_DIR=$(CURDIR)/debian/dovecot-core PKG_DIR=$(CURDIR)/debian/dovecot-PKG Looking forward to hear your opinion. -- Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd

