Mailing List Archive

[SOLVED] make[1]: *** [kernel/Makefile:134: kernel/kheaders_data.tar.xz] Error 127
On Thu, Mar 04, 2021 at 10:28:46PM -0500, John Covici wrote
>
> On Thu, 04 Mar 2021 22:22:47 -0500,
> Walter Dnes wrote:
> >
> > I'm doing a fresh install on another Lenovo Thinkpad. First attempt
> > at a kernel build ends with...
> >
> >
> > CC kernel/kallsyms.o
> > CC kernel/acct.o
> > CC kernel/crash_core.o
> > CC kernel/utsname.o
> > CC kernel/pid_namespace.o
> > GZIP kernel/config_data.gz
> > CC kernel/configs.o
> > CHK kernel/kheaders_data.tar.xz
> > GEN kernel/kheaders_data.tar.xz
> > make[1]: *** [kernel/Makefile:134: kernel/kheaders_data.tar.xz] Error 127
> > make: *** [Makefile:1726: kernel] Error 2
> >
> >
> > I ran the build from within "time". I know that this problem occured
> > 3 minutes 41 seconds into the build. I'm not a kernel hacker. Any
> > ideas?
>
> I wonder if you ran out of space or memory. What .config did you use?

6 (six) gigs of ram and 220 gigs of disk, separate from the swap
partition.

I just found https://bugs.gentoo.org/701678 and did the
exact opposite of what I think it means, and the build succeeded.
Something to do with "IKHEADERS".

--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications