From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Subject: Re: Calling autogen.sh in a build Date: Tue, 12 Apr 2016 08:49:33 +0200 Message-ID: <87mvozmide.fsf@T420.taylan> References: <570C97D4.1000709@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aps8n-0001iM-I9 for guix-devel@gnu.org; Tue, 12 Apr 2016 02:49:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aps8m-0006Yu-RP for guix-devel@gnu.org; Tue, 12 Apr 2016 02:49:37 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:34627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aps8m-0006Yn-L4 for guix-devel@gnu.org; Tue, 12 Apr 2016 02:49:36 -0400 Received: by mail-wm0-x234.google.com with SMTP id l6so174193324wml.1 for ; Mon, 11 Apr 2016 23:49:35 -0700 (PDT) In-Reply-To: <570C97D4.1000709@gmx.net> (Florian Paul Schmidt's message of "Tue, 12 Apr 2016 08:38:12 +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: Florian Paul Schmidt Cc: guix-devel Florian Paul Schmidt writes: > ./autogen.sh: ./configure: /bin/sh: bad interpreter: No such file or > directory It's trying to access /bin/sh instead of /gnu/store/...-sh-... for some reason. > (modify-phases %standard-phases > (add-before > 'configure 'pre-configure > (lambda _ ; TODO: add explanation > (zero? (system* "sh" "./autogen.sh"))))))) Hmm, maybe put the phase after the 'unpack' phase and see if the problem persists. IIRC, calls to autogen.sh should go after unpack, not before configure, because there's some phases in between that should happen after autogen.sh and before configure. Taylan