Code:
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=aokp_p3110
TARGET_BUILD_VARIANT=userdebug
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.5.0-17-generic-x86_64-with-LinuxMint-14-nadia
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/arun/aokp/out
============================================
Checking build tools versions...
grep: /bltsville/gcbv/version.h: No such file or directory
ls: cannot access /bltsville/ticpu/lib/android/libbltsville_*.*.so: No such file or directory
build/core/base_rules.mk:130: *** device/samsung/p3100/power: MODULE.TARGET.SHARED_LIBRARIES.power.piranha already defined by device/samsung/omap4-common/libpower. Stop.
Contents of both files...
OMAP4-Common/libpower
Code:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := power.$(TARGET_BOOTLOADER_BOARD_NAME)
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_SRC_FILES := power.c
#LOCAL_SHARED_LIBRARIES := liblog
#LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
P3100/power
Code:
LOCAL_PATH := $(call my-dir)
# HAL module implemenation stored in
# hw/<POWERS_HARDWARE_MODULE_ID>.<ro.hardware>.so
include $(CLEAR_VARS)
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_SHARED_LIBRARIES := liblog libcutils
LOCAL_SRC_FILES := power_piranha.c
LOCAL_MODULE := power.piranha
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
Solution needed urgently please..
Related
I'm am a n00b at compiling, but am trying to learn. I want to start messing aroundith some developing and have to get the foot in the door some where. I know this is probably a complete noob question, but his was my first time ever tring to build and am looking for help. I'm trying to compile AOKP but I keep getting a build error at he beginning. Any help will be gratefully appriciated and will help me become better at this. Now for all the code:
including device/asus/grouper/vendorsetup.sh
including device/asus/tilapia/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/lge/mako/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including device/samsung/toro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/aokp/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/aokp/vendorsetup.sh
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=aokp_grouper
TARGET_BUILD_VARIANT=userdebug
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.5.0-17-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/genstukov/android/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=aokp_grouper
TARGET_BUILD_VARIANT=userdebug
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.5.0-17-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/genstukov/android/out
============================================
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
find: `src': No such file or directory
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Effect_Tick.ogg:system/media/audio/ui/Effect_Tick.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressStandard.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressSpacebar.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressDelete.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressReturn.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click.ogg:system/media/audio/ui/camera_click.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/LowBattery.ogg:system/media/audio/ui/LowBattery.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Dock.ogg:system/media/audio/ui/Dock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Undock.ogg:system/media/audio/ui/Undock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Lock.ogg:system/media/audio/ui/Lock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Unlock.ogg:system/media/audio/ui/Unlock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressStandard_120.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressSpacebar_120.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressDelete_120.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressReturn_120.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.
build/core/Makefile:43: warning: overriding commands for target `/home/genstukov/android/out/target/product/grouper/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/genstukov/android/out/target/product/grouper/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE grouper
build/core/tasks/kernel.mk:40: ***************************************************************
build/core/tasks/kernel.mk:41: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:42: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:43: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:44: * source repository to kernel/asus/grouper
build/core/tasks/kernel.mk:45: * See http://wiki.cyanogenmod.com/wiki/Integrated_kernel_building
build/core/tasks/kernel.mk:46: * for more information *
build/core/tasks/kernel.mk:47: ***************************************************************
make: *** No rule to make target `/home/genstukov/android/out/target/product/grouper/kernel', needed by `/home/genstukov/android/out/target/product/grouper/boot.img'. Stop.
Click to expand...
Click to collapse
And now for the question, how can I fix this?
You don't have kernel in the specified path. Clone the CM10.1 kernel, then create the path in the error. Move the files from the clone and you should be good.
To clone the CM kernel, create your kernel clone folder in your home directory. It will look something like this from the terminal:
[email protected]:~$ mkdir ~/cyanogenkernel
[email protected]:~$ cd ~/cyanogenkernel
[email protected]:~/cyanogenkernel$ git clone git://github.com/CyanogenMod/android_kernel_asus_grouper.git
I compile new system for my S5PV210 devboard to add fastrax UART GPS module to serial port 3 of the board.
I put sources fastrax_gps.c in folder android/hardware/fastrax_gps/
Android.mk contents:
Code:
ifeq ($(strip $(BOARD_USES_NMEA_GPS)),true)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := fastrax_gps.c
LOCAL_MODULE := gps.boundary
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_SHARED_LIBRARIES := \
libutils \
libcutils \
libdl \
libc
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE_TAGS := eng
include $(BUILD_SHARED_LIBRARY)
endif
After system compiling I can see gps.boundary.so in the android/out/target/product/smdkv210/obj/lib/
But when I try to find it at device /system/lib/hw I only find the gps.goldfish.so. This is gps emulator.
What should I do to link gps.boundary.so with the system so that it used this module?
I've added some code to the device.mk
Code:
#GPS module
PRODUCT_PACKAGES += \
gps.boundary \
Now gps.boundary.so is present in /system/lib/hw/
But GPS still not working.
Any suggestions?
Hi I try to compile slimrom (MM) but I have this error
[email protected]:~/android/f70n/roms/slimrom$ . build/envsetup.sh
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/lge/vee7/vendorsetup.sh
including vendor/slim/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/android/f70n/roms/slimrom$ lunch slim_vee7-userdebug
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=UNOFFICIAL
PLATFORM_VERSION=6.0
SLIM_VERSION=Slim-6.0.alpha.0.1-UNOFFICIAL-20160402-1948
TARGET_PRODUCT=slim_vee7
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a5
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-34-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MRA59B
OUT_DIR=/home/vangreen/android/f70n/roms/slimrom/out
============================================
[email protected]:~/android/f70n/roms/slimrom$ make -j2 bacon
============================================
PLATFORM_VERSION_CODENAME=UNOFFICIAL
PLATFORM_VERSION=6.0
SLIM_VERSION=Slim-6.0.alpha.0.1-UNOFFICIAL-20160402-1949
TARGET_PRODUCT=slim_vee7
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a5
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-34-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MRA59B
OUT_DIR=/home/vangreen/android/f70n/roms/slimrom/out
============================================
bionic/libc/arch-arm/arm.mk:55: *** "TARGET_CPU_VARIANT not set or set to an unknown value. Possible values are cortex-a7, cortex-a8, cortex-a9, cortex-a15, krait, denver. Use generic for devices that do not have a CPU similar to any of the supported cpu variants.". Stop.
#### make failed to build some targets (01:13 (mm:ss)) ####
[email protected]:~/android/f70n/roms/slimrom$ ^C
[email protected]:~/android/f70n/roms/slimrom$
That's a toughy
Sent from my iPhone using Tapatalk
I fix it. Slim source not suported cortex a5 architecture. I paste folder from omni source and everything works
TT || LG F70
Cd slim/device/lge/f70n/patches && sh apply.sh
I've got this when compiling Slim6 for Huawei Y300
============================================
system/bt/Android.mk:18: extraneous text after 'ifeq' directive
build/core/tasks/kernel.mk:150: **********************************************************
build/core/tasks/kernel.mk:151: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:152: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:153: * BoardConfig.mk file *
build/core/tasks/kernel.mk:154: **********************************************************
Building with Jack: /home/android/android/y300/out/target/common/obj/JAVA_LIBRARIES/libprotobuf-java-nano_intermediates/classes.jack
Launching background server java -Dfile.encoding=UTF-8 -Xms2560m -XX:+TieredCompilation -jar /home/android/android/y300/out/host/linux-x86/framework/jack-launcher.jar -cp /home/android/android/y300/out/host/linux-x86/framework/jack.jar com.android.jack.server.JackSimpleServer
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:1: The type java.lang.Object cannot be found in source files, imported jack libs or the classpath
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:1: The type java.lang.Class cannot be found in source files, imported jack libs or the classpath
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:33: The import java.lang cannot be resolved
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:34: The import java.lang cannot be resolved
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:35: The import java.lang cannot be resolved
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:36: The import java.lang cannot be resolved
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:37: The import java.lang cannot be resolved
. . .<3 pages of errors>
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/CodedOutputByteBufferNano.java:360: IllegalArgumentException cannot be resolved to a type
build/core/java.mk:636: recipe for target '/home/android/android/y300/out/target/common/obj/JAVA_LIBRARIES/libprotobuf-java-nano_intermediates/classes.jack' failed
make: *** [/home/android/android/y300/out/target/common/obj/JAVA_LIBRARIES/libprotobuf-java-nano_intermediates/classes.jack] Error 41
make: Leaving directory '/home/android/android/y300'
Click to expand...
Click to collapse
i am getting an error but i dont know why its generating....
Started by user Govind Pathak
Building on master in workspace /home/govind/a
[a] $ /bin/bash /tmp/hudson7060322579195071189.sh
Set cache size limit to 50.0 Gbytes
including device/oneplus/cheeseburger/vendorsetup.sh
including vendor/aos/vendorsetup.sh
including sdk/bash_completion/adb.bash
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
Trying dependencies-only mode on anon-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
AOS_MOD_VERSION=Atomic-OS-1.5-cheeseburger-20170818-1644-LabMade
TARGET_PRODUCT=aos_cheeseburger
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=kryo
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-2-amd64-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/govind/a/out
============================================
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
=====Team DarkNess Presents=======
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
AOS_MOD_VERSION=Atomic-OS-1.5-cheeseburger-20170818-1644-LabMade
TARGET_PRODUCT=aos_cheeseburger
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=kryo
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-2-amd64-x86_64-with-debian-9.0
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/govind/a/out
============================================
Running kati to generate build-aos_cheeseburger.ninja...
Environment variable BUILD_NUMBER was modified (220 => 221), regenerating...
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
=====Team DarkNess Presents=======
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
AOS_MOD_VERSION=Atomic-OS-1.5-cheeseburger-20170818-1644-LabMade
TARGET_PRODUCT=aos_cheeseburger
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=kryo
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-2-amd64-x86_64-with-debian-9.0
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/govind/a/out
============================================
mv: cannot stat '/home/govind/a/out/target/product/cheeseburger/clean_steps.mk.tmp': No such file or directory
Disabling ART_BUILD_TARGET_DEBUG
Disabling ART_BUILD_HOST_DEBUG
build/core/binary.mk:1267: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1267: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1267: 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:1267: 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: ‘/home/govind/a/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
PRODUCT_COPY_FILES device/oneplus/cheeseburger/rootdir/etc/init.qcom.post_boot.sh:system/etc/init.qcom.post_boot.sh ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-brcm.conf'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-brcm.conf'
build/core/Makefile:46: warning: overriding commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-nxp.conf'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-nxp.conf'
build/core/Makefile:46: warning: overriding commands for target `/home/govind/a/out/target/product/cheeseburger/system/lib64/libjni_latinime.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/govind/a/out/target/product/cheeseburger/system/lib64/libjni_latinime.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/govind/a/out/target/product/cheeseburger/obj/STATIC_LIBRARIES/librecovery_ui_msm_intermediates/export_includes', needed by '/home/govind/a/out/target/product/cheeseburger/obj/EXECUTABLES/recovery_intermediates/import_includes', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1
yes i synced device/qcom/common
any help will be appriciated
"Trying dependencies-only mode on anon-existing device tree?"
The above error is the real error if my memory serves .. Sometthing to do with roomservice.xml or what its called in the ROM you are trying to build.. Sorry I'm a bit rusty, haven't build since Lollipop but Check the dependencies.
I am trying to compile pure aosp source and keep getting these two errors. I am using the lineage vendor files and am using aosp device trees P.S. I'm using a live system but the issue is that there are two undefined methods in the lineage vendor files.
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=aosp_trlte
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-7634-generic-x86_64-Pop!_OS-20.04-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QP1A.190711.019
OUT_DIR=out
============================================
[ 43% 49/113] compile out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a
FAILED: out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a
GOROOT='prebuilts/go/linux-x86' prebuilts/go/linux-x86/pkg/tool/linux_amd64/compile -c 8 -o out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a.tmp -p lineage/soong/generator -complete -I out/soong/.bootstrap/blueprint-parser/pkg -I out/soong/.bootstrap/blueprint-deptools/pkg -I out/soong/.bootstrap/blueprint-pathtools/pkg -I out/soong/.bootstrap/blueprint-proptools/pkg -I out/soong/.bootstrap/blueprint/pkg -I out/soong/.bootstrap/soong/pkg -I out/soong/.bootstrap/blueprint-bootstrap-bpdoc/pkg -I out/soong/.bootstrap/blueprint-bootstrap/pkg -I out/soong/.bootstrap/soong-env/pkg -I out/soong/.bootstrap/soong-android/pkg -I out/soong/.bootstrap/soong-shared/pkg -pack vendor/lineage/build/soong/generator/generator.go vendor/lineage/build/soong/generator/variables.go && if cmp --quiet out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a.tmp out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a; then rm out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a.tmp; else mv -f out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a.tmp out/soong/.bootstrap/soong-lineage-generator/pkg/lineage/soong/generator.a; fi
vendor/lineage/build/soong/generator/generator.go:124:48: ctx.Config().BuildOSTarget undefined (type android.Config has no field or method BuildOSTarget)
vendor/lineage/build/soong/generator/generator.go:229:38: undefined: android.PathForSourceRelaxed
03:19:35 soong bootstrap failed with: exit status 1
#### failed to build some targets (2 seconds) ####