On Fri, Aug 12, 2016 at 8:53 AM, Richard Purdie <[email protected]> wrote:
> We (as in the Yocto Project/OpenEmbedded) do a lot of builds of busybox
> One way I did find of breaking the build was:
>
> make; rm libbb/appletlib.o include/NUM_APPLETS.h; make
>
> which results in:
>
> CC shell/ash.o
> shell/ash.c:59:25: fatal error: NUM_APPLETS.h: No such file or
> directory
>
> since NUM_APPLETS.h doesn't get regenerated by "make prepare" after its
> deleted.
Makefile hell....
I can reproduce this, yes.
When I then run
make --debug=a -p libbb/lineedit.o >LOG
I find gobs of data in LOG, and grepping for NUM_APPLETS.h
include/NUM_APPLETS.h: applets/applet_tables
# Implicit rule search has not been done.
# Modification time never checked.
# File has not been updated.
# recipe to execute (from 'applets/Kbuild', line 48):
$(call cmd,gen_applet_tables)
...
...
Considering target file 'include/NUM_APPLETS.h'.
File 'include/NUM_APPLETS.h' does not exist.
Looking for an implicit rule for 'include/NUM_APPLETS.h'.
No implicit rule found for 'include/NUM_APPLETS.h'.
Finished prerequisites of target file 'include/NUM_APPLETS.h'.
Must remake target 'include/NUM_APPLETS.h'.
Successfully remade target file 'include/NUM_APPLETS.h'.
Erm... no, you did not "successfully remade target file",
stupid machine! It does not run anything! while thinking that
it "successfully remade target file". (I double-checked).
My google-fu turned up nothing.
Any ideas whats' going on?
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox