From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Package Definition Place Date: Sun, 05 Jan 2014 19:21:39 +0100 Message-ID: <87bnzq9tn0.fsf@gnu.org> References: <1471744.UPeTPsttfJ@knossos> <5816667.J2aAP2f9Oe@knossos> <20140104071539.GA3820@intra> <3887983.4DpMF5UtKy@knossos> 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]:36554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzsPR-0002yv-05 for guix-devel@gnu.org; Sun, 05 Jan 2014 13:26:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzsPL-00036M-IO for guix-devel@gnu.org; Sun, 05 Jan 2014 13:26:48 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:35555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzsPL-00034y-BS for guix-devel@gnu.org; Sun, 05 Jan 2014 13:26:43 -0500 In-Reply-To: <3887983.4DpMF5UtKy@knossos> (kete@ninthfloor.org's message of "Sat, 04 Jan 2014 16:21:35 -0500") 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: Kete Cc: guix-devel@gnu.org Kete skribis: > On Saturday, January 04, 2014 08:15:40 AM John Darrington wrote: >> The example in bash.scm is over complicated. Look at some of the exampl= es >> in xorg.scm to see how to set configure-flags. > > That got me a little further. > Src/../Src/mkmakemod.sh: line 467: /bin/sh: No such file or directory > Makefile:299: recipe for target 'Makemod' failed As John notes, there=E2=80=99s no /bin/sh in the build environment. By def= ault, files starting with #!/bin/sh (or similar) are automatically patched to #!/nix/store/.../bin/sh. However, it could be that mkmakemod.sh explicitly invokes /bin/sh in its body, in which case it has to be patched =E2=80=9Cmanually=E2=80=9D. Try building with --keep-failed, inspect that file, and then don=E2=80=99t hesitate to join #guix on Freenode for more advice/debugging. ;-) Ludo=E2=80=99.