[SCM] Debian Qt/KDE packaging tools branch, kubuntu_wily_archive, updated. debian/0.15.17-28-gfb75a23

Harald Sitter apachelogger-guest at moszumanska.debian.org
Mon Jun 1 15:55:07 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/pkg-kde-tools.git;a=commitdiff;h=fb75a23

The following commit has been merged in the kubuntu_wily_archive branch:
commit fb75a23c179b6a9e0b890578e384932be970b381
Author: Harald Sitter <sitter at kde.org>
Date:   Mon Jun 1 17:54:09 2015 +0200

    Disable dh_auto_test for armhf PPA builds
    
    * Disable dh_auto_test for armhf PPA builds
      + Since 99% of armhf PPA builds (that is excluding those from Canonical)
        are run via qemu-arm and qemu-arm doesn't manage to run any of the
        frameworks tests without segfaulting (either due to Qt or ctest, it's
        not clear) almost all test runs would fail all the time because of qemu.
        Since we cannot explicitly check if we are run through qemu-arm we'll
        instead simply disable auto_test for this entire use case which should
        be good enough for the time being anyway.
        Reviewed by Jonathan...
---
 debian/changelog                         | 14 ++++++++++++++
 perllib/Debian/Debhelper/Sequence/kf5.pm |  9 +++++++++
 2 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a7d96ac..11f8dab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+pkg-kde-tools (0.15.17ubuntu2) wily; urgency=medium
+
+  * Disable dh_auto_test for armhf PPA builds
+    + Since 99% of armhf PPA builds (that is excluding those from Canonical)
+      are run via qemu-arm and qemu-arm doesn't manage to run any of the
+      frameworks tests without segfaulting (either due to Qt or ctest, it's
+      not clear) almost all test runs would fail all the time because of qemu.
+      Since we cannot explicitly check if we are run through qemu-arm we'll
+      instead simply disable auto_test for this entire use case which should
+      be good enough for the time being anyway.
+      Reviewed by Jonathan...
+
+ -- Harald Sitter <sitter at kde.org>  Mon, 01 Jun 2015 17:48:20 +0200
+
 pkg-kde-tools (0.15.17ubuntu1) wily; urgency=medium
 
   * Merge with Debian, remaining changes:
diff --git a/perllib/Debian/Debhelper/Sequence/kf5.pm b/perllib/Debian/Debhelper/Sequence/kf5.pm
index e0282c1..cdf8618 100644
--- a/perllib/Debian/Debhelper/Sequence/kf5.pm
+++ b/perllib/Debian/Debhelper/Sequence/kf5.pm
@@ -41,6 +41,15 @@ add_command_options("dh_compress",
 
 insert_after("dh_install", "dh_movelibkdeinit");
 
+# Do not run tests on PPA targetting armhf builds.
+# armhf for (public) PPAs is using qemu-arm which can absolutely not run
+# the tests as it segfaults. Supposedly because of qapp and supposedly because
+# there is a second thread involved for which qemu-arm has no support at all.
+system("grep", "-q", "Purpose: PPA", "/CurrentlyBuilding");
+if ($? eq 0 && $ENV{'DEB_HOST_ARCH'} eq "armhf") {
+    remove_command("dh_auto_test");
+}
+
 # Only does stuff when package opts into l10n by setting
 # X-Ubuntu-Use-Langpack: yes
 require Debian::Debhelper::Sequence::kubuntu_l10n;

-- 
Debian Qt/KDE packaging tools



More information about the pkg-kde-commits mailing list