I'm trying to build CM using Schischu device and kernel from OMNIrom,
I believe it to be all set up as it should be but I get the following error:
Code:
Checking build tools versions...
/home/matt/WORKING_DIRECTORY3/out/target/product/wingray/obj/APPS/SignatureTest_intermediates
find: ‘src’: No such file or directory
build/core/Makefile:44: warning: overriding recipe for target `/home/matt/WORKING_DIRECTORY3/out/target/product/wingray/system/etc/wifi/wpa_supplicant_overlay.conf'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/home/matt/WORKING_DIRECTORY3/out/target/product/wingray/system/etc/wifi/wpa_supplicant_overlay.conf'
build/core/Makefile:44: warning: overriding recipe for target `/home/matt/WORKING_DIRECTORY3/out/target/product/wingray/system/etc/wifi/p2p_supplicant_overlay.conf'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/home/matt/WORKING_DIRECTORY3/out/target/product/wingray/system/etc/wifi/p2p_supplicant_overlay.conf'
No private recovery resources for TARGET_DEVICE wingray
build/core/tasks/kernel.mk:63: ***************************************************************
build/core/tasks/kernel.mk:64: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:65: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:66: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:67: * source repository to device/moto/stingray-kernel
build/core/tasks/kernel.mk:68: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
build/core/tasks/kernel.mk:69: * for more information *
build/core/tasks/kernel.mk:70: ***************************************************************
build/core/tasks/vendor_module_check.mk:48: *** Error: Product "cm_wingray" cannot have overlay in vendor tree: vendor/cm/overlay/dictionaries vendor/cm/overlay/common. Stop.
[email protected]:~/WORKING_DIRECTORY3$
I think this last line is the issue:
Code:
build/core/tasks/vendor_module_check.mk:48: *** Error: Product "cm_wingray" cannot have overlay in vendor tree: vendor/cm/overlay/dictionaries vendor/cm/overlay/common. Stop.
Wondering if anyone could give any insight on what may be causing the problem.
maybe @Schischu can shed some light on the matter?
Related
i was compiling for lg optimus one. why is this happening? is it a cause of a bad download of liba2dp.so?
Code:
host Java: signapk (out/host/common/obj/JAVA_LIBRARIES/signapk_intermediates/classes)
SignApk.java:19: warning: sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
import sun.misc.BASE64Encoder;
^
SignApk.java:20: warning: sun.security.pkcs.ContentInfo is internal proprietary API and may be removed in a future release
import sun.security.pkcs.ContentInfo;
^
SignApk.java:21: warning: sun.security.pkcs.PKCS7 is internal proprietary API and may be removed in a future release
import sun.security.pkcs.PKCS7;
.
.
.
.
<some more SignApk.java errors :confused:>
.
.
.
.
make: *** No rule to make target `vendor/lge/thunderg/proprietary/lib/liba2dp.so', needed by `out/target/product/thunderg/system/lib/liba2dp.so'. Stop.
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Hi guys,
Im new in the Forum and this is my first post, if someone can help me with my situation I will be very grateful.
My problem is the following:
Ive been trying to compile CM and while building there where few errors, until now I could fix them by myself but the latest one I havent been able to.
My machine: Pretty much standard Dell xps 15, core i7, 8GB RAM running Ubuntu 13.10, I upgrade it from 13.04.
I follow the standard guide to compile the code presented in the Wiki:
//wiki.cyanogen.../Build_for_p500 (im new and i cannot post outgoing links)
And the error is the following , after using the BRUNCH P500 command:
Code:
target StaticLib: libop (out/target/product/p500/obj/STATIC_LIBRARIES/libop_intermediates/libop.a)
host SharedLib: libdvm (out/host/linux-x86/obj/lib/libdvm.so)
Install: out/host/linux-x86/lib/libssl.so
Install: out/host/linux-x86/lib/libicuuc.so
Install: out/host/linux-x86/bin/dexdeps
Install: out/host/linux-x86/bin/emulator
Install: out/host/linux-x86/bin/jasmin
Install: out/host/linux-x86/bin/mksnapshot
Install: out/host/linux-x86/framework/hosttestlib.jar
Install: out/host/linux-x86/framework/sdklib.jar
Install: out/host/linux-x86/framework/sdkstats.jar
Install: out/host/linux-x86/framework/ddmuilib.jar
out/host/linux-x86/obj/lib/libicui18n.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/lib/libdvm.so] Error 1
make: *** Waiting for unfinished jobs....
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
external/sqlite/dist/sqlite3.c: In function 'fkLookupParent':
external/sqlite/dist/sqlite3.c:54938: warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true
target StaticLib: libc_nomalloc (out/target/product/p500/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
Hello guys here
I try to build rr 5.8.4 rom and when i type brunch grandppltedx i got this error:
Checking build tools versions...
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
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/lol/RR/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
cp: cannot stat '/home/lol/RR/ota_conf': No such file or directory
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/cm/prebuilt/NexusLauncher/NexusLauncher.apk:system/app/NexusLauncher/NexusLauncher.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/cm/prebuilt/Wallpaper/Wallpaper.apk:system/app/Wallpaper/Wallpaper.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/cm/prebuilt/DeskClock/DeskClock.apk:system/app/DeskClock/DeskClock.apk, use BUILD_PREBUILT instead!
build/core/java.mk:334: warning: overriding commands for target `/home/lol/RR/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/lol/RR/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/lol/RR/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/lol/RR/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/lol/RR/out/target/product/grandppltedx/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/lol/RR/out/target/product/grandppltedx/root/res/images/charger/battery_fail.png'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/lol/RR/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/R.stamp', needed by '/home/lol/RR/out/target/common/obj/APPS/BasicDreams_intermediates/src/R.stamp', 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/lol/RR'
#### make failed to build some targets (03:19 (mm:ss)) ####
No Jack server running. Try 'jack-admin start-server'
-Now I have no idea how to solve the build error please help me
Code:
============================================
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
find: ‘/home/looper/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
Starting build with ninja
ninja: Entering directory `.'
ninja: warning: phony target '-*-' names itself as an input; ignoring [-w phonycycle=warn]
ninja: error: /home/looper/lineage/out/build-lineage_hammerhead.ninja:410882: multiple rules generate /home/looper/lineage/out/target/product/hammerhead/system/etc/gps.conf [-w dupbuild=err]
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
make: Leaving directory '/home/looper/lineage'
#### make failed to build some targets (20 seconds) ####
device tree: github. com/LineageOS/android_device_lge_hammerhead/tree/cm-14.1
kernel: github. com/LineageOS/android_kernel_lge_hammerhead/tree/cm-14.1
vendor: github. com/TheMuppets/proprietary_vendor_lge
rom source: github. com/lineageos
Hey guys, this is my first build and I am facing this issue during the build, I have no idea how to fix the error!
find some answer from google but these are not works for me at all. so really need some professional's help.:silly:
not to resurrect an old thread, but when you downloaded TheMuppets/proprietary_vendor_lge you did change the branch to cm-14.1, right? The correct address would be: https://github.com/TheMuppets/proprietary_vendor_lge/tree/cm-14.1 [-- I made the mistake of forgetting to check the branch version ... ]
find: ‘/home/ubuntu/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
./system/sepolicy/Android.mk:22: BOARD_SEPOLICY_UNION is no longer required - all files found in BOARD_SEPOLICY_DIRS are implicitly unioned; please remove from your BoardConfig.mk or other .mk file.
No recovery.fstab for TARGET_DEVICE kmini3g
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/hw/camera.msm8226.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/hw/camera.msm8226.so'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/bin/rild'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/bin/rild'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libreference-ril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libreference-ril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libsecril-client.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libsecril-client.so'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/hw/consumerir.default.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/hw/consumerir.default.so'
build/core/ninja.mk:166: recipe for target '/home/ubuntu/android/lineage/out/build-full_kmini3g.ninja' failed
make: *** [/home/ubuntu/android/lineage/out/build-full_kmini3g.ninja] Killed
make: *** Deleting file '/home/ubuntu/android/lineage/out/build-full_kmini3g.ninja'
make: Leaving directory '/home/ubuntu/android/lineage'
#### make failed to build some targets (58 seconds) ####
I am getting this error while compiling cm 14.1
I am using openjdk 8, on Ubuntu 18.04
Please help
Thanks in advance