[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Network-Manager test fail
From: |
Mark H Weaver |
Subject: |
Re: Network-Manager test fail |
Date: |
Tue, 16 Feb 2016 17:51:06 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) |
Daniel Pimentel <address@hidden> writes:
> I try to change Ratpoison to Gnome-shell, but there's a follow error
> with test for NetworkManager:
>
> Testsuite summary for NetworkManager 1.0.6
> ============================================================================
> # TOTAL: 24
> # PASS: 16
> # SKIP: 0
> # XFAIL: 0
> # FAIL: 0
> # XPASS: 0
> # ERROR: 8
> ============================================================================
> See src/platform/tests/test-suite.log
Without seeing your test-suite.log, I'm not sure if these are the same
failures I'm getting, but network-manager consistently fails to build
for me as well.
Here's a patch I've used to enable building on my machine. Maybe it
works for you too.
Mark
>From 509fdf38ba4457524472d2b382a82aba85ad57f4 Mon Sep 17 00:00:00 2001
From: Mark H Weaver <address@hidden>
Date: Tue, 22 Dec 2015 00:52:44 -0500
Subject: [PATCH] PRELIMINARY gnu: network-manager: Fix build on some machines
(e.g. Libreboot X60).
---
gnu/packages/gnome.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index fd0ce67..6d88f2a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4193,6 +4193,13 @@ users.")
(string-append "--with-dhclient=" dhclient)))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ (substitute* "src/platform/tests/test-common.c"
+ ;; XXX FIXME Fix tests that use linux containers. For now, we
+ ;; disable unsharing, which causes those tests to be skipped.
+ (("!unshare_user \\(\\)") "1"))
+ #t))
(add-before 'check 'pre-check
(lambda _
;; For the missing /etc/machine-id.
--
2.6.3