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

From: H. Peter Anvin
Date: Wed Feb 09 2011 - 16:19:55 EST


On 02/09/2011 11:52 AM, Andy Isaacson wrote:
>
> The failure is obscured by trailing make output, and since a broken
> bzImage is created, "make install" succeeds, and the first visible
> failure is after reboot when I get the lovely
>
> Decompressing Linux...
>
> Input is not in the XZ format (wrong magic bytes)
>
> -- System halted
>
> Sometimes I run "make -j4 && make install" which would have caught this,
> but the error should be more prominent and we shouldn't create bzImage
> if the dependencies are not present.
>

Agreed that the bzImage should not have been created. That should make
the error prominent enough (your complaint that it gets obscured with
make -j is "just how things work, sorry.")

-hpa
--
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/