Re: CONFIG_KERNEL_XZ obscure build failure if xz(1) not installed

From: Lasse Collin
Date: Wed Feb 09 2011 - 17:01:54 EST


On 2011-02-09 Andy Isaacson wrote:
> % make -j4
> ...
> CC arch/x86/boot/tty.o
> CC arch/x86/oprofile/oprofile.mod.o
> XZKERN arch/x86/boot/compressed/vmlinux.bin.xz
> exec: 23: xz: not found

This may have something to do with the shell that "make" uses to run the
commands. The compression command isn't seen as failed with dash for
some reason.

It doesn't matter what shell is used to run xz_wrap.sh. The same problem
exists with other compressors if they are missing.

> commit 100b33c8bd8a3235fd0b7948338d6cbb3db3c63d
[...]
> % ls -l arch/x86/boot/bzImage
> -rw-r--r-- 1 adi adi 1991504 Feb 1 18:41 arch/x86/boot/bzImage

"Feb 1" was about a week ago. The file is a few days older than the
commit ID, assuming that your clock is set correctly.

--
Lasse Collin | IRC: Larhzu @ IRCnet & Freenode
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/