Hello,
As I am trying to build a rom for the xperia x, I can,t find a solution to a ninja error:
Code:
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/.txt' missing and no known rule to make it
Does anyone know what is causing this?
Any help is appreciated.
https://github.com/arrayfire/arrayfire/issues/1497
kalel29 said:
https://github.com/arrayfire/arrayfire/issues/1497
Click to expand...
Click to collapse
Thanks for the reply, saw that post too but it didn't solve the error.
I solved it using "make update-api && make -j4"
But this gave me also other errors later, the weird thing is that this only happened with the ResurrectionRemix source, since I started working on LOS there are no such errors.
But thanks anyway:good:
Related
I getting strange build error: in output no errors in sources but build failed
Log in attached file
Please, help
Geol_ said:
I getting strange build error: in output no errors in sources but build failed
Log in attached file
Please, help
Click to expand...
Click to collapse
Were you able to fix the issues?
feherneoh said:
Most of the times re-sync helps, as Mozilla's sources are sometimes broken
Click to expand...
Click to collapse
Yeah, right. I had some build errors yesterday and a sync fixed it
rm -rf objdir-gecko
Helps most of the times
Also, if you are building for the device - running ./config.sh again often helps.
Hey guys,
Am trying to build AICP n7.1 from source for my LG G5 but starting to encounter a weird issue
Below is the code I use
Code:
repo init -u https://github.com/AICP/platform_manifest.git -b n7.1
. build/envsetup.sh && time brunch h850
my device source is https://github.com/ConquestDev/local_manifests
the error I get while building is
Code:
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'prebuilts/cmsdk/api/.txt', needed by '/home/gwolf2u/android/aicp/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1
make: Leaving directory `/home/gwolf2u/android/aicp'
what the heck am I doing wrong?
managed to build AICP mm, RR, and CM13 of course but seems with this am out of options
just to say is that repo sync is working perfectly so I guess am not missing any files
also forced a few sync processes but still no go
any advice?
http://forum.xda-developers.com/showthread.php?t=3329468
Sent from my Moto G4 Plus using Tapatalk
Silesh.Nair said:
http://forum.xda-developers.com/showthread.php?t=3329468
Sent from my Moto G4 Plus using Tapatalk
Click to expand...
Click to collapse
alreadyread that... fortunately or not did not help
seems ninja process is asking for a file called ".txt" from "prebuilts/cmsdk/api" folder
weird
Can someone please help me?
I'm having trouble while to compile my build.
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/system.prop', needed by '/home/neverson/android/system/out/target/product/omega/obj/ETC/system_build_prop_intermediates/build.prop', 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/neverson/android/system'
What this error means and how can I fix it? Just for the context I have system.prop file. And I also tried disable ninja using export USE_NINJA=false. but the error remains.
You device tree?
thinhx2 said:
You device tree?
Click to expand...
Click to collapse
Here is my device tree
https://drive.google.com/open?id=0B0M07vEulBG8eGE3c2hUaUVhcTA
Dersaun said:
Here is my device tree
https://drive.google.com/open?id=0B0M07vEulBG8eGE3c2hUaUVhcTA
Click to expand...
Click to collapse
You can upload to github.
Hi,
Here is my device tree in github
https://github.com/Dersaun/android_device_Xiaomi_omega
your device tree is not complete
Dersaun said:
Can someone please help me?
I'm having trouble while to compile my build.
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/system.prop', needed by '/home/neverson/android/system/out/target/product/omega/obj/ETC/system_build_prop_intermediates/build.prop', 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/neverson/android/system'
What this error means and how can I fix it? Just for the context I have system.prop file. And I also tried disable ninja using export USE_NINJA=false. but the error remains.
Click to expand...
Click to collapse
Hi sir did u fix this error can u tell me how u fixed this error
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
when i am compiling rom,it keep getting this message which make the build stop:glob vendor/qcom/opensource/interfaces/*/Android.bp
ninja: error: '/home/zhuofan/android/lineage/out/target/product/mido/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by '/home/zhuofan/android/lineage/out/target/product/mido/obj_arm/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes', missing and no known rule to make it
can you guys give me a solution thanks
@thp@1998 @anki.khan