Hi,

Can we fix the following? Should we report it instead?

TESTSUITE: ERR: sizes do not match 
/tmp/nix-build-p7bkz7iscax3f0998gss17sfm83k9v7q-kmod-12.drv-0/kmod-12/testsuite/rootfs/test-depmod/modules-order-compressed/lib/modules/3.5.4-1-ARCH/correct-modules.alias
 
/tmp/nix-build-p7bkz7iscax3f0998gss17sfm83k9v7q-kmod-12.drv-0/kmod-12/testsuite/rootfs/test-depmod/modules-order-compressed/lib/modules/3.5.4-1-ARCH/modules.alias
TESTSUITE: ERR: FAILED: exit ok but outputs do not match: 
depmod_modules_order_for_compressed
FAIL: testsuite/test-depmod
==============================================
2 of 10 tests failed
Please report to [email protected]
==============================================

Can I push it without tests?

Nikita
From 6635ce4de63f74c142ae8bb20cd398fa55c950f8 Mon Sep 17 00:00:00 2001
From: Nikita Karetnikov <[email protected]>
Date: Wed, 19 Dec 2012 02:06:27 +0000
Subject: [PATCH] distro: Add Kmod.

* distro/packages/linux.scm (kmod): New variable.
---
 distro/packages/linux.scm |   31 ++++++++++++++++++++++++++++++-
 1 files changed, 30 insertions(+), 1 deletions(-)

diff --git a/distro/packages/linux.scm b/distro/packages/linux.scm
index 07be3ac..3431e56 100644
--- a/distro/packages/linux.scm
+++ b/distro/packages/linux.scm
@@ -193,4 +193,33 @@ providing the system administrator with some help in common tasks.")
      "Tools for working with USB devices, such as lsusb")
     (description
      "Tools for working with USB devices, such as lsusb.")
-    (license gpl2+)))
\ No newline at end of file
+    (license gpl2+)))
+
+(define-public kmod
+  (package
+    (name "kmod")
+    (version "12")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://kernel.org/linux/utils/kernel/kmod/kmod-"
+                          version ".tar.xz"))
+      (sha256
+       (base32
+        "0bzrifz0qr5kd5c7wszx36hxzm8cihcbs1l59qidks51qpc9s666"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags '("--disable-manpages") ; XXX: requires xsltproc
+       #:tests? #f))                             ; testsuite/test-depmod fails
+    (inputs `(("pkg-config" ,pkg-config)
+              ("xz" ,guix:xz)
+              ("zlib" ,guix:zlib)))
+    (home-page
+     "https://www.kernel.org/pub/linux/utils/kernel/kmod/";)
+    (synopsis
+     "Kmod, a set of tools for managing modules of the Linux kernel")
+    (description
+     "Kmod is a set of tools to handle common tasks with modules of the
+Linux kernel (e.g., insert, remove, list, check properties, resolve
+dependencies and aliases).")
+    (license '(gpl2+ lgpl2.1+))))
\ No newline at end of file
-- 
1.7.5.4

Attachment: pgpLFpeCni37Z.pgp
Description: PGP signature

Reply via email to