From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1664 invoked by alias); 5 Jan 2014 02:21:31 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32230 Received: (qmail 10543 invoked from network); 5 Jan 2014 02:21:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 From: Kete To: zsh-workers@zsh.org Subject: mkmakemod.sh 2nd stage build failure Date: Sat, 04 Jan 2014 21:21:20 -0500 Message-ID: <2299435.9BvXCX229r@knossos> User-Agent: KMail/4.12 (Linux/3.5.0-40-generic; KDE/4.12.0; i686; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hello, I am trying to build Zsh for an emerging package manager named Guix, but the build failed at the second stage of mkmakemod.sh when it tried to use /bin/sh. I see I can disable the 2nd stage with an -i option. What are the consequences of disabling the second stage? Here is my error (you might notice Guix is based on Nix): starting phase `build' make[1]: Entering directory '/tmp/nix-build-zsh-5.0.2.drv-1/zsh-5.0.4/Src' cd .. && /nix/store/97vnvqq5daji73b71v4cnmyaa7r3hzk2-bash-4.2/bin/sh $top_srcdir/Src/mkmakemod.sh Src Makemod creating Src/Makemod.in Src/../Src/mkmakemod.sh: line 467: /bin/sh: No such file or directory Makefile:299: recipe for target 'Makemod' failed make[1]: *** [Makemod] Error 1 Here are lines 464-470 of mkmakemod.sh: if $second_stage ; then trap "rm -f $the_subdir/${the_makefile}; exit 1" 1 2 15 ${CONFIG_SHELL-/bin/sh} ./config.status \ --file=$the_subdir/${the_makefile}:$the_subdir/${the_makefile}.in || exit 1 fi