Hi all,
I just got a Nexus 5 a week or so ago and figured I'd try to build my own ROM. I used the guide here: http://source.android.com/source/building-running.html
Build ran for about an hour, then exited with an error. Here's the last few lines of the log:
Code:
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
Copying: out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
target Generated: libbcc <= frameworks/compile/libbcc/tools/build/gen-build-info.py
Install: out/host/linux-x86/lib/libLLVM.so
Copying: out/host/common/obj/JAVA_LIBRARIES/apache-xml-hostdex_intermediates/classes.jar
Copying: out/host/common/obj/JAVA_LIBRARIES/conscrypt-hostdex_intermediates/classes.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/emma_out/lib/classes-jarjar.jar
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/ActiveDOMObject.cpp
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/AnimationEvent.cpp
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/Attr.cpp
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/BeforeTextInsertedEvent.cpp
acp: partial write to 'out/host/linux-x86/lib/libLLVM.so' (4096 of 8192)
make: *** [out/host/linux-x86/lib/libLLVM.so] Error 1
make: *** Deleting file `out/host/linux-x86/lib/libLLVM.so'
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/BeforeUnloadEvent.cpp
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
Has anyone ran into this sort of issue before?
Thanks in advance
Bensky91 said:
Build ran for about an hour, then exited with an error. Here's the last few lines of the log:
Code:
acp: partial write to 'out/host/linux-x86/lib/libLLVM.so' (4096 of 8192)
Has anyone ran into this sort of issue before?
Thanks in advance
Click to expand...
Click to collapse
Disk's not full is it?
gtj0 said:
Disk's not full is it?
Click to expand...
Click to collapse
Funny you should mention that, I just fixed my problem by resizing my partition. Didn't give enough space to the VM.
Thanks!
Related
Hi guys,
I have another error
Code:
target thumb C++: libjavacore <= libcore/luni/src/main/native/AsynchronousSocket CloseMonitor.cpp
system/vold/cryptfs.c: In function 'pbkdf2':
system/vold/cryptfs.c:871:82: warning: unused parameter 'params' [-Wunused-param eter]
static void pbkdf2(char *passwd, unsigned char *salt, unsigned char *ikey, void *params) {
^
system/vold/cryptfs.c: In function 'do_crypto_complete':
system/vold/cryptfs.c:1153:37: warning: unused parameter 'mount_point' [-Wunused -parameter]
static int do_crypto_complete(char *mount_point)
^
target thumb C++: libjavacore <= libcore/luni/src/main/native/ExecStrings.cpp
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacrypto_intermedi ates/crypto/src/main/native/org_conscrypt_NativeCrypto.o] Killed
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/dalvik/src/main/native/org_apache_harmony_dalvik_NativeTestTarget.o] Killed
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/luni/src/main/native/AsynchronousSocketCloseMonitor.o] Killed
Can you guys help me again?
TIA,
AndroidNoob69
AndroidNoob69 said:
Hi guys,
I have another error
Code:
target thumb C++: libjavacore <= libcore/luni/src/main/native/AsynchronousSocket CloseMonitor.cpp
system/vold/cryptfs.c: In function 'pbkdf2':
system/vold/cryptfs.c:871:82: warning: unused parameter 'params' [-Wunused-param eter]
static void pbkdf2(char *passwd, unsigned char *salt, unsigned char *ikey, void *params) {
^
system/vold/cryptfs.c: In function 'do_crypto_complete':
system/vold/cryptfs.c:1153:37: warning: unused parameter 'mount_point' [-Wunused -parameter]
static int do_crypto_complete(char *mount_point)
^
target thumb C++: libjavacore <= libcore/luni/src/main/native/ExecStrings.cpp
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacrypto_intermedi ates/crypto/src/main/native/org_conscrypt_NativeCrypto.o] Killed
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/dalvik/src/main/native/org_apache_harmony_dalvik_NativeTestTarget.o] Killed
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/luni/src/main/native/AsynchronousSocketCloseMonitor.o] Killed
Can you guys help me again?
TIA,
AndroidNoob69
Click to expand...
Click to collapse
Can you tell me which sources is this?
HashyCode said:
Can you tell me which sources is this?
Click to expand...
Click to collapse
AOSX ROM( https://github.com/AndroidOpenSourceXperia) synced the sources using Update.sh from android_scripts repo of AOSX git. Then i did excecuted CompileROM.sh and it went on for like 15 minutes and aborted by itself.
Btw aosx is just aosp with a little bit more of features from cm so technically i am compiling aosp
Sent my AOSP Xperia P
target thumb C++: libjavacore <= libcore/luni/src/main/native/ExecStrings.cpp
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacrypto_intermedi ates/crypto/src/main/native/org_conscrypt_NativeCrypto.o] Killed
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/dalvik/src/main/native/org_apache_harmony_dalvik_NativeTestTarget.o] Killed
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/luni/src/main/native/AsynchronousSocketCloseMonitor.o] Killed
It seems you're running out of RAM. How much your swap is set to?
HashyCode.
HashyCode said:
target thumb C++: libjavacore <= libcore/luni/src/main/native/ExecStrings.cpp
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacrypto_intermedi ates/crypto/src/main/native/org_conscrypt_NativeCrypto.o] Killed
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/dalvik/src/main/native/org_apache_harmony_dalvik_NativeTestTarget.o] Killed
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/luni/src/main/native/AsynchronousSocketCloseMonitor.o] Killed
It seems you're running out of RAM. How much your swap is set to?
HashyCode.
Click to expand...
Click to collapse
2GB RAM 4GB swap
Sent my AOSP Xperia P
AndroidNoob69 said:
2GB RAM 4GB swap
Sent my AOSP Xperia P
Click to expand...
Click to collapse
Last time i use to have 2GB. I have same error like you. But it fixed as i add more 2GB.
Might turn off the pc for few hours and build back without making make clean or repo sync.
It might help.
HashyCode.
HashyCode said:
Last time i use to have 2GB. I have same error like you. But it fixed as i add more 2GB.
Might turn off the pc for few hours and build back without making make clean or repo sync.
It might help.
HashyCode.
Click to expand...
Click to collapse
Lol its a rented vps as my network is too weak to sync sources. So i just shut the server down and try to rebuild after a few hours?
Sent my AOSP Xperia P
AndroidNoob69 said:
Lol its a rented vps as my network is too weak to sync sources. So i just shut the server down and try to rebuild after a few hours?
Sent my AOSP Xperia P
Click to expand...
Click to collapse
Try it maybe?
if this is not the right forum, please move it.
hello,
i tried following the guide in order to port CWM to Coolpad 7236. i used latest ubuntu, 64 bit.
i used this boot.img: https://mega.co.nz/#!EBIH1TRZ!hfesnz3FkZXnaEHw6T5sA1DH98spXAGY594j-0HU-Hw
and used cm10.2 repo (since the phone originaly came with android 4.3)
everything seemed to work, until i got to the last step:
Code:
make -j4 recoveryzip
and got this at the end:
Code:
host C++: libLLVMCore <= external/llvm/lib/IR/Metadata.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Module.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Pass.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/PassManager.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/PassRegistry.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/PrintModulePass.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Type.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/TypeFinder.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Use.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/User.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Value.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/ValueSymbolTable.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/ValueTypes.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Verifier.cpp
/home/kkffiirr/Source/out/host/linux-x86/bin/checkseapp -p /home/kkffiirr/Source/out/target/product/7236/obj/ETC/sepolicy_intermediates/sepolicy -o /home/kkffiirr/Source/out/target/product/7236/obj/ETC/seapp_contexts_intermediates/seapp_contexts /home/kkffiirr/Source/out/target/product/7236/obj/ETC/seapp_contexts_intermediates/seapp_contexts.tmp
Install: /home/kkffiirr/Source/out/target/product/7236/root/sepolicy
make: *** No rule to make target `device/Coolpad/7236/kernel', needed by `/home/kkffiirr/Source/out/target/product/7236/kernel'. Stop.
make: *** Waiting for unfinished jobs....
and it stopped there.
didn't work.
i will appreciate any help
Any idea?
I'm trying to compile euphoria with @arter97 's optimizations and I can't fix this error. Without them it builds fine, even with 4.9 toolchains. any ideas?
Code:
target arm C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioMixer.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioFlinger.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/Threads.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/Tracks.cpp
frameworks/av/services/audioflinger/AudioMixer.cpp: In static member function 'static void android::AudioMixer::track__NoResample(android::AudioMixer::track_t*, TO*, size_t, TO*, TA*) [with int MIXTYPE = 0; TO = int; TI = short int; TA = int; size_t = unsigned int]':
frameworks/av/services/audioflinger/AudioMixer.cpp:2065:6: internal compiler error: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1423
void AudioMixer::track__NoResample(track_t* t, TO* out, size_t frameCount,
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://source.android.com/source/report-bugs.html> for instructions.
make: *** [/home/jukie/android/system/out/target/product/bacon/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioMixer.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android/system$
jukiewalsh said:
I'm trying to compile euphoria with @arter97 's optimizations and I can't fix this error. Without them it builds fine, even with 4.9 toolchains. any ideas?
Code:
target arm C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioMixer.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioFlinger.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/Threads.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/Tracks.cpp
frameworks/av/services/audioflinger/AudioMixer.cpp: In static member function 'static void android::AudioMixer::track__NoResample(android::AudioMixer::track_t*, TO*, size_t, TO*, TA*) [with int MIXTYPE = 0; TO = int; TI = short int; TA = int; size_t = unsigned int]':
frameworks/av/services/audioflinger/AudioMixer.cpp:2065:6: internal compiler error: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1423
void AudioMixer::track__NoResample(track_t* t, TO* out, size_t frameCount,
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://source.android.com/source/report-bugs.html> for instructions.
make: *** [/home/jukie/android/system/out/target/product/bacon/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioMixer.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android/system$
Click to expand...
Click to collapse
https://github.com/temasek/android_frameworks_av/commit/292d4e2c74d07287b7dc3b366e031f235e136fc8
arter97 said:
I'm trying to compile euphoria with arter97 's optimizations and I can't fix this error. Without them it builds fine, even with 4.9 toolchains. any ideas?
https://github.com/temasek/android_frameworks_av/commit/292d4e2c74d07287b7dc3b366e031f235e136fc8
Click to expand...
Click to collapse
Thanks a lot! Appreciate it. A mod can close/delete the thread
Thanks
arter97 said:
https://github.com/temasek/android_frameworks_av/commit/292d4e2c74d07287b7dc3b366e031f235e136fc8
Click to expand...
Click to collapse
I've gotten the same issue and I just cherry-picked the commit and let's go to the next error. Thanks for directing us to the commit.
arter97 said:
https://github.com/temasek/android_frameworks_av/commit/292d4e2c74d07287b7dc3b366e031f235e136fc8
Click to expand...
Click to collapse
Thanks man! Great help!
jukiewalsh said:
Thanks a lot! Appreciate it. A mod can close/delete the thread
Click to expand...
Click to collapse
thank god wasnt deleted... was trying to find a fix xD
I also will analise the code of where it failed to see if is possible to make a work around.
"ebtables is disabled on this build"
/bin/bash: prebuilts/python/linux-x86/2.7.5//bin/python: No such file or directory
build/core/base_rules.mk:559: warning: overriding recipe for target '/root/android/system/out/target/product/manta/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/root/android/system/out/target/product/manta/root/res/images/charger/battery_fail.png'
find: ‘dummy’: No such file or directory
PRODUCT_COPY_FILES device/samsung/manta/audio_effects.conf:system/etc/audio_effects.conf ignored.
No private recovery resources for TARGET_DEVICE manta
build/core/tasks/kernel.mk:358: warning: overriding recipe for target '/root/android/system/out/target/product/manta/kernel'
build/core/Makefile:46: warning: ignoring old recipe for target '/root/android/system/out/target/product/manta/kernel'
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: libcompiler_rt-extras <= external/compiler-rt/lib/builtins/mulodi4.c
host C++: libc++_static <= external/libcxx/src/algorithm.cpp
host C++: libc++_static <= external/libcxx/src/bind.cpp
prebuilts/clang/linux-x86/host/3.6/bin/clang: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
make: *** [build/core/binary.mk:825: /root/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 127
make: *** Waiting for unfinished jobs....
prebuilts/clang/linux-x86/host/3.6/bin/clang: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
make: *** [build/core/binary.mk:825: /root/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/lib/builtins/mulodi4.o] Error 127
prebuilts/clang/linux-x86/host/3.6/bin/clang++prebuilts/clang/linux-x86/host/3.6/bin/clang++: : error while loading shared librarieserror while loading shared libraries: : libncurses.so.5libncurses.so.5: : cannot open shared object filecannot open shared object file: : No such file or directoryNo such file or directory
make: *** [build/core/binary.mk:730: /root/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/algorithm.o] Error 127
make: *** [build/core/binary.mk:730: /root/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/bind.o] Error 127
make: Leaving directory '/root/android/system'
#### make failed to build some targets (38 seconds) ####
I have no idea what to do, I'm on Arch Linux.
Hello everyone!
I am trying to build CyanogenMod 12 for Motorola Milestone 2. I have downloaded CM12 and built a tree of device. When I run build I get error:
Bash:
target thumb C++: libvold <= system/vold/VoldCommand.cpp
arm-linux-androideabi-g++: error: ": No such file or directory
target thumb C++: libvold <= system/vold/NetlinkManager.cpp
make: *** [build/core/binary.mk:616: /home/bars/e/working_directory/out/target/product/milestone2/obj/STATIC_LIBRARIES/libvold_intermediates/VoldCommand.o] Ошибка 1
make: *** Ожидание завершения заданий…
arm-linux-androideabi-g++: error: ": No such file or directory
make: *** [build/core/binary.mk:616: /home/bars/e/working_directory/out/target/product/milestone2/obj/STATIC_LIBRARIES/libvold_intermediates/NetlinkManager.o] Ошибка 1
target thumb C++: libvold <= system/vold/NetlinkHandler.cpp
arm-linux-androideabi-g++: error: ": No such file or directory
make: *** [build/core/binary.mk:616: /home/bars/e/working_directory/out/target/product/milestone2/obj/STATIC_LIBRARIES/libvold_intermediates/NetlinkHandler.o] Ошибка 1
#### make failed to build some targets (03:04 (mm:ss)) ####
Help me please! I can't understand what I need do. Sorry for my English.
I'm not 100% sure about CyanogenMod, but on AOSP builds you have to set CROSS_COMPILE.
Try setting CROSS_COMPILE to the full path to the the gcc prebuilt from AOSP. Or your distro may have one that's compatable. You can try installing gcc/g++ from you package manager and then setting CROSS_COMPILE to that.