Hello
I am trying to build an image for Pixel 5a, on the last part, when I run the following:
Code:
$ brunch barbet
on the last part, I am getting an error as follows:
Code:
============================================
$(shell date -u +%Y%m%d) was changed, regenerating...
$(shell date -u +%Y%m%d) was changed, regenerating...
[ 94% 599/632] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:57: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
system/sepolicy/Android.mk:62: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
[100% 632/632] writing build rules ...
build/make/core/Makefile:61: warning: overriding commands for target `out/target/product/barbet/product/media/bootanimation.zip'
build/make/core/base_rules.mk:525: warning: ignoring old commands for target `out/target/product/barbet/product/media/bootanimation.zip'
build/make/core/Makefile:61: warning: overriding commands for target `out/target/product/barbet/vendor/etc/gps.conf'
build/make/core/base_rules.mk:525: warning: ignoring old commands for target `out/target/product/barbet/vendor/etc/gps.conf'
build/make/core/Makefile:61: warning: overriding commands for target `out/target/product/barbet/product/etc/res/images/charger/battery_fail.png'
build/make/core/base_rules.mk:525: warning: ignoring old commands for target `out/target/product/barbet/product/etc/res/images/charger/battery_fail.png'
build/make/core/Makefile:61: warning: overriding commands for target `out/target/product/barbet/product/etc/res/images/charger/battery_scale.png'
build/make/core/base_rules.mk:525: warning: ignoring old commands for target `out/target/product/barbet/product/etc/res/images/charger/battery_scale.png'
build/make/core/Makefile:61: warning: overriding commands for target `out/target/product/barbet/product/etc/res/values/charger/animation.txt'
build/make/core/base_rules.mk:525: warning: ignoring old commands for target `out/target/product/barbet/product/etc/res/values/charger/animation.txt'
build/make/core/Makefile:61: warning: overriding commands for target `out/target/product/barbet/vendor/lib/ese_spi_st.so'
build/make/core/base_rules.mk:525: warning: ignoring old commands for target `out/target/product/barbet/vendor/lib/ese_spi_st.so'
FAILED: ninja: 'system/core/libhelios/libhelios.so', needed by 'out/target/product/barbet/system/lib64/libhelios.so', missing and no known rule to make it
00:36:56 ninja failed with: exit status 1
#### failed to build some targets (01:25 (mm:ss)) ####
is there anyone that know where to find 'libhelios.so', please.
I am so excited to install my own image to the phone.
Thank you very much
Rasim
Related
OK So I decided to complie GB on Ubuntu, downloaded sources and all, but when I try to build an otapackage, I just get some files under my output folder! Anyone can help please? Here's my log:
[email protected]:~/WORKING_DIRECTORY# make otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=cyanogen_shakira
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
build/core/Makefile:32: warning: overriding commands for target `out/target/product/shakira/system/bin/hciattach'
build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/shakira/system/bin/hciattach'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/shakira/system/lib/libril.so'
build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/shakira/system/lib/libril.so'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/shakira/system/lib/hw/gralloc.msm7k.so'
build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/shakira/system/lib/hw/gralloc.msm7k.so'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/shakira/system/lib/hw/gralloc.default.so'
build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/shakira/system/lib/hw/gralloc.default.so'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/shakira/system/lib/hw/copybit.msm7k.so'
build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/shakira/system/lib/hw/copybit.msm7k.so'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/shakira/system/lib/libcamera.so'
build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/shakira/system/lib/libcamera.so'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/shakira/system/lib/libaudio.so'
build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/shakira/system/lib/libaudio.so'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/shakira/system/etc/wifi/softap/hostapd.conf'
build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/shakira/system/etc/wifi/softap/hostapd.conf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/shakira/system/etc/wifi/tiwlan.ini'
build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/shakira/system/etc/wifi/tiwlan.ini'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/shakira/system/etc/wifi/softap/tiwlan_ap.ini'
build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/shakira/system/etc/wifi/softap/tiwlan_ap.ini'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/shakira/kernel'
device/semc/shakira/AndroidBoard.mk:27: warning: ignoring old commands for target `out/target/product/shakira/kernel'
No private recovery resources for TARGET_DEVICE shakira
Install: out/host/linux-x86/bin/mkbootfs
target Prebuilt: (out/target/product/shakira/root/init.rc)
target Prebuilt: (out/target/product/shakira/root/ueventd.rc)
target Prebuilt: (out/target/product/shakira/root/init.goldfish.rc)
target Prebuilt: (out/target/product/shakira/root/ueventd.goldfish.rc)
Install: out/host/linux-x86/bin/apriori
Install: out/host/linux-x86/bin/soslim
target Non-prelinked: init (out/target/product/shakira/symbols/init)
Install: out/target/product/shakira/system/lib/libdl.so
Install: out/target/product/shakira/system/lib/libc.so
Install: out/target/product/shakira/system/lib/libstdc++.so
Install: out/target/product/shakira/system/lib/libm.so
Install: out/target/product/shakira/root/init
target Non-prelinked: adbd (out/target/product/shakira/symbols/sbin/adbd)
Install: out/target/product/shakira/root/sbin/adbd
Install: out/host/linux-x86/bin/minigzip
target Non-prelinked: recovery (out/target/product/shakira/symbols/system/bin/recovery)
Install: out/target/product/shakira/system/bin/recovery
target Prebuilt: e2fsck (out/target/product/shakira/obj/RECOVERY_EXECUTABLES/e2fsck_intermediates/e2fsck)
target Prebuilt: fix_permissions (out/target/product/shakira/obj/RECOVERY_EXECUTABLES/fix_permissions_intermediates/fix_permissions)
target Prebuilt: killrecovery.sh (out/target/product/shakira/obj/RECOVERY_EXECUTABLES/killrecovery.sh_intermediates/killrecovery.sh)
target Prebuilt: nandroid-md5.sh (out/target/product/shakira/obj/RECOVERY_EXECUTABLES/nandroid-md5.sh_intermediates/nandroid-md5.sh)
target Prebuilt: parted (out/target/product/shakira/obj/RECOVERY_EXECUTABLES/parted_intermediates/parted)
target Prebuilt: sdparted (out/target/product/shakira/obj/RECOVERY_EXECUTABLES/sdparted_intermediates/sdparted)
target Prebuilt: tune2fs (out/target/product/shakira/obj/RECOVERY_EXECUTABLES/tune2fs_intermediates/tune2fs)
make: Circular out/target/product/shakira/recovery/root.ts <- out/target/product/shakira/boot.img dependency dropped.
Install: out/host/linux-x86/framework/dumpkey.jar
target Non-prelinked: utility_flash_image (out/target/product/shakira/symbols/utilities/flash_image)
Install: out/target/product/shakira/utilities/flash_image
target Non-prelinked: static_busybox (out/target/product/shakira/symbols/utilities/busybox)
Install: out/target/product/shakira/utilities/busybox
target Non-prelinked: utility_erase_image (out/target/product/shakira/symbols/utilities/erase_image)
Install: out/target/product/shakira/utilities/erase_image
Install: out/host/linux-x86/bin/mkbootimg
Copy: out/target/product/shakira/kernel
target Prebuilt: (out/target/product/shakira/system/usr/share/zoneinfo/zoneinfo.dat)
target Prebuilt: (out/target/product/shakira/system/usr/share/zoneinfo/zoneinfo.idx)
target Prebuilt: (out/target/product/shakira/system/usr/share/zoneinfo/zoneinfo.version)
target Prebuilt: (out/target/product/shakira/system/bin/monkey)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/bash/bash_logout)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/bash/bashrc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/asm.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/awk.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/cmake.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/c.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/css.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/fortran.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/groff.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/html.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/java.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/makefile.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/nanorc.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/objc.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/ocaml.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/patch.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/perl.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/php.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/python.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/ruby.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/sh.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/tcl.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/tex.nanorc)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/nano/xml.nanorc)
target Prebuilt: (out/target/product/shakira/system/usr/share/bmd/RFFspeed_501.bmd)
target Prebuilt: (out/target/product/shakira/system/usr/share/bmd/RFFstd_501.bmd)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/baseline11k.par)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/baseline8k.par)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/baseline.par)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/dictionary/basic.ok)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/dictionary/enroll.ok)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/dictionary/cmu6plus.ok.zip)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/g2p/en-US-ttp.data)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/models/generic.swiarb)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/models/generic11.lda)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/models/generic11_f.swimdl)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/models/generic11_m.swimdl)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/models/generic8.lda)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/models/generic8_f.swimdl)
target Prebuilt: (out/target/product/shakira/system/usr/srec/config/en.us/models/generic8_m.swimdl)
Install: out/host/linux-x86/lib/libESR_Portable.so
Install: out/host/linux-x86/lib/libESR_Shared.so
Install: out/host/linux-x86/lib/libSR_EventLog.so
Install: out/host/linux-x86/lib/libSR_Core.so
Install: out/host/linux-x86/lib/libSR_AcousticModels.so
Install: out/host/linux-x86/lib/libSR_AcousticState.so
Install: out/host/linux-x86/lib/libSR_G2P.so
Install: out/host/linux-x86/lib/libSR_Semproc.so
Install: out/host/linux-x86/lib/libSR_Vocabulary.so
Install: out/host/linux-x86/lib/libSR_Grammar.so
Install: out/host/linux-x86/lib/libSR_Nametag.so
Install: out/host/linux-x86/lib/libSR_Session.so
Install: out/host/linux-x86/lib/libfst.so
Install: out/host/linux-x86/bin/grxmlcompile
Install: out/host/linux-x86/lib/libSR_Recognizer.so
Install: out/host/linux-x86/bin/make_g2g
target Prebuilt: (out/target/product/shakira/system/bin/am)
target Prebuilt: (out/target/product/shakira/system/bin/bmgr)
target Prebuilt: (out/target/product/shakira/system/bin/ime)
target Prebuilt: (out/target/product/shakira/system/bin/input)
target Prebuilt: (out/target/product/shakira/system/bin/pm)
target Prebuilt: (out/target/product/shakira/system/bin/svc)
target Prebuilt: (out/target/product/shakira/system/etc/security/cacerts.bks)
target Prebuilt: (out/target/product/shakira/system/usr/keylayout/qwerty.kl)
target Prebuilt: (out/target/product/shakira/system/usr/keylayout/AVRCP.kl)
target Prebuilt: bluetooth_etcdir (out/target/product/shakira/system/etc/bluetooth/audio.conf)
target Prebuilt: bluetooth_etcdir (out/target/product/shakira/system/etc/bluetooth/input.conf)
target Prebuilt: bluetooth_etcdir (out/target/product/shakira/system/etc/bluetooth/main.conf)
target Prebuilt: bluetooth_etcdir (out/target/product/shakira/system/etc/bluetooth/blacklist.conf)
target Prebuilt: bluetooth_etcdir (out/target/product/shakira/system/etc/bluetooth/auto_pairing.conf)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/dbus.conf)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/hosts)
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/init.goldfish.sh)
Install: out/host/linux-x86/bin/aapt
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/dx.jar
Install: out/host/linux-x86/bin/dx
Copying: out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/bin/aidl
Copying: out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/ADWLauncher_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/signapk.jar
Install: out/host/linux-x86/bin/zipalign
Copy: out/host/linux-x86/usr/icu/icudt44l.dat
Copy: out/host/linux-x86/etc/security/cacerts.bks
Install: out/host/linux-x86/lib/libcrypto.so
Install: out/host/linux-x86/lib/libssl.so
Install: out/host/linux-x86/lib/libicuuc.so
Install: out/host/linux-x86/lib/libicui18n.so
Install: out/host/linux-x86/lib/libdvm.so
Install: out/host/linux-x86/bin/dexopt
Copying: out/target/common/obj/JAVA_LIBRARIES/android.policy_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/services_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/target/product/shakira/system/app/ADWLauncher.odex
Install: out/target/product/shakira/system/app/ADWLauncher.apk
Copying: out/target/common/obj/APPS/AccountAndSyncSettings_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/target/product/shakira/system/app/AccountAndSyncSettings.odex
Install: out/target/product/shakira/system/app/AccountAndSyncSettings.apk
Copying: out/target/common/obj/APPS/AndroidTerm_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/target/product/shakira/system/app/AndroidTerm.odex
target Non-prelinked: libandroidterm2 (out/target/product/shakira/symbols/system/lib/libandroidterm2.so)
Install: out/target/product/shakira/system/lib/liblog.so
Install: out/target/product/shakira/system/lib/libz.so
Install: out/target/product/shakira/system/lib/libcutils.so
Install: out/target/product/shakira/system/lib/libutils.so
Install: out/target/product/shakira/system/lib/libandroidterm2.so
Install: out/target/product/shakira/system/app/AndroidTerm.apk
Install: out/target/product/shakira/system/app/Androidian.apk
Copying: out/target/common/obj/APPS/ApplicationsProvider_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/target/product/shakira/system/app/ApplicationsProvider.odex
Install: out/target/product/shakira/system/app/ApplicationsProvider.apk
Copying: out/target/common/obj/JAVA_LIBRARIES/javax.obex_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/Bluetooth_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/target/product/shakira/system/app/Bluetooth.odex
Install: out/target/product/shakira/system/app/Bluetooth.apk
Copying: out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/emma_out/lib/classes-jarjar.jar
target Static Jar: android-common (out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/javalib.jar)
Copying: out/target/common/obj/APPS/Browser_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/target/product/shakira/system/app/Browser.odex
Install: out/target/product/shakira/system/app/Browser.apk
Copying: out/target/common/obj/APPS/CMParts_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/target/product/shakira/system/app/CMParts.odex
Install: out/target/product/shakira/system/app/CMParts.apk
Copying: out/target/common/obj/APPS/CMScreenshot_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/target/product/shakira/system/app/CMScreenshot.odex
Install: out/target/product/shakira/system/app/CMScreenshot.apk
make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/libGoogleAnalyticsV2_intermediates/javalib.jar', needed by `out/target/common/obj/APPS/CMStats_intermediates/classes-full-debug.jar'. Stop.
[email protected]:~/WORKING_DIRECTORY#
I don't know what's the problem but try 'make bacon' instead of 'make otapackage' ?
Sent from my Nexus 7 using xda app-developers app
Every time it will stop without any errors,just some warnings. here is the log:
Code:
[email protected]:~/AndroidSource/cm$ make -j4 cancro
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150729-UNOFFICIAL-cancro
TARGET_PRODUCT=cm_cancro
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48G
OUT_DIR=/home/chris/AndroidSource/cm/out
============================================
find: `dummy': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/obj/include/qcom/display/copybit_priv.h'
PRODUCT_COPY_FILES device/xiaomi/cancro/audio/audio_effects.conf:system/etc/audio_effects.conf ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b00'
device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b00'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b01'
device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b01'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b02'
device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b02'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b04'
device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b04'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b06'
device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b06'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b07'
device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b07'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b08'
device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b08'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b09'
device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.b09'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.mdt'
device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/etc/firmware/wcnss.mdt'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libOmxAacEnc.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libOmxAacEnc.so'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libOmxAmrEnc.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libOmxAmrEnc.so'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libOmxEvrcEnc.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libOmxEvrcEnc.so'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libOmxQcelp13Enc.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libOmxQcelp13Enc.so'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/bin/rild'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libril.so'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libreference-ril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libreference-ril.so'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/librilutils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/librilutils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libmm-omxcore.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/lib/libmm-omxcore.so'
build/core/Makefile:46: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/vendor/lib/liblisten.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/system/vendor/lib/liblisten.so'
No private recovery resources for TARGET_DEVICE cancro
device/xiaomi/cancro/mkbootimg.mk:35: warning: overriding commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/dt.img'
build/core/generate_extra_images.mk:109: warning: ignoring old commands for target `/home/chris/AndroidSource/cm/out/target/product/cancro/dt.img'
[B]make: *** No rule to make target `cancro'. Stop.
#### make failed to build some targets (01:08 (mm:ss)) ####[/B]
Could somebody get me a hand,Thanks!
I'm trying to compile Firefox OS using these files: "https://github.com/b2g-sprout/" . But I am having troubles 'coz there's no really fomal instructions from the Github link. I'm only a Web Developer so I don't know much about ROMs.
What I Did:
1 - Extracted "B2G" and "b2g-manifest" in home folder
2 - Extracted "device-sprout" on "device/google/sprout/"
3 - Backup System
4 - Run ANDROIDFS_DIR=backup_device ./config.sh sprout '../b2g-manifest/default.xml'
5 - Downloaded Files somewhere to get "sprout-vendor.mk" for "vendor" folder that the ./build.sh is looking for in my first run
5 - Run ./build.sh
Got this error after ./build.sh:
HTML:
<code>
./build.sh
including sdk/bash_completion/adb.bash
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.4.0.4.0.4
TARGET_PRODUCT=full_sprout
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-45-generic-x86_64-with-elementary_OS-0.3-freya
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.4.0.4.0.4
TARGET_PRODUCT=full_sprout
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-45-generic-x86_64-with-elementary_OS-0.3-freya
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
device/google/sprout/wpa_supplicant/Android.mk:19: Build wpa_supplicant_lib...
device/google/sprout/wpa_supplicant/Android.mk:27: external/wpa_supplicant_8/wpa_supplicant/android.config: No such file or directory
CMake and NDK (/home/zigmund/B2G/prebuilt/ndk/android-ndk-r7) found, will compile apitrace
external/apitrace/Android.mk:77: warning: overriding commands for target `out/target/product/sprout/obj/SHARED_LIBRARIES/egltrace_intermediates/LINKED/egltrace.so'
build/core/shared_library.mk:56: warning: ignoring old commands for target `out/target/product/sprout/obj/SHARED_LIBRARIES/egltrace_intermediates/LINKED/egltrace.so'
external/apitrace/Android.mk:82: warning: overriding commands for target `out/target/product/sprout/system/lib/egltrace.so'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/sprout/system/lib/egltrace.so'
external/apitrace/Android.mk:96: warning: overriding commands for target `out/target/product/sprout/obj/EXECUTABLES/apitrace_intermediates/LINKED/apitrace'
build/core/executable.mk:22: warning: ignoring old commands for target `out/target/product/sprout/obj/EXECUTABLES/apitrace_intermediates/LINKED/apitrace'
external/screencap-gonk/Android.mk:35: warning: overriding commands for target `out/target/product/sprout/system/bin/screencap-gonk'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/sprout/system/bin/screencap-gonk'
find: `../../external/apache-http/src/org/apache/http': No such file or directory
find: `../../external/apache-http/src/org/apache/http': No such file or directory
find: `../../external/apache-http/src/org/apache/http': No such file or directory
find: `../../external/nist-sip/java': No such file or directory
find: `../../external/apache-http/src': No such file or directory
find: `../../external/libphonenumber/java/src': No such file or directory
gaia/Android.mk:53: warning: overriding commands for target `out/target/product/sprout/data/local/gaia'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/sprout/data/local/gaia'
gonk-misc/Android.mk:30: warning: overriding commands for target `out/target/product/sprout/obj/ETC/init.rc_intermediates/init.rc'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/sprout/obj/ETC/init.rc_intermediates/init.rc'
gonk-misc/Android.mk:137: warning: overriding commands for target `out/target/product/sprout/obj/DATA/sources.xml_intermediates/sources.xml'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/sprout/obj/DATA/sources.xml_intermediates/sources.xml'
gonk-misc/Android.mk:359: warning: overriding commands for target `out/target/product/sprout/system/gecko'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/sprout/system/gecko'
gonk-misc/Android.mk:447: warning: overriding commands for target `out/target/product/sprout/obj/DATA/gecko_intermediates/gecko'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/sprout/obj/DATA/gecko_intermediates/gecko'
build/core/base_rules.mk:82: *** Module name: librilutils
build/core/base_rules.mk:83: *** Makefile location: hardware/ril/librilutils
build/core/base_rules.mk:84: *
build/core/base_rules.mk:85: * Each module must use a LOCAL_MODULE_TAGS in its
build/core/base_rules.mk:86: * Android.mk. Possible tags declared by a module:
build/core/base_rules.mk:87: *
build/core/base_rules.mk:88: * optional, debug, eng, tests, samples
build/core/base_rules.mk:89: *
build/core/base_rules.mk:90: * If the module is expected to be in all builds
build/core/base_rules.mk:91: * of a product, then it should use the
build/core/base_rules.mk:92: * "optional" tag:
build/core/base_rules.mk:93: *
build/core/base_rules.mk:94: * Add "LOCAL_MODULE_TAGS := optional" in the
build/core/base_rules.mk:95: * Android.mk for the affected module, and add
build/core/base_rules.mk:96: * the LOCAL_MODULE value for that component
build/core/base_rules.mk:97: * into the PRODUCT_PACKAGES section of product
build/core/base_rules.mk:98: * makefile(s) where it's necessary, if
build/core/base_rules.mk:99: * appropriate.
build/core/base_rules.mk:100: *
build/core/base_rules.mk:101: * If the component should be in EVERY build of ALL
build/core/base_rules.mk:102: * products, then add its LOCAL_MODULE value to the
build/core/base_rules.mk:103: * PRODUCT_PACKAGES section of
build/core/base_rules.mk:104: * build/target/product/core.mk
build/core/base_rules.mk:105: *
build/core/base_rules.mk:106: *** user tag detected on new module - user tags are only supported on legacy modules. Stop.
real 0m42.594s
user 0m4.868s
sys 0m4.684s
> Build failed! <
Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else.
</code>
After executing "./build.sh rm -rf out":
HTML:
<code>
./build.sh rm -rf out
including sdk/bash_completion/adb.bash
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.4.0.4.0.4
TARGET_PRODUCT=full_sprout
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-45-generic-x86_64-with-elementary_OS-0.3-freya
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
make: *** out: Is a directory. Stop.
real 0m0.002s
user 0m0.000s
sys 0m0.002s
> Build failed! <
Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else.
</code>
Check this out Sir Firefox OS Build prerequisites
1. Try with newer sources of Firefox. Take nexus 5 as reference.
2. To delete the our folder, use the command "rm rf- out/" or "make clean "
3. Use"-j1" tag for better error messages
make rule issue
Hi there! I'm attempting to compile FFOS but I keep running into this error:
Code:
make: *** No rule to make target `out/target/product/sprout/kernel', needed by `out/target/product/sprout/boot.img'. Stop.
Is there anything that I missed? If it's a file, could I download it? Don't want to do another repo sync since the Internet at my place kinda sucks.
Hi there,
It's my first time to try to build LineageOS from source for Mi 5 (gemini), and I am following official instructions here wiki lineageos org gemini_build html
But I got errors after runing 'brunch gemini'. Any help are welcome, thanks very much!
Code:
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170130-UNOFFICIAL-gemini
TARGET_PRODUCT=lineage_gemini
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NMF26V
OUT_DIR=/root/android/system/out
============================================
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/root/android/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
No private recovery resources for TARGET_DEVICE gemini
build/core/java.mk:334: warning: overriding commands for target `/root/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/root/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/root/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/root/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:316: warning: overriding commands for target `/root/android/system/out/target/product/gemini/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/root/android/system/out/target/product/gemini/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/root/android/system/out/target/product/gemini/system/etc/libnfc-brcm.conf'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/root/android/system/out/target/product/gemini/system/etc/libnfc-brcm.conf'
build/core/Makefile:34: warning: overriding commands for target `/root/android/system/out/target/product/gemini/system/etc/libnfc-nxp.conf'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/root/android/system/out/target/product/gemini/system/etc/libnfc-nxp.conf'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/root/android/system/out/target/product/gemini/obj/SHARED_LIBRARIES/libqminvapi_intermediates/export_includes', needed by '/root/android/system/out/target/product/gemini/obj/EXECUTABLES/readmac_intermediates/import_includes', 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 '/root/android/system'
#### make failed to build some targets (45 seconds) ####
I try to build the LineageOS,but the system fails to compile
how to fix it?
Reference documentation
http://wiki.lineageos.org/gemini_build.html#start-the-build
build/core/base_rules.mk:316: warning: overriding commands for target `/mnt/media/system/out/target/product/gemini/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/mnt/media/system/out/target/product/gemini/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/mnt/media/system/out/target/product/gemini/system/etc/libnfc-brcm.conf'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/mnt/media/system/out/target/product/gemini/system/etc/libnfc-brcm.conf'
build/core/Makefile:34: warning: overriding commands for target `/mnt/media/system/out/target/product/gemini/system/etc/libnfc-nxp.conf'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/mnt/media/system/out/target/product/gemini/system/etc/libnfc-nxp.conf'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/mnt/media/system/out/target/product/gemini/obj/SHARED_LIBRARIES/libqminvapi_intermediates/export_includes', needed by '/mnt/media/system/out/target/product/gemini/obj/EXECUTABLES/readmac_intermediates/import_includes', 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 '/mnt/media/system'
if i run <code> mmm wifi </code>
Running kati to generate build-lineage_gemini-mmm-device_xiaomi_gemini_wifi_Android.mk.ninja...
No need to regenerate ninja file
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/mnt/media/system/out/target/product/gemini/obj/SHARED_LIBRARIES/libutils_intermediates/export_includes', needed by '/mnt/media/system/out/target/product/gemini/obj/EXECUTABLES/readmac_intermediates/import_includes', 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 '/mnt/media/system'