yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] skaveelicious:
you are downloading everything into your home directory and that is the wrong folder. You see that "android" folder? Inside of it should be a "system" folder and inside of that the folders that you currently have directly under "home": "abi,art,bionic,...."

So basically what you probably did is being on the wrong path when running the commands. I can't see at what step exactly you messed up but I think the fastest way I just to delete everything and start over if your internet connection is fast.

Make sure that every single command is run while being inside "home/android/system/" excluding this step:

cd ~/android/system/vendor/cm
./get-prebuilts

which as you can see is run from inside "home/android/system/vendor/cm" and after that you will see that you have to go back to

android/system

cd ~/android/system
. build/envsetup.sh
breakfast smultron

hope this sorts it out for you

~skaa
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dangduccong:
Thank you. I own a urushi.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
I think I found the issue, try resyncing & building again
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] xange:
yup, its building without issues, for now.... and i should have cherry-pick this commit before i started my build :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] xange:
erm... question: on my 1st build (20140911) i took estimately 4.5 hours to finish build, but on my 2nd build (20140912) it only tooks me 2 hours ++, did i make any mistake? why my 2nd build was relatively fast compare to 1st build? or should i delete the whole "out" folder before i start another build?

ps: my VM ( Intel Core i3-4130 @ 3.4GHz x2[out of 4 core] with 5GB ram[out of 8GB]). I thought with this environment i will build slower?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
A "dirty" build will always be faster than a clean one. If you run the command make clean before building, it will take 4 hrs again

If you enable ccache, build times after the first time can also be reduced

to enable ccache run this before envsetup, ccache will be on for the terminal session only. You can also enable ccache globally by adding this to bashrc

export USE_CCACHE=1
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] xange:
and by "dirty" build as you mentioned, will it give any negative effects on the build? compare to a clean build. I'm just thinking should I stay using a dirty build or a clean build since clean build takes longer time for me.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
You can build dirty with no negative side effects ... until you start getting failed builds, then you will have to make clean to be sure it is not the dirty build that causes it.

My clean builds take less than an hour, so I usually build clean.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
Some suggestions for faster builds:

* Enable ccache

* Use the fastest hdd on your pc to store the source, build output & ccache

* You can also buy an ssd, if it's not large enough to hold everything, just store the build output & ccache

* mount /tmp on tmpfs (RAM).

The above have greatly improved my dirty build times with removed /out/target from 1h30m to 30m. Mounting /tmp on tmpfs made the biggest improvement for me.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SATHYA0403:
Yet again

Hi Devs

I done a complete fresh install of Ubuntu & got all repo as instructed, repo completed in 2-2.5 Hrs.. But when I build for Coconut, takes 6-8 Hrs, but then no ROM found in /Out folder.. I've also tried make clobber to clean the out folder & tried again & still the same.

and also kernel to takes almost 4Hrs with no error or output..

Please help
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] skaveelicious:
Was there any output on the terminal? Like: "Package Complete: /home/matt/android/system/out/target/product/anzu/cm-11-20140913-UNOFFICIAL-LegacyXperia-anzu.zip"

On one of my first build attempts long time ago I had the same issue you describe. Typing each command again and making sure I did not skip any step did the trick for me. And from now on every time I build I start with a:

make clean

and then start from this line:

curl https://raw.githubusercontent.com/LegacyXperia/local_manifests/cm-11.0/semc.xml > ~/android/system/.repo/local_manifests/semc.xml

I have been successful each time. Sometimes when I do "repo sync" and get errors I delete the respective folder which is displayed in the terminal and sync again.

~skaa
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sir mordred:
Hi mike thanx for your suggest also can you describe the command of using ccache and mount /tmp on tmpfs?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Google it and let us know what you find. I'll help you if it's wrong, but you have to at least do some of the work yourself...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sir mordred:
İ asked to mike not to you

"Google it" wooow... What an impressive answer.... Thanx man....

İ just kindly want to get some help to know proper commands to use these features

You could reply my post with "export usecache blah blah blah...." couldnt you huh?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] skaveelicious:
And you could have gone back one page in this thread.

For mounting /temp to tempfs use this
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Zerathul:
Today i tried to make a new build but it stops on:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] skaveelicious:
Delete the "frameworks/av" folder and try again.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] doctorace92:
Besides the usual ccache and tmpfs stuff, has anyone tried 'distcc' for cross-compiling android? distcc can further speed up the compilation process by distributing the load across computers, which comes handy if you have more spare computers at home. I have compiled native Linux kernel and packages with distcc, but I am not sure how to set up it with the android cross-compiler.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
https://groups.google.com/forum/#!msg/android-building/btOSA4IGrpM/rSs0Zhy6zPMJ

In short: It's not worth the trouble in my opinion
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Dilesh Perera:
i get this while building today . anyone else too getting same?

bootable/recovery-cm/roots.cpp:32:25: fatal error: make_ext4fs.h: No such file or directory

compilation terminated.

make: *** [/home/dilesh/android/pac/out/target/product/urushi/obj/RECOVERY_EXECUTABLES/bu_recovery_intermediates/roots.o] Error 1

make: *** Waiting for unfinished jobs....

#

# configuration written to .config
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
bootable/recovery-cm is Cyanogen Recovery. You are building it for some reason instead of CWM that's why it fails. That recovery doesn't support older devices like ours
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Recovery-cm was set in the PAC build script, it's fixed now, no worries :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] welle12:
hi i'm using the latest version of your github sources on iyokan.

when i slide down the notification menu see http://www.android.com/new/images/versions/jelly-bean/notifications.jpg i can see the top right symbols but when i slide out the phone keyboard and the display is turned by 90° (to landscape mode) and i slide down the notification menu again everything is still fine (the two symbols in the top right corner are still there). But as soon as i slide in the keyboard (the display is now rotated again) and i slide down the notification menu the symbols are missing (most of the time they are shown again when i reboot the phone) but they are still shown when i slide down the notifiation bar when the screen is in landscape mode. i also tried to reset the phone to factory defaults but the error can be reproduced.

i think the symbols are just placed at the position where they would be in landscape mode and this offset isn't reset after landscape mode is left again (just a guess).

would be nice if this porblem would get fixed.

cheers
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] DaViD-PL:
Hi

I have problem becouse i can`t build new ROM after 3 hours terminal give`s me this

target Java: Camera2 (/home/david/android/system/out/target/common/obj/APPS/Camera2_intermediates/classes)
packages/apps/Camera2/src/com/android/camera/PhotoModule.java:2057: error: : expected
case KeyEvent.KEYCODE_MEDIA_PREVIOUS
^
1 error
make: *** [/home/david/android/system/out/target/common/obj/APPS/Camera2_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
david@ubuntu:~/android/system$

Few days ago i build my test build and i don't have problems, today when i tried this occurs and i dont have idea whats wrong.I tried Make clean command but same problem occurs again.

Thanks for help and sorry for bad english
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Men_in_black007:
Try Reseting Repos And Sync Again.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] BRAiNCHiLD95:
anyone?

anyone else facing this issue:

on running ./updates.sh

i get this error....

ERROR: You must run this tool from within $ANDROID_BUILD_TOP!

Removed updates.sh and tried downloading again... got the same error....

bkid@bkid-desktop:~/android/system$ curl https://raw.githubusercontent.com/LegacyXperia/local_manifests/cm-11.0/updates.sh > ~/android/system/updates.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1269 100 1269 0 0 1286 0 --:--:-- --:--:-- --:--:-- 1285
bkid@bkid-desktop:~/android/system$ chmod a+x updates.sh
bkid@bkid-desktop:~/android/system$ ./updates.sh
ERROR: You must run this tool from within $ANDROID_BUILD_TOP!
bkid@bkid-desktop:~/android/system$

Any idea what i could be doing wrong?? :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Dilesh Perera:
same error for me too for 2 days now :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Check the comment by mike, the Kate Upton mode patch has a missing colon, add the colon at the end of line 2057 and you're good to go

http://review.cyanogenmod.org/#/c/72185/5/src/com/android/camera/PhotoModule.java

case KeyEvent.KEYCODE_MEDIA_PREVIOUS:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] DaViD-PL:
Thank You i`ve added missing colon and so far so good i dont have any errors yet ;) I`ll update this post after bulding ends and i`ll install it.

EDIT:

Build finished without problems, evrythink work. Thanks again.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] BRAiNCHiLD95:
You quoted the wrong post sir...

That's the solution for [MENTION=5574790]DaViD-PL[/MENTION] 's problem....

My issue is different..I can't get updates.sh to run..:(

I get this error..

ERROR: You must run this tool from within $ANDROID_BUILD_TOP!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
$ANDROID_BUILD_TOP is the folder where you did init, repo sync etc.

Usually this is ~/android/system

If this is where you are running updates.sh from, you may need to run the repo init ... command again, once you did the re-init you should also sync again before trying
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vynikal:
On my kernel now button backlight stays on forever since boot. Is it because I haven't made clean? (as init.sh has changed)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
Have you picked the latest kernel changes from LX? A lot of stuff has changed and we use the old SEMC driver for the leds now.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vynikal:
I think I have it all. Repo synced and kernel changes cherry-picked. I will look at it once again...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hanifbsk:
i'm trying to build and no output rom:confused:

how to solve ?

host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/file_wrapper_input.cpp
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/file_wrapper_output.cpp
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/in_memory_wrapper_input.cpp
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/wrapper_output.cpp
host C++: libLLVMBitReader_2_7 <= frameworks/compile/libbcc/bcinfo/BitReader_2_7/BitcodeReader.cpp
host C++: libLLVMBitReader_3_0 <= frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
Install: /home/nif/android/system/out/host/linux-x86/bin/dexdeps
Install: /home/nif/android/system/out/host/linux-x86/lib/libicuuc-host.so
target Dex: core-hostdex
target Dex: core-libart-hostdex
make: *** [/home/nif/android/system/out/host/common/obj/JAVA_LIBRARIES/core-libart-hostdex_intermediates/classes.dex] Killed
make: *** Waiting for unfinished jobs....
root@nif:/home/nif/android/system#

java version "1.6.0_27"
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Men_in_black007:
Can anyone help me?

I know its not cm but still. I am compiling AOSP.

Here It Is : http://pastebin.com/06ryKvtz
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Zerathul:
Applying change number 66213 ...
--> Subject: "libstagefright: Allow using camera recording buffer as input for encoder"
--> Project path: frameworks/av
--> Change number: 66213 (Patch Set 3)
--> Author: ZoliN <zltnngy@gmail.com> 2014-06-01 20:03:15
--> Committer: Michael Bestas <mikeioannina@gmail.com> 2014-09-10 22:04:53
From git://github.com/CyanogenMod/android_frameworks_av
* branch refs/changes/13/66213/3 -> FETCH_HEAD
error: cherry-pick is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit, or use
hint: 'git commit -a'.
fatal: cherry-pick failed

Command that failed:
cd frameworks/av && git cherry-pick FETCH_HEAD

I already tried deleting frameworks folder.

What now?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
this line:

error: cherry-pick is not possible because you have unmerged files

tells us there are files in fw/av that have been edited, therefore the new commit cannot be merged...

In your android folder run the following commands:

rm -rf frameworks/av
repo sync frameworkks/av
./build/tools/repopick.py -b 66213

What do they do?

remove the fw/av folder

re-sync the fw/av folder

cherry-picks that one commit only

If all goes well, you can run the updates.sh script again and carry on from there
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Komhir:
I have the same problem as Zerathul. System is clean instaled and repo downloaded from new. I tried the method of Langes, but still got the same error.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Eish! OK in your android folder again:

cd frameworks/av
git reset --hard HEAD; git clean -q -f
cd -

Then try to run updates.sh again
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Komhir:
Still the same :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Zerathul:
Yup, still the same :|
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vynikal:
[AOSP 4.4]

I'm not sure whether this belongs here, but I got this error building AOSP. I have no idea how to fix it.

Export includes file: external/zlib/Android.mk -- /home/kuba/android/AOSP/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/export_includes
Import includes file: /home/kuba/android/AOSP/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/import_includes
Export includes file: external/zlib/Android.mk -- /home/kuba/android/AOSP/out/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/export_includes
build/tools/post_process_props.py /home/kuba/android/AOSP/out/target/product/coconut/root/default.prop
Notice file: external/zlib/NOTICE -- /home/kuba/android/AOSP/out/host/linux-x86/obj/NOTICE_FILES/src//bin/minigzip.txt
Notice file: external/zlib/NOTICE -- /home/kuba/android/AOSP/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libz.a.txt
Export includes file: system/core/libmincrypt/Android.mk -- /home/kuba/android/AOSP/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/export_includes
Import includes file: /home/kuba/android/AOSP/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/import_includes
Export includes file: system/core/mkbootimg/Android.mk -- /home/kuba/android/AOSP/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/export_includes
Notice file: system/core/libmincrypt/NOTICE -- /home/kuba/android/AOSP/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libmincrypt.a.txt
Notice file: bootable/recovery/NOTICE -- /home/kuba/android/AOSP/out/target/product/coconut/obj/NOTICE_FILES/src//recovery/root/sbin/killrecovery.sh.txt
Import includes file: /home/kuba/android/AOSP/out/target/product/coconut/obj/RECOVERY_EXECUTABLES/su.recovery_intermediates/import_includes
Export includes file: bootable/recovery/su/Android.mk -- /home/kuba/android/AOSP/out/target/product/coconut/obj/RECOVERY_EXECUTABLES/su.recovery_intermediates/export_includes
Export includes file: system/vold/Android.mk -- /home/kuba/android/AOSP/out/target/product/coconut/obj/STATIC_LIBRARIES/libminivold_intermediates/export_includes
Export includes file: system/core/libsysutils/Android.mk -- /home/kuba/android/AOSP/out/target/product/coconut/obj/STATIC_LIBRARIES/libsysutils_intermediates/export_includes
make: *** No rule to make target `/home/kuba/android/AOSP/out/target/product/coconut/obj/STATIC_LIBRARIES/libext2_blkid_intermediates/export_includes', needed by `/home/kuba/android/AOSP/out/target/product/coconut/obj/RECOVERY_EXECUTABLES/minivold_intermediates/import_includes'.

Here is my manifest (I use default.xml + local manifest) https://github.com/CAF-SEMC-2011/AOSP_manifests/blob/kitkat/AOSP.xml

Any ideas?

EDIT: deleted
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zweif:
I think this commit (http://review.cyanogenmod.org/#/c/66213/) needs to be rebased. Especially file 'media/libstagefright/OMXCodec.cpp', but I don't really know if that's enough.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Men_in_black007:
Bro You Are Using CM Recovery And Using Omni Device SOurces .

So Please Change Recovery To Omni :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Koloses:
Recovery and device sources doesn't really matter in that case. [MENTION=4872819]Vynikal[/MENTION] Try adding android_external_e2fsprogs from CyanogenMod to your manifest.

BTW: It's great that you commit every change on your github instead of just creating repo after everything's done. Makes easier to learn AOSP build process :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vynikal:
Thanks, but those "commits" were only overwriting unsuccesful attempts. Later I realized, that using local manifest gets rid of some annoying fetch problems.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Zerathul:
Any other ideas?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
I rebased the patches, error should be gone now.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
It's like [MENTION=4960923]zweif[/MENTION] said, the commit needs to be rebasedMike did the rebase, you can try again
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Zerathul:
Yup, now its working :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Men_in_black007:
[MENTION=3839575]mikeioannina[/MENTION] [MENTION=4862164]Langes[/MENTION]

I think PMEM will cause problem in future.

Compiling Omni 5.0 and I got MemoryBasePMEM error.

http://pastebin.com/ebdLvLNx
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Not sure myself, but this could be related to the fact that LP requires encrypted fs, which is not possible with MTD ...?

I haven't touched anything LP related yet though, I'll wait for the pro's to step up ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Koloses:
Wait for major ROM developers [CM, AOKP, PA etc.] to fully dig into the source and then we may talk lollipop. For now I'd stay away as we don't even have kitkat AOSP built ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zweif:
I compiled this rom for mango giving 100 MB from /system to /data. With flashing minimal gapps (160 DPI), there are 7 MB free space. I know that's tight, but on the other hand I don't know what to do with 100 MB free space on /system. Maybe it would be good to give more space to /data in general? I know a lot of people use more /system space than me, and I don't know what would be a good value.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
Good value is what we have now. It's really not worth tweaking the sizes all the time, we can't please everyone. The space is just too limited to do any meaningful changes.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zweif:
While trying to build I get this error:

collect2: error: ld terminated with signal 7 [Bus error], core dumped
make: *** [/home/clemens/android/cm11/out/target/product/mango/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Fehler 1

I know its a linking problem. I had this some days back and solved it using 'make libwebviewchromium' before I started the whole build. All I found were similar problems, but not exactly the same and the assumption that it could be caused by too less RAM. Is 8 GB really too less? I don't use swap, but in system monitor it didn't look like whole RAM was used. Some time back, everything worked good.

I'll try a clean build without ccache, and see what happens.

Edit:

Build finished successful after disabling ccache. Don't really know what was the problem.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Zerathul:
how can I fix it?

fatal: cannot make /home/daniel/android/system/.repo/repo directory: File exists
Traceback (most recent call last):
File "/usr/bin/repo", line 775, in <module>
main(sys.argv[1:])
File "/usr/bin/repo", line 748, in main
os.rmdir(os.path.join(root, name))
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] liquidraver:
custom build version not changing

Hello Everyone!

I recently (2014.12.15.) built a ROM with the info I read in the first post, but when I install it, the "About Phone" says CyanogenMod version 11-20141018-UNOFFICIAL-LegacyXperia-smultron and the Kernel version is Tue Dec 9 10:33:10 CET 2014.

Is this normal, these dates shouldn't change to today?

p.s.: this is like the 10th build from the same machine, I did exactly what the first post says about "The next times you want to build, you only need to do the following:"

Am I missing something?

thanks for the help.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
If you delete the build.prop file in android/out/target/product/smultron/system your dates will be changed to today
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] liquidraver:
Thanks!

Is this just cosmetic, or is it alter the build in any other way?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Doesn't influence the build, just forces a recreate of the build.prop file with new build dates etc.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stanis64:
Hi, I try to compile CM12 test build but it gives me an error

build/core/package_internal.mk:269: recipe for target '/home/stanis/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk' failed
make: *** [/home/stanis/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file '/home/stanis/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: *** Waiting for unfinished jobs....
Aidl: framework <= frameworks/base/core/java/android/speech/tts/ITextToSpeechService.aidl

Before that gives many errors but I fixed it. But error above i couldn't.

Some system specifications:

Linux distro: Manjaro

RAM: 4GB

Device: Sony Xperia Pro (iyokan)

Thanks for advance