Package: evolution-data-server
Version: 3.12.5-2
Tags: patch
User: debian-...@lists.debian.org
Usertags: arm64

evolution-data-server recently added a build-depends on libphonenumber6-dev [linux-any]. lihphonenumber6-dev is built from the source package libphonenumber

Unfortunately there are a number of linux architectures where libphonenumber is not being built sucessfully.

arm64: testsuite failure: SEVERE: Failed validation for Country Code: 675 National Number: -9223372036854775808 Leading Zero(s): true Number of leading zeros: 2
sparc: many testsuite failures
hppa: many testsuite failures
m68k: build-dependencies uninstallable
powerpcspe: build-dependencies uninstallable
sh4: build-dependencies uninstallable
sparc64: build-dependencies uninstallable

While these are not currently release architectures (though arm64 is desperately trying to become one) that is IMO no reason to go unnessacerally making gnome uninstallable on them.

I have prepared the attatched patch to restrict the dependency on libphonenumber6-dev to the architectures where is it confirmed to be available and uploaded it to debian-ports arm64 unreleased. It would be appreciated if you would also apply this in debian proper so gnome can be built for arm64 in the official archive.

If I get no response I may consider a NMU.
diff -Nru evolution-data-server-3.12.6/debian/changelog 
evolution-data-server-3.12.6/debian/changelog
--- evolution-data-server-3.12.6/debian/changelog       2014-09-15 
13:28:40.000000000 +0000
+++ evolution-data-server-3.12.6/debian/changelog       2014-09-17 
19:14:26.000000000 +0000
@@ -1,3 +1,10 @@
+evolution-data-server (3.12.6-1+arm64) unreleased; urgency=medium
+
+  * Restrict use of libphonenumber to architectures where it is confirmed to
+    be available.
+
+ -- Peter Michael Green <plugw...@debian.org>  Wed, 17 Sep 2014 19:10:52 +0000
+
 evolution-data-server (3.12.6-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru evolution-data-server-3.12.6/debian/control 
evolution-data-server-3.12.6/debian/control
--- evolution-data-server-3.12.6/debian/control 2014-09-08 14:54:40.000000000 
+0000
+++ evolution-data-server-3.12.6/debian/control 2014-09-17 19:06:54.000000000 
+0000
@@ -40,7 +40,7 @@
                libkrb5-dev,
                libldap2-dev,
                liboauth-dev (>= 0.9.4),
-               libphonenumber6-dev [linux-any],
+               libphonenumber6-dev [amd64 armel armhf i386 mips mipsel powerpc 
ppc64el s390x alpha ppc64 x32],
                libjson-glib-dev,
                librest-dev (>= 0.7),
                libnss3-dev,
diff -Nru evolution-data-server-3.12.6/debian/rules 
evolution-data-server-3.12.6/debian/rules
--- evolution-data-server-3.12.6/debian/rules   2014-09-08 14:54:40.000000000 
+0000
+++ evolution-data-server-3.12.6/debian/rules   2014-09-17 19:10:36.000000000 
+0000
@@ -25,7 +25,7 @@
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 include /usr/share/dpkg/buildflags.mk
 
-ifeq ($(DEB_HOST_ARCH_OS),linux)
+ifneq (,$(findstring $(DEB_HOST_ARCH),amd64 armel armhf i386 mips mipsel 
powerpc ppc64el s390x alpha ppc64 x32))
        DEB_CONFIGURE_EXTRA_FLAGS += --with-phonenumber=/usr
 endif
 

Reply via email to