From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Test failure in util-linux Date: Tue, 14 Apr 2015 11:59:46 +0200 Message-ID: <87bnirghd9.fsf@gnu.org> References: <7t4mop5pdg.fsf@gmail.com> <87twwom8nx.fsf@gnu.org> <7tbnisscwl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhxdI-0006VD-C1 for guix-devel@gnu.org; Tue, 14 Apr 2015 05:59:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhxdF-0006fc-4d for guix-devel@gnu.org; Tue, 14 Apr 2015 05:59:52 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhxdF-0006fR-1q for guix-devel@gnu.org; Tue, 14 Apr 2015 05:59:49 -0400 In-Reply-To: <7tbnisscwl.fsf@gmail.com> ("Carlos =?utf-8?Q?S=C3=A1nchez?= de La Lama"'s message of "Mon, 13 Apr 2015 09:30:50 +0200") 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: Carlos =?utf-8?Q?S=C3=A1nchez?= de La Lama Cc: guix-devel@gnu.org csanchezdll@gmail.com (Carlos S=C3=A1nchez de La Lama) skribis: >>> The system build fails during "check" phase of util-linux-2.25.2. >> >> Oh, OK. We could work around it, but since that requires a full >> rebuild, we=E2=80=99ll have to schedule it for the next core update cycl= e. >> >> That said, 2.6.32 is really old, so we probably don=E2=80=99t want to in= vest too >> much in that. > > Ok, I will try to do it myself in a proper "clean" to get hands dirty > with package definitions. Then it can be included upstream if you find > it appropiate. Sounds good! >>> 2) I tried adding "#:tests? #f" to my own modified ~/guix/linux.scm >>> (copied from system-wide >>> /usr/local/share/guile/site/2.0/gnu/packages/linux.scm). >>> This allowed building with >>> "guix package -L $HOME/guix build util-linux" >>> but system build still fails during the tests (would seem guix system >>> ignores -L flag and takes system-wide recipe). >> >> Right. =E2=80=9Cguix build=E2=80=9D now sees your =E2=80=98util-linux= =E2=80=99 package, but the whole >> package DAG uses explicit references to the objects, and so >> yours is ignored. >> >> You may be able to get around it by defining your own (gnu packages >> linux) package. The downside is that it would have to basically be a >> copy of the original one with just #:tests? #f added. > > Hm, thats exactly what I had done (I had copied while linux.scm file, > which AFAIU is there (gnu packages linux) is defined, and modified the > util-linux package inside it just to ass #:tests? #f. And still guix > system does not see it. Was the module called (gnu packages linux)? And was GUIX_PACKAGE_PATH set when =E2=80=98guix system=E2=80=99 was invoked (if =E2=80=98sudo=E2=80= =99 was used, it could have unset it, for instance)? Thanks, Ludo=E2=80=99.