Build error at loadlocale.c:130 failed -Lineage OS 15.1 - OnePlus 3T Questions & Answers

I am having unknown and unexpected build issues if anyone with experience in building a custom rom could help me it would be great. I am trying to build Lineage OS 15.1 on Ubuntu 18.04 without any unofficial modifications.:fingers-crossed:
Partial Log:
Code:
[130/1069] including ./device/oneplus/oneplus3/Android.mk ...
build/core/binary.mk:40: warning: ipacm uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libipanat uses deprecated kernel header dependency path.
[177/1069] including ./external/ebtables/Android.mk ...
build/core/binary.mk:40: warning: ebtables uses deprecated kernel header dependency path.
[307/1069] including ./external/tinycompress/Android.mk ...
build/core/binary.mk:40: warning: libtinycompress_vendor uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libtinycompress uses deprecated kernel header dependency path.
[506/1069] including ./hardware/qcom/audio-caf/msm8996/Android.mk ...
build/core/binary.mk:40: warning: audio.primary.msm8996 uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxAacEnc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxAmrEnc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxEvrcEnc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxG711Enc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxQcelp13Enc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libqcompostprocbundle uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libvolumelistener uses deprecated kernel header dependency path.
[510/1069] including ./hardware/qcom/bt-caf/Android.mk ...
build/core/binary.mk:40: warning: libbt-vendor uses deprecated kernel header dependency path.
[519/1069] including ./hardware/qcom/display-caf/msm8996/Android.mk ...
build/core/binary.mk:40: warning: libqservice uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libqdutils uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libqdMetaData uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libqdMetaData.system uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libsdmcore uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: hdmi_cec.msm8996 uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libgpu_tonemapper uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libdrmutils uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: gralloc.msm8996 uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libgrallocutils uses deprecated kernel header dependency path.
[531/1069] including ./hardware/qcom/media-caf/msm8996/Android.mk ...
build/core/binary.mk:40: warning: libOmxVidcCommon uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxVdec uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxVenc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libc2dcolorconvert uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libhypv_intercept uses deprecated kernel header dependency path.
[535/1069] including ./hardware/qcom/wlan-caf/Android.mk ...
build/core/binary.mk:40: warning: libwifi-hal-qcom uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libwifi-hal-qcom uses deprecated kernel header dependency path.
[728/1069] including ./system/qcom/softap/jni/Android.mk ...
build/core/binary.mk:40: warning: libQWiFiSoftApCfg uses deprecated kernel header dependency path.
[1064/1069] including ./vendor/oneplus/oneplus3/Android.mk ...
ln: failed to create symbolic link 'libEGL_adreno.so': File exists
ln: failed to create symbolic link 'libEGL_adreno.so': File exists
[1066/1069] including ./vendor/qcom/opensource/cryptfs_hw/Android.mk ...
build/core/binary.mk:40: warning: libcryptfs_hw uses deprecated kernel header dependency path.
[1067/1069] including ./vendor/qcom/opensource/dataservices/Android.mk ...
build/core/binary.mk:40: warning: librmnetctl uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: sockev uses deprecated kernel header dependency path.
[1069/1069] including ./vendor/qcom/opensource/rcs-service/Android.mk ...
[ 0% 1/94568] target C: libcryptfs_h...com/opensource/cryptfs_hw/cryptfs_hw.c
vendor/qcom/opensource/cryptfs_hw/cryptfs_hw.c:45:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "Cryptfs_hw"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
1 warning generated.
[ 0% 77/94568] Lex: applypatch <= bootable/recovery/edify/lexer.ll
FAILED: /home/user/Desktop/Android/out/target/product/oneplus3/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp
/bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/home/user/Desktop/Android/out/target/product/oneplus3/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)
[ 0% 82/94568] Ensuring Jack server is installed and started
Jack server already installed in "/home/user/.jack-server"
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx3G -cp /home/user/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
ninja: build stopped: subcommand failed.
01:13:44 ninja failed with: exit status 1
#### failed to build some targets (13:28 (mm:ss)) ####

export LC_ALL=C
in your .bashrc file

Not working at all even for me, I am building for the OnePlus 5 and I am having the same error

Related

[Q] Compilation problem on Nexus One build

I am trying to compile Android from the source for my Nexus One. I pretty much followed all instructions from here: http://forum.xda-developers.com/showthread.php?t=899674
Though the instructions are for Gingerbread, I don't really see much of a difference for Froyo. After I do a "make -j4", the following error is thrown:
Code:
Install: out/target/product/passion/system/lib/libmedia.so
target SharedLib: libstagefright_foundation (out/target/product/passion/obj/SHARED_LIBRARIES/libstagefright_foundation_intermediates/LINKED/libstagefright_foundation.so)
target SharedLib: libstagefright_color_conversion (out/target/product/passion/obj/SHARED_LIBRARIES/libstagefright_color_conversion_intermediates/LINKED/libstagefright_color_conversion.so)
target SharedLib: libaudio (out/target/product/passion/obj/SHARED_LIBRARIES/libaudio_intermediates/LINKED/libaudio.so)
target SharedLib: libaudiopolicy (out/target/product/passion/obj/SHARED_LIBRARIES/libaudiopolicy_intermediates/LINKED/libaudiopolicy.so)
target SharedLib: libcameraservice (out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/LINKED/libcameraservice.so)
prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: in function android::CameraService::getCameraInfo(int, android::CameraInfo*):frameworks/base/services/camera/libcameraservice/CameraService.cpp:109: error: undefined reference to 'HAL_getCameraInfo'
prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: in function android::CameraService::CameraService():frameworks/base/services/camera/libcameraservice/CameraService.cpp:75: error: undefined reference to 'HAL_getNumberOfCameras'
prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: in function android::CameraService::CameraService():frameworks/base/services/camera/libcameraservice/CameraService.cpp:75: error: undefined reference to 'HAL_getNumberOfCameras'
prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: in function android::CameraService::connect(android::sp<android::ICameraClient> const&, int):frameworks/base/services/camera/libcameraservice/CameraService.cpp:148: error: undefined reference to 'HAL_openCameraHardware'
prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: in function android::CameraService::connect(android::sp<android::ICameraClient> const&, int):frameworks/base/services/camera/libcameraservice/CameraService.cpp:154: error: undefined reference to 'HAL_getCameraInfo'
collect2: ld returned 1 exit status
make: *** [out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/LINKED/libcameraservice.so] Error 1
make: *** Waiting for unfinished jobs....
Note: cts/tools/dx-tests/src/dxc/junit/opcodes/invokeinterface/jm/T_invokeinterface_1.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
compiling all jasmin (*.j)
compiling all .cfh files into .class files
generating Main_*.java files reading from cts/tools/dx-tests writing to out/host/darwin-x86/obj/EXECUTABLES/dx-tests_intermediates/mainfiles
using java src:cts/tools/dx-tests/src
Collecting all junit tests...
Time: 0.025
OK (0 tests)
Can someone please help me resolve this issue?
If you want to compile Froyo - use a different guide. Either from CM6 page or from Android SDK explanations.
You're failing on library incompatibilities, specifically Camera lib - but since I don't know, what's the source core you're running (Froyo or Gingerbread repo), it's hard to say how to fix it. If you're following the guide in your post completely and compiling GB - you probably missed the "Fix Camera" part.
My bad! You're right.. There was the fix right at the bottom of that article. Thank you for pointing it out. Everything works properly..

[Q] Problem with compiling for Paranoid - Oliver sources

I'm trying to compile the OliverG96 sources to work with Paranoid and i have error, maybe someone have it and know a solution?
Code:
target Dex: CalendarProvider
frameworks/opt/telephony/../../../device/samsung/golden/ril/SamsungU8500RIL.java:434: cannot find symbol
symbol : variable RIL_REQUEST_ENTER_DEPERSONALIZATION_CODE
location: class com.android.internal.telephony.SamsungU8500RIL
case RIL_REQUEST_ENTER_DEPERSONALIZATION_CODE: ret = responseInts(p); break;
^
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.
1 error
make: *** [/home/projects/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....

[Q] Headers location missing during the build process

Hi Team,
I am trying to build the ROM from AOSP Source based on 5.1.1.
Till now the build was going fine but now I am facing issue with compilation errors.
The QCOM stuff creating these error because each files in the folder hardware/qcom/display/msm8974 missing the reference to compiler header file/location.
So I don't want to amend each reference to point specifically. I know where the files are located but compiler not picking it up.
E.G: #include <media/msm_media_info.h>
All the stuff available on >> hardware/qcom/msm8x74
Can someone please guide me like which ENV variable I need to check?? or which .mk file I need to amend ??
*********************************
target thumb C++: libmemalloc <= hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp
hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp:41:34: fatal error: media/msm_media_info.h: No such file or directory
#include <media/msm_media_info.h>
^
compilation terminated.
build/core/binary.mk:620: recipe for target 'out/target/product/cancro/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o' failed
make: *** [out/target/product/cancro/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o] Error 1
make: *** Waiting for unfinished jobs....
*********************************

Trouble compiling for my device (D410)

So, after a lot of effort (documentation on ROM building won't make it any easier), I managed to reach the last stage (the building process itself with "brunch w7") on LineageOS 14.1. But this happens: (OBS: cut some text before this part, just a bunch of text commands)
Code:
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20190908-UNOFFICIAL-w7
TARGET_PRODUCT=lineage_w7
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
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-5.0.0-27-generic-x86_64-with-LinuxMint-19.2-tina
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/android/android/lineage14/out
============================================
Checking build tools versions...
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
find: ‘/home/android/android/lineage14/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: Arquivo ou diretório inexistente
build/core/dex_preopt.mk:74: warning: overriding commands for target `/home/android/android/lineage14/out/target/product/w7/dex_bootjars/system/framework/telephony-ext_nodex.jar'
build/core/dex_preopt.mk:74: warning: ignoring old commands for target `/home/android/android/lineage14/out/target/product/w7/dex_bootjars/system/framework/telephony-ext_nodex.jar'
Starting build with ninja
ninja: Entering directory `.'
[ 0% 328/34549] host Java: tagsouplib (/home/android/android/lineage14/out/host/common/obj/JAVA_LIBRARIES/tagsouplib_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 1% 469/34549] host Java: antlr-runtime (/home/android/android/lineage14/out/host/common/obj/JAVA_LIBRARIES/antlr-runtime_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 1% 487/34549] host Java: guavalib (/home/android/android/lineage14/out/host/common/obj/JAVA_LIBRARIES/guavalib_intermediates/classes)
warning: [options] bootstrap class path not set in conjunction with -source 1.7
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.
1 warning
[ 1% 611/34549] host Java: jsilver (/home/android/android/lineage14/out/host/common/obj/JAVA_LIBRARIES/jsilver_intermediates/classes)
Note: external/jsilver/src/org/clearsilver/FactoryLoader.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 1% 683/34549] host Java: doclava (/home/android/android/lineage14/out/host/common/obj/JAVA_LIBRARIES/doclava_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 2% 693/34549] Lex: aidl <= system/tools/aidl/aidl_language_l.ll
FAILED: /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/home/android/android/lineage14/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp system/tools/aidl/aidl_language_l.ll"
flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertiva "cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))" falhou.
Aborted (core dumped)
[ 2% 693/34549] target Java: core-all (/home/android/android/lineage14/out/target/common/obj/JAVA_LIBRARIES/core-all_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.
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
make: Leaving directory '/home/android/android/lineage14'
#### make failed to build some targets (03:36 (mm:ss)) ####
[email protected]:~/android/lineage14
and I don't know what to do now. Can someone help if I'm doing something wrong?

Question How can I fix this erorr on my corvus os build

[email protected]:~/corvus$ m
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
CORVUS_VERSION=Corvus_v17.0-Vanguard-sweet-30112021-Unofficial-0901
TARGET_PRODUCT=corvus_sweet
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
BUILD_ID=RD2A.211001.002
OUT_DIR=/home/rares/corvus/out
PRODUCT_SOONG_NAMESPACES=vendor/xiaomi/sm6150-common device/xiaomi/sm6150-common hardware/xiaomi device/xiaomi/sweet vendor/xiaomi/sweet hardware/qcom-caf/sm8
150 vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/data-ipa-cfg-mgr vendor/qcom/opensource/dataservices vendor/qcom/opensource/commonsys
/packages/apps/Bluetooth vendor/qcom/opensource/commonsys/system/bt/conf frameworks/av/camera/cameraserver frameworks/av/services/camera/libcameraservice hard
ware/qcom-caf/common/fwk-detect
============================================
[100% 2/2] /home/rares/corvus/out/soong/.bootstrap/bin/soong_build /home/rares/corvus/out/soong/build.ninja
FAILED: /home/rares/corvus/out/soong/build.ninja
/home/rares/corvus/out/soong/.bootstrap/bin/soong_build -t -l /home/rares/corvus/out/.module_paths/Android.bp.list -b /home/rares/corvus/out/soong -n /home/ra
res/corvus/out -d /home/rares/corvus/out/soong/build.ninja.d -globFile /home/rares/corvus/out/soong/.bootstrap/build-globs.ninja -o /home/rares/corvus/out/soo
ng/build.ninja Android.bp
error: device/xiaomi/sweet/libinit/Android.bp:7:1: "init_xiaomi_sweet" depends on undefined module "//device/xiaomi/sm6150-common:libinit_xiaomi_sm6150"
error: device/xiaomi/sm6150-common/power-libperfmgr/Android.bp:16:1: "[email protected]" depends on undefined module "libpe
rfmgr"
Module "[email protected]" is defined in namespace "device/xiaomi/sm6150-common" which can read these 3 namespaces: ["devic
e/xiaomi/sm6150-common" "hardware/xiaomi" "."]
Module "libperfmgr" can be found in these namespaces: ["hardware/google/pixel"]
11:01:29 soong bootstrap failed with: exit status 1
#### failed to build some targets (18 seconds) ####
[email protected]:~/corvus$
NEW ERORR!!
[email protected]:~/corvus$ m
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
CORVUS_VERSION=Corvus_v17.0-Vanguard-sweet-11122021-Unofficial-1140
TARGET_PRODUCT=corvus_sweet
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
BUILD_ID=RD2A.211001.002
OUT_DIR=/home/rares/corvus/out
PRODUCT_SOONG_NAMESPACES=vendor/xiaomi/sweet device/xiaomi/sweet packages/apps/Bluetooth hardware/qcom-caf/sm8150 vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/data-ipa-cfg-mgr vendor/qcom/opensource/dataservices fr
ameworks/av/camera/cameraserver frameworks/av/services/camera/libcameraservice hardware/qcom-caf/common/fwk-detect
============================================
[100% 2/2] /home/rares/corvus/out/soong/.bootstrap/bin/soong_build /home/rares/corvus/out/soong/build.ninja
FAILED: /home/rares/corvus/out/soong/build.ninja
/home/rares/corvus/out/soong/.bootstrap/bin/soong_build -t -l /home/rares/corvus/out/.module_paths/Android.bp.list -b /home/rares/corvus/out/soong -n /home/rares/corvus/out -d /home/rares/corvus/out/soong/build.ninja.d -globFile /home/rar
es/corvus/out/soong/.bootstrap/build-globs.ninja -o /home/rares/corvus/out/soong/build.ninja Android.bp
error: hardware/google/pixel/vibrator/drv2624/apex/Android.bp:11:23: unrecognized property "use_vndk_as_stable"
13:40:20 soong bootstrap failed with: exit status 1
#### failed to build some targets (4 seconds) ####
[email protected]:~/corvus$
NEW ERORR!!!
[email protected]:~/corvus$ m
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
CORVUS_VERSION=Corvus_v17.0-Vanguard-sweet-21122021-Unofficial-0844
TARGET_PRODUCT=corvus_sweet
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
BUILD_ID=RD2A.211001.002
OUT_DIR=/home/rares/corvus/out
PRODUCT_SOONG_NAMESPACES=vendor/xiaomi/sweet device/xiaomi/sweet packages/apps/Bluetooth hardware/qcom-caf/sm8150 vendor/qcom/opensource/commonsys-intf/displa
y vendor/qcom/opensource/data-ipa-cfg-mgr vendor/qcom/opensource/dataservices frameworks/av/camera/cameraserver frameworks/av/services/camera/libcameraservice
hardware/qcom-caf/common/fwk-detect
============================================
wildcard(/home/rares/corvus/out/target/product/sweet/clean_steps.mk) was changed, regenerating...
$(shell date -u +%H%M) was changed, regenerating...
[ 99% 24412/24643] including art/Android.mk ...
Disabling ART_BUILD_TARGET_DEBUG
Disabling ART_BUILD_HOST_DEBUG
[ 20% 24903/120949] build /home/rares/corvus/out/target/common/obj/all-event-log-tags.txt
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:39: warning: tag "wm_on_paused_called" (30021) duplicated in frameworks/base/cor
e/java/android/app/EventLogTags.logtags:9
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:41: warning: tag "wm_on_resume_called" (30022) duplicated in frameworks/base/cor
e/java/android/app/EventLogTags.logtags:11
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:50: warning: tag "wm_stop_activity" (30048) duplicated in frameworks/base/core/j
ava/android/app/EventLogTags.logtags:14
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:56: warning: tag "wm_add_to_stopping" (30066) duplicated in frameworks/base/core
/java/android/app/EventLogTags.logtags:35
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:6: warning: tag "lock_screen_type" (90200) duplicate
d in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:6
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:9: warning: tag "exp_det_device_admin_activated_by_u
ser" (90201) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:9
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:12: warning: tag "exp_det_device_admin_declined_by_u
ser" (90202) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:12
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:15: warning: tag "exp_det_device_admin_uninstalled_b
y_user" (90203) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:15
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:18: warning: tag "settings_latency" (90204) duplicat
ed in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:18
vendor/qcom/opensource/commonsys/system/bt/EventLogTags.logtags:36: warning: tag "bt_hci_timeout" (1010000) duplicated in system/bt/EventLogTags.logtags:36
vendor/qcom/opensource/commonsys/system/bt/EventLogTags.logtags:37: warning: tag "bt_config_source" (1010001) duplicated in system/bt/EventLogTags.logtags:37
vendor/qcom/opensource/commonsys/system/bt/EventLogTags.logtags:38: warning: tag "bt_hci_unknown_type" (1010002) duplicated in system/bt/EventLogTags.logtags:
38
[ 22% 26783/120949] build /home/rares/corvus/out/target/product/sweet/system/etc/event-log-tags
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:39: warning: tag "wm_on_paused_called" (30021) duplicated in frameworks/base/cor
e/java/android/app/EventLogTags.logtags:9
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:41: warning: tag "wm_on_resume_called" (30022) duplicated in frameworks/base/cor
e/java/android/app/EventLogTags.logtags:11
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:50: warning: tag "wm_stop_activity" (30048) duplicated in frameworks/base/core/j
ava/android/app/EventLogTags.logtags:14
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:56: warning: tag "wm_add_to_stopping" (30066) duplicated in frameworks/base/core
/java/android/app/EventLogTags.logtags:35
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:6: warning: tag "lock_screen_type" (90200) duplicate
d in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:6
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:9: warning: tag "exp_det_device_admin_activated_by_u
ser" (90201) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:9
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:12: warning: tag "exp_det_device_admin_declined_by_u
ser" (90202) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:12
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:15: warning: tag "exp_det_device_admin_uninstalled_b
y_user" (90203) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:15
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:18: warning: tag "settings_latency" (90204) duplicat
ed in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:18
[ 23% 27861/120949] Building Kernel Config
make: Entering directory '/home/rares/corvus/kernel/xiaomi/sweet'
make[1]: Entering directory '/home/rares/corvus/out/target/product/sweet/obj/KERNEL_OBJ'
GEN ./Makefile
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
clang-11: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
HOSTCC scripts/kconfig/zconf.tab.o
clang-11: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument]
HOSTLD scripts/kconfig/conf
drivers/misc/Kconfig:624:warning: config symbol defined without type
#
# configuration written to .config
#
make[1]: Leaving directory '/home/rares/corvus/out/target/product/sweet/obj/KERNEL_OBJ'
make: Leaving directory '/home/rares/corvus/kernel/xiaomi/sweet'
make: Entering directory '/home/rares/corvus/kernel/xiaomi/sweet'
make[1]: Entering directory '/home/rares/corvus/out/target/product/sweet/obj/KERNEL_OBJ'
GEN ./Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
drivers/misc/Kconfig:624:warning: config symbol defined without type
make[1]: Leaving directory '/home/rares/corvus/out/target/product/sweet/obj/KERNEL_OBJ'
make: Leaving directory '/home/rares/corvus/kernel/xiaomi/sweet'
[ 23% 29022/120949] //bionic/libc:common_libc versioner preprocess include
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
[ 27% 33520/120949] //bionic/libc:libc_bionic clang arch-arm/generic/bionic/memcmp.S [arm]
bionic/libc/arch-arm/generic/bionic/memcmp.S:99:9: warning: applying IT instruction to more than one subsequent instruction is deprecated
ittt eq
^
[ 27% 33546/120949] //bionic/libc:libc_bionic clang arch-arm/cortex-a15/bionic/strlen.S [arm]
bionic/libc/arch-arm/cortex-a15/bionic/strlen.S:120:5: warning: applying IT instruction to more than one subsequent instruction is deprecated
itt eq
^
bionic/libc/arch-arm/cortex-a15/bionic/strlen.S:140:5: warning: applying IT instruction to more than one subsequent instruction is deprecated
itt ne
^
bionic/libc/arch-arm/cortex-a15/bionic/strlen.S:141:5: warning: deprecated instruction in IT block
ornne r3, r3, r5
^
[ 27% 33569/120949] //bionic/libc:libc_bionic clang arch-arm/generic/bionic/memcmp.S [arm apex10000]
bionic/libc/arch-arm/generic/bionic/memcmp.S:99:9: warning: applying IT instruction to more than one subsequent instruction is deprecated
ittt eq
^
[ 27% 33596/120949] //bionic/libc:libc_bionic clang arch-arm/cortex-a15/bionic/strlen.S [arm apex10000]
bionic/libc/arch-arm/cortex-a15/bionic/strlen.S:120:5: warning: applying IT instruction to more than one subsequent instruction is deprecated
itt eq
^
bionic/libc/arch-arm/cortex-a15/bionic/strlen.S:140:5: warning: applying IT instruction to more than one subsequent instruction is deprecated
itt ne
^
bionic/libc/arch-arm/cortex-a15/bionic/strlen.S:141:5: warning: deprecated instruction in IT block
ornne r3, r3, r5
^
[ 28% 34387/120949] //bionic/libc:libc.llndk versioner preprocess include
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
[ 28% 34394/120949] //bionic/libc:libc.llndk versioner preprocess include
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
[ 28% 34396/120949] //bionic/libc:libc.llndk versioner preprocess include [arm]
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
[ 28% 34397/120949] //bionic/libc:libc.llndk versioner preprocess include
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
[ 31% 37764/120949] //external/compiler-rt:libcompiler_rt clang lib/builtins/arm/comparesf2.S [arm]
external/compiler-rt/lib/builtins/arm/comparesf2.S:99:5: warning: applying IT instruction to more than one subsequent instruction is deprecated
ite ls
^
external/compiler-rt/lib/builtins/arm/comparesf2.S:128:5: warning: applying IT instruction to more than one subsequent instruction is deprecated
ite ls
^
external/compiler-rt/lib/builtins/arm/comparesf2.S:142:5: warning: applying IT instruction to more than one subsequent instruction is deprecated
ite ls
^
[ 31% 38103/120949] //external/compiler-rt:libcompiler_rt clang lib/builtins/arm/comparesf2.S [arm]
external/compiler-rt/lib/builtins/arm/comparesf2.S:99:5: warning: applying IT instruction to more than one subsequent instruction is deprecated
ite ls
^
external/compiler-rt/lib/builtins/arm/comparesf2.S:128:5: warning: applying IT instruction to more than one subsequent instruction is deprecated
ite ls
^
external/compiler-rt/lib/builtins/arm/comparesf2.S:142:5: warning: applying IT instruction to more than one subsequent instruction is deprecated
ite ls
^
[ 52% 63435/120949] //external/dtc:dtc gen yacc [linux_glibc]
external/dtc/dtc-parser.y: warning: 3 shift/reduce conflicts [-Wconflicts-sr]
[ 52% 63445/120949] build /home/rares/corvus/out/target/product/sweet/obj/FAKE/sepolicy_neverallows_intermediates/sepolicy_neverallows
FAILED: /home/rares/corvus/out/target/product/sweet/obj/FAKE/sepolicy_neverallows_intermediates/sepolicy_neverallows
/bin/bash -c "(ASAN_OPTIONS=detect_leaks=0 /home/rares/corvus/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/rares/corvus/out/target/product/sw
eet/obj/FAKE/sepolicy_neverallows_intermediates/sepolicy_neverallows.tmp /home/rares/corvus/out/target/product/sweet/obj/FAKE/sepolicy_neverallows_intermediat
es/policy.conf ) && (/home/rares/corvus/out/host/linux-x86/bin/sepolicy-analyze /home/rares/corvus/out/target/product/sweet/obj/FAKE/sepolicy_neverallows_inte
rmediates/sepolicy_neverallows.tmp neverallow -w -f /home/rares/corvus/out/target/product/sweet/obj/FAKE/sepolicy_neverallows_intermediates/policy_2.conf ||
( echo \"\" 1>&2; echo \"sepolicy-analyze failed. This is most likely due to the use\" 1>&2; echo \"of an expanded attribute in a neverallow as
sertion. Please fix\" 1>&2; echo \"the policy.\" 1>&2; exit 1 ) ) && (touch /home/rares/corvus/out/target/product/sweet/obj/FAKE/sepolicy_neveral
lows_intermediates/sepolicy_neverallows.tmp ) && (mv /home/rares/corvus/out/target/product/sweet/obj/FAKE/sepolicy_neverallows_intermediates/sepolicy_neverall
ows.tmp /home/rares/corvus/out/target/product/sweet/obj/FAKE/sepolicy_neverallows_intermediates/sepolicy_neverallows )"
device/xiaomi/sweet/sepolicy/private/hal_livedisplay_default.te:2:ERROR 'attribute hal_lineage_livedisplay_server is not declared' at token ';' on line 65473:
#line 2
typeattribute shal_livedisplay_default hal_lineage_livedisplay_server;
checkpolicy: error(s) encountered while parsing configuration
12:15:03 ninja failed with: exit status 1
#### failed to build some targets (01:31:03 (hh:mm:ss)) ####
I guess there is some sepolicy error

Categories

Resources