From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] Add Elixir Date: Tue, 02 Aug 2016 19:26:12 +0200 Message-ID: <87vazj84ln.fsf@gnu.org> References: <579027b7.VHXjhpPxQC3AAmeY%pjotr.public12@email> <87mvl66ya6.fsf@elephly.net> <20160725063140.GA25432@thebird.nl> <87wpjz4l2c.fsf@elephly.net> 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]:35651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUdSS-00072T-2n for guix-devel@gnu.org; Tue, 02 Aug 2016 13:26:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUdSN-0001nf-Ru for guix-devel@gnu.org; Tue, 02 Aug 2016 13:26:23 -0400 In-Reply-To: <87wpjz4l2c.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 02 Aug 2016 10:44:11 +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" To: Ricardo Wurmus Cc: guix-devel@gnu.org Hello! Ricardo Wurmus skribis: > I documented the most common test errors, but there don=E2=80=99t seem to= be any > quick fixes. Attached is a new patch based on yours. If this looks > good to you I=E2=80=99ll push it with you as the commit author and with a > =E2=80=9CCo-authored-by: Ricardo Wurmus=E2=80=9D line in the commit summa= ry. Woow, congratulation, and a big thanks for taking the time to investigate the issues! > +++ b/gnu/packages/patches/elixir-disable-failing-tests.patch > @@ -0,0 +1,261 @@ > +Most of these tests fail for unknown reasons when run in the chroot > +environment of a Guix build process. > + > +Common failures are: > + > + * Mix.Shell.cmd() fails with error 130 Could it be that this method relies on /bin/sh? We have patches/substitutions for similar functions in libc, gawk, and Guile, for instance. > + * The git_repo fixture cannot be found > + * Communication with spawned processes fails with EPIPE It might be that processes are spawned with /bin/sh too, and thus fail instantly. Cheers, Ludo=E2=80=99.