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

Reply via email to