Need help for compiling Cm13.0 source code. - Xiaomi Redmi 1S

Hi All,
I'm compiling cyanogenmod 13.0 for Redmi 1s and stuck at following errors.
Code:
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.
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar
target Java: qcmediaplayer (/home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes)
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar
Check package name for /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar: unknown package name of class file org/codeaurora/camera/ExtendedFace.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar: unknown package name of class file org/codeaurora/ims/qtiims/IQtiImsInterface$Stub$Proxy.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar: unknown package name of class file com/qualcomm/qcmedia/QCMediaPlayer$OnMPDAttributeListener.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar: unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
make: *** [/home/sysadmin/Rahul/cm13.0/out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp] Error 1
#### make failed to build some targets (08:30 (mm:ss)) ####
Can anyone help me to solve this errors?

Rahul Dhobi said:
Hi All,
I'm compiling cyanogenmod 13.0 for Redmi 1s and stuck at following errors.
Code:
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.
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar
target Java: qcmediaplayer (/home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes)
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar
Check package name for /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar: unknown package name of class file org/codeaurora/camera/ExtendedFace.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar: unknown package name of class file org/codeaurora/ims/qtiims/IQtiImsInterface$Stub$Proxy.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar: unknown package name of class file com/qualcomm/qcmedia/QCMediaPlayer$OnMPDAttributeListener.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar: unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
make: *** [/home/sysadmin/Rahul/cm13.0/out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp] Error 1
#### make failed to build some targets (08:30 (mm:ss)) ####
Can anyone help me to solve this errors?
Click to expand...
Click to collapse
can you post complete log please.
although it seems like a upstream error, but yea a full log would be great

onano said:
can you post complete log please.
although it seems like a upstream error, but yea a full log would be great
Click to expand...
Click to collapse
Thanks for reply, please find attached log file.

Rahul Dhobi said:
Thanks for reply, please find attached log file.
Click to expand...
Click to collapse
why you're Using prebuilt kernel binary instead of source ?
and please post your local_manifest too

onano said:
why you're Using prebuilt kernel binary instead of source ?
and please post your local_manifest too
Click to expand...
Click to collapse
I'm using compressed source code from http://forum.xda-developers.com/android/software/sources-android-sources-highly-t3231109.
this source don't have .repo directory also I have again compiled with kernel source, please verify logs and steps I'm doing
Thanks.

Have you added Android-SDK to your path?

unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
Rahul Dhobi said:
I'm using compressed source code from http://forum.xda-developers.com/android/software/sources-android-sources-highly-t3231109.
this source don't have .repo directory also I have again compiled with kernel source, please verify logs and steps I'm doing
Thanks.
Click to expand...
Click to collapse
Hi,
I am also getting same error.
Is the problem solved?
How to solve this error : unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class

SilverPearl said:
Hi,
I am also getting same error.
Is the problem solved?
How to solve this error : unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
Click to expand...
Click to collapse
Same error here. Please help us

Aah found the soln. You need to revert some commits where you are getting the error.
Like, i had an error for apache-http. So i had to revert this:
https://github.com/HalogenOS/androi...mmit/7463c06adcd51d891fc294b90350562f9697ffe8
Noob part: Just revert commits with commit message " off the boot classpath" or something
Would help someone i guess
@SilverPearl @Rahul Dhobi

regalstreak said:
aah found the soln. You need to revert some commits where you are getting the error.
Like, i had an error for apache-http. So i had to revert this:
https://github.com/halogenos/androi...mmit/7463c06adcd51d891fc294b90350562f9697ffe8
noob part: Just revert commits with commit message " off the boot classpath" or something
would help someone i guess
@silverpearl @rahul dhobi
Click to expand...
Click to collapse
good job man helping ppl out

regalstreak said:
Aah found the soln. You need to revert some commits where you are getting the error.
Like, i had an error for apache-http. So i had to revert this:
https://github.com/HalogenOS/androi...mmit/7463c06adcd51d891fc294b90350562f9697ffe8
Noob part: Just revert commits with commit message " off the boot classpath" or something
Would help someone i guess
@SilverPearl @Rahul Dhobi
Click to expand...
Click to collapse
@regalstreak I am facing something similar. Could you help me out?
Exact error:
Code:
Error: /home/yeshwanthvshenoy/du/out/target/common/obj/JAVA_LIBRARIES/telephony-ext_intermediates/classes.jar: unknown package name of class file org/codeaurora/internal/IDepersoResCallback$Stub.class
Full log: http://pastebin.com/ixfVAV7i
Any idea?

yeshwanthvshenoy said:
@regalstreak I am facing something similar. Could you help me out?
Exact error:
Code:
Error: /home/yeshwanthvshenoy/du/out/target/common/obj/JAVA_LIBRARIES/telephony-ext_intermediates/classes.jar: unknown package name of class file org/codeaurora/internal/IDepersoResCallback$Stub.class
Full log: http://pastebin.com/ixfVAV7i
Any idea?
Click to expand...
Click to collapse
I assume that you've solved this. I was off xda. Sorry.

regalstreak said:
I assume that you've solved this. I was off xda. Sorry.
Click to expand...
Click to collapse
Hi. I'm having this error https://hastebin.com/udofahacok.scala some time ago when building AOSiP and AOSP Extended. Can you help me solve it? I have a trying time and I have not been able to. Sorry for my english

Related

[Q] (Help) CM11 compiling errors

Hello! I'm new building a ROM and I have a lot of issues with the compilation of CM11, a lot of these has been fixed with a few workarounds in the source code, but I'm getting an error with the headers, exactly with the file Flattenable.h
The problem is that the "guard" of the headers includes only once the header Flattenable.h for one of the needed headers but not for the rest of headers that require the same header Flattenable.h and I get this error:
target thumb C++: libandroid <= frameworks/base/native/android/native_window.cpp
In file included from frameworks/native/include/ui/Rect.h:22:0,
from frameworks/native/include/ui/Region.h:25,
from system/core/include/utils/Flattenable.h:26,
from frameworks/native/include/ui/Fence.h:26,
from frameworks/native/include/gui/IGraphicBufferProducer.h:28,
from frameworks/native/include/gui/Surface.h:20,
from frameworks/base/native/android/native_window.cpp:21:
frameworks/native/include/ui/Point.h:29:41: error: expected template-name before '<' token
frameworks/native/include/ui/Point.h:29:41: error: expected '{' before '<' token
frameworks/native/include/ui/Point.h:29:41: error: expected unqualified-id before '<' token
frameworks/base/native/android/native_window.cpp:84:1: error: expected '}' at end of input
make: *** [/home/richy/Escritorio/Development/CM-11/out/target/product/hwmt1_u06/obj/SHARED_LIBRARIES/libandroid_intermediates/native_window.o] Error 1
the error is because the "template-name" has been defined in Flattenable.h but the "guard" disable the #include of the file Point.h because this header has been included previusly on the file Fence.h
Someone knows a "fix" for this problem?
I'm compiling in Ubuntu 14.04
Excuse my poor english :silly:
I found the reason of this
Thanks but i find that I have added the next line to flattenable.h and I don't remember when :/ but... it was there haha
#include <ui/Region.h>
and I search the file on another site and this include wasn't here hahaha thanks =):silly:

who can help me? anyone can?

in CM12.1 for Xiao mi Read Mi 1s, now I have the error as bllow:
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES/libjavacore_intermediates/luni/src/main/native/android_system_OsConstants.o: file is empty
libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [out/host/linux-x86/obj32/lib/libjavacore.so] Error 1
who can help me?
Recommendation
Hello,
to get an answer you should at least:
Name the thread appropriately
Elaborate when you are getting this error - after which step and procedure
Put code into
Code:
environment
[/LIST]
jiang18109913 said:
in CM12.1 for Xiao mi Read Mi 1s, now I have the error as bllow:
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES/libjavacore_intermediates/luni/src/main/native/android_system_OsConstants.o: file is empty
libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [out/host/linux-x86/obj32/lib/libjavacore.so] Error 1
who can help me?
Click to expand...
Click to collapse
I think u might ve installed 64 bit os. I ve no idea. Just tell me when this error occur. Best way try changing ur rom. Thats it. This might be helpful
http://forum.xda-developers.com/redmi-1s/general/guide-unbricking-redmi-1s-bricked-t2905426
Is it resolved ? How ?

I encountered a problem when building lineageos 16.0, please help solve it.

The wrong part is like this:
Code:
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/jjut/los/out/target/product/albus/system/vendor/lib/libsensorndkbridge.so'
[ 99% 5741/5742] glob vendor/qcom/opensource/interfaces/wifi/supplicant/2.0/src
ninja: error: '/home/jjut/los/out/target/product/albus/obj_arm/SHARED_LIBRARIES/libqsap_sdk_intermediates/export_includes', needed by '/home/jjut/los/out/target/product/albus/obj_arm/SHARED_LIBRARIES/libqsap_shim_intermediates/import_includes', missing and no known rule to make it
17:09:12 ninja failed with: exit status 1
#### failed to build some targets (02:09 (mm:ss)) ####
I tried to find a good solution on Google or Github. Please help me on the xda developer. Thank you, I wish you a happy life.
help!
You need to declare a prebuilt shared library, atleast i fixed my error (with libminui) during building twrp, but the recovery didn't boot eventually. You need the compiled .so file and follow instructions here https://developer.android.com/ndk/guides/prebuilts

[SOLVED] Java Errors While compiling Nougat Custom Roms (Download Provider)

SOLVED: SEE POST #4 TO SEE HOW TO FIX IT
Hi I am getting some Java errors while compiling CrDroid rom for samsung s3 i747. Compiling is fine until It arrives at Download manager. I retried 5 times compiling this rom but had no success This is the first time building a rom.
I am using open jdk 1.8 and I have 8 GB RAM on my VM With Ubuntu Bionic Beaver
Code:
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadStorageProvider.java:326: The method setFilterByString(String) is undefined for the type DownloadManager.Query
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:150: COLUMN_DESTINATION cannot be resolved or is not a field
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:155: COLUMN_FILE_NAME_HINT cannot be resolved or is not a field
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1133: The method update(SQLiteDatabase, ContentValues, String, String[]) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1237: The method setStrictColumns(boolean) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1238: The method setStrictGrammar(boolean) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1316: The method delete(SQLiteDatabase, String, String[]) is undefined for the type SQLiteQueryBuilder
At the end, I get the Ninja Wrapper error 1.
I tried ninja wrapper disable but had no success.
EDIT: SEE THE FIX BELOW
alexenferman said:
Hi I am getting some Java errors while compiling CrDroid rom for samsung s3 i747. Compiling is fine until It arrives at Download manager. I retried 5 times compiling this rom but had no success This is the first time building a rom.
I am using open jdk 1.8 and I have 8 GB RAM on my VM With Ubuntu Bionic Beaver
Code:
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadStorageProvider.java:326: The method setFilterByString(String) is undefined for the type DownloadManager.Query
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:150: COLUMN_DESTINATION cannot be resolved or is not a field
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:155: COLUMN_FILE_NAME_HINT cannot be resolved or is not a field
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1133: The method update(SQLiteDatabase, ContentValues, String, String[]) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1237: The method setStrictColumns(boolean) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1238: The method setStrictGrammar(boolean) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1316: The method delete(SQLiteDatabase, String, String[]) is undefined for the type SQLiteQueryBuilder
At the end, I get the Ninja Wrapper error 1.
I tried ninja wrapper disable but had no success.
Click to expand...
Click to collapse
EDIT: I SKIPPED theese errors! I compiled the rom and it will be uploaded soon!
alexenferman said:
EDIT: I SKIPPED theese errors! I compiled the rom and it will be uploaded soon!
Click to expand...
Click to collapse
Hmmm, how did you do it, I have same error myself.
HOW TO FIX:
The fact is if you try to compile a nougat rom you might come across this error.
Looks like someone messed up the source code of the package Download Provider and Managed Provisionning from github.
My first solution was to skip the packages but in my rom the download manager would not work which would make the rom unusable for internet purposes.
My second solution and the best solution is to revert a few commits back (Downgrading the package sourcecode from Github)
You can download each of the packages (Older versions which work) Theese are for cm-14.1
Managed Provisionning: https://github.com/LineageOS/androi...tree/01eebf922cb5a6cef07e11631c9d0b82100509a3
Download Provider: https://github.com/LineageOS/androi...tree/21b5b3c3edd6dde44098aac75daa1f55d5a68f77
Download both zip files and extract them
Then open Terminal and type sudo nautilus
Go to your rom folder > Packages > Apps > ManagedProvisioning
and replace the managed provisioning folder contents with the folder contents that you downloaded called Managed Provisionning
Do the same thing with Download Provider
Go to your rom folder > Packages > Providers > DownloadProvider
and replace the DownloadProvider folder contents with the folder contents that you downloaded called DownloadProvider
Then you can compile peacefully your rom without any error!
If you don't understand something make sure to tell me!
Thank you. . I've got this error too while building AICP (also lineage-based) nougat
I've got this error while building AICP, dotOS and Ressurection Remix and guess I'll face this error with any custom rom other than lineage.

Trying to build lineageos 18.1 for one plus one

Hi guys!
So I was following this https://wiki.lineageos.org/devices/bacon/build wiki to build a lineageos 18.1 ROM for my one plus one.
Unfortunately, when I get to the step for "breakfast bacon", I get the following errors.
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/target/product/product_launched_with_k.mk:2: error: _nic.PRODUCTS.[[device/oneplus/bacon/lineage_bacon.mk]]: "device/oppo/msm8974-common/msm8974.mk" does not exist.
22:35:04 dumpvars failed with: exit status 1
Device bacon not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_oneplus_bacon
Default revision: lineage-18.1
Checking branch info
Checking if device/oneplus/bacon is fetched from android_device_oneplus_bacon
LineageOS/android_device_oneplus_bacon already fetched to device/oneplus/bacon
Syncing repository to retrieve project.
sh: 1: repo: not found
Repository synced!
Looking for dependencies in device/oneplus/bacon
Looking for dependencies in device/oppo/msm8974-common
device/oppo/msm8974-common has no additional dependencies.
Looking for dependencies in kernel/oppo/msm8974
kernel/oppo/msm8974 has no additional dependencies.
Done
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/target/product/product_launched_with_k.mk:2: error: _nic.PRODUCTS.[[device/oneplus/bacon/lineage_bacon.mk]]: "device/oppo/msm8974-common/msm8974.mk" does not exist.
22:35:05 dumpvars failed with: exit status 1
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/target/product/product_launched_with_k.mk:2: error: _nic.PRODUCTS.[[device/oneplus/bacon/lineage_bacon.mk]]: "device/oppo/msm8974-common/msm8974.mk" does not exist.
22:35:06 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_bacon'
** Do you have the right repo manifest?
Click to expand...
Click to collapse
What am I doing wrong?
p.s. if I do a "breakfast d855", then I get no error.
My utter apologies for being so blind.
It is of course clearly written on that wiki that some devices would fail upon "breakfast" command being called due to the missing vendor files.
Hence one should first run "extract-files.sh" in the device specific folder. And indeed afterwards the breakfast command succeeds for "bacon".
I could be given a little margin for being a noob and also that my other device "d855" does not need extract-files.sh before breakfast.
Also what confused me yesterday was, that the paths contained oppo when infact I was building for bacon. I was sure something is wrong upstream.
My sincere apologies again for starting on xda with such a useless post.

Categories

Resources