Help compiling LineageOS 14 for T580 [SOLVED] - Samsung Galaxy Tab A series Questions & Answers

I'm trying to compile LineageOS 14 for the T580 because I always wanted to learn how but I'm running into a problem. I have synced the repo, device tree, vendor tree and kernel source. When I run "STOCK_ROM_DIR=/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system/ ./extract-files.sh" I get the following errors.
Code:
STOCK_ROM_DIR=/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system/ ./extract-files.sh
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/ca.pem': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/ca.pem': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/plmn_delta.bin': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/plmn_delta.bin': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/plmn_se13.bin': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/plmn_se13.bin': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//lib/libsec-ril.so': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//lib/libsec-ril.so': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//lib/libwrappergps.so': No such file or directory
cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//lib/libwrappergps.so': No such file or directory
Then I try to build ignoring the previous errrors. when i do "brunch gtaxlwifi" I get the following error.
Code:
find: ‘/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them!
build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them!
PRODUCT_COPY_FILES frameworks/base/data/keyboards/AVRCP.idc:system/usr/idc/AVRCP.idc ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/mcDriverDaemon'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/mcDriverDaemon'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/rild'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/rild'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_did.conf'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_did.conf'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_stack.conf'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_stack.conf'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/egl/libGLES_android.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/egl/libGLES_android.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/audio.primary.universal7870.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/audio.primary.universal7870.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/bluetooth.default.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/bluetooth.default.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/gralloc.exynos5.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/gralloc.exynos5.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libaudioroute.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libaudioroute.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcamera_metadata.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcamera_metadata.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcsc.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcsc.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosgscaler.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosgscaler.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosscaler.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosscaler.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosv4l2.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosv4l2.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libhwjpeg.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libhwjpeg.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libreference-ril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libreference-ril.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/librilutils.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/librilutils.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsecril-client.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsecril-client.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsensorservice.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsensorservice.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinyalsa.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinyalsa.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinycompress.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinycompress.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.AVC.Encoder.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.AVC.Encoder.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.VP8.Decoder.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.VP8.Decoder.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: warning: phony target '-*-' names itself as an input; ignoring [-w phonycycle=warn]
ninja: error: 'vendor/samsung/gtaxlwifi/proprietary/etc/ca.pem', needed by '/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/ca.pem', missing and no known rule to make it
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
make: Leaving directory '/mnt/UserData/Projects/Android-Source/LineageOS-14'
here is a link to the full dump: https://pastebin.com/du9JDypy
Thanks! I will be grateful for any help that is given.

Ok i made it a little further. I found the missing vendor files in the t585 vendor tree. Now I get the following error.
Code:
ind: ‘/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them!
build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them!
PRODUCT_COPY_FILES frameworks/base/data/keyboards/AVRCP.idc:system/usr/idc/AVRCP.idc ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/mcDriverDaemon'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/mcDriverDaemon'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/rild'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/rild'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_did.conf'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_did.conf'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_stack.conf'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_stack.conf'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/egl/libGLES_android.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/egl/libGLES_android.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/audio.primary.universal7870.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/audio.primary.universal7870.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/bluetooth.default.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/bluetooth.default.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/gralloc.exynos5.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/gralloc.exynos5.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libaudioroute.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libaudioroute.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcamera_metadata.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcamera_metadata.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcsc.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcsc.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosgscaler.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosgscaler.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosscaler.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosscaler.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosv4l2.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosv4l2.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libhwjpeg.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libhwjpeg.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libreference-ril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libreference-ril.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/librilutils.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/librilutils.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsecril-client.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsecril-client.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsensorservice.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsensorservice.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinyalsa.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinyalsa.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinycompress.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinycompress.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.AVC.Encoder.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.AVC.Encoder.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.VP8.Decoder.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.VP8.Decoder.so'
build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: warning: phony target '-*-' names itself as an input; ignoring [-w phonycycle=warn]
[ 0% 305/33885] host Java: tagsouplib (/mnt/UserData/Projects/Android-Sour...eOS-14/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.
[ 0% 313/33885] host Java: antlr-runtime (/mnt/UserData/Projects/Android-S...-14/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% 611/33885] Lex: aidl <= system/tools/aidl/aidl_language_l.ll
FAILED: /mnt/UserData/Projects/Android-Source/LineageOS-14/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp
/bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/mnt/UserData/Projects/Android-Source/LineageOS-14/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.
[ 1% 611/33885] build /mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/common/obj/all-event-log-tags.txt
system/bt/hci/../EventLogTags.logtags:36: warning: tag "bt_hci_timeout" (1010000) duplicated in system/bt/btif/../EventLogTags.logtags:36
system/bt/hci/../EventLogTags.logtags:37: warning: tag "bt_config_source" (1010001) duplicated in system/bt/btif/../EventLogTags.logtags:37
system/bt/hci/../EventLogTags.logtags:38: warning: tag "bt_hci_unknown_type" (1010002) duplicated in system/bt/btif/../EventLogTags.logtags:38
[ 1% 611/33885] host Java: guavalib (/mnt/UserData/Projects/Android-Source...ageOS-14/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/33885] target Java: core-all (/mnt/UserData/Projects/Android-Sour...eOS-14/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 '/mnt/UserData/Projects/Android-Source/LineageOS-14'
Edit: I made it past this error by adding the following variable before building.
Code:
export LC_ALL=C

Success I was able to build a working rom. Before I mark this solved I would like to thank @Valera1978 for his device tree, vendor tree and kernel source.

I am trying to get this building too. What was your working config?
I am getting this while building:
Code:
ninja: error: 'vendor/samsung/gtaxlwifi/proprietary/lib/hw/camera.universal7870.so', needed by '/home/lineageos/out/target/product/gtaxlwifi/system/lib/hw/camera.universal7870.so', missing and no known rule to make it

I made it past this error by adding and editing the following variables before building.
Code:
export LC_ALL=C
Edit java.security file under /etc/java-8-openjdk/security/
Remove TLSv1, TLSv1.1 from jdk.tls.disabledAlgorithms
Restart the jack server:
Code:
jack-admin kill-server
jack-admin start-server
Code:
. build/envsetup.sh
run brunch command
Code:
brunch lineage_jfltexx-userdebug

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]

[WIP] Firefox OS For Samsung Galaxy w

Hi mates i am try to port firefox os on samsung galaxy w based on android 4.3.1 (cm-10.2), well after i download ffos source and device repos, an error appear like this/
Code:
gaia/Android.mk:53: warning: overriding commands for target `out/target/product/ancora/data/local/gaia'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/data/local/gaia'
gonk-misc/Android.mk:30: warning: overriding commands for target `out/target/product/ancora/obj/ETC/init.rc_intermediates/init.rc'
build/core/prebuilt.mk:162: warning: ignoring old commands for target `out/target/product/ancora/obj/ETC/init.rc_intermediates/init.rc'
gonk-misc/Android.mk:137: warning: overriding commands for target `out/target/product/ancora/obj/DATA/sources.xml_intermediates/sources.xml'
build/core/prebuilt.mk:162: warning: ignoring old commands for target `out/target/product/ancora/obj/DATA/sources.xml_intermediates/sources.xml'
gonk-misc/Android.mk:199: warning: overriding commands for target `out/target/product/ancora/system/gecko'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/gecko'
gonk-misc/Android.mk:267: warning: overriding commands for target `out/target/product/ancora/obj/DATA/gecko_intermediates/gecko'
build/core/prebuilt.mk:162: warning: ignoring old commands for target `out/target/product/ancora/obj/DATA/gecko_intermediates/gecko'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidNaskh-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidNaskh-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Bold.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Bold.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansArmenian.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansArmenian.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansEthiopic-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansEthiopic-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansFallback.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansFallback.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansGeorgian.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansGeorgian.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansMono.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansMono.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-Bold.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-Bold.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-Italic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-Italic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-BoldItalic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-BoldItalic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/MTLmr3m.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/MTLmr3m.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-Bold.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-Bold.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-BoldItalic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-BoldItalic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-Italic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-Italic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansThai.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansThai.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/root/init.qcom.rc'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/root/init.qcom.rc'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/root/init.qcom.usb.rc'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/root/init.qcom.usb.rc'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/root/ueventd.qcom.rc'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/root/ueventd.qcom.rc'
build/core/Makefile:32: *** Prebuilt apk found in PRODUCT_COPY_FILES: device/samsung/ancora/prebuilt/Torch.apk:system/app/Torch.apk, use BUILD_PREBUILT instead!. Stop.
what should i do?
thanks

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

compile error omni 7.1.2

hello I'm trying to compile omnirom for my device and I have a problem OS I put what the terminal gives me I do not know where the problem is if someone can help me out thanks for excuse my english.
Code:
No private recovery resources for TARGET_DEVICE oxygen
build/core/tasks/kernel.mk:109: ***************************************************************
build/core/tasks/kernel.mk:110: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:111: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:112: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:113: * source repository to kernel/xiaomi/oxygen
build/core/tasks/kernel.mk:114: * See http://forum.xda-developers.com/wiki/ROM/Integrated_Kernel_Build
build/core/tasks/kernel.mk:115: * for more information *
build/core/tasks/kernel.mk:116: ***************************************************************
build/core/base_rules.mk:319: warning: overriding commands for target `/home/miuipower/omnirom/out/target/product/oxygen/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/miuipower/omnirom/out/target/product/oxygen/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:319: warning: overriding commands for target `/home/miuipower/omnirom/out/target/product/oxygen/root/res/images/charger/battery_scale.png'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/miuipower/omnirom/out/target/product/oxygen/root/res/images/charger/battery_scale.png'
build/core/Makefile:1112: warning: overriding commands for target `/home/miuipower/omnirom/out/target/product/oxygen/ramdisk-recovery.cpio'
build/core/Makefile:1068: warning: ignoring old commands for target `/home/miuipower/omnirom/out/target/product/oxygen/ramdisk-recovery.cpio'
build/core/Makefile:1118: warning: overriding commands for target `/home/miuipower/omnirom/out/target/product/oxygen/ramdisk-recovery.img'
build/core/Makefile:1074: warning: ignoring old commands for target `/home/miuipower/omnirom/out/target/product/oxygen/ramdisk-recovery.img'
build/core/Makefile:1124: warning: overriding commands for target `/home/miuipower/omnirom/out/target/product/oxygen/recovery.img'
build/core/Makefile:1079: warning: ignoring old commands for target `/home/miuipower/omnirom/out/target/product/oxygen/recovery.img'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/miuipower/omnirom/out/target/product/oxygen/obj/KERNEL_OBJ/usr', needed by '/home/miuipower/omnirom/out/target/product/oxygen/obj/EXECUTABLES/sdcard_intermediates/sdcard.o', missing and no known rule to make it
build/core/ninja.mk:157: fallo en las instrucciones para el objetivo 'ninja_wrapper'
make: *** [ninja_wrapper] Error 1
Don't build recovery inside your device path. Mkdir /home/miuipower/omnirom/out/target/product/oxygen/obj/KERNEL_OBJ and /home/miuipower/omnirom/out/target/product/oxygen/obj/KERNEL_OBJ/usr
Add BUILD_BROKEN_DUP_RULES := true in your boardconfig if you wish ignore warings

No private recovery resources for TARGET_DEVICE tissot & ninja error

I'm just working on AOSP with the device trees that are out there, and when I run make -j8 I am getting this below, and not sure;
No private recovery resources for TARGET_DEVICE tissot
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/bin/fingerprintd'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/bin/fingerprintd'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib/hw/fingerprint.default.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib/hw/fingerprint.default.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib/libcamera_client.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib/libcamera_client.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib/libcamera_metadata.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib/libcamera_metadata.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib/libcameraservice.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib/libcameraservice.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib/libminui.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib/libminui.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib64/hw/consumerir.default.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib64/hw/consumerir.default.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib64/hw/fingerprint.default.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib64/hw/fingerprint.default.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'out/target/product/tissot/obj/STATIC_LIBRARIES/bootctrl.msm8953_intermediates/export_includes', needed by 'out/target/product/tissot/obj/EXECUTABLES/update_engine_sideload_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
DoR3M3 said:
I'm just working on AOSP with the device trees that are out there, and when I run make -j8 I am getting this below, and not sure;
No private recovery resources for TARGET_DEVICE tissot
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/bin/fingerprintd'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/bin/fingerprintd'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib/hw/fingerprint.default.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib/hw/fingerprint.default.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib/libcamera_client.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib/libcamera_client.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib/libcamera_metadata.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib/libcamera_metadata.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib/libcameraservice.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib/libcameraservice.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib/libminui.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib/libminui.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib64/hw/consumerir.default.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib64/hw/consumerir.default.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/tissot/system/lib64/hw/fingerprint.default.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/tissot/system/lib64/hw/fingerprint.default.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'out/target/product/tissot/obj/STATIC_LIBRARIES/bootctrl.msm8953_intermediates/export_includes', needed by 'out/target/product/tissot/obj/EXECUTABLES/update_engine_sideload_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Click to expand...
Click to collapse
I told already its error because of A/B partition so try this go to hardware/qcom/bootctrl and Edit android.mk & add msm8953 to filter
arunassain said:
I told already its error because of A/B partition so try this go to hardware/qcom/bootctrl and Edit android.mk & add msm8953 to filter
Click to expand...
Click to collapse
@arunassain
Now it's another error, maybe best to move on to Oreo as you mentioned...
ninja: Entering directory `.'
ninja: error: 'out/target/product/tissot/obj/KERNEL_OBJ/usr', needed by 'out/target/product/tissot/obj/STATIC_LIBRARIES/librecovery_updater_msm8953_intermediates/gpt-utils.o', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Thanks
DoR3M3 said:
@arunassain
Now it's another error, maybe best to move on to Oreo as you mentioned...
ninja: Entering directory `.'
ninja: error: 'out/target/product/tissot/obj/KERNEL_OBJ/usr', needed by 'out/target/product/tissot/obj/STATIC_LIBRARIES/librecovery_updater_msm8953_intermediates/gpt-utils.o', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Thanks
Click to expand...
Click to collapse
Yes better move on to Oreo hope u won't get any error in Oreo wait for stable tree and start ur built over AOSP
arunassain said:
Yes better move on to Oreo hope u won't get any error in Oreo wait for stable tree and start ur built over AOSP
Click to expand...
Click to collapse
@arunassain I'm looking around trying to figure what Trees you mentioned to me...

Categories

Resources