From: Mark H Weaver <mhw@netris.org>
To: Daniel Pimentel <d4n1@member.fsf.org>
Cc: guix-devel@gnu.org
Subject: Re: Network-Manager test fail
Date: Tue, 16 Feb 2016 17:51:06 -0500 [thread overview]
Message-ID: <87egccxo9x.fsf@netris.org> (raw)
In-Reply-To: <384babbcc45b918bf5da33b8b522d5ac@riseup.net> (Daniel Pimentel's message of "Sun, 14 Feb 2016 20:41:29 -0300")
[-- Attachment #1: Type: text/plain, Size: 750 bytes --]
Daniel Pimentel <d4n1@member.fsf.org> 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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: [PATCH] PRELIMINARY gnu: network-manager: Fix build on some machines --]
[-- Type: text/x-patch, Size: 1093 bytes --]
From 509fdf38ba4457524472d2b382a82aba85ad57f4 Mon Sep 17 00:00:00 2001
From: Mark H Weaver <mhw@netris.org>
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
next prev parent reply other threads:[~2016-02-16 22:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-14 23:41 Network-Manager test fail Daniel Pimentel
2016-02-15 1:53 ` Leo Famulari
2016-02-15 10:03 ` Efraim Flashner
2016-02-16 22:51 ` Mark H Weaver [this message]
2016-02-18 19:52 ` Andreas Enge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87egccxo9x.fsf@netris.org \
--to=mhw@netris.org \
--cc=d4n1@member.fsf.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).