* [linux-lvm] fail to build latest lvm2 on Ubuntu due to default shell
@ 2017-03-21 17:50 Neutron Sharc
0 siblings, 0 replies; only message in thread
From: Neutron Sharc @ 2017-03-21 17:50 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-21 17:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-21 17:50 [linux-lvm] fail to build latest lvm2 on Ubuntu due to default shell Neutron Sharc
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).