-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
erorr when building Corvus os for redmi note 10 pro (sweet) #2
Comments
Lol its your the part of your bringup |
But I don't know how can I fix it , could you help me? |
just nuke those mentioned sepolicies
|
rares@ASUS-VivoBook-X509FL:~/corvus$ mPLATFORM_VERSION_CODENAME=REL
|
rares@ASUS-VivoBook-X509FL:~/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))
The text was updated successfully, but these errors were encountered: