On Thu, Sep 16, 2010 at 10:58 AM, Harald Becker <[email protected]> wrote:
>  Hi!
>
> I just had some really big trouble because of busybox build not failing
> if od is not installed. The build throws a message about this but
> otherwise it continues. As this goes that fast I didn't mention this
> message and assumed those messages are only warnings ... but missing od
> leads into trouble preparing the usage messages which gives a
> segmentation fault as soon as you try to invoke "busybox APPLETNAME
> --help" ... needed hours to find the reason for this!
>
> Denys, can you fix this, so that a missing required program leads into a
> build abort? Thx!

Yes, can do. See attachment.

But where should we stop?

od is part of the coreutils. The key part here is "core".

Should I also make build fail if dd is not available? Or sed? Or grep?
Or cp? mv? rm? cat? mkdir?

Can you imagine how ugly the scripts would look which check
for every one of these programs?
-- 
vda

Attachment: 7.patch
Description: Binary data

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to