[PATCH] Assertion `iter->cur.wc == 0' failed.
Rob Landley
rob at landley.net
Sun Nov 21 20:27:04 UTC 2010
Still trying to build Linux From Scratch 6.7 packages against the last uClibc
stable release, and I hit this strange assertion breaking "shadow" build:
# find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
find: mbuiter.h: 171: mbuiter_multi_next: Assertion `iter->cur.wc == 0' failed.
That's not the busybox "find" breaking, that's the findutils one installed by an
earlier part of the LFS build. So I worked around it by rephrasing the LFS
instructions to "find | xargs" and continued on, and then the texinfo build
died with:
..//makeinfo/makeinfo: mbuiter.h: 171: mbuiter_multi_next: Assertion `iter-
>cur.wc == 0' failed.
Which is a pattern. So I googled, and found this:
http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=288743
What I learned from that is:
1) This has been a known bug in gentoo for over a year now.
2) Their fix is to back off to 0.9.28.
What I also happen to know is that the uClibc repository is an extremely
unpleasant thing to try to git bisect because half the commits between release
versions don't even _compile_, let alone let you build packages against them.
Does anyone have an opinion on this? (Other than "why the hell is the FSF
force-inlining a 59-line C function", because if they weren't crazy there
wouldn't be much need for uClibc or busybox...) I really don't know anything
about internationalization, and am thus not the best candidate to try to make
it work. That said, it's been more or less stagnant since 2003 (and
completely stagnant since 2005) while everybody fails to put out a release
containing NPTL, so I guess if I want it to work I'll have to fix it myself.
(I'm tempted to just install http://penma.de/code/gettext-stub/ and see how
far I get with that, but it was a one line fix. Attached.)
Rob
--
GPLv3: as worthy a successor as The Phantom Menace, as timely as Duke Nukem
Forever, and as welcome as New Coke.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uClibc-fixintlassert.patch
Type: text/x-patch
Size: 432 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20101121/9d55b952/attachment.bin>
More information about the uClibc
mailing list