[Q]build cm14.1 error - OnePlus 3 Questions & Answers

Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_oneplus_oneplus3" path="device/oneplus/oneplus3" remote="github" />
<project name="CyanogenMod/android_device_oppo_common" path="device/oppo/common" remote="github" />
<project name="CyanogenMod/android_kernel_oneplus_msm8996" path="kernel/oneplus/msm8996" remote="github" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_frameworks" path="vendor/nxp-nfc/opensource/frameworks" remote="github" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_libnfc-nci" path="vendor/nxp-nfc/opensource/libnfc-nci" remote="github" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_Nfc" path="vendor/nxp-nfc/opensource/Nfc" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" revision="cm-14.1" />
<project name="TheMuppets/proprietary_vendor_qcom_binaries" path="vendor/qcom/binaries" remote="github" revision="cm-14.1" />
</manifest>
Code:
brunch oneplus3
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1
CM_VERSION=14.1-20161115-UNOFFICIAL-oneplus3
TARGET_PRODUCT=cm_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.7-1-ARCH-x86_64-with-glibc2.2.5
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NDE63X
OUT_DIR=/home/android/cyanogenmod/system/out
============================================
make: Entering directory '/home/android/cyanogenmod/system'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1
CM_VERSION=14.1-20161115-UNOFFICIAL-oneplus3
TARGET_PRODUCT=cm_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.7-1-ARCH-x86_64-with-glibc2.2.5
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NDE63X
OUT_DIR=/home/android/cyanogenmod/system/out
============================================
Running kati to generate build-cm_oneplus3.ninja...
Environment variable BUILD_NUMBER was modified (fd1178d4b1 => 00ef3f6dc6), regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1
CM_VERSION=14.1-20161115-UNOFFICIAL-oneplus3
TARGET_PRODUCT=cm_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.7-1-ARCH-x86_64-with-glibc2.2.5
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NDE63X
OUT_DIR=/home/android/cyanogenmod/system/out
============================================
build/core/binary.mk:1231: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1231: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1231: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/binary.mk:1231: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/android/cyanogenmod/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/material/ogg/Atria.ogg:system/media/audio/ringtones/Atria.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/material/ogg/Pyxis.ogg:system/media/audio/ringtones/Pyxis.ogg ignored.
No private recovery resources for TARGET_DEVICE oneplus3
build/core/java.mk:334: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:316: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_calib3d.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_calib3d.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_core.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_core.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_features2d.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_features2d.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_flann.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_flann.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_highgui.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_highgui.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_imgcodecs.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_imgcodecs.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_imgproc.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_imgproc.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_ml.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_ml.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_objdetect.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_objdetect.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_photo.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_photo.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_shape.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_shape.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_stitching.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_stitching.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_superres.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_superres.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_videoio.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_videoio.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_video.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_video.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_videostab.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_videostab.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/etc/libnfc-brcm.conf'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/etc/libnfc-brcm.conf'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/etc/libnfc-nxp.conf'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/etc/libnfc-nxp.conf'
Starting build with ninja
ninja: Entering directory `.'
[ 0% 22/50619] host C++: libaidl-common <= /home/android...IBRARIES/libaidl-common_intermediates/aidl_language_l.cpp
FAILED: /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.o
/bin/bash -c "(PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/oneplus/oneplus3/include -I external/gtest/include -I system/tools/aidl -I /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates -I /home/android/cyanogenmod/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaidl-common_intermediates -I libnativehelper/include/nativehelper \$(cat /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem tools/include -isystem /home/android/cyanogenmod/system/out/host/linux-x86/obj/include -c -fno-exceptions -Wno-multichar -m64 -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -O2 -g -fno-strict-aliasing -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 -fstack-protector-strong --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin -target x86_64-linux-gnu -Wsign-promo -Wno-inconsistent-missing-override --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -target x86_64-linux-gnu -fPIC -D_USING_LIBCXX -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-function -Wno-unneeded-internal-declaration -Wno-deprecated-register -Wno-writable-strings -std=gnu++14 -nostdinc++ -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.d -o /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.o /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp ) && (cp /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.d /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.d >> /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.P; rm -f /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.d )"
/home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp:904:23: error: comparison of integers of different signs: 'yy_size_t' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare]
for ( yyl = 0; yyl < yyleng; ++yyl )
~~~ ^ ~~~~~~
/home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp:1395:3: error: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare]
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp:731:18: note: expanded from macro 'YY_INPUT'
for ( n = 0; n < max_size && \
~ ^ ~~~~~~~~
/home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp:1966:17: error: comparison of integers of different signs: 'yy_size_t' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare]
for ( i = 0; i < _yybytes_len; ++i )
~ ^ ~~~~~~~~~~~~
3 errors generated.
[ 0% 22/50619] target Java: libprotobuf-java-nano (/home...VA_LIBRARIES/libprotobuf-java-nano_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 0% 22/50619] host Java: doclava (/home/android/cyanoge.../common/obj/JAVA_LIBRARIES/doclava_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
make: Leaving directory '/home/android/cyanogenmod/system'
#### make failed to build some targets (48 seconds) ####

What version of JDK are you using?

daleski75 said:
What version of JDK are you using?
Click to expand...
Click to collapse
openjdk1.8_112 or Oracle jdk1.8

Try my roomservice file first
http://hastebin.com/juqahexune.xml

daleski75 said:
Try my roomservice file first
http://hastebin.com/juqahexune.xml
Click to expand...
Click to collapse
Same error.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Ahh your using archlinux is it bbq linux by some chance?

daleski75 said:
Ahh your using archlinux is it bbq linux by some chance?
Click to expand...
Click to collapse
What is the difference with the original arch?Reinstalling the operating system is a painful process?

fiepi said:
What is the difference with the original arch?Reinstalling the operating system is a painful process
Click to expand...
Click to collapse
bbq linux is based on it and i always had build errors when using arch and swapped to ubuntu and zero problems.

daleski75 said:
bbq linux is based on it and i always had build errors when using arch and swapped to ubuntu and zero problems.
Click to expand...
Click to collapse
Thank you, I will install a ubuntu?

fiepi said:
Thank you, I will install a ubuntu
Click to expand...
Click to collapse
If it's a vm you can create a ubuntu vm, mount the arch linux vmdk within the ubuntu vm, mount it when it's installed and then copy across your build directory, will speed things up massively for you.

Related

[HELP][AOSPA] I need help porting paranoid android 3+ to XS .

Hi ,
I've recently bought a Xperia S so I'm new in this forum , I had a Galaxy Nexus before and Paranoid is my favourite flavour on it , I also liked to try my first porting attempt on this device so I started working on Paranoid Android v3.+ following this guide :
http://forum.xda-developers.com/showthread.php?t=1863547 .
enough talking here are the changes I made to the local_manifests (I wanted to build with OpenSEMC kernel that is used on CM10.1)
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<manifest>
<project name="OpenSEMC/android_device_sony_nozomi" path="device/sony/nozomi" remote="github" revision="cm-10.1" />
<project name="OpenSEMC/android_kernel_sony_msm8x60" path="kernel/sony/msm8x60" remote="github" revision="msm-mako-jb-mr1.1" />
<project name="OpenSEMC/android_device_sony_qcom-common" path="device/sony/qcom-common" remote="github" revision="cm-10.1"/>
<project name="OpenSEMC/android_device_sony_common" path="device/sony/common" remote="github" revision="cm-10.1"/>
<project name="OpenSEMC/proprietary_vendor_sony" path="vendor/sony" remote="github" revision="cm-10.1"/>
<project name="OpenSEMC/android_device_sony_fuji-common" path="device/sony/fuji-common" remote="github" revision="cm-10.1" />
<project name="OpenSEMC/android_hardware_sony_DASH" path="hardware/sony/DASH" remote="github" revision="cm-10.1" />
<project name="OpenSEMC/android_hardware_qcom_display-caf" path="hardware/qcom/display-caf" remote="github" revision="cm-10.1" />
<project name="OpenSEMC/android_hardware_qcom_audio-caf" path="hardware/qcom/audio-caf" remote="github" revision="cm-10.1" />
<project name="OpenSEMC/android_hardware_qcom_bt" path="hardware/qcom/bt" remote="github" revision="cm-10.1" />
<project name="OpenSEMC/android_hardware_qcom_gps" path="hardware/qcom/gps" remote="github" revision="cm-10.1" />
</manifest>
after that , I repo sync'd and extracted the proprietary files needed .Then I added those files to the source :
/vendor/pa/manifest/
Code:
nozomi.adds :
Code:
[
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_frameworks_av",
"target_path": "frameworks/av",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_frameworks_native",
"target_path": "frameworks/native",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_frameworks_opt_telephony",
"target_path": "frameworks/opt/telephony",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_device_sony_common",
"target_path": "device/sony/common",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_device_sony_fuji-common",
"target_path": "device/sony/fuji-common",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_device_sony_qcom-common",
"target_path": "device/sony/qcom-common",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_hardware_sony_DASH",
"target_path": "hardware/sony/DASH",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_hardware_sony_display-caf",
"target_path": "hardware/sony/display-caf",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_hardware_sony_audio-caf",
"target_path": "hardware/sony/audio-caf",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_hardware_qcom_gps",
"target_path": "hardware/qcom/gps",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "OpenSEMC",
"repository": "android_hardware_qcom_bt",
"target_path": "hardware/qcom/bt",
"revision": "cm-10.1"
},
]
/vendor/pa/manifest/nozomi.removes:
Code:
[
{
"name": "platform/frameworks/av",
"path": "frameworks/av"
},
{
"name": "ParanoidAndroid/android_frameworks_native",
"path": "frameworks/native"
},
{
"name": "ParanoidAndroid/android_frameworks_opt_telephony",
"path": "frameworks/opt/telephony"
}
]
/vendor/pa/prebuilt/pa_nozomi.conf :
Code:
I used pa_i9300.conf so I guess no errors made here :p
/vendor/pa/products/pa_nozomi.mk ( here I believe I made more than a single error )
Code:
# Copyright (C) 2012 ParanoidAndroid Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Check for target product
ifeq (pa_nozomi,$(TARGET_PRODUCT))
# Define PA bootanimation size
PARANOID_BOOTANIMATION_NAME := XHDPI
# OVERLAY_TARGET adds overlay asset source
OVERLAY_TARGET := pa_i9300
# Build paprefs from sources
PREFS_FROM_SOURCE ?= false
# Include ParanoidAndroid common configuration
include vendor/pa/config/pa_common.mk
# Inherit AOSP device configuration
$(call inherit-product, device/sony/nozomi/full_nozomi.mk)
# Product Package Extras - Repos can be added manually or via addprojects.py
-include vendor/pa/packages/nozomi.mk
# CM Package Extras
-include vendor/pa/packages/cm.mk
# Override AOSP build properties
PRODUCT_NAME := pa_nozomi
PRODUCT_BRAND := sony
PRODUCT_MODEL := Xperia S
PRODUCT_MANUFACTURER := sony
[COLOR="red"]#down here -v- I copied these from OpenSEMC's ROM build.prop
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=LT26i BUILD_FINGERPRINT=SEMC/LT26i_1257-5499/LT26i:4.0.4/6.1.A.2.50/zfd_zw:user/release-keys PRIVATE_BUILD_DESC=LT26i-user 4.0.4 6.1.A.2.50 zfd_zw test-keys[/COLOR]
# Update local_manifest.xml
GET_VENDOR_PROPS := $(shell vendor/pa/tools/getvendorprops.py $(PRODUCT_NAME))
GET_PROJECT_RMS := $(shell vendor/pa/tools/removeprojects.py $(PRODUCT_NAME))
GET_PROJECT_ADDS := $(shell vendor/pa/tools/addprojects.py $(PRODUCT_NAME))
GET_CM_PROJECT_ADDS := $(shell vendor/pa/tools/addprojects.py cm.adds)
endif
[COLOR="Red"]#I removed TARGET_DEVICE because I didn't know what to put there and that the build won't won't override it [/COLOR]
/vendor/pa/vendorprops/nozomi.prorietaries
i found nothing to add here so I left it blank too
Code:
[
]
so after this little work the build attempt failed with these errors
Code:
Traceback (most recent call last):
File "vendor/pa/tools/addprojects.py", line 139, in <module>
fetch_extras(def_file)
File "vendor/pa/tools/addprojects.py", line 108, in fetch_extras
projects = json.loads(projects_file.read())
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Trying dependencies-only mode on a non-existing device tree?
Traceback (most recent call last):
File "vendor/pa/tools/addprojects.py", line 139, in <module>
fetch_extras(def_file)
File "vendor/pa/tools/addprojects.py", line 108, in fetch_extras
projects = json.loads(projects_file.read())
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
.
.
.
.
.
.
.
.
.
.
.
.
.
.
find: `src': No such file or directory
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/bin/rild'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/bin/rild'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libMPU3050.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libMPU3050.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libcamera_client.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libcamera_client.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libfmradio.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libfmradio.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmllite.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmllite.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmlplatform.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmlplatform.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libril.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libril.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE nozomi
make -C kernel/sony/msm8x60 O=/home/user/android/out/target/product/nozomi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/user/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogen_fuji_nozomi_defconfig
make[1]: Entering directory `/home/user/android/kernel/sony/msm8x60'
Install: /home/user/android/out/host/linux-x86/bin/acp
host Executable: tblgen (/home/user/android/out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/tblgen)
preparing StaticLib: libc_common [including /home/user/android/out/target/product/nozomi/obj/STATIC_LIBRARIES/libbionic_ssp_intermediates/libbionic_ssp.a]
Target buildinfo: /home/user/android/out/target/product/nozomi/system/build.prop
/bin/bash: 4.0.4: command not found
make: *** [/home/user/android/out/target/product/nozomi/system/build.prop] Error 127
make: *** Deleting file `/home/user/android/out/target/product/nozomi/system/build.prop'
make: *** Waiting for unfinished jobs....
preparing StaticLib: libc_common [including /home/user/android/out/target/product/nozomi/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/libc_netbsd.a]
target StaticLib: libc_common (/home/user/android/out/target/product/nozomi/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a)
GEN /home/user/android/out/target/product/nozomi/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/user/android/kernel/sony/msm8x60'
please help me keeping up with this port as I see a lot of potential in this device , and eveybody loves multiple flavoured roms for his/her device
thanks in advance .
Rock on !
Three Musketers group (the same that built PAC for us) has been trying to build PA 3+ for ages and no luck... Tried a hell lot of ways, but no luck. The best we got was show lockscreen for a second then bootloop.
Oh so there's no way I can get this to work by myself . but why wouldn't it boot like the other AOSP ROMs ?
Sent from my Xperia S using xda app-developers app
You could ask here, maybe they can help.
http://forum.xda-developers.com/showthread.php?t=1863547
Thanks androidlover007 , I'll definetly check this out .
Sent from my Xperia S using xda app-developers app
sa30udi said:
so after this little work the build attempt failed with these errors
Code:
Traceback (most recent call last):
File "vendor/pa/tools/addprojects.py", line 139, in <module>
fetch_extras(def_file)
File "vendor/pa/tools/addprojects.py", line 108, in fetch_extras
projects = json.loads(projects_file.read())
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Trying dependencies-only mode on a non-existing device tree?
Traceback (most recent call last):
File "vendor/pa/tools/addprojects.py", line 139, in <module>
fetch_extras(def_file)
File "vendor/pa/tools/addprojects.py", line 108, in fetch_extras
projects = json.loads(projects_file.read())
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
.
.
.
.
.
.
.
.
.
.
.
.
.
.
find: `src': No such file or directory
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/bin/rild'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/bin/rild'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libMPU3050.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libMPU3050.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libcamera_client.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libcamera_client.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libfmradio.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libfmradio.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmllite.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmllite.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmlplatform.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libmlplatform.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/lib/libril.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/lib/libril.so'
build/core/Makefile:40: warning: overriding commands for target `/home/user/android/out/target/product/nozomi/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/user/android/out/target/product/nozomi/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE nozomi
make -C kernel/sony/msm8x60 O=/home/user/android/out/target/product/nozomi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/user/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogen_fuji_nozomi_defconfig
make[1]: Entering directory `/home/user/android/kernel/sony/msm8x60'
Install: /home/user/android/out/host/linux-x86/bin/acp
host Executable: tblgen (/home/user/android/out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/tblgen)
preparing StaticLib: libc_common [including /home/user/android/out/target/product/nozomi/obj/STATIC_LIBRARIES/libbionic_ssp_intermediates/libbionic_ssp.a]
Target buildinfo: /home/user/android/out/target/product/nozomi/system/build.prop
/bin/bash: 4.0.4: command not found
make: *** [/home/user/android/out/target/product/nozomi/system/build.prop] Error 127
make: *** Deleting file `/home/user/android/out/target/product/nozomi/system/build.prop'
make: *** Waiting for unfinished jobs....
preparing StaticLib: libc_common [including /home/user/android/out/target/product/nozomi/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/libc_netbsd.a]
target StaticLib: libc_common (/home/user/android/out/target/product/nozomi/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a)
GEN /home/user/android/out/target/product/nozomi/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/user/android/kernel/sony/msm8x60'
please help me keeping up with this port as I see a lot of potential in this device , and eveybody loves multiple flavoured roms for his/her device
thanks in advance .
Rock on !
Click to expand...
Click to collapse
It looks like something in your .adds or .removes files are imporperly formatted, I had the same issue building for razr hd. So I just made both of my devices .adds and .removes files:
Code:
[]
and added the repos I wanted manually to a forked copy of their manifests.
Well I think I need a couple of courses in git and repo .. Anyway thanks ! I'll keep the forum up to day with my progress
Sent from my LT26i using xda app-developers app

Building CM 11 Errors

This is my first time I have ever built a ROM, but I am making a build as described here --> http://wiki.cyanogenmod.org/w/Build_for_d2att <--
Shortly after I run "brunch d2att" the console displays "find: `src': No such file or directory" and then runs off on a list of "Warning: Ignoring old commands for target" and "Warning: Overriding commands for target"
After running "brunch d2att":
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131130-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-14-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/matthew/android/system/out
============================================
Then it goes into the find: src and warnings.
Code:
[email protected]:~/android/system$ brunch d2att
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131130-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-14-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/matthew/android/system/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131130-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-14-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/matthew/android/system/out
============================================
find: `src': No such file or directory
frameworks/uiautomator/Android.mk:82: warning: overriding commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-last-timestamp'
frameworks/testing/uiautomator/library/Android.mk:82: warning: ignoring old commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-last-timestamp'
frameworks/uiautomator/Android.mk:99: warning: overriding commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-current-timestamp'
frameworks/testing/uiautomator/library/Android.mk:99: warning: ignoring old commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-current-timestamp'
frameworks/uiautomator/Android.mk:111: warning: overriding commands for target `update-uiautomator-api'
frameworks/testing/uiautomator/library/Android.mk:111: warning: ignoring old commands for target `update-uiautomator-api'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
No private recovery resources for TARGET_DEVICE d2att
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: libmincrypt <= system/core/libmincrypt/rsa.c
/bin/bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
make: *** [/home/matthew/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 127
make: *** Waiting for unfinished jobs....
/bin/bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
make: *** [/home/matthew/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/rsa.o] Error 127
make: *** wait: No child processes. Stop.
[email protected]:~/android/system$
Any help is greatly appreciated!
Thanks in advance!

[Q] Stock CM 11 (4.4.1) Compiling Errors

So earlier I posted a problem I had building CM 11 (4.4.0), and due to lack of help, I never got a working build. However, this morning, I OTA Updated through CyanogenMod's servers to their first CM 11 Build for d2att (4.4.1). I did the obligatory repo sync, and also a source build/envsetup.sh, a breakfast d2att and then brunch d2att. Once it started compiling, I did not run into my usual slew of errors for a little while, and then hit them, but with the build continuing for 2 minutes after the errors, instead of the normal stop. Sadly, it did stop, but not on the same note as it did before today... Here's the code after brunch d2att:
Code:
[email protected]:~/android/system$ brunch d2att
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.1
CM_VERSION=11-20131208-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-15-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49E
OUT_DIR=/home/matthew/android/system/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.1
CM_VERSION=11-20131208-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-15-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49E
OUT_DIR=/home/matthew/android/system/out
============================================
Clean step: rm -rf /home/matthew/android/system/out/target/product/d2att/system/build.prop
/home/matthew/android/system/out/target/product/d2att/obj/APPS/SignatureTest_intermediates
find: `src': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
No private recovery resources for TARGET_DEVICE d2att
Header: /home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/gralloc_priv.h
Import includes file: /home/matthew/android/system/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/import_includes
make -C kernel/samsung/d2 O=/home/matthew/android/system/out/target/product/d2att/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/matthew/android/system/prebuilts/misc/linux-x86/ccache/ccache /home/matthew/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG=cyanogen_d2_defconfig SELINUX_DEFCONFIG=m2selinux_defconfig cyanogen_d2att_defconfig
make[1]: Entering directory `/home/matthew/android/system/kernel/samsung/d2'
/bin/bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
make: *** [/home/matthew/android/system/out/target/product/d2att/obj/lib/crtbrand.o] Error 127
make: *** Waiting for unfinished jobs....
HOSTCC scripts/basic/fixdep
GEN /home/matthew/android/system/out/target/product/d2att/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
drivers/media/video/msm_apexq/Kconfig:126:warning: choice value used outside its choice group
drivers/media/video/msm_apexq/Kconfig:131:warning: choice value used outside its choice group
KCONFIG_SELINUX(arch/arm/configs/m2selinux_defconfig)
KCONFIG_LOG_SELINUX((null))
KCONFIG_VARIANT(arch/arm/configs/cyanogen_d2_defconfig)
arch/arm/configs/cyanogen_d2_defconfig:837:warning: override: reassigning to symbol NETWORK_SECMARK
arch/arm/configs/cyanogen_d2_defconfig:841:warning: override: reassigning to symbol NETFILTER_ADVANCED
KCONFIG_DEBUG((null))
#
# configuration written to .config
#
make[1]: Leaving directory `/home/matthew/android/system/kernel/samsung/d2'
[email protected]:~/android/system$
[/HIDE]
If anyone can tell me what went wrong or where I can get some help, my ears are open! Thanks!

Building LineageOS for cancro (Xiaomi mi3w) problem

Hello,
I'm trying to build the lineageOS cm-14.1 version for Cancro
I did
Code:
$ repo init -u ssh://[email protected]/LineageOS/android.git -b cm-14.1
$ repo sync
$ breakfast cancro
including vendor/cm/vendorsetup.sh
Looking for dependencies in device/xiaomi/cancro
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170102-UNOFFICIAL-cancro
TARGET_PRODUCT=lineage_cancro
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-57-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=NMF26Q
OUT_DIR=/path/to/android/system/out
============================================
Then:
Code:
$ brunch cancro
including vendor/cm/vendorsetup.sh
Looking for dependencies in device/xiaomi/cancro
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170102-UNOFFICIAL-cancro
TARGET_PRODUCT=lineage_cancro
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-57-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=NMF26Q
OUT_DIR=/path/to/android/system/out
============================================
make: Entering directory '/path/to/android/system'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170102-UNOFFICIAL-cancro
TARGET_PRODUCT=lineage_cancro
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-57-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=NMF26Q
OUT_DIR=/path/to/android/system/out
============================================
Running kati to generate build-lineage_cancro.ninja...
Environment variable BUILD_NUMBER was modified (8e31167344 => 8b61fedda4), regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170102-UNOFFICIAL-cancro
TARGET_PRODUCT=lineage_cancro
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-57-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=NMF26Q
OUT_DIR=/path/to/android/system/out
============================================
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/path/to/android/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
No private recovery resources for TARGET_DEVICE cancro
build/core/java.mk:334: warning: overriding commands for target `/path/to/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/path/to/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/path/to/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/path/to/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:316: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/bin/wcnss_service'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/bin/wcnss_service'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b00'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b00'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b01'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b01'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b02'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b02'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b04'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b04'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b06'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b06'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b07'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b07'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b08'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b08'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b09'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b09'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.mdt'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.mdt'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/lib/libc2dcolorconvert.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/lib/libc2dcolorconvert.so'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/lib/libOmxVenc.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/lib/libOmxVenc.so'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/path/to/android/system/out/target/product/cancro/obj/lib/libtime_genoff.so.toc', needed by '/path/to/android/system/out/target/product/cancro/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/LINKED/libandroid_servers.so', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/path/to/android/system'
#### make failed to build some targets (22 seconds) ####
Ending with
Code:
ninja: error: '/path/to/android/system/out/target/product/cancro/obj/lib/libtime_genoff.so.toc', needed by '/path/to/android/system/out/target/product/cancro/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/LINKED/libandroid_servers.so', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/path/to/android/system'
I did extract the binaries from a cancro phone running cyanogenmod 14.1.
What is the step I am missing?
Cancro in my language is cancer.
And when we call something a cancer means that thing it worst nothing.
paulomodesto said:
Cancro in my language is cancer.
And when we call something a cancer means that thing it worst nothing.
Click to expand...
Click to collapse
I'm not against a little bit of culture here and there.
I'm quite sure xiaomi thought about your language when naming their device. Cancro is also a constellation.
This aside, your comment is what makes most of the threads on XDA so time consuming to read. So thank you!
Time consuming to read?
Just read your first post...
And beside me, who have post on this tread?
Have a good year, and be happy.
Peace!
Bump. I am having the same error
ignore this
Interestingly enough I'm trying to build Lineage OS 14.1 for Bacon on Linux Bash for Windows 10 and get this exact same error. So that gives me hope that it's not just because I'm too lazy to use actual linux lol. If anyone knows the fix I want to try and get it to build someone else says they got CM13 to build with the same method.
Hi there! First of all: Happy new year everybody
I don't have the device (cancro) but I'm pretty sure that - for some reason - the mentioned file (and maybe even more) did not get pulled from your phone. Did you extract the proprietary files via "extract-files.sh"? Check where the file is located on your device and if the script pulls that folder.
You could also use proprietary files from github.com/TheMuppets. It's an open secret that most developers use that repository. Furthermore it's very handy when it comes to building/brunching for another device that you don't even own.
Edit: If I'm not wrong, these folders should be present in your build directory:
device/xiaomi/cancro
kernel/xiaomi/cancro
vendor/xiaomi/cancro
Please check that and report back
The Flash said:
Introduction
Frequently Asked Questions
1.1 Q: I got an error, what do I do??
1.1 A: Well to start, if it is anything with Ninja, I would go ahead and disable it. You can add this to your .bashrc file:
Code:
export USE_NINJA=false
Then type this
Code:
source ~/.bashrc
. build/envsetup.sh
breakfast bullhead
mka clobber
mka bacon
If it is saying you ran out of memory, follow this post.
If it isn't Ninja related, check out @AzraelsKiss's post here, where he has documented a few common issues. If none of those apply, post here with a detailed list of what you have done and we will do our best to help you.
Click to expand...
Click to collapse
You could try this.
experience7 said:
Hi there! First of all: Happy new year everybody
I don't have the device (cancro) but I'm pretty sure that - for some reason - the mentioned file (and maybe even more) did not get pulled from your phone. Did you extract the proprietary files via "extract-files.sh"? Check where the file is located on your device and if the script pulls that folder.
You could also use proprietary files from github.com/TheMuppets. It's an open secret that most developers use that repository. Furthermore it's very handy when it comes to building/brunching for another device that you don't even own.
Edit: If I'm not wrong, these folders should be present in your build directory:
device/xiaomi/cancro
kernel/xiaomi/cancro
vendor/xiaomi/cancro
Please check that and report back
Click to expand...
Click to collapse
I have tried TheMuppets xiaomi repo and also the extract_files.sh script. The result is always the same.
tassos_chry said:
You could try this.
Click to expand...
Click to collapse
I tried disabling ninja but the error remains the same.
I also had a look at the build-manifest.xml file on my phone but I don't see what is missing.
my solution
Hi,
since I found a solution, here is what I did...
- open the file "/android/system/device/xiaomi/cancro/proprietary-files.txt" in your editor...
- search for "libtime_genoff.so"
- add a "-" as first character in that line, so it looks like this "-vendor/lib/libtime_genoff.so"
- save
- run "/android/system/device/xiaomi/cancro/setup-makefiles.sh" to propagate the modification to the tool-chain
that's it :highfive:
best regards
Spameater_de
P.S.: during the build I had another issue regarding an obviously obsolete .so - file. I removed it from the proprietary_files.txt and re-run the setup-makefiles.sh... the image is now fine

failed to compile jfltexx, ninja error, missing files

Any idea why?
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/huan/android/lineage'
-------------------------
/home/huan/android/lineage/out/build-lineage_jfltexx.ninja is missing, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170507-UNOFFICIAL-jfltexx
TARGET_PRODUCT=lineage_jfltexx
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-38-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=N2G47O
OUT_DIR=/home/huan/android/lineage/out
============================================
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/huan/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
No private recovery resources for TARGET_DEVICE jfltexx
build/core/java.mk:334: warning: overriding commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:320: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libreference-ril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libreference-ril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libsecril-client.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libsecril-client.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/huan/android/lineage'
#### make failed to build some targets (01:16 (mm:ss)) ####
i am facing the same issue
This mean you are missing the proprietary vendor files.
Check this site out, https://github.com/TheMuppets/proprietary_vendor_samsung
Make note of this error:
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jf-gsm-common/proprietary/bin/rild
above is the path to the files you want, follow that on the repo page I provided.

Categories

Resources