make oldconfig produces a lot of "No such file or directory" messages
Denys Vlasenko
vda.linux at googlemail.com
Sat Nov 27 21:57:55 UTC 2010
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
More information about the busybox
mailing list