From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#19888: [check][fail] Date: Tue, 24 Feb 2015 00:03:36 +0100 Message-ID: <87d250z0vr.fsf@gnu.org> References: <85k2zgmtdl.fsf@hellsgate.pl> 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]:57218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQ22l-0006x0-Kz for bug-guix@gnu.org; Mon, 23 Feb 2015 18:04:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQ22k-0000Ct-QD for bug-guix@gnu.org; Mon, 23 Feb 2015 18:04:03 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:52306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQ22k-0000Cp-O2 for bug-guix@gnu.org; Mon, 23 Feb 2015 18:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YQ22k-0002VA-Hu for bug-guix@gnu.org; Mon, 23 Feb 2015 18:04:02 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <85k2zgmtdl.fsf@hellsgate.pl> ("Daniel \=\?utf-8\?Q\?Kochma\=C5\=84\?\= \=\?utf-8\?Q\?ski\=22's\?\= message of "Tue, 17 Feb 2015 16:48:22 +0100") 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: Daniel =?UTF-8?Q?Kochma=C5=84ski?= Cc: 19888-done@debbugs.gnu.org Daniel Kochma=C5=84ski skribis: > I'm encountering an error when building guix from git (linux, archlinux, = aur > package guix-git) - make check returns three failed checks (see > attachments). [...] > ./configure: ./config.status: /tmp/packerbuild-1000/guix-git/guix-git/src= /guix/test-tmp/store/s5j6jzyqy26f0: bad interpreter: No such file or direct= ory I sounds like the shebang is actually longer than Linux=E2=80=99s static li= mit. Indeed, the string =E2=80=9C/tmp/packerbuild-1000/guix-git/guix-git/src/guix/test-tmp/store/wz= k9i3vyr53xiyxl6ar7ykyifxhfxqpv-bootstrap-binaries-0/bin/bash=E2=80=9D is exactly 126 characters, but BINPRM_BUF_SIZE in Linux, which accounts for the entire shebang plus trailing zero, is 128. Commit b69c5c2 works around that by skipping tests that would otherwise hit this limit. I will also add configure-time checks to at least warn about the risk of such problems. Thanks for the report! Ludo=E2=80=99.