Source: evolution
Version: 3.24.5-2
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)

evolution FTBFS on the 'all' buildd:
https://buildd.debian.org/status/fetch.php?pkg=evolution&arch=all&ver=3.24.5-2&stamp=1504140526&raw=0
Unlike Ubuntu, Debian builds Architecture: all packages on their own
buildd, which does not build Architecture: any in the same transaction.

> find debian/libevolution/ -name 'module-bogofilter.so' -delete
> find: 'debian/libevolution/': No such file or directory
> debian/rules:40: recipe for target 'override_dh_install' failed

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.

    S
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 3195)
+++ debian/changelog	(working copy)
@@ -1,3 +1,11 @@
+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
+
+ -- 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
_______________________________________________
Pkg-evolution-maintainers mailing list
Pkg-evolution-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-evolution-maintainers

Reply via email to