help fixing errors while compiling Nitrogen OS - LG V20 Questions & Answers

[email protected]:~/nitrogen$ make -j2 otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=nitrogen_h918
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-66-generic-x86_64-Linux-Mint-19
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3B.190801.002
OUT_DIR=/home/minta/nitrogen/out
============================================
ninja: no work to do.
ninja: no work to do.
$(shell date -u +%Y%m%d-%H%M) was changed, regenerating...
$(shell date -u +%Y%m%d-%H%M) was changed, regenerating...
[25/1003] including development/build/Android.mk ...
development/build/build_android_stubs.mk:43: warning: android_stubs_current
development/build/build_android_stubs.mk:43: warning: metalava_android_stubs_current metalava_android_stubs_current
development/build/build_android_stubs.mk:43: warning: android_system_stubs_current
development/build/build_android_stubs.mk:43: warning: android_test_stubs_current
development/build/build_android_stubs.mk:43: warning: metalava_android_system_stubs_current metalava_android_system_stubs_current
development/build/build_android_stubs.mk:43: warning: metalava_android_test_stubs_current metalava_android_test_stubs_current
[95/1003] including device/lge/msm8996-common/Android.mk ...
device/lge/msm8996-common/vndk/Android.mk:2: warning: ************* BOARD VNDK is not enabled - compiling vndk-sp ***************************
[1003/1003] including vendor/qcom/opensource/dataservices/Android.mk ...
build/make/core/dex_preopt.mk:76: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/dex_bootjars/system/framework/telephony-ext_nodex.jar'
build/make/core/dex_preopt.mk:76: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/dex_bootjars/system/framework/telephony-ext_nodex.jar'
build/make/core/dex_preopt_libart_boot.mk:57: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm64/boot-telephony-ext.art'
build/make/core/dex_preopt_libart_boot.mk:57: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm64/boot-telephony-ext.art'
build/make/core/dex_preopt_libart_boot.mk:57: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm64/boot-telephony-ext.art.rel'
build/make/core/dex_preopt_libart_boot.mk:57: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm64/boot-telephony-ext.art.rel'
build/make/core/dex_preopt_libart_boot.mk:57: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm64/boot-telephony-ext.oat'
build/make/core/dex_preopt_libart_boot.mk:57: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm64/boot-telephony-ext.oat'
build/make/core/dex_preopt_libart_boot.mk:57: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm/boot-telephony-ext.art'
build/make/core/dex_preopt_libart_boot.mk:57: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm/boot-telephony-ext.art'
build/make/core/dex_preopt_libart_boot.mk:57: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm/boot-telephony-ext.art.rel'
build/make/core/dex_preopt_libart_boot.mk:57: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm/boot-telephony-ext.art.rel'
build/make/core/dex_preopt_libart_boot.mk:57: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm/boot-telephony-ext.oat'
build/make/core/dex_preopt_libart_boot.mk:57: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm/boot-telephony-ext.oat'
build/make/core/dex_preopt_libart.mk:153: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/boot-telephony-ext.vdex'
build/make/core/dex_preopt_libart.mk:153: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/boot-telephony-ext.vdex'
build/make/core/Makefile:28: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/vendor/etc/gps.conf'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/vendor/etc/gps.conf'
[ 0% 45/83084] target thumb C: libqcompostprocbundle_32 <= hardware/qcom/audio/post_proc/bundle.c
FAILED: /home/minta/nitrogen/out/target/product/h918/obj_arm/SHARED_LIBRARIES/libqcompostprocbundle_intermediates/bundle.o
/bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-4691093/bin/clang -I external/tinyalsa/include -I system/media/audio_effects/include -I hardware/qcom/audio/post_proc -I /home/minta/nitrogen/out/target/product/h918/obj_arm/SHARED_LIBRARIES/libqcompostprocbundle_intermediates -I /home/minta/nitrogen/out/target/product/h918/gen/SHARED_LIBRARIES/libqcompostprocbundle_intermediates -I libnativehelper/include_jni \$(cat /home/minta/nitrogen/out/target/product/h918/obj_arm/SHARED_LIBRARIES/libqcompostprocbundle_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem /home/minta/nitrogen/out/target/product/h918/obj/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -c -fomit-frame-pointer -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=\$PWD/= -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -msoft-float -march=armv8-a -mfloat-abi=softfp -mfpu=neon-fp-armv8 -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -D__ARM_FEATURE_LPAE=1 -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -std=gnu99 -mthumb -Os -O2 -fvisibility=hidden -Wall -Werror -Wno-unused-function -Wno-unused-variable -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF /home/minta/nitrogen/out/target/product/h918/obj_arm/SHARED_LIBRARIES/libqcompostprocbundle_intermediates/bundle.d -o /home/minta/nitrogen/out/target/product/h918/obj_arm/SHARED_LIBRARIES/libqcompostprocbundle_intermediates/bundle.o hardware/qcom/audio/post_proc/bundle.c"
In file included from hardware/qcom/audio/post_proc/bundle.c:29:
hardware/qcom/audio/post_proc/bundle.h:21:10: fatal error: 'sound/audio_effects.h' file not found
#include <sound/audio_effects.h>
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[ 0% 46/83084] -e Building Kernel Config
make: Entering directory '/home/minta/nitrogen/kernel/lge/msm8996'
make[1]: Entering directory '/home/minta/nitrogen/out/target/product/h918/obj/KERNEL_OBJ'
GEN ./Makefile
arch/arm64/configs/lge_msm8996_defconfig:13:warning: override: reassigning to symbol SCHED_WALT
arch/arm64/configs/lge_msm8996_defconfig:14:warning: override: reassigning to symbol SCHED_TUNE
arch/arm64/configs/lge_msm8996_defconfig:15:warning: override: reassigning to symbol CGROUP_CPUACCT
arch/arm64/configs/lge_msm8996_defconfig:16:warning: override: reassigning to symbol CGROUP_SCHEDTUNE
arch/arm64/configs/lge_msm8996_defconfig:19:warning: override: reassigning to symbol MSM_APM
arch/arm64/configs/lge_msm8996_defconfig:25:warning: override: reassigning to symbol WQ_POWER_EFFICIENT_DEFAULT
arch/arm64/configs/lge_msm8996_defconfig:53:warning: override: reassigning to symbol MSDOS_FS
arch/arm64/configs/lge_msm8996_defconfig:54:warning: override: reassigning to symbol VFAT_FS
arch/arm64/configs/lge_msm8996_defconfig:71:warning: override: reassigning to symbol CP15_BARRIER_EMULATION
arch/arm64/configs/lge_msm8996_defconfig:72:warning: override: reassigning to symbol SETEND_EMULATION
arch/arm64/configs/lge_msm8996_defconfig:73:warning: override: reassigning to symbol SECURITY_PERF_EVENTS_RESTRICT
arch/arm64/configs/lge_msm8996_defconfig:76:warning: override: reassigning to symbol QPNP_HAPTIC
arch/arm64/configs/lge_msm8996_defconfig:79:warning: override: reassigning to symbol BT_RFCOMM
arch/arm64/configs/lge_msm8996_defconfig:80:warning: override: reassigning to symbol MSM_BT_POWER
arch/arm64/configs/lge_msm8996_defconfig:81:warning: override: reassigning to symbol NFC_NQ
arch/arm64/configs/lge_msm8996_defconfig:82:warning: override: reassigning to symbol CNSS
arch/arm64/configs/lge_msm8996_defconfig:83:warning: override: reassigning to symbol USELIB
arch/arm64/configs/lineageos_elsa_common:98:warning: override: reassigning to symbol INPUT_MOUSE
#
# arch/arm64/configs/lineageos_h918_defconfig:1 include file arch/arm64/configs/lineageos_elsa_common
#
#
# arch/arm64/configs/lineageos_elsa_common:1 include file arch/arm64/configs/lge_msm8996_defconfig
#
#
# arch/arm64/configs/lge_msm8996_defconfig:1 include file arch/arm64/configs/msm-perf_defconfig
#
#
# configuration written to .config
#
make[1]: Leaving directory '/home/minta/nitrogen/out/target/product/h918/obj/KERNEL_OBJ'
make: Leaving directory '/home/minta/nitrogen/kernel/lge/msm8996'
make: Entering directory '/home/minta/nitrogen/kernel/lge/msm8996'
make[1]: Entering directory '/home/minta/nitrogen/out/target/product/h918/obj/KERNEL_OBJ'
GEN ./Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make[1]: Leaving directory '/home/minta/nitrogen/out/target/product/h918/obj/KERNEL_OBJ'
make: Leaving directory '/home/minta/nitrogen/kernel/lge/msm8996'
ninja: build stopped: subcommand failed.
14:48:50 ninja failed with: exit status 1
#### failed to build some targets (20:07 (mm:ss)) ####
but actually the file is present in hardware/qcom/msm8996/Kernel Headers/sound folder
plz help

Related

[Q] Carbon build errors

I understand that this isn't a thread for CarbonRom, but there is none. Usually I've been content with just searching around the internet, and XDA to fix all of my problems, but I honestly could not find anything for this.
Code:
[email protected]:~/carbon$ make -j2 otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CARBON_VERSION=
TARGET_PRODUCT=p769
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-27-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/seyi/carbon/out
============================================
/home/seyi/carbon/out/target/product/p769/obj/APPS/SignatureTest_intermediates
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `src': No such file or directory
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/hw/camera.omap4.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/hw/camera.omap4.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/hw/nfc.default.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libmm_osal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libmm_osal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX_Core.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX_Core.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libion.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libion.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libtiutils.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libtiutils.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libdomx.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libdomx.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES frameworks/base/data/keyboards/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
No private recovery resources for TARGET_DEVICE p769
make -C kernel/lge/lge-kernel-omap4 O=/home/seyi/carbon/out/target/product/p769/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/seyi/carbon/prebuilts/misc/linux-x86/ccache/ccache /home/seyi/carbon/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p769_defconfig
make[1]: Entering directory `/home/seyi/carbon/kernel/lge/lge-kernel-omap4'
target thumb C: libbusybox <= external/busybox/libbb/lineedit.c
GEN /home/seyi/carbon/out/target/product/p769/obj/KERNEL_OBJ/Makefile
target thumb C: libbusybox <= external/busybox/procps/ps.c
target thumb C: libbusybox <= external/busybox/util-linux/volume_id/get_devname.c
Target buildinfo: /home/seyi/carbon/out/target/product/p769/system/build.prop
Target buildinfo from: device/lge/p769/system.prop
host C++: aapt <= frameworks/base/tools/aapt/AaptAssets.cpp
In file included from frameworks/base/tools/aapt/AaptAssets.h:10:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/AssetManager.h:111:9: error: invalid suffix "d8929cc8485ca896dde2493cbe3ea65eb9c197" on integer constant
In file included from frameworks/base/tools/aapt/AaptAssets.h:10:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/AssetManager.h:263:9: error: invalid suffix "d8929cc8485ca896dde2493cbe3ea65eb9c197" on integer constant
In file included from frameworks/base/tools/aapt/AaptAssets.h:10:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/AssetManager.h:107:1: error: expected identifier before '<<' token
frameworks/base/include/androidfw/AssetManager.h:107:1: error: expected ',' or '...' before '<<' token
frameworks/base/include/androidfw/AssetManager.h:109:1: error: expected unqualified-id before '==' token
frameworks/base/include/androidfw/AssetManager.h:111:1: error: expected unqualified-id before '>>' token
In file included from frameworks/base/tools/aapt/AaptAssets.h:10:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/AssetManager.h:259:1: error: expected unqualified-id before '<<' token
frameworks/base/include/androidfw/AssetManager.h:263:1: error: expected unqualified-id before '>>' token
frameworks/base/include/androidfw/AssetManager.h: In constructor 'android::AssetManager::asset_path::asset_path()':
frameworks/base/include/androidfw/AssetManager.h:262:24: error: class 'android::AssetManager::asset_path' does not have any field named 'pkgIdOverride'
In file included from frameworks/base/tools/aapt/AaptAssets.h:11:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/ResourceTypes.h: At global scope:
frameworks/base/include/androidfw/ResourceTypes.h:1604:10: error: 'bool android::ResTable::isResTypeAllowed(char const*) const' cannot be overloaded
frameworks/base/include/androidfw/ResourceTypes.h:1602:10: error: with 'bool android::ResTable::isResTypeAllowed(char const*) const'
make: *** [/home/seyi/carbon/out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1
make: *** Waiting for unfinished jobs....
#
# configuration written to .config
#
make[1]: Leaving directory `/home/seyi/carbon/kernel/lge/lge-kernel-omap4'
Can someone please help me understand how to fix this error?
dragid10 said:
Can someone please help me understand how to fix this error?
Click to expand...
Click to collapse
You have code conflict markup garbage in frameworks/base/include/androidfw/AssetManager.h:
frameworks/base/include/androidfw/AssetManager.h:111:9: error: invalid suffix "d8929cc8485ca896dde2493cbe3ea65eb9c197" on integer constant
In file included from frameworks/base/tools/aapt/AaptAssets.h:10:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/AssetManager.h:263:9: error: invalid suffix "d8929cc8485ca896dde2493cbe3ea65eb9c197" on integer constant
In file included from frameworks/base/tools/aapt/AaptAssets.h:10:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/AssetManager.h:107:1: error: expected identifier before '<<' token
frameworks/base/include/androidfw/AssetManager.h:107:1: error: expected ',' or '...' before '<<' token
frameworks/base/include/androidfw/AssetManager.h:109:1: error: expected unqualified-id before '==' token
frameworks/base/include/androidfw/AssetManager.h:111:1: error: expected unqualified-id before '>>' token
Click to expand...
Click to collapse
You must do a code cleanup starting with line 107 (<<<<<< HEAD).
Always read your compiler output.
chasmodo said:
You have code conflict markup garbage in frameworks/base/include/androidfw/AssetManager.h:
You must do a code cleanup starting with line 107 (<<<<<< HEAD).
Always read your compiler output.
Click to expand...
Click to collapse
Alright how will i do this? And what can i use to open that file?
I actually do not know any java. Is there something i can use to help me?
EDIT: nvm opens up perfectly with gedit
New Problem
Alright i fixed my last problem by replacing the frameworks folder. But now i have a new problem. I keep getting error 41
Code:
Copying: /home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/mms-common_intermediates/classes.jar
ProGuard, version 4.4
Reading program jar [/home/seyi/carbon/out/target/common/obj/APPS/WAPPushManager_intermediates/classes.jar]
Reading library jar [/home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar]
[COLOR="Red"]packages/apps/Settings/src/com/android/settings/profiles/ProfileAirplaneModePreference.java:42: error: cannot find symbol
private ProfileConfig.AirplaneModeItem mAirplaneModeItem;
^
symbol: class AirplaneModeItem
location: class ProfileConfig
packages/apps/Settings/src/com/android/settings/profiles/ProfileAirplaneModePreference.java:105: error: cannot find symbol
public void setAirplaneModeItem(ProfileConfig.AirplaneModeItem airplaneModeItem) {
^
symbol: class AirplaneModeItem
location: class ProfileConfig
packages/apps/Settings/src/com/android/settings/profiles/ProfileAirplaneModePreference.java:155: error: cannot find symbol
public ProfileConfig.AirplaneModeItem getAirplaneModeItem() {
^
symbol: class AirplaneModeItem
location: class ProfileConfig
packages/apps/Settings/src/com/android/settings/profiles/ProfileRingModePreference.java:42: error: cannot find symbol
private ProfileConfig.RingModeItem mRingModeItem;
^
symbol: class RingModeItem
location: class ProfileConfig
packages/apps/Settings/src/com/android/settings/profiles/ProfileRingModePreference.java:105: error: cannot find symbol
public void setRingModeItem(ProfileConfig.RingModeItem ringModeItem) {
^
symbol: class RingModeItem
location: class ProfileConfig
packages/apps/Settings/src/com/android/settings/profiles/ProfileRingModePreference.java:159: error: cannot find symbol
public ProfileConfig.RingModeItem getRingModeItem() {
^
symbol: class RingModeItem
location: class ProfileConfig
packages/apps/Settings/../CarbonFibers/src/com/carbon/fibers/fragments/sb/CarrierLabel.java:82: error: cannot find symbol
Settings.System.NOTIFICATION_SHORTCUTS_HIDE_CARRIER, 0, UserHandle.USER_CURRENT_OR_SELF) == 1);
^
symbol: variable NOTIFICATION_SHORTCUTS_HIDE_CARRIER
location: class System
packages/apps/Settings/../CarbonFibers/src/com/carbon/fibers/fragments/sb/CarrierLabel.java:87: error: cannot find symbol
Settings.System.putInt(mCr, Settings.System.NOTIFICATION_SHORTCUTS_HIDE_CARRIER, (Boolean) newValue ? 1 : 0);
^
symbol: variable NOTIFICATION_SHORTCUTS_HIDE_CARRIER
location: class System
packages/apps/Settings/../CarbonFibers/src/com/carbon/fibers/fragments/sb/CarrierLabel.java:96: error: cannot find symbol
Settings.System.CUSTOM_CARRIER_LABEL);
^
symbol: variable CUSTOM_CARRIER_LABEL
location: class System
packages/apps/Settings/../CarbonFibers/src/com/carbon/fibers/fragments/sb/CarrierLabel.java:121: error: cannot find symbol
Settings.System.CUSTOM_CARRIER_LABEL, value);
^
symbol: variable CUSTOM_CARRIER_LABEL
location: class System
packages/apps/Settings/../CarbonFibers/src/com/carbon/fibers/fragments/sb/CarrierLabel.java:141: error: cannot find symbol
Settings.System.putInt(getActivity().getContentResolver(), Settings.System.NOTIFICATION_SHOW_WIFI_SSID,
^
symbol: variable NOTIFICATION_SHOW_WIFI_SSID
location: class System
packages/apps/Settings/src/com/android/settings/profiles/ProfileConnectionPreference.java:126: error: cannot find symbol
final String[] connectionNames = getContext().getResources().getStringArray(mConnectionItem.mChoices);
^
symbol: variable mChoices
location: variable mConnectionItem of type ConnectionItem
packages/apps/Settings/src/com/android/settings/profiles/ProfileConnectionPreference.java:131: error: cannot find symbol
builder.setSingleChoiceItems(mConnectionItem.mChoices, currentChoice, new DialogInterface.OnClickListener() {
^
symbol: variable mChoices
location: variable mConnectionItem of type ConnectionItem
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.
13 errors[/COLOR]
make: *** [/home/seyi/carbon/out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Reading library jar [/home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar]
Reading library jar [/home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar]
Reading library jar [/home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar]
Reading library jar [/home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/framework2_intermediates/classes.jar]
Reading library jar [/home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar]
Note: the configuration refers to the unknown class 'android.app.ContextImpl$SharedPreferencesImpl$EditorImpl'
Note: there were 1 references to unknown classes.
You should check your configuration for typos.
Preparing output jar [/home/seyi/carbon/out/target/common/obj/APPS/WAPPushManager_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/seyi/carbon/out/target/common/obj/APPS/WAPPushManager_intermediates/classes.jar]

Compiling SlimLP

As of right now, I am attempting to compile SlimLP alpha 0.2 for the d2lte devices.
I have done it successfully with SlimKat 4.4.4 before
I'm getting some errors with make
I have no idea what I can do to fix it.. lol
[email protected]:~/slim$ make -j3 bacon
============================================
PLATFORM_VERSION_CODENAME=UNOFFICIAL
PLATFORM_VERSION=5.0
SLIM_VERSION=Slim-5.0.alpha.0.2-UNOFFICIAL-20141115-2052
TARGET_PRODUCT=slim_d2lte
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_GCC_VERSION=4.8
TARGET_GCC_VERSION_EXP=
TARGET_USE_O3=
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-39-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LRX21T
OUT_DIR=/home/a/slim/out
============================================
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `phone/java': No such file or directory
find: `phone/java': No such file or directory
find: `dummy': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/bin/rild'
build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/bin/rild'
build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/lib/libreference-ril.so'
build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/lib/libreference-ril.so'
build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/lib/libsecril-client.so'
build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/lib/libsecril-client.so'
build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/etc/gps.conf'
build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/etc/gps.conf'
PRODUCT_COPY_FILES frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml ignored.
PRODUCT_COPY_FILES frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml ignored.
build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/etc/mkshrc'
build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE d2lte
make -C kernel/samsung/d2 O=/home/a/slim/out/target/product/d2lte/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/a/slim/prebuilt/linux-x86/toolchain/linaro-4.7-13.04/bin/arm-linux-gnueabihf-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogen_d2_defconfig
Install: /home/a/slim/out/host/linux-x86/bin/mkbootimg
make[1]: Entering directory `/home/a/slim/kernel/samsung/d2'
Install: /home/a/slim/out/host/linux-x86/bin/mkbootfs
Install: /home/a/slim/out/host/linux-x86/bin/checkpolicy
Install: /home/a/slim/out/host/linux-x86/bin/checkfc
target Prebuilt: fstab.qcom (/home/a/slim/out/target/product/d2lte/obj/ETC/fstab.qcom_intermediates/fstab.qcom)
target Symbolic: libdl (/home/a/slim/out/target/product/d2lte/symbols/system/lib/libdl.so)
Install: /home/a/slim/out/target/product/d2lte/system/usr/share/zoneinfo/tzdata
Install: /home/a/slim/out/target/product/d2lte/root/init.qcom.rc
Install: /home/a/slim/out/target/product/d2lte/root/init.qcom.usb.rc
Install: /home/a/slim/out/target/product/d2lte/root/init.rc
Install: /home/a/slim/out/target/product/d2lte/root/init.recovery.qcom.rc
Install: /home/a/slim/out/target/product/d2lte/root/res/images/charger/battery_fail.png
Install: /home/a/slim/out/target/product/d2lte/root/res/images/charger/battery_scale.png
Install: /home/a/slim/out/target/product/d2lte/root/ueventd.qcom.rc
/home/a/slim/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/a/slim/out/target/product/d2lte/obj/ETC/sepolicy.recovery_intermediates/policy_recovery.conf
DumpPublicKey: /home/a/slim/out/target/product/d2lte/obj/PACKAGING/ota_keys_intermediates/keys <= build/target/product/security/testkey.x509.pem
java -jar /home/a/slim/out/host/linux-x86/framework/dumpkey.jar build/target/product/security/testkey.x509.pem > /home/a/slim/out/target/product/d2lte/obj/PACKAGING/ota_keys_intermediates/keys
device/samsung/msm8960-common/sepolicy/device.te:3:ERROR 'duplicate declaration of type/attribute' at token ';' on line 11302:
type gpu_device, dev_type;
# GPU (used by most UI apps)
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/a/slim/out/target/product/d2lte/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Error 1
make: *** Waiting for unfinished jobs....
GEN /home/a/slim/out/target/product/d2lte/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/slim/kernel/samsung/d2'
#### make failed to build some targets (47 seconds) ####
Did you get this figured out? Looks like a typo to me...
java -jar /home/a/slim/out/host/linux-x86/framework/dumpkey.jar build/target/product/security/testkey.x509.pem > /home/a/slim/out/target/product/d2lte/obj/PACKAGING/ota_keys_intermediates/keys
device/samsung/msm8960-common/sepolicy/device.te:3:ERROR 'duplicate declaration of type/attribute' at token ';' on line 11302:
check device.te on line 3 says it is a duplicate line

anyone can help solving this error

Hey , huys im try to compile cm 13 onb my own but im facing this error anyone can help solving it ?
No private recovery resources for TARGET_DEVICE mako
make: Entering directory `/root/android/system'
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: libcompiler_rt-extras <= external/compiler-rt/lib/builtins/mulodi4.c
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang)
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang)
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /root/android/system/prebuilts/clang/linux-x86/host/3.6/bin/../lib64/libc++.so)
make: *** [/root/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 1
make: *** Waiting for unfinished jobs....
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang)
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang)
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /root/android/system/prebuilts/clang/linux-x86/host/3.6/bin/../lib64/libc++.so)
make: *** [/root/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/lib/builtins/mulodi4.o] Error 1
make: *** wait: No child processes. Stop.
thanks in advance
ubuntu 14.04?
sudo apt-get update
sudo apt-get install libc6
or try:
sudo su
sudo apt-get upate
sudo apt-get upgrade
:good:
nope debian 8 but ill try
txuki2005 said:
ubuntu 14.04?
sudo apt-get update
sudo apt-get install libc6
or try:
sudo su
sudo apt-get upate
sudo apt-get upgrade
:good:
Click to expand...
Click to collapse
nope its debian 8 but letme see if i can intstall ubuntu to that server
Ubuntu did the trick now the compiling stops on a busybox error
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
/root/android/system/external/busybox/scripts/basic/split-include.c: In function 'main':
/root/android/system/external/busybox/scripts/basic/split-include.c:134:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(old_line, buffer_size, fp_target);
^
HOSTCC scripts/kconfig/conf.o
/root/android/system/external/busybox/scripts/kconfig/conf.c: In function 'conf_askvalue':
/root/android/system/external/busybox/scripts/kconfig/conf.c:106:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
/root/android/system/external/busybox/scripts/kconfig/conf.c: In function 'conf_choice':
/root/android/system/external/busybox/scripts/kconfig/conf.c:354:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
HOSTCC scripts/kconfig/kxgettext.o
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.
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
/root/android/system/external/busybox/scripts/kconfig/mconf.c: In function 'show_textbox':
/root/android/system/external/busybox/scripts/kconfig/mconf.c:847:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
write(fd, text, strlen(text));
^
/root/android/system/external/busybox/scripts/kconfig/mconf.c: In function 'exec_conf':
/root/android/system/external/busybox/scripts/kconfig/mconf.c:481:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
pipe(pipefd);
^
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s Config.in
#
# using defaults found in .config
#
SPLIT include/autoconf.h -> include/config/*
HOSTCC applets/usage
HOSTCC applets/applet_tables
/root/android/system/external/busybox/applets/usage.c: In function 'main':
/root/android/system/external/busybox/applets/usage.c:52:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
write(STDOUT_FILENO, usage_array.usage, strlen(usage_array.usage) + 1);
^
/root/android/system/external/busybox/applets/applet_tables.c: In function 'main':
/root/android/system/external/busybox/applets/applet_tables.c:144:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line_old, sizeof(line_old), fp);
^
GEN include/bbconfigopts.h
GEN include/usage_compressed.h
GEN include/applet_tables.h
HOSTCC applets/usage_pod
CC applets/applets.o
LD applets/built-in.o
make[1]: Leaving directory `/root/android/system/external/busybox'
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.
make: Leaving directory `/root/android/system'
#### make failed to build some targets (03:40 (mm:ss)) ####
well just retried command brunch mako now it gives me some green lines and host C: so i think its compiling

S3 Neo I9301I kernel problem

When I run command make msm8226-sec_defconfig I got error:
sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group
sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group
arch/arm/configs/msm8226-sec_defconfig:320:warning: override: reassigning to symbol MSM_CPP
arch/arm/configs/msm8226-sec_defconfig:482:warning: override: reassigning to symbol SWITCH
arch/arm/configs/msm8226-sec_defconfig:483:warning: override: reassigning to symbol COMPACTION
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
KCONFIG_SELINUX((null))
KCONFIG_LOG_SELINUX((null))
KCONFIG_TIMA((null))
KCONFIG_VARIANT((null))
***
*** You must specify VARIANT_DEFCONFIG !
***
/root/android/GT-I9301I_KK_Opensource/Kernel/scripts/kconfig/Makefile:117: recipe for target 'msm8226-sec_defconfig' failed
make[1]: *** [msm8226-sec_defconfig] Error 1
Makefile:496: recipe for target 'msm8226-sec_defconfig' failed
make: *** [msm8226-sec_defconfig] Error 2

Omnirom Compile Error | Device: Find7 | Android 7.1

I tried to compile omnirom from source, as descripted at the github page of omnirom (/omnirom/android), but right at the beginning there was the following error message:
ninja: build stopped: subcommand failed.
build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Here is the output (after the includes) of brunch find7:
PRODUCT_COPY_FILES device/oppo/msm8974-common/configs/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/oppo/msm8974-common/configs/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/oppo/msm8974-common/sensor/sap.conf:system/etc/sap.conf ignored.
PRODUCT_COPY_FILES vendor/qcom/binaries/msm8974/graphics/proprietary/vendor/lib/libadreno_utils.so:system/vendor/lib/libadreno_utils.so ignored.
No private recovery resources for TARGET_DEVICE find7
device/oppo/msm8974-common/camerawrapper/Android.mk:25: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/camera-wrapper.msm8974.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/camera-wrapper.msm8974.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/nfc.default.so'
build/core/Makefile:1098: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.cpio'
build/core/Makefile:1054: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.cpio'
build/core/Makefile:1104: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.img'
build/core/Makefile:1060: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.img'
device/oppo/msm8974-common/mkbootimg.mk:15: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/boot.img'
build/core/Makefile:583: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/boot.img'
Starting build with ninja
ninja: Entering directory `.'
[ 0% 5/31136] Lex: aidl <= system/tools/aidl/aidl_language_l.ll
FAILED: /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/home/user/android/omni/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: fatal internal error, exec of /usr/bin/m4 failed
[ 0% 5/31136] Yacc: aidl <= system/tools/aidl/aidl_language_y.yy
FAILED: /bin/bash -c "prebuilts/misc/linux-x86/bison/bison -d --defines=/home/user/android/omni/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_y.h -o /home/user/android/omni/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_y.cpp system/tools/aidl/aidl_language_y.yy"
prebuilts/misc/linux-x86/bison/bison: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[ 0% 5/31136] host Java: doclava (/ho...BRARIES/doclava_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
real 0m25.565s
user 0m33.620s
sys 0m3.068s
And here is the output of "breakfast find7":
breakfast find7
Looking for dependencies on: device/oppo/msm8974-common
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
TARGET_PRODUCT=omni_find7
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-4.4.0-62-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=N4F26O
OUT_DIR=/home/user/android/omni/out
May someone of you can help me
UserWhoNeedsHelpForFind7 said:
I tried to compile omnirom from source, as descripted at the github page of omnirom (/omnirom/android), but right at the beginning there was the following error message:
ninja: build stopped: subcommand failed.
build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Here is the output (after the includes) of brunch find7:
PRODUCT_COPY_FILES device/oppo/msm8974-common/configs/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/oppo/msm8974-common/configs/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/oppo/msm8974-common/sensor/sap.conf:system/etc/sap.conf ignored.
PRODUCT_COPY_FILES vendor/qcom/binaries/msm8974/graphics/proprietary/vendor/lib/libadreno_utils.so:system/vendor/lib/libadreno_utils.so ignored.
No private recovery resources for TARGET_DEVICE find7
device/oppo/msm8974-common/camerawrapper/Android.mk:25: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/camera-wrapper.msm8974.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/camera-wrapper.msm8974.so'
build/core/Makefile:34: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/nfc.default.so'
build/core/Makefile:1098: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.cpio'
build/core/Makefile:1054: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.cpio'
build/core/Makefile:1104: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.img'
build/core/Makefile:1060: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.img'
device/oppo/msm8974-common/mkbootimg.mk:15: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/boot.img'
build/core/Makefile:583: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/boot.img'
Starting build with ninja
ninja: Entering directory `.'
[ 0% 5/31136] Lex: aidl <= system/tools/aidl/aidl_language_l.ll
FAILED: /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/home/user/android/omni/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: fatal internal error, exec of /usr/bin/m4 failed
[ 0% 5/31136] Yacc: aidl <= system/tools/aidl/aidl_language_y.yy
FAILED: /bin/bash -c "prebuilts/misc/linux-x86/bison/bison -d --defines=/home/user/android/omni/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_y.h -o /home/user/android/omni/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_y.cpp system/tools/aidl/aidl_language_y.yy"
prebuilts/misc/linux-x86/bison/bison: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[ 0% 5/31136] host Java: doclava (/ho...BRARIES/doclava_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
real 0m25.565s
user 0m33.620s
sys 0m3.068s
And here is the output of "breakfast find7":
breakfast find7
Looking for dependencies on: device/oppo/msm8974-common
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
TARGET_PRODUCT=omni_find7
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-4.4.0-62-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=N4F26O
OUT_DIR=/home/user/android/omni/out
May someone of you can help me
Click to expand...
Click to collapse
I ran into this too.. (Find7op build) I'm still working on fixing this, but my build time is limited..
Looks like your build env setup is missing some required deps (g++lib). Follow this guide here: https://docs.omnirom.org/Build_for_i9300
Make sure to also install the package deps for 64bit hosts.
golden-guy said:
Looks like your build env setup is missing some required deps (g++lib). Follow this guide here: https://docs.omnirom.org/Build_for_i9300
Make sure to also install the package deps for 64bit hosts.
Click to expand...
Click to collapse
I get this error while building LOS 14.1
Could you please help?
Code:
FAILED: /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/home/dev-k/lineage/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: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
[ 0% 4/56326] host C++: libbase <= system/core/base/errors_unix.cpp
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)
Thanks

Categories

Resources