On Thu, 31 Aug 2017 at 09:37:52 +0100, Simon McVittie wrote: > The two find calls in debian/libevolution/ need to be skipped when that > directory does not exist, i.e. when not building architecture-specific > binary packages. I'm testing the attached patch, which I hope will > address this.
It seems to work. Here is an updated patch including the bug number; please upload as soon as is convenient, so that evolution will be installable again. (I don't intend to NMU this.) S
Index: debian/changelog =================================================================== --- debian/changelog (revision 3195) +++ debian/changelog (working copy) @@ -1,3 +1,12 @@ +evolution (3.24.5-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Do not try to delete bogofilter, spamassassin modules from + libevolution if only building for Architecture: all, fixing FTBFS + (Closes: #873796) + + -- Simon McVittie <s...@debian.org> Thu, 31 Aug 2017 09:30:03 +0100 + evolution (3.24.5-2) unstable; urgency=medium * Upload to unstable (Closes: #871626) Index: debian/rules =================================================================== --- debian/rules (revision 3195) +++ debian/rules (working copy) @@ -39,8 +39,10 @@ override_dh_install: dh_install --fail-missing -X.la -Xlibevolutiontestsettings.so \ -Xusr/lib/evolution/installed-tests -Xusr/share/installed-tests +ifneq ($(filter libevolution,$(shell dh_listpackages)),) find debian/libevolution/ -name 'module-bogofilter.so' -delete find debian/libevolution/ -name 'module-spamassassin.so' -delete +endif override_dh_makeshlibs: dh_makeshlibs -V'libevolution (>= $(DEB_VERSION_UPSTREAM)), libevolution (<< $(DEB_GNOME_NEXTVERSION))' -n