No internet connection
  1. Home
  2. General

problem in building havoc rom from source

By mojienjoyment @Mojienjoynent
    2022-02-27 20:05:02.647Z2022-02-28 11:48:55.044Z

    hello friends. i'm trying to build havoc 11 from source. i downloaded source code. i clone my device kernel and device tree. i clone havoc vendor repo from github. but i have thsiserror on final step (brunch step). this is my error. what should i do ? thanks for your support.:
    my device is cancro (xiaomi mi4). i use lineage-18.1 branch device tree from here:
    https://github.com/Mi3-4-Dev...
    this my error when i enter brunch command

    [email protected]:~/havoc$ brunch cancro

    14:42:53 ************************************************************
    14:42:53 You are building on a machine with 4.81GB of RAM
    14:42:53
    14:42:53 The minimum required amount of free memory is around 16GB,
    14:42:53 and even with that, some configurations may not work.
    14:42:53
    14:42:53 If you run into segfaults or other errors, try reducing your
    14:42:53 -j value.
    14:42:53 ************************************************************

    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=11
    TARGET_PRODUCT=aosp_arm
    TARGET_BUILD_VARIANT=eng
    TARGET_BUILD_TYPE=release
    TARGET_ARCH=arm
    TARGET_ARCH_VARIANT=armv7-a-neon
    TARGET_CPU_VARIANT=generic
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-5.13.0-30-generic-x86_64-Ubuntu-20.04.4-LTS
    HOST_CROSS_OS=windows
    HOST_CROSS_ARCH=x86
    HOST_CROSS_2ND_ARCH=x86_64
    HOST_BUILD_TYPE=release
    BUILD_ID=RQ3A.211001.001
    OUT_DIR=out
    PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl
    packages/apps/Bluetooth

    [100% 2/2] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
    FAILED: out/soong/build.ninja
    out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b
    out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build
    -globs.ninja -o out/soong/build.ninja Android.bp
    error: hardware/qcom-caf/sm8350/Android.bp:1:1: module "soong_namespace": namesp
    ace vendor/qcom/opensource/commonsys-intf/display does not exist
    error: hardware/qcom-caf/sm8250/Android.bp:1:1: module "soong_namespace": namesp
    ace vendor/qcom/opensource/commonsys-intf/display does not exist
    error: hardware/qcom-caf/sdm845/Android.bp:1:1: module "soong_namespace": namesp
    ace vendor/qcom/opensource/commonsys-intf/display does not exist
    14:43:10 soong bootstrap failed with: exit status 1

    • 0 replies