From: Neutron Sharc <neutronsharc@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] fail to build latest lvm2 on Ubuntu due to default shell
Date: Tue, 21 Mar 2017 10:50:57 -0700 [thread overview]
Message-ID: <CAB-bdySnmkb56Zo9DRstWN-9y_hAcW=1Xm2QndAWhFAJsMmBNQ@mail.gmail.com> (raw)
Hi all,
I'm having problem building latest lvm2 on Ubuntu, which is caused by
default /bin/sh -> dash.
However I'm able to build tag v2_02_166 with default sh (dash).
It would be great if this compatibility could be fixed.
Here is the build log when it failed:
======
make[1]: Entering directory '/home/hcd/code/lvm2/tools'
set -o pipefail && \
( cat ../doc/license.txt && \
echo "/* Do not edit. This file is generated by the Makefile. */" && \
echo -en "const char _command_input[] =\n\n\"" && \
/bin/grep -E -v '^#|\-\-\-|^$' ./command-lines.in | gawk 'BEGIN {ORS
= "\\n\"\n\""} //' && \
echo "\\n\";" \
) > command-lines-input.h
/bin/sh: 1: set: Illegal option -o pipefail
make[1]: *** No rule to make target 'command-lines-input.h', needed by
'dmsetup.o'. Stop.
make[1]: Leaving directory '/home/hcd/code/lvm2/tools'
make.tmpl:329: recipe for target 'tools.device-mapper' failed
make: *** [tools.device-mapper] Error 2
Thanks.
-Shawn
reply other threads:[~2017-03-21 17:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='CAB-bdySnmkb56Zo9DRstWN-9y_hAcW=1Xm2QndAWhFAJsMmBNQ@mail.gmail.com' \
--to=neutronsharc@gmail.com \
--cc=linux-lvm@redhat.com \
/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.
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).