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
Related
ello,
I am trying to build cm11 using https://github.com/CyanogenMod/android_device_samsung_p3100/tree/cm-11.0
I am running ubuntu 13.10 64 bit server edition and created the folders as below,
[email protected]:~$ tree
.
|-- android
| `-- system
`-- bin
`-- repo
I cd to ~/android/system and I am trying to initiate repo using below command,
Code:
repo init -u git://github.com/CyanogenMod/android_device_samsung_p3100.git -b cm-11.0
getting below error,
Code:
[email protected]:~/android/system$ repo init -u git://github.com/CyanogenMod/android_device_samsung_p3100.git -b cm-11.0
fatal: manifest 'default.xml' not available
fatal: manifest default.xml not found
[email protected]:~/android/system$
Can anyone assist?
Thanks,
Simon Mandy
Wrong repo init command. For your references:
1. Outdated but still useful how to build CyanogenMod for P3100: http://wiki.cyanogenmod.org/w/Build_for_p3100
2. @gr8nole 's personal notes how to build CyanogenMod for Tab 3 8.0: http://forum.xda-developers.com/showpost.php?p=49751306&postcount=578
Use the wiki @ketut.kumajaya linked, i used it when i started compileing
for CM 11 you need to run
Code:
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
(wiki needs an update )
After you have synced CM's repo (this will take some time ) you need to create "local_manifest.xml" inside the ".repo" folder (hidden folder, find it "~/android/system/.repo") to sync the vendor-blobs too.
You need this inside:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-11.0" />
</manifest>
if you run "breakfast p3100" this should download all needed repos to build CM.
If not you can use this in your local_manifest.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_p3110" path="device/samsung/p3110" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_device_samsung_p3100" path="device/samsung/p3100" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_device_samsung_p5110" path="device/samsung/p5110" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_device_samsung_p5100" path="device/samsung/p5100" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_kernel_samsung_espresso10" path="kernel/samsung/espresso10" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_device_samsung_omap4-common" path="device/samsung/omap4-common" remote="github" revision="cm-11.0" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-11.0" />
</manifest>
Thank you all for helping me out. Now I initated the repo from cm11 folder using below command,
Code:
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
But my repo sync get errored as below, (Only the last parts included here. It always end at the same place. I ran so many time)
Code:
Fetching projects: 46% (205/444) Fetching project CyanogenMod/android_external_libnfc-nxp
Fetching project platform/external/marisa-trie
Fetching project platform/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.7
Fetching project CyanogenMod/android_system_vold
Fetching project CyanogenMod/android_external_jmdns
Fetching projects: 47% (209/444) Fetching project device/generic/mini-emulator-armv7-a-neon
Fetching project platform/frameworks/uiautomator
Fetching project platform/external/smack
Fetching project CyanogenMod/android_device_generic_mips
Fetching project CyanogenMod/android_vendor_cm
Fetching projects: 48% (214/444) Fetching project CyanogenMod/android_external_apache-http
Fetching project CyanogenMod/android_packages_providers_ApplicationsProvider
Fetching project CyanogenMod/android_hardware_qcom_audio
Fetching project CyanogenMod/android_hardware_broadcom_wlan
error: Cannot fetch CyanogenMod/android_hardware_qcom_camera
Fetching project CyanogenMod/android_external_zxing
Fetching projects: 49% (218/444)
error: Exited sync due to fetch errors
[email protected]:~/cm11$
Please help me on how to proceed.
delete the folder and try it again on a new created folder
Android-Andi said:
delete the folder and try it again on a new created folder
Click to expand...
Click to collapse
Did you mean delete cm11 folder (where it had already downloaded some 6 GB data) and create another cm11 and do repo init and do repo sync again?
Thanks,
Simon Mandy
if nothing else worked, yes.
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
Hi, I want to build a minimal ROM for my LG P990. It will be used as a remote control only, so I don't need telephony and bluetooth.
Here's what my local_manifest.xml looks like so far:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="aosp"
fetch="https://android.googlesource.com"
review="android-review.googlesource.com" />
<remote name="github"
fetch=".."
review="review.cyanogenmod.org" />
<remote name="private"
fetch="ssh://[email protected]" />
<default revision="refs/heads/cm-10.2"
remote="github"
sync-c="true"
sync-j="4" />
<remove-project name="CyanogenMod/android_external_Focal" /> -->
<remove-project name="CyanogenMod/android_external_stressapptest" />
<remove-project name="CyanogenMod/android_external_svox" />
<remove-project name="CyanogenMod/android_external_tagsoup" />
<remove-project name="CyanogenMod/android_frameworks_opt_telephony" />
<remove-project name="CyanogenMod/android_packages_apps_Apollo" />
<remove-project name="CyanogenMod/android_packages_apps_CellBroadcastReceiver" />
<remove-project name="CyanogenMod/android_packages_apps_CMUpdater" />
<remove-project name="CyanogenMod/android_packages_apps_Focal" />
<remove-project name="CyanogenMod/android_packages_apps_Mms" />
<remove-project name="CyanogenMod/android_packages_apps_VoiceDialer" />
<remove-project name="CyanogenMod/android_packages_apps_VoicePlus" />
<remove-project name="CyanogenMod/android_packages_providers_TelephonyProvider" />
<remove-project name="CyanogenMod/android_packages_wallpapers_Galaxy4" />
<remove-project name="CyanogenMod/android_packages_wallpapers_HoloSpiral" />
<remove-project name="CyanogenMod/android_packages_wallpapers_LivePicker" />
<remove-project name="CyanogenMod/android_packages_wallpapers_MagicSmoke" />
<remove-project name="CyanogenMod/android_packages_wallpapers_MusicVisualization" />
<remove-project name="CyanogenMod/android_packages_wallpapers_NoiseField" />
<remove-project name="CyanogenMod/android_packages_wallpapers_PhaseBeam" />
<remove-project name="CyanogenMod/android_frameworks_opt_mms" />
</manifest>
However when compiling I get the following error:
Code:
make: *** No rule to make target `.../work-p990/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar', needed by `.../work-p990/out/target/common/obj/JAVA_LIBRARIES/mms-common_intermediates/classes-full-debug.jar'. Stop.
make: *** Waiting for unfinished jobs....
1.) What project does the target "mms-common_intermediates/classes-full-debug.jar" belong to? There's only 1 project with "mms" in its name and that's "CyanogenMod/android_frameworks_opt_mms", which I have already added to local_manifest.xml.
2.) How can I find out more about the dependencies between the projects? What's safe to remove?
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
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.