From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Network-Manager test fail Date: Tue, 16 Feb 2016 17:51:06 -0500 Message-ID: <87egccxo9x.fsf@netris.org> References: <384babbcc45b918bf5da33b8b522d5ac@riseup.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVoSm-0002ln-2z for guix-devel@gnu.org; Tue, 16 Feb 2016 17:51:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVoSh-0006jo-Qx for guix-devel@gnu.org; Tue, 16 Feb 2016 17:51:19 -0500 Received: from world.peace.net ([50.252.239.5]:38942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVoSh-0006iY-NJ for guix-devel@gnu.org; Tue, 16 Feb 2016 17:51:15 -0500 In-Reply-To: <384babbcc45b918bf5da33b8b522d5ac@riseup.net> (Daniel Pimentel's message of "Sun, 14 Feb 2016 20:41:29 -0300") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Daniel Pimentel Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Daniel Pimentel 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 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-PRELIMINARY-gnu-network-manager-Fix-build-on-some-ma.patch Content-Description: [PATCH] PRELIMINARY gnu: network-manager: Fix build on some machines >From 509fdf38ba4457524472d2b382a82aba85ad57f4 Mon Sep 17 00:00:00 2001 From: Mark H Weaver 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 --=-=-=--