Has anyone successfully built on ubuntu 12.04? After following the development environment setup page on the AOSP site I seem to get build errors. Specifically it seems to have a lot of trouble with clang.
Updating Clang version info.
Updating Clang version info.
/bin/bash: -c: line 4: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 6: syntax error: unexpected end of file
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libclangDriver_intermediates/include/clang/Basic/Version.inc] Error 1
make: *** Waiting for unfinished jobs....
The bug seems to be related to how external/clang/
clang-version-inc.mk builds up the version info. The resulting input to sed ends up looking like this:
sed -e "s#@CLANG_VERSION@##define PACKAGE_VERSION "2.8"#g" \
-e "s#@CLANG_VERSION_MAJOR@##define#g" \
-e "s#@CLANG_VERSION_MINOR@#PACKAGE_VERSION#g" \
-e "s#@CLANG_VERSION_PATCHLEVEL@#"2#g" \
-e "s#@CLANG_HAS_VERSION_PATCHLEVEL@#1#g" \
external/clang/include/clang/Basic/
Version.inc.in > out/host/linux-x86/obj/STATIC_LIBRARIES/libclangDriver_intermediates/include/clang/Basic/Version.inc
After hardcoding that to produce a valid Version.inc, I'm running into missing symbols in the clang .so's (which may be a result of my hardcoding). I understand 12.04 builds are experimental but am I the only one with these issues?