On Thursday 15 July 2010 02:12:11 Denys Vlasenko wrote:
> On Wednesday 14 July 2010 22:18, Rob Landley wrote:
> > On Wednesday 14 July 2010 01:20:51 Denys Vlasenko wrote:
> > > fixed?
> > > http://busybox.net/downloads/fixes-1.17.0/busybox-1.17.0-acpid.patch
> >
> > Defconfig has CONFIG_AR=y, and busybox ar makes the zlib build unhappy:
> >
> > ar rc libz.a adler32.o compress.o crc32.o deflate.o gzclose.o gzlib.o
> > gzread.o gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o
> > uncompr.o zutil.o cc -O -D_LARGEFILE64_SOURCE=1 -o example example.o -L.
> > libz.a
> > libz.a: could not read symbols: Archive has no index; run ranlib to add
> > one collect2: ld returned 1 exit status
> >
> > Not entirely sure why, they didn't specify s, but I guess ar creates the
> > index by default when you create with c?
>
> Need to look into it. For now, I set it to N in defconfig.
> busybox-1.17.0-build_system.patch is updated.

Trying now.

The busybox "patch" command built and then failed to apply patches to the next 
package.  (I use toybox patch, which I wrote from scratch to handle offsets and 
such easily.  I could even add "fuzz" if I wanted to pretty easily, but I 
generally consider it a bad idea.  That's probably the main applet I need to 
push upstream into busybox.  I'll wire around that locally for the moment...)

It builds and boots (on i686, at least).  The shell prompt is a bit screwed 
up, though:

  (i686:1) \w \$

CONFIG_FEATURE_EDITING_FANCY_PROMPT defaults to off, and for some reason that's 
in the busybox library tuning menu instead of the shell menu.  I note that
CONFIG_FEATURE_EDITING_ASK_TERMINAL also defaults to off and using QEMU's 
virtial serial console kind of needs that.  I thought that escape sequence was 
just a fallback that only got called if the tty ioctl query call thing didn't 
return usable data?  Hmmm...

AAAAAHHHH!!!  #IFDEF SALAD!  My eyes!

Ahem: libbb/lineedit.c needs to be <strike>cleansed with fire</strike> cleaned 
up a bit.  With fire.

Rob
-- 
GPLv3: as worthy a successor as The Phantom Meanace, as timely as Duke Nukem 
Forever, and as welcome as New Coke.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to