1. Download our Official Android App: Forums for Android!

Support Nougat Building -

Discussion in 'Android Lounge' started by shyler, Nov 30, 2016.

  1. shyler

    shyler Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Nov 26, 2016

    Nov 26, 2016
    4
    4
    6
    Hola,

    Trying to build 7.0 on my i7, 4GB, 256SSD, Ubuntu 16.06 LTS Box and I am just having a heck of a time getting it to compile it. I am a very new guy - but here's what I do. Looking forward to help - can't wait to get this working!

    Start a clean slate here -
    rm -rf out/ --> To remove old build / error crap
    make clobber --> Works awesome! ((#### make completed successfully (14 seconds) ####))
    source build/envsetup.sh --> Seems to work ((see below))
    including device/asus/fugu/vendorsetup.sh
    including device/generic/mini-emulator-arm64/vendorsetup.sh
    including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
    including device/generic/mini-emulator-mips64/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/google/dragon/vendorsetup.sh
    including device/htc/flounder/vendorsetup.sh
    including device/huawei/angler/vendorsetup.sh
    including device/lge/bullhead/vendorsetup.sh
    including device/linaro/hikey/vendorsetup.sh
    including device/moto/shamu/vendorsetup.sh
    including sdk/bash_completion/adb.bash
    lunch --> Picked a bunch and always getting the same error (see below) ((I picked aosp_arm-eng for this error))
    find: ‘vendor’: No such file or directory

    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=7.0
    TARGET_PRODUCT=aosp_arm
    TARGET_BUILD_VARIANT=eng
    TARGET_BUILD_TYPE=release
    TARGET_BUILD_APPS=
    TARGET_ARCH=arm
    TARGET_ARCH_VARIANT=armv7-a
    TARGET_CPU_VARIANT=generic
    TARGET_2ND_ARCH=
    TARGET_2ND_ARCH_VARIANT=
    TARGET_2ND_CPU_VARIANT=
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-4.4.0-51-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=NYC
    OUT_DIR=out
    AUX_OS_VARIANT_LIST=

    find: ‘vendor’: No such file or directory
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=7.0
    TARGET_PRODUCT=aosp_arm
    TARGET_BUILD_VARIANT=eng
    TARGET_BUILD_TYPE=release
    TARGET_BUILD_APPS=
    TARGET_ARCH=arm
    TARGET_ARCH_VARIANT=armv7-a
    TARGET_CPU_VARIANT=generic
    TARGET_2ND_ARCH=
    TARGET_2ND_ARCH_VARIANT=
    TARGET_2ND_CPU_VARIANT=
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-4.4.0-51-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=NYC
    OUT_DIR=out
    AUX_OS_VARIANT_LIST=
    ============================================
    [38/38] bootstrap out/soong/.minibootstrap/build.ninja.in
    [4/4] cp out/soong/.bootstrap/bin/bpglob
    [137/138] glob system/tools/hidl/utils/Android.bp
    [35/35] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
    Running kati to generate build-aosp_arm.ninja...
    out/build-aosp_arm.ninja is missing, regenerating...
    find: ‘vendor’: No such file or directory
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=7.0
    TARGET_PRODUCT=aosp_arm
    TARGET_BUILD_VARIANT=eng
    TARGET_BUILD_TYPE=release
    TARGET_BUILD_APPS=
    TARGET_ARCH=arm
    TARGET_ARCH_VARIANT=armv7-a
    TARGET_CPU_VARIANT=generic
    TARGET_2ND_ARCH=
    TARGET_2ND_ARCH_VARIANT=
    TARGET_2ND_CPU_VARIANT=
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-4.4.0-51-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=NYC
    OUT_DIR=out
    AUX_OS_VARIANT_LIST=
    make -j8
    ============================================
    Checking build tools versions...
    FindEmulator: find: File system loop detected; `./build/blueprint/tests/test_tree/blueprint' is part of the same file system loop as `./build/blueprint'.
    including out/soong/Android-aosp_arm.mk ...
    including ./android/external/aac/Android.mk ...
    including ./android/external/brctl/Android.mk ...
    including ./android/external/dnsmasq/Android.mk ...
    including ./android/external/e2fsprogs/Android.mk ...
    including ./android/external/ebtables/Android.mk ...
    "ebtables is disabled on this build"
    including ./android/external/eigen/Android.mk ...
    including ./android/external/f2fs-tools/Android.mk ...
    including ./android/external/gptfdisk/Android.mk ...
    including ./android/external/iproute2/Android.mk ...
    build/core/binary.mk:370: *** android/external/iproute2/ip/Android.mk: ip: LOCAL_CLANG is set to false.
    build/core/ninja.mk:99: recipe for target 'out/build-aosp_arm.ninja' failed
    make: *** [out/build-aosp_arm.ninja] Error 1

    #### make failed to build some targets (13 seconds) ####
     

    Advertisement

Share This Page

Loading...