原文: https://balalals.cn/archives/...
aosp 編譯過程當中有着數不清的問題,好在大多數問題能在網絡上獲得答案,剛遇到一個這樣的問題,緣由也說不清楚,只知道在終端中輸入export LC_ALL=C
便可解決問題。linux
[ 4% 4191/89759] Lex: applypatch <= bootable/recovery/edify/lexer.ll FAILED: out/target/product/bullhead/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -oout/target/product/bullhead/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp bootable/recovery/edify/lexer.ll" flex-2.5.39: loadlocale.c:130:_nl_intern_locale_data: ?? 'cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' ??? Aborted (core dumped) [ 4% 4220/89759] build out/target/common/obj/JAVA_LIBRARIES/sdk_v25_intermediates/classes.jack ninja: build stopped: subcommand failed. 14:27:46 ninja failed with: exit status 1