build error; missing dependencies on *every* new applet

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Nov 24 23:55:14 UTC 2009


On Wed, Nov 25, 2009 at 01:43:58AM +0100, Denys Vlasenko wrote:
>On Tuesday 24 November 2009 23:31, Bernhard Reutner-Fischer wrote:
>> On Tue, Nov 24, 2009 at 10:22:57PM +0100, Denys Vlasenko wrote:
>> >On Tue, Nov 24, 2009 at 8:05 PM, Bernhard Reutner-Fischer
>> ><rep.dot.nop at gmail.com> wrote:
>> >> Hi there,
>> >>
>> >> another applet, the same old freaking breakage.
>> 
>> >> Perhaps some brave sould could *please* fix that annoyance!
>> s/sould/soul/
>> >
>> >Dreaded Makefiles.
>> 
>> partially de-annoyed. Thanks!
>> Partially as it still doesn't work for me, see below.
>
>Try current git, I committed another fix.
>Survives continuous make clean; make -r -j8; loop.
>
>> I must (still) be doing something wrong, i fear!
>> If .config is changed, no noteworthy rebuild is triggered (for me)?
>
>Can't reproduce.
>
>> $ git reset --hard 102ff76c845746f9c0bae65299176a0a49f85260; make distclean ; git pull --rebase && make allnoconfig > /dev/null;for i in NIH TRUE FALSE;do echo "# $i" ; sed -i -e "/CONFIG_$i/s/.*/CONFIG_$i=y/" .config ; egrep "(NIH|TRUE|FALSE)" .config ; make -j > /dev/null && size busybox && set -x && ./busybox $(echo $i | tr '[[:upper:]]' '[[:lower:]]') ; echo $?; set +x ; done
>
>AWWW you too Brutus!!
>I just acquired at least one more gray hair looking
>at makefiles, can at least you be nicer to me and post
>a *smaller*, *less cryptic* testcase?

smaller.. erm it's 377 bytes

$ (make distclean ; make allnoconfig ; sed -i -e "/CONFIG_TRUE/s/.*/CONFIG_TRUE=y/" .config ; make -j) > /dev/null;./busybox true || echo broken
that's 142b and arguably simpler.

less cryptic, let me try to expand on my findings:
- clean it.
- disable everything
- turn on one/several random applet(s)
- build
- run the random applet(s) we previously enabled
- curse (since it's broken)


More information about the busybox mailing list