From: Kete <kete@ninthfloor.org>
To: zsh-workers@zsh.org
Subject: mkmakemod.sh 2nd stage build failure
Date: Sat, 04 Jan 2014 21:21:20 -0500 [thread overview]
Message-ID: <2299435.9BvXCX229r@knossos> (raw)
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
next reply other threads:[~2014-01-05 2:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-05 2:21 Kete [this message]
2014-01-05 19:21 ` Bart Schaefer
2014-01-05 20:10 ` Peter Stephenson
2014-01-05 23:35 ` Kete
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2299435.9BvXCX229r@knossos \
--to=kete@ninthfloor.org \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).