yashsingh1/xdaforums huggingface dataset:
[Android] filou76:
compiling error

hello guys!

i need some help from you people with more experience than i have ;)

during compilation of slimLP for my asus tablet - using the device trees of CM12.1 (THANKS to this thread!) - i get the following error:

device/asus/tf701t/overlay/frameworks/base/core/res/res/values/config.xml:275: error: Resource at config_hasRemovableLid appears in overlay but not in the base package; use <add-resource> to add.

device/asus/tf701t/overlay/frameworks/base/core/res/res/values/config.xml:275: error: Resource at config_hasRemovableLid appears in overlay but not in the base package; use <add-resource> to add.

device/asus/tf701t/overlay/frameworks/base/core/res/res/xml/storage_list.xml:6: error: Error: No resource found that matches the given name (at 'storageDescription' with value '@string/storage_sd_dock_card').

make: *** [/home/filou/android/slim/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Fehler 1

make: *** Datei »/home/filou/android/slim/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk« wird gelöscht

make: *** Auf noch nicht beendete Prozesse wird gewartet …

#### make failed to build some targets (01:07:04 (hh:mm:ss)) ####

kernel and recovery are already built into the OUT folder.

any hints? i don't know what to do with "RemovableLid " and "storage_sd_dock_card" info.

i have little doubts if slimLP can use cm-device trees...

thanks :)

EDIT: Ok, after deleting those 2 lines in the 2 files compilation continued ... will see if it matters :laugh:
[Android] martinusbe:
So, you got it building now?
[Android] der-cyanoge:
no rule to make target »/home/j/aicp10/out/target/product/hwG7/obj_arm/SHARED_LIBRARIES/libtime_genoff_intermediates/export_includes«,

benötigt von »/home/j/aicp10/out/target/product/hwG7/obj_arm/SHARED_LIBRARIES/libandroid_servers_intermediates/import_includes«, zu erstellen. Schluss.

make: *** Auf noch nicht beendete Prozesse wird gewartet …

Export includes file: system/core/libsuspend/Android.mk -- /home/j/aicp10/out/target/product/hwG7/obj_arm/SHARED_LIBRARIES/libsuspend_intermediates/export_includes

#### make failed to build some targets 11m:06s

dont get it how to fix this error?

pls help
[Android] filou76:
not yet ... some minutes later the size of recovery.img (slim's twrp) was checked and it got too big...building stopped. must not be more then 8MB. tried to use cm-recovery repo project in the meantime ... leading to many errors quite at the beginning of new compilation. well ... next i will try to overrule the size-check somehow. learning process ...

anyone with hints?

Edit: after changing BOARD_RECOVERYIMAGE_PARTITION_SIZE := 8388608 to 8988608 in BoardConfig.mk compilation continues... as there's a separate recovery partition (with already installed recovery) independent of boot.img i hope this could work at the end...

Edit 2: compile finished, slimrom.zip is already installed :)

working great so far, only bug is that autorotate & portrait mode don't work. gonna see if i find the reason.
[Android] jimchee:
The following packages have unmet dependencies:

build-essential : Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed

libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.4)

Recommends: libgl1-mesa-dri:i386 (>= 7.2)

unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed

Depends: libcheese7 (>= 3.0.1) but it is not going to be installed

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

This is the error I am getting on installation of required tools, how do I resolve this, since I can{t seem to get past it I followed the 2 resolve steps and then tried again a couple times with no luck
[Android] jimchee:
I actually found it and resolved it, now just d/l ing repos, which collectable me till Sep, very slow internet here in Mexico
[Android] KeTuRr74:
Thanks [MENTION=5216756]jackeagle[/MENTION] and congrats for modo !! :D
[Android] der-cyanoge:
compiling stuck at "install emeail.apk"

im back again

i wanna thank all of the members they just help a newbie like me but i have just anoter prolbem my pc netbook have 4 gb ram and a celeron quadcore processor but everytime i want to compile aicp 10.0(lolipop) it stucks at "install Email.apk" and it stucks there

thanks allot :D
[Android] KeTuRr74:
Open the Boardconfig.mk or the dior.mk and search for "CM" and you will find "vendor/cm/common/common_full_phone"

Replace the CM per Slim

---------- Post added at 11:44 ---------- Previous post was at 11:43 ----------

Give us the error ?
[Android] der-cyanoge:
there is no error i looked on every sinlge line in the terminal it only stucks there

should i buy a better pc ? :S
[Android] KeTuRr74:
It need to be an error somewhere. Can you post last 200 lines on hastebin.com ?
[Android] der-cyanoge:
of course thanks

im going to compile it now and than i will post the error :D so this gonna go a long night :D
[Android] AndDiSa:
It's not stuck, it only takes some time to compile and bind the chrome libraries ... On a i7-laptop with 8gb round about five to ten minutes, on a celeron with 4gb I suppose at least one/two hours or so, if it you have enough swap space available ;)

Seriously speaking: you will have no fun with this hardware equipment.
[Android] KeTuRr74:
With dual core to 2.6ghz and 4 gb ram it take me 2 hours to clean build BlissPop roms or maximum 7 hours when its deep clean flash (without ccache & chromium) :D My pc is the best
[Android] :
Getting closer...

"Open the Boardconfig.mk or the dior.mk and search for "CM" and you will find "vendor/cm/common/common_full_phone"

Replace the CM per Slim"

I did this and now I got:

Which would you like? [aosp_arm-eng] 100

build/core/product_config.mk:250: *** No matches for product "slim_dior". Stop.

Device dior not found. Attempting to retrieve device repository from SlimRoms Github (http://github.com/SlimRoms).

Repository for dior not found in the SlimRoms Github repository list. If this is in error, you may need to manually add it to .repo/local_manifests/slim_manifest.xml

build/core/product_config.mk:250: *** No matches for product "slim_dior". Stop.

** Don't have a product spec for: 'slim_dior'

** Do you have the right repo manifest?

adrian@linux:~/android$
[Android] KeTuRr74:
What repo are you using ? Give me the right repo i will fix it for you
[Android] :
First repo sync : repo init -u git://github.com/SlimRoms/platform_manifest.git -b lp5.0

Second : My local_manifest.xml

<manifest>

<remote name="dior" fetch="https://github.com/"/><project path="device/xiaomi/dior" name="haoyangw/android_device_xiaomi_dior" remote="github" revision="cm-12.0"/>

<project path="vendor/xiaomi/dior" name="haoyangw/android_vendor_xiaomi_dior" remote="github" revision="cm-12.0"/>

<project path="kernel/xiaomi/dior" name="haoyangw/android_kernel_xiaomi_dior" remote="github" revision="cm-12.0"/>

</manifest>
[Android] Tanuj97:
guys I need help here ..while compiling Omni rom I am getting this error
[Android] DSA:
it looks like you cherry picked a mod but that cherry pick didnt include all the right code

revert the mod and have a look through the code before picking it again
[Android] siju2012:
Libusb.h not found

I am trying to build CM 12.1 for One Plus and I get error libusb.h not found . I have install libusb-1.0 and libusb-1.0-0-dev also . Tried replacing libusb.h with <libusb-1.0/libusb.h> also but still error is troubling me . Error is in file external/libusbx/examples/listdevs.c where it is referring to #include "libusb.h" . Can anyone please help me solve this.

Error desc:

external/libusbx/android/jni/../../examples/listdevs.c:22:20: fatal error: libusb.h: No such file or directory

#include "libusb.h"

^

compilation terminated.

build/core/binary.mk:699: recipe for target '/home/siju/CM12.1/out/target/product/bacon/obj/EXECUTABLES/listdevs_intermediates/../../examples/listdevs.o' failed

make: *** [/home/siju/CM12.1/out/target/product/bacon/obj/EXECUTABLES/listdevs_intermediates/../../examples/listdevs.o] Error 1

make: *** Deleting file '/home/siju/CM12.1/out/target/product/bacon/obj/EXECUTABLES/listdevs_intermediates/../../examples/listdevs.o'

Also I tried compiling with gcc

gcc external/libusbx/examples/listdevs.c -o out/target/product/bacon/obj/EXECUTABLES/listdevs_intermediates/listdevs.o

I got error :

external/libusbx/examples/listdevs.c:22:20: fatal error: libusb.h: No such file or directory

#include "libusb.h"
[Android] siju2012:
Can anyone pls help in solving the above error. Stuck at it for past 2 days :(
[Android] katinatez:
What OS are you running? Updating Arch Linux breaks build. But there is a work around.
[Android] siju2012:
I am running Ubuntu 15.04 64 bit . What's the workaround?
[Android] KeTuRr74:
As i know Ubuntu 15.04 have a lots of problems as its not totally working. I use 14.04 and all works fine.
[Android] desalesouche:
you might need more ram, not sure.
[Android] katinatez:
This will not work for you since your not running Arch but will post for users that are. Just add to your build script like example.

LANG=C && make clobber && . build/envsetup.sh && time brunch bacon

I would follow other suggestion and downgrade Ubuntu, you always run the risk of breaking your build environment when upgrading, just stick with os that works.
[Android] KeTuRr74:
Yep he probably need to downgrade to 14.04. I get a lots of problems with 15.04 so i have downgrafed too and now all works fine.
[Android] siju2012:
I have tried in Ubuntu 14.04 LTS too and I get the same issue. :(

---------- Post added at 10:23 AM ---------- Previous post was at 10:22 AM ----------

I have tried on 14.04 LTS too and I get the same issue.
[Android] KeTuRr74:
Do this back from 0 and try again.

http://xdaforums.com/chef-central/android/tutorial-compile-lollipop-ubuntu-t2929410
[Android] siju2012:
I have built 5.1.1 earlier but never got such error. Shouldn't this be something specific to CM12.1 that is causing the issue?
[Android] siju2012:
Tried back from 0 now from the link you gave . Same error libusb.h not found.

Makefile.am in /external/libusbx/examples

AM_CPPFLAGS = -I $(top_srcdir)/libusb

LDADD = ../libusb/libusb-1.0.la

noinst_PROGRAMS = listdevs xusb fxload hotplugtest

if HAVE_SIGACTION

noinst_PROGRAMS += dpfp

if THREADS_POSIX

dpfp_threaded_CFLAGS = $(AM_CFLAGS)

noinst_PROGRAMS += dpfp_threaded

endif

sam3u_benchmark_SOURCES = sam3u_benchmark.c

noinst_PROGRAMS += sam3u_benchmark

endif

fxload_SOURCES = ezusb.c ezusb.h fxload.c

fxload_CFLAGS = $(THREAD_CFLAGS) $(AM_CFLAGS)

Examples.mk in external/libusbx/android/jni

LOCAL_PATH:= $(call my-dir)

LIBUSB_ROOT_REL:= ../..

LIBUSB_ROOT_ABS:= $(LOCAL_PATH)/../..

# listdevs

include $(CLEAR_VARS)

LOCAL_SRC_FILES := \

$(LIBUSB_ROOT_REL)/examples/listdevs.c

LOCAL_C_INCLUDES += \

$(LIBUSB_ROOT_ABS)

LOCAL_SHARED_LIBRARIES += libusb1.0

LOCAL_MODULE:= listdevs
[Android] KeTuRr74:
Try this

sudo apt-get install libusb-dev

reboot and try again
[Android] siju2012:
Finally I solved the issue by adding this to .repo/local_manifests/local_manifests.xml and repo syncing. I thought these weren't necessary as I extracted propetierary blobs from my phone using ./extract-files.sh but that wasnt' the case. Sorry for wasting your time guys :(

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="TheMuppets/proprietary_vendor_oppo" path="vendor/oppo" remote="github" revision="cm-12.1" />

<project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" revision="cm-12.1" />

</manifest>
[Android] KeTuRr74:
No problem. We are here for help people.

You need to add device & kernel repo to build dont't forget them ?
[Android] siju2012:
Ya already added them . Thanks a lot for your help.:good:
[Android] KeTuRr74:
Np ?
[Android] MJPollard:
TheMuppets is a godsend. :) I never extract proprietary blobs anymore, I just use them whenever I create a new build directory (and some custom ROMs, like Carbon, use them automatically when lunching a new device).
[Android] siju2012:
After an hour of build process again stuck at same error . :crying: . Rebooted and checked too.

external/libusbx/android/jni/../../examples/listdevs.c:22:20: fatal error: libusb.h: No such file or directory

#include "libusb.h"

^

compilation terminated.

build/core/binary.mk:699: recipe for target '/home/siju/CM12.1/out/target/product/bacon/obj/EXECUTABLES/listdevs_intermediates/../../examples/listdevs.o' failed

Edit: Issue solved by make clean
[Android] KeTuRr74:
Try the command above that i gave you
[Android] der-cyanoge:
oh thanks anyway:D

but i thought it was my fault, that im to stupid to compile a rom for may Ascend G7 but more question when im on github just can i forked a similar device like (lettuce) YU YUPHORIA has exactly the same specs like my phone but from a other brand and rename the files and change the vendor-blobs?
[Android] KeTuRr74:
You can do this but you need to change all partitions, kernel etc are different.
[Android] siju2012:
Adb install failed invalid location after ROM build

I uninstalled system app, Gallery2(com.android.gallery3d) from my phone and tried installing the app as normal app using

adb install -r /home/risingup/CM12.1/out/target/product/bacon/system/app/Gallery2/Gallery2.apk

I get the error:

293 KB/s (5764099 bytes in 19.208s) pkg: /data/local/tmp/Gallery2.apk Failure [INSTALL_FAILED_INVALID_INSTALL_LOCATION]

I tried changing permissions of /data/local/tmp folder but still same error. Please help.

chmod 777 /data /data/local /data/local/tmp which gave

root@A0001:/ # ls -ld data data/local data/local/tmp

drwxrwxrwx system system 2015-08-26 23:20 data

drwxrwxrwx root root 2015-08-26 14:33 local

drwxrwxrwx shell shell 2015-08-27 00:12 tmp

Phone Info: Model : One Plus One (A0001)

Android Version: 5.1.1

OS : Ubuntu 14.04 x64

What' s wrong with installing it as normal app?

If I use adb push to /system/app, then it works.
[Android] KeTuRr74:
You cant install system apps as normal. You can only push them and reboot to have the apk in your launcher.
[Android] siju2012:
So, it would be like making changes and rebooting always for the app to show up. There is no way to avoid the reboot ? Any kind of hack or something to avoid this...
[Android] KeTuRr74:
I dont know but this is logic.
[Android] pmsdhawale:
Please help me.

http://pastebin.com/4TX48wqK

Trying to build android-m-preview-2 for xperia s (nozomi)

kernel/vendor/device sync from here

https://github.com/billchen1977/kernel_sony_msm8x60

https://github.com/billchen1977/vendor_sony_nozomi

https://github.com/billchen1977/device_sony_nozomi
[Android] Shahan_mik3:
not able to add this

"sudo apt-get install git-core gnupg ccache lzop flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5 lib32z1 lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python"

Getting this error.

sudo apt-get install git-core gnupg ccache lzop flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5 lib32z1 lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python

[sudo] password for justbfree:

Reading package lists... Done

Building dependency tree

Reading state information... Done

Note, selecting 'lib32z1-dev' instead of 'lib32z-dev'

E: Unable to locate package lib32bz2-1.0

E: Couldn't find any package by regex 'lib32bz2-1.0'

E: Unable to locate package mingw32

E: Unable to locate package lib32bz2-dev

is this necessary?

also getting this error..

Export includes file: system/core/cpio/Android.mk -- /home/Shahan_mik3/slim/out/host/linux-x86/obj32/EXECUTABLES

/mkbootfs_intermediates/export_includes

/bin/bash: m4: command not found

Yacc: checkpolicy <= external/checkpolicy/policy_parse.y

make: *** [/home/Shahan_mik3/slim/out/target/product/cancro/obj/ETC/sepolicy_intermediates/policy.conf] Error 12

7

make: *** Deleting file `/home/Shahan_mik3/slim/out/target/product/cancro/obj/ETC/sepolicy_intermediates/policy.

conf'

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

prebuilts/misc/linux-x86/bison/bison -d -v -o /home/Shahan_mik3/slim/out/host/linux-x86/obj32/EXECUTABLES/checkp

olicy_intermediates/policy_parse.cpp external/checkpolicy/policy_parse.y

/bin/bash: prebuilts/misc/linux-x86/bison/bison: Is a directory

make: *** [/home/Shahan_mik3/slim/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.cp

p] Error 126

#### make failed to build some targets (46 seconds) ####
[Android] KeTuRr74:
Try sudo apt-get install lib32bz2-dev and try agaib the command. Yes you need to install all of them
[Android] Shahan_mik3:
still same error :( using 14.04

root@rom:/home/Shahan_mik3# sudo apt-get install git-core gnupg ccache lzop flex bison gperf build-essential zip

curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5 lib32z1 lib32bz2-1.0 lib32ncurses5-dev x11proto-core-de

v libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tof

rodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-d

ev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 l

ibbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python

Reading package lists... Done

Building dependency tree

Reading state information... Done

Note, selecting 'lib32z1-dev' instead of 'lib32z-dev'

E: Unable to locate package zlib1g-dev

E: Unable to locate package libx11-dev

E: Unable to locate package libreadline6-dev

E: Unable to locate package libgl1-mesa-glx

E: Unable to locate package libreadline6-dev

E: Unable to locate package libreadline6

changed this i get this error

root@rom:/home/Shahan_mik3# sudo apt-get install lib32bz1-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Unable to locate package lib32bz1-dev
[Android] KeTuRr74:
Try sudo apt-get install lib32bz1-dev
[Android] Shahan_mik3:
Already did that...see last few lines of last post
[Android] Epirex:
MoKee build error

Hi all, I tried compile MoKee OS 4.4 from source but I have a problem

fstab_version = (int) 2
mkbootimg_args = (str)
mkyaffs2_extra_flags = (str) -c 4096 -s 128
multistage_support = (str) 1
no_separate_recovery = (str) true
ota_script_path = (str) ./build/tools/releasetools/ota_from_target_files
override_device = (str) janice,i9070,GT-I9070
recovery_api_version = (int) 3
selinux_fc = (str) /tmp/targetfiles-27wnqO/BOOT/RAMDISK/file_contexts
system_size = (int) 641728512
tool_extensions = (str) device/samsung/u8500-common
update_rename_support = (str) 1
use_set_metadata = (str) 1
userdata_size = (int) 2147483648
using device-specific extensions in device/samsung/u8500-common
using prebuilt recovery.img...
using prebuilt boot.img...
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 1119, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 1087, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 539, in WriteFullOTAPackage
Item.Get("system").SetPermissions(script)
File "./build/tools/releasetools/ota_from_target_files", line 314, in SetPermissions
recurse(self, (-1, -1, -1, -1, None, None))
File "./build/tools/releasetools/ota_from_target_files", line 306, in recurse
recurse(i, current)
File "./build/tools/releasetools/ota_from_target_files", line 306, in recurse
recurse(i, current)
File "./build/tools/releasetools/ota_from_target_files", line 312, in recurse
item.mode, item.selabel, item.capabilities)
File "/home/epirex/mokee/build/tools/releasetools/edify_generator.py", line 294, in SetPermissions
'"capabilities", %s' % (fn, uid, gid, mode, capabilities)
TypeError: %d format: a number is required, not NoneType
build/core/Makefile:1491: recipe for target '/home/epirex/mokee/out/target/product/janice/mk_janice-ota-b8d6ca1af6.zip' failed
make: *** [/home/epirex/mokee/out/target/product/janice/mk_janice-ota-b8d6ca1af6.zip] Error 1

Done building janice in 104 minutes 14 seconds

I think that is a recovery problem, but I'm not sure, any solution?
[Android] gogoo88:
im trying to build liguidsmooth but i got this error:

maybe i need increase the recovery partition size in boardconfig?? now is BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00A7DEA0
[Android] DSA:
you dont need to build the recovery, comment it out

https://github.com/Darkside-Agent/a...mmit/150cb80ffd27df33d65c8204f50517af988d4477
[Android] neonkat:
Can someone help me in adding hotplugs to a kernel?(i think this is the right place to ask)..or give me some guide for adding it?also can someone give me links to guides which help to add features to kernel(i am a big noob)..i see some kernels have lots of features but i can't find any appropriate guide...
[Android] nitin.chobhe:
What I do is, remove ':i386' from the package names and run the commands. It works :thumbup:
[Android] Shahan_mik3:
thanks to you successfully made a local build :D
[Android] sathish804:
[MENTION=5305791]KeTuRr74[/MENTION] : I am interested in Building the Bliss ROM for OnePlus for myself.

Could you please guide me with Environment setup.
[Android] KeTuRr74:
Follow the thread first and when you need to eepo init, follow this : https://github.com/TeamBliss-LP/android/blob/lp5.1/README.mkdn
[Android] sathish804:
Thank You!!
[Android] sathish804:
I followed the link and Synced the repo.

At this command I am getting No such file or directory error.

.build/envsetup.sh &&breakfast bacon &&brunch bacon

Please find the screen shot.

Edit: After reboot I see the build folder and I executed the above command but I am getting breakfast command not found error.

Please find the screen shot enclosed.
[Android] MJPollard:
You need to put a space after the period, i.e. . build/envsetup.sh (not .build/envsetup.sh).
[Android] sathish804:
Thank You!!

Now I see a new issue.

root@sathish804:~# cd /home/sathish804/bliss/
root@sathish804:/home/sathish804/bliss# . build/envsetup.sh && breakfast bacon && brunch bacon
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/oneplus/bacon/vendorsetup.sh
build/core/envsetup.mk:94: *** Unable to determine HOST_ARCH from uname -sm: Linux i686!. Stop.
WARNING: Trying to fetch a device that's already there
build/core/envsetup.mk:94: *** Unable to determine HOST_ARCH from uname -sm: Linux i686!. Stop.

** Don't have a product spec for: 'bliss_bacon'
** Do you have the right repo manifest?
[Android] :
You should learn C Programming language first.
[Android] KeTuRr74:
Try this

. build/envsetup.sh

breakfast bacon

brunch bacon