Skip to content

Instantly share code, notes, and snippets.

@hashroot
Created March 29, 2016 20:44
Show Gist options
  • Save hashroot/5dac09c6a58638df623e553125dec2a0 to your computer and use it in GitHub Desktop.
Save hashroot/5dac09c6a58638df623e553125dec2a0 to your computer and use it in GitHub Desktop.
^[[Arishbh@workshop ~/cm-b2g/B2G $ ./build.sh gecko -j1
B2G_DIR = /home/rishbh/cm-b2g/B2G
GECKO_PATH = /home/rishbh/cm-b2g/B2G/gecko
B2G_DEBUG = 1
B2G_NOOPT = 0
B2G_PROF = 0
VARIANT = userdebug
NOFTU = 1
GECKO_OBJDIR = /home/rishbh/cm-b2g/B2G/objdir-gecko-debug-userdebug
including device/xiaomi/ferrari/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=
TARGET_PRODUCT=full_ferrari
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-32-generic-x86_64-with-LinuxMint-17.3-rosa
HOST_BUILD_TYPE=release
BUILD_ID=LMY48Y
OUT_DIR=/home/rishbh/cm-b2g/B2G/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=
TARGET_PRODUCT=full_ferrari
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-32-generic-x86_64-with-LinuxMint-17.3-rosa
HOST_BUILD_TYPE=release
BUILD_ID=LMY48Y
OUT_DIR=/home/rishbh/cm-b2g/B2G/out
============================================
find: warning: Unix filenames usually don't contain slashes (though pathnames do). That means that '-name `/home/rishbh/cm-b2g/B2G/out'' will probably evaluate to false all the time on this system. You might find the '-wholename' test more useful, or perhaps '-samefile'. Alternatively, if you are using GNU grep, you could use 'find ... -print0 | grep -FzZ `/home/rishbh/cm-b2g/B2G/out''.
CMake not found, will not compile apitrace
/home/rishbh/cm-b2g/B2G/external/busybox/scripts/gcc-version.sh: line 11: cc: command not found
/home/rishbh/cm-b2g/B2G/external/busybox/scripts/gcc-version.sh: line 11: cc: command not found
/home/rishbh/cm-b2g/B2G/external/busybox/scripts/gcc-version.sh: line 11: cc: command not found
external/speex/Android.mk:55: TODOArm64: enable neon in libspeex
build/core/dynamic_binary.mk:76: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/symbols/system/lib64/libstagefright_http_support.so'
build/core/dynamic_binary.mk:76: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/symbols/system/lib64/libstagefright_http_support.so'
gaia/Android.mk:53: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/data/local/gaia'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/data/local/gaia'
gonk-misc/Android.mk:30: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj/ETC/init.rc_intermediates/init.rc'
build/core/prebuilt_internal.mk:247: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj/ETC/init.rc_intermediates/init.rc'
gonk-misc/Android.mk:425: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/gecko'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/gecko'
gonk-misc/Android.mk:527: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj/DATA/gecko_intermediates/gecko'
build/core/prebuilt_internal.mk:247: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj/DATA/gecko_intermediates/gecko'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj/include/qcom/display/c2d2.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj/include/qcom/display/c2d2.h'
ln: failed to create symbolic link ‘libEGL_adreno.so’: File exists
ln: failed to create symbolic link ‘libEGL_adreno.so’: File exists
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansBengali-Bold.ttf'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansBengali-Bold.ttf'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansBengali-Regular.ttf'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansBengali-Regular.ttf'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansDevanagari-Bold.ttf'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansDevanagari-Bold.ttf'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansDevanagari-Regular.ttf'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansDevanagari-Regular.ttf'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansEthiopic-Regular.ttf'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansEthiopic-Regular.ttf'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansEthiopic-Bold.ttf'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansEthiopic-Bold.ttf'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansKhmerUI-Bold.ttf'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansKhmerUI-Bold.ttf'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansKhmerUI-Regular.ttf'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansKhmerUI-Regular.ttf'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansTamil-Bold.ttf'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansTamil-Bold.ttf'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansTamil-Regular.ttf'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/fonts/NotoSansTamil-Regular.ttf'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib/hw/audio.primary.msm8916.so'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib/hw/audio.primary.msm8916.so'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib64/hw/audio.primary.msm8916.so'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib64/hw/audio.primary.msm8916.so'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib64/libcnefeatureconfig.so'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib64/libcnefeatureconfig.so'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib/libminui.so'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib/libminui.so'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib64/libminui.so'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib64/libminui.so'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib/libsensorservice.so'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib/libsensorservice.so'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib64/libsensorservice.so'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/lib64/libsensorservice.so'
build/core/Makefile:46: warning: overriding commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/bin/sensorservice'
build/core/base_rules.mk:562: warning: ignoring old commands for target `/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/system/bin/sensorservice'
PRODUCT_COPY_FILES frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml ignored.
No private recovery resources for TARGET_DEVICE ferrari
build/core/sdk_font.mk:39: target `/home/rishbh/cm-b2g/B2G/out/host/common/obj/PACKAGING/sdk-fonts_intermediates/NotoSansBengali-Bold.ttf' given more than once in the same rule.
build/core/sdk_font.mk:39: target `/home/rishbh/cm-b2g/B2G/out/host/common/obj/PACKAGING/sdk-fonts_intermediates/NotoSansBengali-Regular.ttf' given more than once in the same rule.
build/core/sdk_font.mk:39: target `/home/rishbh/cm-b2g/B2G/out/host/common/obj/PACKAGING/sdk-fonts_intermediates/NotoSansDevanagari-Bold.ttf' given more than once in the same rule.
build/core/sdk_font.mk:39: target `/home/rishbh/cm-b2g/B2G/out/host/common/obj/PACKAGING/sdk-fonts_intermediates/NotoSansDevanagari-Regular.ttf' given more than once in the same rule.
build/core/sdk_font.mk:39: target `/home/rishbh/cm-b2g/B2G/out/host/common/obj/PACKAGING/sdk-fonts_intermediates/NotoSansEthiopic-Regular.ttf' given more than once in the same rule.
build/core/sdk_font.mk:39: target `/home/rishbh/cm-b2g/B2G/out/host/common/obj/PACKAGING/sdk-fonts_intermediates/NotoSansEthiopic-Bold.ttf' given more than once in the same rule.
build/core/sdk_font.mk:39: target `/home/rishbh/cm-b2g/B2G/out/host/common/obj/PACKAGING/sdk-fonts_intermediates/NotoSansKhmerUI-Bold.ttf' given more than once in the same rule.
build/core/sdk_font.mk:39: target `/home/rishbh/cm-b2g/B2G/out/host/common/obj/PACKAGING/sdk-fonts_intermediates/NotoSansKhmerUI-Regular.ttf' given more than once in the same rule.
build/core/sdk_font.mk:39: target `/home/rishbh/cm-b2g/B2G/out/host/common/obj/PACKAGING/sdk-fonts_intermediates/NotoSansTamil-Bold.ttf' given more than once in the same rule.
build/core/sdk_font.mk:39: target `/home/rishbh/cm-b2g/B2G/out/host/common/obj/PACKAGING/sdk-fonts_intermediates/NotoSansTamil-Regular.ttf' given more than once in the same rule.
cp: cannot stat ‘/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj_arm/lib/crtbegin_dynamic1.d’: No such file or directory
/bin/bash: /home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj_arm/lib/crtbegin_dynamic1.d: No such file or directory
sed: can't read /home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj_arm/lib/crtbrand.s: No such file or directory
make: *** [/home/rishbh/cm-b2g/B2G/out/target/product/ferrari/obj_arm/lib/crtbrand.s] Error 2
real 1m35.422s
user 0m33.436s
sys 0m6.688s
> 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment