From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: GNU Prolog: configure: error: cannot run /bin/sh ./config.sub Date: Wed, 30 Jan 2013 22:16:27 +0100 Message-ID: <201301302216.27704.andreas@enge.fr> References: <87d2wm9y0u.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_r2YCRxdtr57WItN" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0f1K-00086z-HI for bug-guix@gnu.org; Wed, 30 Jan 2013 16:16:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0f1E-0007Y4-T3 for bug-guix@gnu.org; Wed, 30 Jan 2013 16:16:38 -0500 Received: from moutng.kundenserver.de ([212.227.17.10]:52215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0f1E-0007Xw-Iy for bug-guix@gnu.org; Wed, 30 Jan 2013 16:16:32 -0500 In-Reply-To: <87d2wm9y0u.fsf@karetnikov.org> 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: bug-guix@gnu.org --Boundary-01=_r2YCRxdtr57WItN Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Am Mittwoch, 30. Januar 2013 schrieb Nikita Karetnikov: > The attached recipe fails with the following error: > > patch-shebang: ./src/config.sub: changing `/bin/sh' to > `/nix/store/4mg8b8vvmava68y64qmm70gqfnhhjzmx-bash-4.2/bin/sh' > > [...] > > configure: error: cannot run /bin/sh ./config.sub My suspicion is that the patch-shebang in src/config.sub does not solve the problem, but that in some Makefile, there is an explicit call "/bin/sh ./config.sub". Maybe you can do a "grep" on the Makefiles to verify. If this is the problem, you need to pach them out "manually" in your build recipe (maybe from Makefile after, or Makefile.am before configuring), see, for instance, icu4c.scm. Andreas --Boundary-01=_r2YCRxdtr57WItN Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit

Am Mittwoch, 30. Januar 2013 schrieb Nikita Karetnikov:

> The attached recipe fails with the following error:

>

> patch-shebang: ./src/config.sub: changing `/bin/sh' to

> `/nix/store/4mg8b8vvmava68y64qmm70gqfnhhjzmx-bash-4.2/bin/sh'

>

> [...]

>

> configure: error: cannot run /bin/sh ./config.sub

 

My suspicion is that the patch-shebang in src/config.sub does not solve the problem, but that in some Makefile, there is an explicit call "/bin/sh ./config.sub". Maybe you can do a "grep" on the Makefiles to verify.

 

If this is the problem, you need to pach them out "manually" in your build recipe (maybe from Makefile after, or Makefile.am before configuring), see, for instance, icu4c.scm.

 

Andreas

 

--Boundary-01=_r2YCRxdtr57WItN--