hi there, im building pac 5.1 from source for my device and i get the following error(s) while building the rom from :
1. a prebuilt kernel (the zimage ofcourse)
Code:
Copy: /home/bassface/pac-rom/out/target/product/a6000/root/init.target.rc
Notice file: external/sepolicy/NOTICE -- /home/bassface/pac-rom/out/target/product/a6000/obj/NOTICE_FILES/src//root/property_contexts.txt
Install: /home/bassface/pac-rom/out/target/product/a6000/root/property_contexts
make: *** No rule to make target '/home/bassface/pac-rom/out/target/product/a6000/obj/KERNEL_OBJ/usr', needed by '/home/bassface/pac-rom/out/target/product/a6000/obj/EXECUTABLES/adbd_intermediates/adb.o'. Stop.
#### make failed to build some targets (06:57 (mm:ss)) ####
if u want the whole log - http://pastebin.com/Qcm83xrv
2.im using a prebuilt kernel because im having problems compiling a kernel :c am i missing something.?
Code:
[email protected]:~/pac-rom/kernel1/lenovo/a6000$ make config
scripts/kconfig/conf --oldaskconfig Kconfig
arch/Kconfig:436: can't open file "kernel/gcov/Kconfig"
/home/bassface/pac-rom/kernel1/lenovo/a6000/scripts/kconfig/Makefile:27: recipe for target 'config' failed
make[1]: *** [config] Error 1
Makefile:503: recipe for target 'config' failed
make: *** [config] Error 2
[email protected]:~/pac-rom/kernel1/lenovo/a6000$
i get somewhat the same error while i try compiling the kernel from source through the rom..again, am i missing something.?
i checked for the folder irq in the sources and it wasnt there.
i searched for these errors but didnt find any fix any help would be highly appreciated
Anyone.?
hello , i try to build aicp for my hammerhead and after a short time i lhave this message that i don't understand. someone can help me .
including frameworks/av/drm/mediacas/plugins/clearkey/Android.mk
FAILED:
build/make/core/binary.mk:1337: error: frameworks/av/drm/mediacas/plugins/cleark
ey/Android.mk: libclearkeycasplugin: C_INCLUDES must be under the source or outup
directories: /proto.
12:15:57 ckati failed with: exit status 1
#### failed to build some targets (01:21 (mm:ss)) ####
I'm a AOSP newbie. I am following this tutorial.
I have successfully synced my repo to tag android-11.0.0_r29.
I set lunch to aosp_arm-eng. The build reports:
...
[ 99% 90444/90520] //art/build/apex:art-check-debug-apex-gen generate art-check-debug-apex-gen.dummy
--bitness=auto, trying to autodetect. This may be incorrect!
Detected multilib
[100% 90520/90520] Target vbmeta image: out/target/product/generic_arm64/vbmeta.img
#### build completed successfully (05:25:57 (hh:mm:ss)) ####
However, when I attempt to run the emulator:
[email protected]:~/aosp$ emulator
emulator: ERROR: Can't get kernel version from the kernel image file: '/home/clayton/aosp/prebuilts/qemu-kernel/arm64/ranchu/kernel-qemu'
Have not found a solution. Please help.
[ 99% 1249/1250] glob vendor/qcom/opensource/interfaces/wifi/supplicant/2.0/src
ninja: error: '/home/tinyhour/data/source/lineage16/out/target/common/obj/JAVA_LIBRARIES/WfdCommon_intermediates/javalib.jar', needed by '/home/tinyhour/data/source/lineage16/out/target/product/enchilada/dex_bootjars/system/framework/boot.prof', missing and no known rule to make it
11:47:45 ninja failed with: exit status 1
#### failed to build some targets (01:51 (mm:ss)) ####
android 9.0.0_r46
OnePlus 6
Lineage16.
OpenJdk11.
Compilation error,Do you have similar problems? How to solve it?
So I am building an unofficial copy of crDroid for my OnePlus 9R and I am getting this error:
Code:
error: hardware/oneplus/hidl/fingerprint/inscreen/Android.bp:44:1: "[email protected]" depends on undefined module "vendor.lineage.biometrics.fingerprint.inscree
[email protected]"
12:01:38 soong bootstrap failed with: exit status 1
#### failed to build some targets (01:32 (mm:ss)) ####
This never happened to me while building LineageOS 18.1. I am pretty new to compiling ROMs from source, so please help.
Thank you.
Errors while compiling crDroid 8 for OnePlus 9R
So, I was building crDroid for my phone the OnePlus 9R (codename: lemonades), and I encountered 2 errors.
The first one was after using the lunch command and selecting my device. The error was:
Code:
Which would you like? [aosp_arm-eng] 30
device/oneplus/sm8250-common/BoardConfigCommon.mk:181: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
Trying dependencies-only mode on a non-existing device tree?
device/oneplus/sm8250-common/BoardConfigCommon.mk:181: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
Now, I ignored this, and used the brunch command to start building the ROM, when I got this error:
Code:
error: hardware/oneplus/hidl/fingerprint/inscreen/Android.bp:44:1: "lineage.biom
[email protected]" depends on undefined module "ve
[email protected]"
17:03:33 soong bootstrap failed with: exit status 1
#### failed to build some targets (18 seconds) ####
Now, I assume I got this error due to missing files, so I re - downloaded the complete source code, and tried to build again, but I still got the same error.
I am pretty new to ROM development, and have no Idea what to do next, so any help would be appreciated.
Thank You.
(I have also attached Images of the errors.)
KomradeKamarov said:
Errors while compiling crDroid 8 for OnePlus 9R
So, I was building crDroid for my phone the OnePlus 9R (codename: lemonades), and I encountered 2 errors.
The first one was after using the lunch command and selecting my device. The error was:
Code:
Which would you like? [aosp_arm-eng] 30
device/oneplus/sm8250-common/BoardConfigCommon.mk:181: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
Trying dependencies-only mode on a non-existing device tree?
device/oneplus/sm8250-common/BoardConfigCommon.mk:181: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
Now, I ignored this, and used the brunch command to start building the ROM, when I got this error:
Code:
error: hardware/oneplus/hidl/fingerprint/inscreen/Android.bp:44:1: "lineage.biom
[email protected]" depends on undefined module "ve
[email protected]"
17:03:33 soong bootstrap failed with: exit status 1
#### failed to build some targets (18 seconds) ####
Now, I assume I got this error due to missing files, so I re - downloaded the complete source code, and tried to build again, but I still got the same error.
I am pretty new to ROM development, and have no Idea what to do next, so any help would be appreciated.
Thank You.
(I have also attached Images of the errors.)View attachment 5567035View attachment 5567037
Click to expand...
Click to collapse
i know this is a old thread but the correct sequence for crDroid buidling is the following:
1. repo sync
2. . build/envsetup.sh
3. brunch (followed by your device codename. I have the 9 Pro so mine would be brunch lemonadep
4. If it errors, then try
mka bacon -j$(nproc --all)
5. If it errors again, try brunch (followed by codename again)
I've gotten my phone to build successfully by doing this after it failed the first two times.