some problem with cooking lineage rom - Android

i try to build a LOS 17 unofficially for tissot (xiaomi mi a1) phone
after days that i finding missing vendor files finally i try to brunch the ROM
and after 99% i got this error:
[ 99% 478/479] finishing build rules ...
FAILED:
hardware/interfaces/boot/1.0/default/Android.mk: error: "[email protected] (SHARED_LIBRARIES android-arm64) missing bootctrl.msm8953 (STATIC_LIBRARIES android-arm64)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:961: error: exiting from previous errors.
15:16:22 ckati failed with: exit status 1
and i dont know what should i do
try searching about missing bootctrl.msm8953 but nothing
any help or advice that make it easy to me
thanks a lot for attention or help

babakhad said:
i try to build a LOS 17 unofficially for tissot (xiaomi mi a1) phone
after days that i finding missing vendor files finally i try to brunch the ROM
and after 99% i got this error:
[ 99% 478/479] finishing build rules ...
FAILED:
hardware/interfaces/boot/1.0/default/Android.mk: error: "[email protected] (SHARED_LIBRARIES android-arm64) missing bootctrl.msm8953 (STATIC_LIBRARIES android-arm64)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:961: error: exiting from previous errors.
15:16:22 ckati failed with: exit status 1
and i dont know what should i do
try searching about missing bootctrl.msm8953 but nothing
any help or advice that make it easy to me
thanks a lot for attention or help
Click to expand...
Click to collapse
i pass the problem
and now another one apear :
FAILED: ninja: 'out/target/product/tissot/obj/STATIC_LIBRARIES/bootctrl.msm8953_intermediates/export_includes', needed by 'out/target/product/tissot/obj/SHARED_LIBRARIES/[email protected]_intermediates/import_includes', missing and no known rule to make it
12:43:28 ninja failed with: exit status 1
thanks
and any help will be appreciated

0

Related

Sony - Xperia - SGP611 - Custom Rom build error

Hi there all,
I have been trying for about a week to get a custom android 5 built for a client for their Xperia Z3 tablet i have followed all the instructions on the Sony website and am running Ubuntu 16, after getting the repositories and required sony Vendor files i finally get to the make -j4 command, this starts to run until it hits an error saying that there is no vendor file for scorpion_windy and then breaks the make process, my question is can i download this resource separately, and also if not how can i choose what files the make command uses can i not just skip the scorpion_windy file?
I am a complete noob and any assistance in this regard would be much appreciated!
Thanks in advance
The info on this thread is what I used http://forum.xda-developers.com/z3-...torial-stock-android-marshmallow-6-0-t3409486 It worked fine on LinuxMint KDE.
SGP611 Build errors
Hi There,
I appreciate the input, but i am attempting to compile the aosp archive, once i complete the setup and finally get to make -j4 the process runs along until it gives me an error regarding the file healthd and the specific error of battery monitor error, i have tried to do this in kit kat, jellybean and marshmallow now have all the sony device files followed the instructions here
developer.sonymobile.com/open-devices/aosp-build-instructions/how-to-build-aosp-marshmallow-for-unlocked-xperia-devices/
But no dice im pretty confused and frustrated at this point any thoughts would be very much appreciated
Can you post a copy of the error from the terminal console?
iancornelius said:
Can you post a copy of the error from the terminal console?
Click to expand...
Click to collapse
Hi There,
Thank you for your reply here is the error im getting
...
including ./vendor/sony/yukon-seagull/proprietary/Android.mk ...
including ./vendor/sony/yukon-tianchi/proprietary/Android.mk ...
No private recovery resources for TARGET_DEVICE scorpion_windy
make: *** No rule to make target 'external/openssl/flavor.mk'. Stop.
#### make failed to build some targets (01:02 (mm:ss)) ####
very frustrating when you learning
Ok so i cleaned my entire system and re synced my repos, and got much further in the process follwing the instructions exactly and now i get this error
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target 'out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (01:50:56 (hh:mm:ss)
Any help would be much appreciated!
Monkybomb said:
Ok so i cleaned my entire system and re synced my repos, and got much further in the process follwing the instructions exactly and now i get this error
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target 'out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (01:50:56 (hh:mm:ss)
Any help would be much appreciated!
Click to expand...
Click to collapse
I've recently built Nougat for my device and came across no errors and followed the guide to the single letter. Have you done everything it has asked to? Most importantly the first part regarding openjdk-8 and the other libraries to be installed.

Syntax error when building from android source

First of all, I didn't modified any file so it seems that it was already downloaded with syntax error. I followed the instructions from here and here when preparing the building environment. When I run make -j8 I got the error:
FAILED: out/target/common/obj/all-event-log-tags.txt
/bin/bash -c "build/tools/merge-event-log-tags.py -o out/target/common/obj/all-event-log-tags.txt frameworks/base/core/java/android/app/admin/SecurityLogTags.logtags frameworks/base/core/java/android/content/EventLogTags.logtags frameworks/base/core/java/android/net/EventLogTags.logtags frameworks/base/core/java/android/speech/tts/EventLogTags.logtags frameworks/base/core/java/android/webkit/EventLogTags.logtags frameworks/base/core/java/com/android/internal/logging/EventLogTags.logtags frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/EventLogTags.logtags frameworks/base/packages/SystemUI/src/com/android/systemui/EventLogTags.logtags frameworks/base/services/core/java/com/android/server/EventLogTags.logtags frameworks/base/services/core/java/com/android/server/am/EventLogTags.logtags frameworks/ex/common/java/com/android/common/GoogleLogTags.logtags frameworks/native/services/surfaceflinger/EventLog/EventLogTags.logtags frameworks/opt/telephony/src/java/com/android/internal/telephony/EventLogTags.logtags packages/apps/QuickSearchBox/src/com/android/quicksearchbox/EventLogTags.logtags packages/apps/Settings/src/com/android/settings/EventLogTags.logtags packages/providers/CalendarProvider/src/com/android/providers/calendar/EventLogTags.logtags packages/providers/ContactsProvider/src/com/android/providers/contacts/EventLogTags.logtags packages/services/Telephony/src/com/android/phone/EventLogTags.logtags system/bt/main/../EventLogTags.logtags system/core/liblog/event.logtags system/core/libsysutils/EventLogTags.logtags system/core/logcat/event.logtags system/core/logd/event.logtags"
File "build/tools/merge-event-log-tags.py", line 51
except getopt.GetoptError, err:
^
SyntaxError: invalid syntax
[ 0% 92/35341] host C++: aapt <= frameworks/base/tools/aapt/Main.cpp
ninja: build stopped: subcommand failed.
16:27:01 ninja failed with: exit status 1
make: *** [build/core/main.mk:21: run_soong_ui] Error 1
#### make failed to build some targets (53 seconds) ####
Click to expand...
Click to collapse
In this merge-event-log-tags.py file, at line 51, it has:
try:
opts, args = getopt.getopt(sys.argv[1:], "ho:m:")
except getopt.GetoptError, err:
print str(err)
print __doc__
sys.exit(2)
Click to expand...
Click to collapse
Also, this is my first time posting here and also first time trying to build android so if you guys need more information to help troubleshoot this, please let me know
fabiotk said:
First of all, I didn't modified any file so it seems that it was already downloaded with syntax error. I followed the instructions from here and here when preparing the building environment. When I run make -j8 I got the error:
In this merge-event-log-tags.py file, at line 51, it has:
Also, this is my first time posting here and also first time trying to build android so if you guys need more information to help troubleshoot this, please let me know
Click to expand...
Click to collapse
I've got this same problem trying to build 8.1.0. Did you (or anyone else) ever figure this out?
http://dpaste.com/0C1QWKE
UnderSampled said:
I've got this same problem trying to build 8.1.0. Did you (or anyone else) ever figure this out?
http://dpaste.com/0C1QWKE
Click to expand...
Click to collapse
Hello, yes, I solved it by making Python2 the default version instead of python3
Code:
sudo ln -sf /usr/bin/python2 /usr/bin/python

Error building AOSP for Hikey970 Android development board

Hi,
I am trying to build bootloader, kernel and AOSP for the new released Hikey970 development board. However, I found errors during the building process which I have no idea how to solve them, here is the error message:
[ 83% 1615/1934] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[100% 1934/1934] writing build rules ...
FAILED:
build/make/core/Makefile:28: error: overriding commands for target `out/target/product/hikey970/system/vendor/lib/libc_secshared.so', previously defined at build/make/core/base_rules.mk:418
ckati failed with: exit status 1
I simply followed tutorials online for Hikey970 to successfully build bootloader and kernel. When I execute:
source ./build/envsetup.sh
lunch hikey970-userdebug
make -j16
Then error popped up. Any help will be appreciated, Thanks in advance.
I've faced the same problem as you.
Did you solve this problem?
Thanks in Advance....

Building for an unofficial device

Hi! I'm trying to build Lineage 15.1 for Vince (Redmi 5 Plus). There are already funtional builds for this device. I synced the repo and put in [vendor/device/kernel]/xiaomi/vince the files that are needed. The problem is when I do "brunch vince", because I get this error: https://pastebin.com/A6h1uzRa
Does anyone know how to solve it or where is the problem?
EDIT: The problem was solved running the following commands. The problem is caused by using zsh:
setopt shwordsplit
export LC_ALL=C
Now the ROM is compiling, but at some point, I have this error:
system/core/init/Android.mk: error: init (EXECUTABLES android-arm64) missing libinit_msm8953 (STATIC_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/core/main.mk:732: error: exiting from previous errors.
21:11:57 ckati failed with: exit status 1
Anyone knows how to solve it?

Help building Pixel Experience for OnePlus 3

First of all, I know that there is modified OnePlus 3 device tree for Pixel Experience ROM already, but I would like to modify LineageOS device tree to gain experience.
Basically, I am using LOS device & kernel trees, TheMuppets vendor and packages_resources_OneplusGestures & device_oppo_common dependencies from PixelExperience repo.
My issue is that I can't find the reason why it throws this error while trying to build:
Code:
[ 0% 4/9421] Target buildinfo: /home/zlluvhaj/pe-pie/o...plus3/obj/ETC/system_build_prop_intermediates/build.prop
Target buildinfo from: device/oneplus/oneplus3/system.prop
[ 1% 103/9421] AAPT2 compile /home/zlluvhaj/pe-pie/out...ce/oppo/common/DeviceHandler/res/values/strings.xml.save
FAILED: /home/zlluvhaj/pe-pie/out/target/common/obj/APPS/DeviceHandler_intermediates/flat-res/device/oppo/common/D
eviceHandler/res/values_strings.xml.save.flat
/bin/bash -c "/home/zlluvhaj/pe-pie/out/host/linux-x86/bin/aapt2 compile -o /home/zlluvhaj/pe-pie/out/target/comm
on/obj/APPS/DeviceHandler_intermediates/flat-res/device/oppo/common/DeviceHandler/res/ --pseudo-localize --legacy d
evice/oppo/common/DeviceHandler/res/values/strings.xml.save"
error: invalid file path 'device/oppo/common/DeviceHandler/res/values/strings.xml.save'.
[ 1% 106/9421] build /home/zlluvhaj/pe-pie/out/target/...t_pub_versioned.cil_intermediates/plat_pub_versioned.cil
Parsing /home/zlluvhaj/pe-pie/out/target/product/oneplus3/obj/ETC/sepolicy_neverallows_intermediates/plat_pub_poli
cy.cil
Parsing /home/zlluvhaj/pe-pie/out/target/product/oneplus3/obj/ETC/sepolicy_neverallows_intermediates/plat_pub_poli
cy.cil
ninja: build stopped: subcommand failed.
22:44:03 ninja failed with: exit status 1
#### failed to build some targets (01:07 (mm:ss)) ####
I mostly followed ArrowOS compilation-guide, replacing arrow with aosp (unfortunately I can't post exact link).
//Edit: I got it fixed by removing device/oppo/common folder, adding more dependencies, resyncing the project and executing make clobber.

Categories

Resources