Yeah clearsilver is definitely being a problem as of the "repo sync" I did today.
I am using Ubuntu 10.04 Lucid, 32-bit.
Installing the Sun Java 1.5 JRE/JDK (as described earlier) gets me past the -m64 problem, but then libneo_cgi won't build. First, it can't find zlib.h, so if you trick it into finding that (I tweaked the clearsilver/cgi/Android.mk file and just added external/zlib to LOCAL_C_INCLUDES) it will at least compile. Then it won't link because it doesn't have a path to libz.so (i.e. the LOCAL_LDLIBS += -lz line in that same Android.mk). I kludged that by first building libz by itself, making lz part of LOCAL_SHARED_LIBRARIES in that same Android.mk, then copying libz.so to the various directories the make needed it in (discovered by running make showcommands libneo_cgi). All of which is a complete hack and I'm sure not the right way to do it ... but I don't care about clearsilver at all, I just want a build!