LineageOS 14.1 - Hammerhead Issue - Nexus 5 Q&A, Help & Troubleshooting

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 ... ]

Related

[Q] Error in building CM12.0 for Xperia-L

I tried to builld CM12 for Xperia-L. After issuing 'breakfast taoshan', the process apparently got stuck at 66%. I aborted by pressing Ctrl+C. When I am reissuing the command, it's throwing error. Can anybody please help me out?
Code:
[email protected]:~/CM12/build$ breakfast taoshan
ls: cannot access device/*/taoshan/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_taoshan". Stop.
Device taoshan not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_taoshan
Default revision: cm-12.0
Checking branch info
Adding dependency: CyanogenMod/android_device_sony_taoshan -> device/sony/taoshan
Using default branch for android_device_sony_taoshan
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_sony_taoshan
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Adding dependencies to manifest
Adding dependency: CyanogenMod/android_device_sony_msm8960-common -> device/sony/msm8960-common
Using default branch for android_device_sony_msm8960-common
Adding dependency: CyanogenMod/android_kernel_sony_msm8930 -> kernel/sony/msm8930
Using default branch for android_kernel_sony_msm8930
Adding dependency: CyanogenMod/android_hardware_qcom_fm -> hardware/qcom/fm
Using default branch for android_hardware_qcom_fm
Syncing dependencies
Fetching project CyanogenMod/android_kernel_sony_msm8930
Fetching project CyanogenMod/android_hardware_qcom_fm
Fetching project CyanogenMod/android_device_sony_msm8960-common
Fetching projects: 66% (2/3) ^C
^C^C^C^C^C^C^C^C
error: Cannot fetch CyanogenMod/android_kernel_sony_msm8930
aborted by user
Looking for dependencies
Dependencies file not found, bailing out.
Looking for dependencies
Dependencies file not found, bailing out.
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/taoshan/cm.mk]]: "device/sony/common/resources.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_taoshan'
** Do you have the right repo manifest?
=======================================================
[email protected]:~/CM12/build$
[email protected]:~/CM12/build$ breakfast taoshan
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/taoshan/cm.mk]]: "device/sony/common/resources.mk" does not exist. Stop.
Device taoshan not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_taoshan
Default revision: cm-12.0
Checking branch info
CyanogenMod/android_device_sony_taoshan already exists
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_sony_taoshan
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/taoshan/cm.mk]]: "device/sony/common/resources.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_taoshan'
** Do you have the right repo manifest?
clone this paste RAW Paste Data
Pastebin.com Tools & Applications
iPhone/iPad Windows Firefox Chrome WebOS Android Mac Opera Click.to UNIX WinPhone
create new paste | api | trends | syntax languages | faq | tools | privacy | cookies | contact | dmca | advertise on pastebin | go pro
Follow us: pastebin on facebook | pastebin on twitter | pastebin in the news
Dedicated Server Hosting by Steadfast
Pastebin v3.11 rendered in: 0.008 seconds
Holmes.Sherlock said:
I tried to builld CM12 for Xperia-L. After issuing 'breakfast taoshan', the process apparently got stuck at 66%. I aborted by pressing Ctrl+C. When I am reissuing the command, it's throwing error. Can anybody please help me out?
Click to expand...
Click to collapse
I'm getting the same error, seems like repo couldn't find the device kernel from cyanogenmod's github so I added a local_manifest extracted from android_device_sony_taoshan/blob/cm-12.0/cm.dependencies/ but to no avail. Still getting the error as below.
Code:
[email protected]:~/android/system$ breakfast taoshan
including vendor/cm/vendorsetup.sh
build/core/combo/select.mk:65: build/core/combo/HOST_linux-.mk: No such file or directory
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
build/core/clang/config.mk:76: build/core/clang/HOST_.mk: No such file or directory
make: *** No rule to make target `build/core/clang/HOST_.mk'. Stop.
Device taoshan not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_taoshan
Default revision: cm-12.0
Checking branch info
CyanogenMod/android_device_sony_taoshan already exists
Syncing repository to retrieve project.
fatal: error parsing manifest /home/manu/android/system/.repo/local_manifests/myoldphone.xml: XML or text declaration not at start of entity: line 3, column 0
Repository synced!
Looking for dependencies
Done
build/core/combo/select.mk:65: build/core/combo/HOST_linux-.mk: No such file or directory
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
build/core/clang/config.mk:76: build/core/clang/HOST_.mk: No such file or directory
make: *** No rule to make target `build/core/clang/HOST_.mk'. Stop.
** Don't have a product spec for: 'cm_taoshan'
** Do you have the right repo manifest?
[email protected]:~/android/system$
Any idea how to get past this issue?
manubhargav said:
I'm getting the same error, seems like repo couldn't find the device kernel from cyanogenmod's github so I added a local_manifest extracted from android_device_sony_taoshan/blob/cm-12.0/cm.dependencies/ but to no avail. Still getting the error as below.
Code:
[email protected]:~/android/system$ breakfast taoshan
including vendor/cm/vendorsetup.sh
build/core/combo/select.mk:65: build/core/combo/HOST_linux-.mk: No such file or directory
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
build/core/clang/config.mk:76: build/core/clang/HOST_.mk: No such file or directory
make: *** No rule to make target `build/core/clang/HOST_.mk'. Stop.
Device taoshan not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_taoshan
Default revision: cm-12.0
Checking branch info
CyanogenMod/android_device_sony_taoshan already exists
Syncing repository to retrieve project.
fatal: error parsing manifest /home/manu/android/system/.repo/local_manifests/myoldphone.xml: XML or text declaration not at start of entity: line 3, column 0
Repository synced!
Looking for dependencies
Done
build/core/combo/select.mk:65: build/core/combo/HOST_linux-.mk: No such file or directory
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
build/core/clang/config.mk:76: build/core/clang/HOST_.mk: No such file or directory
make: *** No rule to make target `build/core/clang/HOST_.mk'. Stop.
** Don't have a product spec for: 'cm_taoshan'
** Do you have the right repo manifest?
[email protected]:~/android/system$
Any idea how to get past this issue?
Click to expand...
Click to collapse
your manifest seems broken.... please make a clean sync (delete complete workingfolder and resync)
SdtBarbarossa said:
your manifest seems broken.... please make a clean sync (delete complete workingfolder and resync)
Click to expand...
Click to collapse
Thank you for your reply, I overlooked some requirements for building from source and I had a 32-bit Ubuntu system which gave me the error
Code:
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
Now switching to 64-bit Ubuntu.

[Q] pac man 5.1 kernel/rom related errors while building

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.?

Error when compile resurection remix 5.8.4

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

Help solving errors on compiling LineageOS 15.1 build for Oppo R7f

So after following multiple guides on xda forums on compiling a rom (that exists in LineageOS/TheMuppets repositories), I've started compiling LOS15.1 builds for oppo r7f.
This is what I did if anyone wants to follow along:
https://forum.xda-developers.com/android/software-hacking/guide-how-to-build-lineageos-15-1-t3750175
The only deviation was made was after step 11 (or 10 i can't remember) after an error, so i changed the repo/project/file it was pointing to ("android_vendor_cm/config/common_full_phone.mk") to the one on lineage-15.1 branch ("android_vendor_lineage/config/common_full_phone.mk")
At brunch, another issue occurred:
Code:
in file included from device/oppo/msm8939-common/init/init_msm8939.cpp:42:system/core/init/util.h:29:10: fatal error: 'selinux/label.h' file not found #include <selinux/label.h>
Additionally:
Code:
make: Leaving directory '/home/user/android/lineage/kernel/oppo/msm8939'
Building DTBs
make: Entering directory '/home/user/android/lineage/kernel/oppo/msm8939'
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
DTC arch/arm/boot/dts/qcom/../msm8939-mtp-15011.dtb
make: Leaving directory '/home/user/android/lineage/kernel/oppo/msm8939'
ninja: build stopped: subcommand failed.
23:17:41 ninja failed with: exit status 1
#### failed to build some targets (13:11:17 (hh:mm:ss)) ####
:angel: Halp anyone?
Aaand lastly,
I shall take no credit for the building of this rom (should it turn out properly) because all code/kernel development are done by the amazing developers of:
https://github.com/LineageOS/android_device_oppo_r7
https://github.com/TheMuppets/proprietary_vendor_oppo
https://github.com/LineageOS

Building a recovery, getting an error with ninja

Hi, I am building Orangefox recovery for sailfish and I am getting an error while building:
Code:
Starting build with ninja
ninja: Entering directory `.'
ninja: warning: phony target '-*-' names itself as an input; ignoring [-w phonycycle=warn]
ninja: error: '/home/collin/scripts/out/target/product/sailfish/obj/SHARED_LIBRARIES/[email protected]_intermediates/export_includes', needed by '/home/collin/scripts/out/target/product/sailfish/obj/EXECUTABLES/recovery_intermediates/import_includes', missing and no known rule to make it
make: *** [build/core/ninja.mk:158: ninja_wrapper] Error 1
Any help is appreciated, thanks.

Categories

Resources