fail to build latest lvm2 on Ubuntu due to default shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux