Build error for cm12.1 nightly - ONE Q&A, Help & Troubleshooting

Hi everyone!
I am attempting to build cm 12.1 bacon on my ubuntu 14.04 LTS x64.
I have followed the environment setup instructions: (wiki.cyanogenmod.org/w/Build_for_bacon and source.android.com/source/initializing.html)
I also have exported BUILD_HOST_32bit=1
When building, I am confronted with the following error:
Code:
make: *** No rule to make target `libqmi', needed by `/p/cyanogen/android/system/out/target/product/bacon/obj/EXECUTABLES/wpa_supplicant_intermediates/config.o'. Stop.
make: *** Waiting for unfinished jobs....
I have not found any help regarding this issue.
Any ideas? Thanks!

Ok didnt see I had to add an xml file to make repo download more proprietary files. It's not in the official tutorial
It works now

I have the same problem building CM 12.1 for bacon. How did you fix. I'm very new to building

NeXXus325 said:
I have the same problem building CM 12.1 for bacon. How did you fix. I'm very new to building
Click to expand...
Click to collapse
Just follow the normal procedure wiki.cyanogenmod.org/w/Build_for_bacon and after the first repo sync do:
mkdir .repo/local_manifests
nano .repo/local_manifests/local_manifests.xml
Paste this:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_oneplus_bacon" path="device/oneplus/bacon" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_oppo_msm8974-common" path="device/oppo/msm8974-common" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_oppo_common" path="device/oppo/common" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_kernel_oneplus_msm8974" path="kernel/oneplus/msm8974" remote="github" revision="cm-12.1" />
<project name="TheMuppets/proprietary_vendor_oppo" path="vendor/oppo" remote="github" revision="cm-12.1" />
<project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" revision="cm-12.1" />
</manifest>
then do another repo sync and keep on with the instructions. Worked for me

albanderuaz said:
Just follow the normal procedure wiki.cyanogenmod.org/w/Build_for_bacon and after the first repo sync do:
mkdir .repo/local_manifests
nano .repo/local_manifests/local_manifests.xml
Paste this:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_oneplus_bacon" path="device/oneplus/bacon" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_oppo_msm8974-common" path="device/oppo/msm8974-common" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_oppo_common" path="device/oppo/common" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_kernel_oneplus_msm8974" path="kernel/oneplus/msm8974" remote="github" revision="cm-12.1" />
<project name="TheMuppets/proprietary_vendor_oppo" path="vendor/oppo" remote="github" revision="cm-12.1" />
<project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" revision="cm-12.1" />
</manifest>
then do another repo sync and keep on with the instructions. Worked for me
Click to expand...
Click to collapse
I'll try that. Thank you
Sent from my A0001 using Tapatalk

I have same error... not able to find a fix or why I got this error Commands I did:
mkdir cm12.1caf; cd cm12.1caf
repo init -u https://github.com/temasek/android.git -b cm-12.1
repo sync
>> created local_manifest:
mkdir .repo/local_manifests
vi .repo/local_manifests/local_manifest
I used @katinatez manifest
LANG=C && . build/envsetup.sh && time brunch bacon
make: *** No rule to make target 'libqmi', needed by '/home/djh/cm12.1caf/out/target/product/bacon/obj/EXECUTABLES/wpa_supplicant_intermediates/config.o'. Stop.
make: *** Waiting for unfinished jobs....
target thumb C: wpa_cli <= external/wpa_supplicant_8/wpa_supplicant/src/utils/edit.c
make: Leaving directory '/home/djh/cm12.1caf'
#### make failed to build some targets (13:12 (mm:ss)) ####
Click to expand...
Click to collapse

Related

[Q] Boot Problem

Hello mates
I make a cm11 for s2vep, compilation works fine about 6 hours, build with linaro 4.7 toolchains without any stopping and error and get a flashable about 220mb, flash is ok on cwm 6.0.4.5 btw the problem is on boot, stuck a few seconds then soft keys light, my phone go in standby and activate it by press on power on but i still can't get into desktop, what depend from? because power on, home, and volume button are working but can't access into welcome wizard....
If someone can help me to solve this problem maybe we can get ubuntu touch too using phablet-4.4.2 that i'll apply same configuration files to make it working ..
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/" name="gh" />
<project name="SamsungBCM-cyanogenmod/android_device_samsung_s2vep" path="device/samsung/s2vep" remote="gh" revision="cm-11.0" />
<project name="SamsungBCM-cyanogenmod/android_device_samsung_bcm-common" path="device/samsung/s2vep-common" remote="gh" revision="cm-11.0" />
<project name="SamsungBCM-Cyanogenmod/android_kernel_samsung_galaxys2plus-common" path="kernel/samsung/galaxys2plus-common" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_display-caf-new" path="hardware/qcom/display-caf-new" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_media-caf-new" path="hardware/qcom/media-caf-new" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" />
</manifest>
haky 86 said:
Hello mates
I make a cm11 for s2vep, compilation works fine about 6 hours, build with linaro 4.7 toolchains without any stopping and error and get a flashable about 220mb, flash is ok on cwm 6.0.4.5 btw the problem is on boot, stuck a few seconds then soft keys light, my phone go in standby and activate it by press on power on but i still can't get into desktop, what depend from? because power on, home, and volume button are working but can't access into welcome wizard....
If someone can help me to solve this problem maybe we can get ubuntu touch too using phablet-4.4.2 that i'll apply same configuration files to make it working ..
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/" name="gh" />
<project name="SamsungBCM-cyanogenmod/android_device_samsung_s2vep" path="device/samsung/s2vep" remote="gh" revision="cm-11.0" />
<project name="SamsungBCM-cyanogenmod/android_device_samsung_bcm-common" path="device/samsung/s2vep-common" remote="gh" revision="cm-11.0" />
<project name="SamsungBCM-Cyanogenmod/android_kernel_samsung_galaxys2plus-common" path="kernel/samsung/galaxys2plus-common" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_display-caf-new" path="hardware/qcom/display-caf-new" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_media-caf-new" path="hardware/qcom/media-caf-new" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" />
</manifest>
Click to expand...
Click to collapse
Since when our hardware is built by qualcomm?(caf-sources)
So maybe the cause of problem?if yes i'll edit it and rebuild again, and what kind of source should be used for s2vep? Thanks @CoolDevelopment
Sent from my GT-I9105P using XDA Free mobile app

Build Error ( Euphoria-OS )

Hie guys can anyone please help I folked all The CM Repos to build for Z3 and when i compile i get the below error
What Am I missing ?
This the folder where the error comes from
https://github.com/EuphoriaOS/android_device_sony_msm8974-common
Code:
Install: /home/blaquesoul/android/eos/out/target/product/z3/system/xbin/memtrack_share
target Executable: rawbu (/home/blaquesoul/android/eos/out/target/product/z3/obj/EXECUTABLES/rawbu_intermediates/LINKED/rawbu)
target Executable: showmap (/home/blaquesoul/android/eos/out/target/product/z3/obj/EXECUTABLES/showmap_intermediates/LINKED/showmap)
target Strip: tcpdump (/home/blaquesoul/android/eos/out/target/product/z3/obj/EXECUTABLES/tcpdump_intermediates/tcpdump)
Target boot image: /home/blaquesoul/android/eos/out/target/product/z3/boot.img
cp: missing destination file operand after '/home/blaquesoul/android/eos/out/target/product/z3/combinedroot/sbin/'
Try 'cp --help' for more information.
device/sony/msm8974-common/boot/custombootimg.mk:17: recipe for target '/home/blaquesoul/android/eos/out/target/product/z3/boot.img' failed
make: *** [/home/blaquesoul/android/eos/out/target/product/z3/boot.img] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (49:14 (mm:ss)) ####
Sony Z3 Build Error
@Alx31 I have tried Using the CM Repos and I still get the same error below is the error and the miniutes where it stopped an my loacal manifest
Error
Code:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
target Strip: rawbu (/home/blaquesoul/android/eos/out/target/product/z3/obj/EXECUTABLES/rawbu_intermediates/rawbu)
target Strip: showmap (/home/blaquesoul/android/eos/out/target/product/z3/obj/EXECUTABLES/showmap_intermediates/showmap)
Install: /home/blaquesoul/android/eos/out/target/product/z3/system/xbin/tcpdump
Target boot image: /home/blaquesoul/android/eos/out/target/product/z3/boot.img
cp: missing destination file operand after '/home/blaquesoul/android/eos/out/target/product/z3/combinedroot/sbin/'
Try 'cp --help' for more information.
device/sony/msm8974-common/boot/custombootimg.mk:17: recipe for target '/home/blaquesoul/android/eos/out/target/product/z3/boot.img' failed
make: *** [/home/blaquesoul/android/eos/out/target/product/z3/boot.img] Error 1
make: *** Waiting for unfinished jobs....
Note: frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/util/SystemUiPreviewGenerator.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
#### make failed to build some targets (48:47 (mm:ss)) ####
real 48m46.454s
user 37m59.840s
sys 39m41.106s
[[email protected] eos]$
My Local Manifest
<?xml version="1.0" encoding="UTF-8"?>
<!--Please do not manually edit this file-->
<manifest>
<project name="CyanogenMod/android_device_sony_z3" path="device/sony/z3" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_kernel_sony_msm8974" path="kernel/sony/msm8974" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_sony_common" path="device/sony/common" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_sony_shinano-common" path="device/sony/shinano-common" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_sony_msm8974-common" path="device/sony/msm8974-common" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_sony_DASH" path="hardware/sony/DASH" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_sony_thermanager" path="hardware/sony/thermanager" remote="github" revision="cm-12.1" />
<project name="EuphoriaOS/proprietary_vendor_sony" path="vendor/sony" remote="github" revision="lollipop-5.1" />
</manifest>
Click to expand...
Click to collapse
Fixed i guess?
please show, at least others can use to it

[ROM][5.1.1][K920]Resurrection-Remix-LP-v5.5.9 for Lenovo Vibe Z2 Pro ROW

Unofficial build of CyanogenMod 12.1 for international Lenovo Vibe Z2 Pro ROW (K920)
DOWNLOAD
https://drive.google.com/file/d/0B9HNYIRzOAs4NExOOWkyRXB4d2M/view?usp=sharing
Google+ community
known bugs:
- HDR in Camera app not working
- flip cover not supported yet
- your TWRP may be replaced with Cyanogen recovery, DO NOT USE CYANOGEN RECOVERY to install anything for now! just reinstall TWRP from running CyanogenMod or in fastboot mode
- i had to "Format DATA" in recovery to be able to install this. it will delete everything from your phone so make a backup first if it's needed
kernel source: https://github.com/frantisheq/androi...lenovo_msm8974
local_manifest.xml
HTML:
Quote:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="frantisheq/android_device_lenovo_kingdom_row" path="device/lenovo/kingdom_row" remote="github" revision="cyanogenmod-cm-12.1" />
<project name="frantisheq/android_kernel_lenovo_msm8974" path="kernel/lenovo/msm8974" remote="github" revision="cm-12.1" />
<project name="frantisheq/proprietary_vendor_lenovo" path="vendor/lenovo" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="github" revision="cm-12.1" /></manifest>
[email protected]
What new in this rom?

WiFi broken: "wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT"

So, I've been trying to build a variant of Dirty Unicorns (Nougat) for the OnePlus One, and I can see WiFi networks, but this (pastebin) happens when I try to connect to any of them, after authenticating (this is not caused by any sort of saved passwords, etc. - this is on the Google account setup screen, before I even sign in). This is the manifest I ran "repo init" from, and my local manifest is here:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="https://github.com/" name="gb" />
<remote fetch="https://gitlab.com/" name="gl" />
<remote name = "bb" fetch = "https://bitbucket.org/" />
<project name="amardeep434/du_device" path="device/oneplus/bacon" remote="gl" revision="n-caf" />
<project name="amardeep434/nkernel" path="kernel/oneplus/msm8974" remote="gl" revision="nougat" />
<project name="AOSP-bacon/proprietary_vendor_oneplus" path="vendor/oneplus" revision="nougat" remote="gb" />
<project name="Shreeesha/android_device_oppo_common" path="device/oppo/common" revision="n-caf" remote="gb" />
<!-- <project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" revision="cm-14.1" remote="gb" /> -->
<project name="android_external_ant-wireless_ant_service" path="external/ant-wireless/ant_service" revision="n-caf" remote="du" />
<project name="android_external_ant-wireless_ant_native" path="external/ant-wireless/ant_native" revision="n-caf" remote="du" />
<project name="android_external_ant-wireless_antradio-library" path="external/ant-wireless/antradio-library" revision="n-caf" remote="du" />
<project name="CyanogenMod/android_external_connectivity" path="external/connectivity" revision="cm-14.0" remote="gb" />
<!--<project name="DirtyUnicorns/android_vendor_qcom_opensource_dataservices" path="vendor/qcom/opensource/dataservices" revision="n-caf" remote="gb" /> -->
<remove-project name="android_hardware_qcom_wlan" />
<project name="CyanogenMod/android_hardware_qcom_wlan" path="hardware/qcom/wlan" revision="cm-14.0" remote="gb" />
<project path="hardware/qcom/wlan-caf" name="CyanogenMod/android_hardware_qcom_wlan" groups="qcom_wlan" revision="cm-14.0-caf" remote="gb" />
<remove-project name="android_system_core" />
<project name="amardeep434/du_system_core" path="system/core" revision="n" remote="gl" />
<remove-project name="android_frameworks_base" />
<project name="amardeep434/du_frameworks_base" path="frameworks/base" revision="n" remote="gl" />
<remove-project name="android_frameworks_av" />
<project name="amardeep434/du_frameworks_av1" path="frameworks/av" revision="n-caf" remote="gl" />
<project name="Shreeesha/android_system_qcom" path="system/qcom" revision="n-caf" remote="gb" />
<project path="hardware/qcom/display-caf/msm8974" name="CyanogenMod/android_hardware_qcom_display" groups="pdk,qcom,qcom_display" revision="cm-14.0-caf-8974" remote="gb" />
<project path="hardware/qcom/audio-caf/msm8974" name="CyanogenMod/android_hardware_qcom_audio" groups="pdk,qcom,qcom_audio" revision="cm-14.0-caf-8974" remote="gb" />
<project path="hardware/qcom/media-caf/msm8974" name="CyanogenMod/android_hardware_qcom_media" groups="pdk,qcom,qcom_media" revision="cm-14.0-caf-8974" remote="gb" />
<project path="hardware/qcom/bt-caf" name="CyanogenMod/android_hardware_qcom_bt" groups="qcom" revision="cm-14.0-caf" remote="gb" />
<remove-project name="android_system_bt" />
<project name="Shreeesha/system_bt" path="system/bt" revision="n-caf" remote="gb" />
<remove-project name="android_system_sepolicy" />
<project name="amardeep434/du_system_sepolicy" path="system/sepolicy" revision="n" remote="gl" />
<remove-project name="android_build" />
<project name="amardeep434/du_build" path="build" revision="n-caf" remote="gl" >
<copyfile src="core/root.mk" dest="Makefile" />
</project>
<remove-project name="android_frameworks_native" />
<project name="amardeep434/du_frameworks_native" path="frameworks/native" revision="n-caf" remote="gl" />
<remove-project name="android_packages_apps_Settings" />
<project name="amardeep434/du_packages_apps_Settings-1" path="packages/apps/Settings" revision="n" remote="gl" />
<project path="packages/apps/masquerade" name="TeamSubstratum/masquerade" remote="gb" revision="master" />
</manifest>
Other observations:
This does not seem to be caused by the ROM/build, because someone else is also running the same build on their OnePlus One elsewhere and has WiFi connectivity without any issues.
This does not seem to be caused by a hardware defect, because I can load on other ROMs (Dirty Unicorns marshmallow, CM14.1, PureNexus nougat) and WiFi works perfectly fine.
This does not seem to be caused by the access point/router, as I've tried two different models at home (a NETGEAR and an Asus) as well as a public wifi hotspot without authentication.
I've tried swapping out my sources for hardware/qcom/wlan(-caf) - tried sources from DU, CM, AOSP, and Slim - issue remains unresolved
I've tried swapping out my sources for external/wpa_supplicant - tried sources from DU and AOSP - issue remains unresolved
Anyone have any ideas? Thanks.
Check your WCNSS_qcom_cfg.ini in the device tree and sync it with CM's else try importing Sultan's Wifi stack(kernel). Better alternative is that you just switch to his kernel. Yeah the camera will be broken but atleast you can narrow the possibilities. And if none of this works, try updating prima to LA.BF.1.1.3_rb1.13 (https://source.codeaurora.org/quic/la/kernel/msm/log/?h=LA.BF.1.1.3_rb1.13).
I've replaced the prima in my kernel with the latest from sultan's (LA.BF.1.1.3_rb1.13) - simply deleted the entire prima folder in the source tree and copied his in. WiFi now works flawlessly. Thanks for the tip!

Building custom Lineage rom [Guide needed]

Hey guys, so at its root, it's a common question that has many answers and posts already, but I'm still kinda lost on how one would build for a device that you can't just run "breakfast" on, like our Honor8.
There are things like:
https://forum.xda-developers.com/showthread.php?t=2320007
https://cohaolain.wordpress.com/2017/01/07/building-lineageos-14-1-with-specifics-for-the-oneplus-3/
and many many more that explain how to get the android base repo setup, and that's as far as I am now. I've already done repo sync for android, but now it's down to the device specifics.
https://forum.xda-developers.com/honor-8/development/rom-t3500171
and
https://forum.xda-developers.com/honor-8/development/rom-t3521731
have the sources for Huawei-Dev for the device tree, but where do you tie that into everything?
I had a problem with 14.1, so I had to go with 14.0, so I KNOW there will be issues in the end result. Since I'm going to be mixing 14.0 and 14.1 together. I'm not too worried about that, I'm just trying to learn how the overall compilation actually works or atleast have the guide in mind for how
In that WP link I provided, they mentioned for OnePlus to do a "roomservice.xml" and then a subsequent repo sync. So my guess would be that I my setup would be along the following lines:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Huawei-Dev/android_vendor_huawei_frd" path="vendor/honor8" remote="github" revision="7.1.1" />
<project name="Huawei-Dev/android_device_huawei_frd" path="device/honor8/honor8" remote="github" revision="cm-14.1" />
<project name="Huawei-Dev/android_kernel_huawei_frd" path="kernel/honor8/kirin950" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_vendor_nxp-nfc_opensource_Nfc" path="vendor/nxp-nfc/opensource/Nfc" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_vendor_nxp-nfc_opensource_frameworks" path="vendor/nxp-nfc/opensource/frameworks" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_vendor_nxp-nfc_opensource_libnfc-n:ci" path="vendor/nxp-nfc/opensource/libnfc-nci" remote="github" revision="cm-14.1" />
</manifest>
After that would come another repo sync to get those paths downloaded, then I guess I do lunch and brunch?
Okay, so i've ended with this
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Huawei-Dev/android_vendor_huawei_frd" path="vendor/huawei" remote="github" revision="7.1.1" />
<project name="Huawei-Dev/android_device_huawei_frd" path="device/huawei/frd" remote="github" revision="cm-14.1" />
<project name="Huawei-Dev/android_kernel_huawei_frd" path="kernel/huawei/kirin950" remote="github" revision="7.1.1" />
<project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" revision="cm-14.1" />
</manifest>
for the roomservice.xml
now i went ahead and did "breakfast frd" and then did "mka". But I get the following:
Checking build tools versions...
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
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/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
./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/tim/CM14.1/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
build/core/base_rules.mk:183: *** system/core/rootdir: MODULE.TARGET.ETC.init.rc already defined by device/huawei/frd/rootdir.
build/core/ninja.mk:166: recipe for target '/home/tim/CM14.1/android/system/out/build-cm_frd.ninja' failed
make: *** [/home/tim/CM14.1/android/system/out/build-cm_frd.ninja] Error 1
make: Leaving directory '/home/tim/CM14.1/android/system'
#### make failed to build some targets (19 seconds) ####
Hate to bump, but does anyone have any ideas or input on what i may be doing wrong?
uaktags said:
Hate to bump, but does anyone have any ideas or input on what i may be doing wrong?
Click to expand...
Click to collapse
I'm not building for our Honor 8, but maybe the following will help.
1) I've never had much luck with ninja. The following is what I use to disable ninja and build for the OnePlus One.
cd android/system
repo sync
. build/envsetup.sh
export USE_NINJA=false
./prebuilts/sdk/tools/jack-admin kill-server
export ANDROID_JACK_VM_ARGS="-Xmx5g -Dfile.encoding=UTF-8 -XX:+TieredCompilation"
JACK_SERVER_VM_ARGUMENTS="-Xmx5g -Dfile.encoding=UTF-8 -XX:+TieredCompilation" ./prebuilts/sdk/tools/jack-admin start-server
brunch bacon
2) I have not explored the github for Huawei stuff, but again, here is the roomservice.xml that works for the OnePlus One. Maybe you can compare this with yours for the Honor8 and determine if some resources are missing.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="LineageOS/android_device_oneplus_bacon" path="device/oneplus/bacon" remote="github" />
<project name="LineageOS/android_device_oppo_common" path="device/oppo/common" remote="github" />
<project name="LineageOS/android_kernel_oneplus_msm8974" path="kernel/oneplus/msm8974" remote="github" />
<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
</manifest>
take a look at cm.dependencies (https://github.com/Huawei-Dev/android_device_huawei_frd/blob/7.1.1/cm.dependencies) and add those three to your room service file as well. I haven't tried to build with the cm14 trees, but I do know the cm13 trees were in a buildable state two months ago.
anks329 said:
take a look at cm.dependencies (https://github.com/Huawei-Dev/android_device_huawei_frd/blob/7.1.1/cm.dependencies) and add those three to your room service file as well. I haven't tried to build with the cm14 trees, but I do know the cm13 trees were in a buildable state two months ago.
Click to expand...
Click to collapse
Thanks, I'll take a look and see if I can apply your two posts.

Categories

Resources