[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: make oldconfig produces a lot of "No such file or directory"
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2010-11-27 21:57:55
Message-ID: 201011272257.55626.vda.linux () googlemail ! com
[Download RAW message or body]

On Thursday 25 November 2010 18:11, Douglas Mencken wrote:
> I tried to build the fresh busybox git (v1.19.0-4-gb271ad4 a.k.a
> 1_12_0-2668-gb271ad4), and got on 'make oldconfig' stage a lot of
> complaining:
> 
> ----------------------------------------
>   HOSTCC  scripts/basic/fixdep
>   HOSTCC  scripts/basic/split-include
>   HOSTCC  scripts/basic/docproc
> cmp: include/applets.h: No such file or directory
>   GEN     include/applets.h
> cmp: include/usage.h: No such file or directory

Older version of cmp wasn't suppressing error message
event with -s. This is now fixed.

> Despite these errors, BB builds successfully.
> Previous version I tried (v1.18.0-429-g0ebafcc) didn't printed single
> "no such file".
> Is it a bug or a feature?

scripts/gen_build_files.sh uses "cmp -s" in 1.18.0

> Also, attached 'history' shell script, I really miss its functionality
> in ash shell. Maybe it can be included in busybox at least in that
> form ;)

Bug in this line:

printf "%s: error: shell history file cannot be found\n" `basename "${0}"`

`basename "${0}"` is not safe: it may expand in more that one parameter.

-- 
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic