unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Network-Manager test fail
@ 2016-02-14 23:41 Daniel Pimentel
  2016-02-15  1:53 ` Leo Famulari
  2016-02-16 22:51 ` Mark H Weaver
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Pimentel @ 2016-02-14 23:41 UTC (permalink / raw)
  To: guix-devel

Hi Guix,

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
Please report to 
http://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager
============================================================================
Makefile:1698: recipe for target 'test-suite.log' failed
make[6]: *** [test-suite.log] Error 1
make[6]: Leaving directory 
'/tmp/guix-build-network-manager-1.0.6.drv-0/NetworkManager-1.0.6/src/platform/tests'
Makefile:1804: recipe for target 'check-TESTS' failed
make[5]: *** [check-TESTS] Error 2
make[5]: Leaving directory 
'/tmp/guix-build-network-manager-1.0.6.drv-0/NetworkManager-1.0.6/src/platform/tests'
Makefile:1940: recipe for target 'check-am' failed
make[4]: *** [check-am] Error 2
make[4]: Leaving directory 
'/tmp/guix-build-network-manager-1.0.6.drv-0/NetworkManager-1.0.6/src/platform/tests'
Makefile:503: recipe for target 'check-recursive' failed
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory 
'/tmp/guix-build-network-manager-1.0.6.drv-0/NetworkManager-1.0.6/src/platform'
Makefile:2107: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory 
'/tmp/guix-build-network-manager-1.0.6.drv-0/NetworkManager-1.0.6/src'
Makefile:2256: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory 
'/tmp/guix-build-network-manager-1.0.6.drv-0/NetworkManager-1.0.6/src'
Makefile:683: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
phase `check' failed after 18.4 seconds
builder for 
`/gnu/store/y48h7xpv1cy6llc14i3d9b4bgg50xnyj-network-manager-1.0.6.drv' 
failed with exit code 1
cannot build derivation 
`/gnu/store/z12mg9c6cqd0s5akgmfpafsv3y5dshwm-gnome-control-center-3.18.2.drv': 
1 dependencies couldn't be built
cannot build derivation 
`/gnu/store/dbymsc5qqagb94z8yd6b6gd650bqxhqw-gnome-shell-3.18.3.drv': 1 
dependencies couldn't be built
cannot build derivation 
`/gnu/store/6vccal5m84r7il1wv61s22z9pavszva6-profile.drv': 1 
dependencies couldn't be built
cannot build derivation 
`/gnu/store/813ba6lb95vycdc511nnrs90rbd1275q-system.drv': 1 dependencies 
couldn't be built
guix system: error: build failed: build of 
`/gnu/store/813ba6lb95vycdc511nnrs90rbd1275q-system.drv' failed


-- 
Daniel Pimentel (d4n1)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Network-Manager test fail
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2016-02-15  1:53 UTC (permalink / raw)
  To: Daniel Pimentel; +Cc: guix-devel

On Sun, Feb 14, 2016 at 08:41:29PM -0300, Daniel Pimentel wrote:
> Hi Guix,
> 
> 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

Can you provide the parts of test-suite.log that describe the failures?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Network-Manager test fail
  2016-02-15  1:53 ` Leo Famulari
@ 2016-02-15 10:03   ` Efraim Flashner
  0 siblings, 0 replies; 5+ messages in thread
From: Efraim Flashner @ 2016-02-15 10:03 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel, Daniel Pimentel

[-- Attachment #1: Type: text/plain, Size: 662 bytes --]

On Sun, 14 Feb 2016 20:53:52 -0500
Leo Famulari <leo@famulari.name> wrote:

> On Sun, Feb 14, 2016 at 08:41:29PM -0300, Daniel Pimentel wrote:
>  [...]  
> 
> Can you provide the parts of test-suite.log that describe the failures?
> 

if you build with the '-K' flag it'll keep the directory around so you can
get the log.

Also, another option is to try to update it to a newer version and see if
that takes care of the test failure.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Network-Manager test fail
  2016-02-14 23:41 Network-Manager test fail Daniel Pimentel
  2016-02-15  1:53 ` Leo Famulari
@ 2016-02-16 22:51 ` Mark H Weaver
  2016-02-18 19:52   ` Andreas Enge
  1 sibling, 1 reply; 5+ messages in thread
From: Mark H Weaver @ 2016-02-16 22:51 UTC (permalink / raw)
  To: Daniel Pimentel; +Cc: guix-devel

[-- 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: Network-Manager test fail
  2016-02-16 22:51 ` Mark H Weaver
@ 2016-02-18 19:52   ` Andreas Enge
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Enge @ 2016-02-18 19:52 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel, Daniel Pimentel

Hi Mark,

On Tue, Feb 16, 2016 at 05:51:06PM -0500, Mark H Weaver wrote:
> 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.

would it not make sense to push the patch then?

Andreas

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-18 19:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-02-18 19:52   ` Andreas Enge

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).