~alpine/devel

1

[alpine-devel] linux hardened kernel build fails for alpine-3.6

Harshal Govind <harshdgovind@gmail.com>
Details
Message ID
<CADYja1ELevYN2-1u32DaSq1=X_4DwrBQHDKJD5Zp6xPiweZRvQ@mail.gmail.com>
Sender timestamp
1520409420
DKIM signature
missing
Download raw message
Hi,

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; \
/bin/bash
/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
'/home/alpine/aports/main/autoconf/src/autoconf-2.69/man'
make[1]: *** [Makefile:357: all-recursive] Error 1
make[1]: Leaving directory
'/home/alpine/aports/main/autoconf/src/autoconf-2.69'
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?


Thanks,
Harshal
Details
Message ID
<6f25d503-50c8-90a1-e483-5edf5514a003@adelielinux.org>
In-Reply-To
<CADYja1ELevYN2-1u32DaSq1=X_4DwrBQHDKJD5Zp6xPiweZRvQ@mail.gmail.com> (view parent)
Sender timestamp
1520454559
DKIM signature
missing
Download raw message
On 03/07/18 01:57, Harshal Govind wrote:
> Hi,
> 
> 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; \
> /bin/bash
> /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
> '/home/alpine/aports/main/autoconf/src/autoconf-2.69/man'
> make[1]: *** [Makefile:357: all-recursive] Error 1
> make[1]: Leaving directory
> '/home/alpine/aports/main/autoconf/src/autoconf-2.69'
> 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?
> 
> 
> Thanks,
> Harshal


This usually means config.sub doesn't have executable permissions[1].
What file system are you using to build?  Are you doing a cross-compile
or is this native?

Best,
--arw



[1]: https://mail-index.netbsd.org/pkgsrc-users/2015/07/10/msg021812.html


-- 
A. Wilcox (awilfox)
Project Lead, Adélie Linux
http://adelielinux.org
Reply to thread Export thread (mbox)