linux hardened kernel build fails for alpine-3.6

1 post / 0 new
#1 Wed, 2018-03-07 19:05
  • harshdgovind's picture
  • Offline
  • Last seen: 1 week 2 days ago
  • Joined: 2018-02-24


I am trying to build the kernel hardened for alpine-3.6. But it fails at
autoconf build which is one of the dependency. I am using alpine-3.6 VM to
build the kernel using sdk(abuild).

PATH="../tests:../build-aux:$PATH"; \
export PATH; \
/home/alpine/aports/main/autoconf/src/autoconf-2.69/build-aux/missing --run
help2man \
--include=config.sub.x \
--include=./common.x \
--source='GNU Autoconf 2.69' \
--output=config.sub.1.t `echo 'config.sub' | sed 's,.*/,,'`
help2man: can't get `--help' info from config.sub
Try `--no-discard-stderr' if option outputs to stderr
make[2]: *** [Makefile:461: config.sub.1] Error 1
make[2]: Leaving directory
make[1]: *** [Makefile:357: all-recursive] Error 1
make[1]: Leaving directory
make: *** [Makefile:292: all] Error 2
>>> ERROR: autoconf: abuildindex failed
>>> ERROR: linux-hardened: all failed

Am I missing anything in my build environment while building the kernel?