for error information "flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed." you need run below command before compile export LC_ALL=C
Jacob Abrams <[email protected]> 于2018年5月30日周三 下午11:27写道: > Okay lesson learned, do not use snap to install stuff, prefer apt. I > reinstalled repo command and moved on. > > Now I did repo init with branch android-8.1.0_r29 and checked out that > branch on all repositories and began to build aosp_arm. > > ============================================ > PLATFORM_VERSION_CODENAME=REL > PLATFORM_VERSION=8.1.0 > TARGET_PRODUCT=aosp_arm > TARGET_BUILD_VARIANT=eng > TARGET_BUILD_TYPE=release > TARGET_PLATFORM_VERSION=OPM1 > TARGET_BUILD_APPS= > TARGET_ARCH=arm > TARGET_ARCH_VARIANT=armv7-a > TARGET_CPU_VARIANT=generic > TARGET_2ND_ARCH= > TARGET_2ND_ARCH_VARIANT= > TARGET_2ND_CPU_VARIANT= > HOST_ARCH=x86_64 > HOST_2ND_ARCH=x86 > HOST_OS=linux > HOST_OS_EXTRA=Linux-4.15.0-20-generic-x86_64-with-Ubuntu-18.04-bionic > HOST_CROSS_OS=windows > HOST_CROSS_ARCH=x86 > HOST_CROSS_2ND_ARCH=x86_64 > HOST_BUILD_TYPE=release > BUILD_ID=OPM4.171019.016.C1 > OUT_DIR=out > AUX_OS_VARIANT_LIST= > ============================================ > > Build ran for 8 minutes until this happened: > > [ 1% 943/68307] Lex: applypatch <= bootable/recovery/edify/lexer.ll > FAILED: > out/target/product/generic/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp > /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 > -oout/target/product/generic/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp > bootable/recovery/edify/lexer.ll" > flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < > (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' > failed. > Aborted (core dumped) > [ 1% 950/68307] target thumb C++: libapplypatch <= > bootable/recovery/applypatch/applypatch.cpp > ninja: build stopped: subcommand failed. > 23:35:52 ninja failed with: exit status 1 > > Something wrong with flex. Anyone seen something like this? > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
