[S] Building RootBox help - Nexus 4 Q&A, Help & Troubleshooting

Hello everyone I am on Linux Mint and I am working on compiling android source and i have been having a lot of trouble. When I try to build for my phone I enter the command " . build_rootbox.sh mako nosync 4 " and this is what i get.
Starting RootBox build for mako
including vendor/rootbox/vendorsetup.sh
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=rootbox_mako
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-17-generic-x86_64-with-LinuxMint-14-nadia
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/rj/rootbox/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=rootbox_mako
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-17-generic-x86_64-with-LinuxMint-14-nadia
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/rj/rootbox/out
============================================
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
find: `src': No such file or directory
build/core/base_rules.mk:528: system/core/mkbootimg/Android.mk: Module "unpackbootimg" has useless module tags: eng. It will be installed anyway.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Effect_Tick.ogg:system/media/audio/ui/Effect_Tick.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressStandard.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressSpacebar.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressDelete.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressReturn.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click.ogg:system/media/audio/ui/camera_click.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/LowBattery.ogg:system/media/audio/ui/LowBattery.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Dock.ogg:system/media/audio/ui/Dock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Undock.ogg:system/media/audio/ui/Undock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Lock.ogg:system/media/audio/ui/Lock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Unlock.ogg:system/media/audio/ui/Unlock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressStandard_120.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressSpacebar_120.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressDelete_120.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressReturn_120.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/alarms/ogg/Argon.ogg:system/media/audio/alarms/Argon.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/alarms/ogg/Carbon.ogg:system/media/audio/alarms/Carbon.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/alarms/ogg/Helium.ogg:system/media/audio/alarms/Helium.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/alarms/ogg/Krypton.ogg:system/media/audio/alarms/Krypton.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/alarms/ogg/Neon.ogg:system/media/audio/alarms/Neon.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/alarms/ogg/Oxygen.ogg:system/media/audio/alarms/Oxygen.ogg ignored.
build/core/Makefile:43: warning: overriding commands for target `/home/rj/rootbox/out/target/product/mako/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:505: warning: ignoring old commands for target `/home/rj/rootbox/out/target/product/mako/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES vendor/rootbox/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE mako
make -C kernel/lge/mako O=/home/rj/rootbox/out/target/product/mako/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/rj/rootbox/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" mako_defconfig
make[1]: Entering directory `/home/rj/rootbox/kernel/lge/mako'
host C++: clang <= external/clang/tools/driver/cc1_main.cpp
host C++: clang <= external/clang/tools/driver/cc1as_main.cpp
host C++: clang <= external/clang/tools/driver/driver.cpp
HOSTCC scripts/kconfig/conf.o
/home/rj/rootbox/kernel/lge/mako/scripts/kconfig/conf.c:684:1: fatal error: opening dependency file scripts/kconfig/.conf.o.d: Permission denied
compilation terminated.
make[3]: *** [scripts/kconfig/conf.o] Error 1
make[2]: *** [mako_defconfig] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/rj/rootbox/kernel/lge/mako'
make: *** [/home/rj/rootbox/out/target/product/mako/obj/KERNEL_OBJ/.config] Error 2
make: *** Waiting for unfinished jobs....
Total time elapsed: 2 minutes (139.057643694 seconds)
If anyone has any ideas please let me know.

magestic1995 said:
Hello everyone I am on Linux Mint and I am working on compiling android source and i have been having a lot of trouble. When I try to build for my phone I enter the command " . build_rootbox.sh mako nosync 4 " and this is what i get.
Starting RootBox build for mako
including vendor/rootbox/vendorsetup.sh
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=rootbox_mako
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-17-generic-x86_64-with-LinuxMint-14-nadia
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/rj/rootbox/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=rootbox_mako
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-17-generic-x86_64-with-LinuxMint-14-nadia
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/rj/rootbox/out
============================================
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
find: `src': No such file or directory
build/core/base_rules.mk:528: system/core/mkbootimg/Android.mk: Module "unpackbootimg" has useless module tags: eng. It will be installed anyway.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Effect_Tick.ogg:system/media/audio/ui/Effect_Tick.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressStandard.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressSpacebar.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressDelete.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressReturn.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click.ogg:system/media/audio/ui/camera_click.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/LowBattery.ogg:system/media/audio/ui/LowBattery.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Dock.ogg:system/media/audio/ui/Dock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Undock.ogg:system/media/audio/ui/Undock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Lock.ogg:system/media/audio/ui/Lock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Unlock.ogg:system/media/audio/ui/Unlock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressStandard_120.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressSpacebar_120.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressDelete_120.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressReturn_120.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/alarms/ogg/Argon.ogg:system/media/audio/alarms/Argon.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/alarms/ogg/Carbon.ogg:system/media/audio/alarms/Carbon.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/alarms/ogg/Helium.ogg:system/media/audio/alarms/Helium.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/alarms/ogg/Krypton.ogg:system/media/audio/alarms/Krypton.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/alarms/ogg/Neon.ogg:system/media/audio/alarms/Neon.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/alarms/ogg/Oxygen.ogg:system/media/audio/alarms/Oxygen.ogg ignored.
build/core/Makefile:43: warning: overriding commands for target `/home/rj/rootbox/out/target/product/mako/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:505: warning: ignoring old commands for target `/home/rj/rootbox/out/target/product/mako/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES vendor/rootbox/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE mako
make -C kernel/lge/mako O=/home/rj/rootbox/out/target/product/mako/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/rj/rootbox/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" mako_defconfig
make[1]: Entering directory `/home/rj/rootbox/kernel/lge/mako'
host C++: clang <= external/clang/tools/driver/cc1_main.cpp
host C++: clang <= external/clang/tools/driver/cc1as_main.cpp
host C++: clang <= external/clang/tools/driver/driver.cpp
HOSTCC scripts/kconfig/conf.o
/home/rj/rootbox/kernel/lge/mako/scripts/kconfig/conf.c:684:1: fatal error: opening dependency file scripts/kconfig/.conf.o.d: Permission denied
compilation terminated.
make[3]: *** [scripts/kconfig/conf.o] Error 1
make[2]: *** [mako_defconfig] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/rj/rootbox/kernel/lge/mako'
make: *** [/home/rj/rootbox/out/target/product/mako/obj/KERNEL_OBJ/.config] Error 2
make: *** Waiting for unfinished jobs....
Total time elapsed: 2 minutes (139.057643694 seconds)
If anyone has any ideas please let me know.
Click to expand...
Click to collapse
Not related to the rest of the build failing but the
Code:
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
Line can be fixed by copying the android-sdk/extras gcm stuff into your vendor tree.

I fixed by deleting out folder and buikding thanks!

Related

make otatools errors

My google skills are not strong enough to solve this problem, apparently.
Ultimately, I want to build a custom Clockwork recovery. I've been following guides here:
http://source.android.com/source/initializing.html
and here:
http://www.koushikdutta.com/2010/10/porting-clockwork-recovery-to-new.html
But I'm getting the following after typing "make -j4 otatools":
Code:
$ make -j4 otatools
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
grep: build/target/board/generic/recovery.fstab: No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
host Executable: minigzip (out/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/minigzip)
host C++: libhost <= build/libs/host/pseudolocalize.cpp
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host Executable: mkbootfs (out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
/make: *** [out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs] Error 1
usr/bin/ldmake: *** Waiting for unfinished jobs....:
skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/minigzip] Error 1
Can anyone help me get rid of the errors?
And also, what exactly does "make otatools" do?
Thanks in advance for any help/advice.

[Q]AOKP Building Errors

I'm am a n00b at compiling, but am trying to learn. I want to start messing aroundith some developing and have to get the foot in the door some where. I know this is probably a complete noob question, but his was my first time ever tring to build and am looking for help. I'm trying to compile AOKP but I keep getting a build error at he beginning. Any help will be gratefully appriciated and will help me become better at this. Now for all the code:
including device/asus/grouper/vendorsetup.sh
including device/asus/tilapia/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/lge/mako/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including device/samsung/toro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/aokp/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/aokp/vendorsetup.sh
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=aokp_grouper
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-17-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/genstukov/android/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=aokp_grouper
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-17-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/genstukov/android/out
============================================
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
find: `src': No such file or directory
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Effect_Tick.ogg:system/media/audio/ui/Effect_Tick.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressStandard.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressSpacebar.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressDelete.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressReturn.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click.ogg:system/media/audio/ui/camera_click.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/LowBattery.ogg:system/media/audio/ui/LowBattery.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Dock.ogg:system/media/audio/ui/Dock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Undock.ogg:system/media/audio/ui/Undock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Lock.ogg:system/media/audio/ui/Lock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Unlock.ogg:system/media/audio/ui/Unlock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressStandard_120.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressSpacebar_120.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressDelete_120.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressReturn_120.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.
build/core/Makefile:43: warning: overriding commands for target `/home/genstukov/android/out/target/product/grouper/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/genstukov/android/out/target/product/grouper/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE grouper
build/core/tasks/kernel.mk:40: ***************************************************************
build/core/tasks/kernel.mk:41: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:42: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:43: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:44: * source repository to kernel/asus/grouper
build/core/tasks/kernel.mk:45: * See http://wiki.cyanogenmod.com/wiki/Integrated_kernel_building
build/core/tasks/kernel.mk:46: * for more information *
build/core/tasks/kernel.mk:47: ***************************************************************
make: *** No rule to make target `/home/genstukov/android/out/target/product/grouper/kernel', needed by `/home/genstukov/android/out/target/product/grouper/boot.img'. Stop.
Click to expand...
Click to collapse
And now for the question, how can I fix this?
You don't have kernel in the specified path. Clone the CM10.1 kernel, then create the path in the error. Move the files from the clone and you should be good.
To clone the CM kernel, create your kernel clone folder in your home directory. It will look something like this from the terminal:
[email protected]:~$ mkdir ~/cyanogenkernel
[email protected]:~$ cd ~/cyanogenkernel
[email protected]:~/cyanogenkernel$ git clone git://github.com/CyanogenMod/android_kernel_asus_grouper.git

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

Omnirom Compile Error | Device: Find7 | Android 7.1

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

[help][building atomic os]

i am getting an error but i dont know why its generating....
Started by user Govind Pathak
Building on master in workspace /home/govind/a
[a] $ /bin/bash /tmp/hudson7060322579195071189.sh
Set cache size limit to 50.0 Gbytes
including device/oneplus/cheeseburger/vendorsetup.sh
including vendor/aos/vendorsetup.sh
including sdk/bash_completion/adb.bash
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
Trying dependencies-only mode on anon-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
AOS_MOD_VERSION=Atomic-OS-1.5-cheeseburger-20170818-1644-LabMade
TARGET_PRODUCT=aos_cheeseburger
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=kryo
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-2-amd64-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/govind/a/out
============================================
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
=====Team DarkNess Presents=======
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
AOS_MOD_VERSION=Atomic-OS-1.5-cheeseburger-20170818-1644-LabMade
TARGET_PRODUCT=aos_cheeseburger
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=kryo
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-2-amd64-x86_64-with-debian-9.0
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/govind/a/out
============================================
Running kati to generate build-aos_cheeseburger.ninja...
Environment variable BUILD_NUMBER was modified (220 => 221), regenerating...
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
=====Team DarkNess Presents=======
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
AOS_MOD_VERSION=Atomic-OS-1.5-cheeseburger-20170818-1644-LabMade
TARGET_PRODUCT=aos_cheeseburger
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=kryo
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-2-amd64-x86_64-with-debian-9.0
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/govind/a/out
============================================
mv: cannot stat '/home/govind/a/out/target/product/cheeseburger/clean_steps.mk.tmp': No such file or directory
Disabling ART_BUILD_TARGET_DEBUG
Disabling ART_BUILD_HOST_DEBUG
build/core/binary.mk:1267: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1267: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1267: 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:1267: 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
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/govind/a/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 device/oneplus/cheeseburger/rootdir/etc/init.qcom.post_boot.sh:system/etc/init.qcom.post_boot.sh ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-brcm.conf'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-brcm.conf'
build/core/Makefile:46: warning: overriding commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-nxp.conf'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-nxp.conf'
build/core/Makefile:46: warning: overriding commands for target `/home/govind/a/out/target/product/cheeseburger/system/lib64/libjni_latinime.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/govind/a/out/target/product/cheeseburger/system/lib64/libjni_latinime.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/govind/a/out/target/product/cheeseburger/obj/STATIC_LIBRARIES/librecovery_ui_msm_intermediates/export_includes', needed by '/home/govind/a/out/target/product/cheeseburger/obj/EXECUTABLES/recovery_intermediates/import_includes', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1
yes i synced device/qcom/common
any help will be appriciated
"Trying dependencies-only mode on anon-existing device tree?"
The above error is the real error if my memory serves .. Sometthing to do with roomservice.xml or what its called in the ROM you are trying to build.. Sorry I'm a bit rusty, haven't build since Lollipop but Check the dependencies.

Categories

Resources