From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] distro: Add Kmod. Date: Wed, 19 Dec 2012 13:31:18 +0100 Message-ID: <87r4mmdy09.fsf@gnu.org> References: <87bodqoig1.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlIoG-00034u-5Y for bug-guix@gnu.org; Wed, 19 Dec 2012 07:31:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TlIoB-0003jp-Ri for bug-guix@gnu.org; Wed, 19 Dec 2012 07:31:40 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:49688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlIoB-0003jg-LX for bug-guix@gnu.org; Wed, 19 Dec 2012 07:31:35 -0500 In-Reply-To: <87bodqoig1.fsf@karetnikov.org> (Nikita Karetnikov's message of "Tue, 18 Dec 2012 21:59:50 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: bug-guix@gnu.org Hi, Nikita Karetnikov skribis: > Can we fix the following? Should we report it instead? > > TESTSUITE: ERR: sizes do not match /tmp/nix-build-p7bkz7iscax3f0998gss17s= fm83k9v7q-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-p7= bkz7iscax3f0998gss17sfm83k9v7q-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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 2 of 10 tests failed > Please report to linux-modules@vger.kernel.org > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Can you look at the detailed build logs? Often, when tests fail to build in our chroot, that=E2=80=99s because: =E2=80=A2 they refer to absolute file names (/usr/bin/modprobe, /lib/modules/xxx, etc.) =E2=80=A2 they have scripts with shebangs pointing to a file missing in t= he chroot (#!/usr/bin/env, #!/bin/bash, etc.) =E2=80=A2 they attempt to do name lookups, which fails because the chroot lacks /etc/resolv.conf, /etc/services, etc. If that is the case, a phase must be inserted before the =E2=80=98check=E2= =80=99 phase to adjust the faulty files. HTH, Ludo=E2=80=99.