You are not logged in.
So the title says it all. I followed the intructions in the wiki for how to build Android 6.0 but I keep getting the below error.
Starting build with ninja
ninja: Entering directory `.'
[ 0% 50/31659] Lex: libaidl-common <= system/tools/aidl/aidl_language_l.l
FAILED: /bin/bash -c "(true) && (mkdir -p out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/) && (prebuilts/misc/linux-x86/flex/flex-2.5.39 -oout/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp system/tools/aidl/aidl_language_l.l)"
flex-2.5.39: loadlocale.c:131: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
/bin/bash: line 1: 29545 Aborted (core dumped) ( prebuilts/misc/linux-x86/flex/flex-2.5.39 -oout/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp system/tools/aidl/aidl_language_l.l )
[ 0% 50/31659] target Java: conscrypt...ARIES/conscrypt_intermediates/classes)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 0% 50/31659] host Java: jsilver (ou...BRARIES/jsilver_intermediates/classes)
Note: external/jsilver/src/org/clearsilver/FactoryLoader.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:126: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (51 seconds) ####
I am not sure what would be causing this issue and have looked around quite a bit for a fix.
Any suggestions?
Offline
Moving to AUR Issues...
Offline
I have to put LANG=C before the make command to get it to run correctly on my arch install.
$ . build/envsetup.sh
$ lunch <device>
$ LANG=C make -j# bacon
Is what I use to build Slim6
Offline
You may want to read these threads too:
https://bbs.archlinux.org/viewtopic.php?id=201281
https://bbs.archlinux.org/viewtopic.php?id=202424
Offline
Sorry for the extremely delayed response. Had some thing going on. Anyway, after looking through all of these threads and trying different things. I continue to get the same error as originally posted, and I cannot for the life of me, figure out why
Offline
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 0% 50/31659] host Java: jsilver (ou...BRARIES/jsilver_intermediates/classes)
Note: external/jsilver/src/org/clearsilver/FactoryLoader.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Those lines indicate there may be incompatabilities between your java installation and the android source code.
please post "archlinux-java status" output, also the commands you ran and their full output.
Last edited by Lone_Wolf (2015-12-16 11:00:30)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
This is an old problem and was fixed with this commit in cm-12.1 http://review.cyanogenmod.org/#/c/108768/ by luca020400
cherry pick it and use
export USE_HOST_LEX=yes
this fixed it for me.
Old Thread:https://bbs.archlinux.org/viewtopic.php?id=201281
Offline
I got the same error and the issue was solved after changing the Java 7 version to Java 8. Thanks
Offline