[Treble-Enabled Device Guides, News, & Discussion] tmvkrpxl0:
Hi, there is problem with building treble.

i'm building by manual way.

but i didn't edit .mk file because i don't know what to edit and how to edit

log:

tmvkrpxl0@tmvkrpxl0-System-Product-Name:~/rom$ WITHOUT_CHECK_API=true make -j8 systemimage

============================================

▄▄▄ ▓█████ ▒██ ██▒

▒████▄ ▓█ ▀ ▒▒ █ █ ▒░

▒██ ▀█▄ ▒███ ░░ █ ░

░██▄▄▄▄██ ▒▓█ ▄ ░ █ █ ▒

▓█ ▓██▒░▒████▒▒██▒ ▒██▒

▒▒ ▓▒█░░░ ▒░ ░▒▒ ░ ░▓ ░

▒ ▒▒ ░ ░ ░ ░░░ ░▒ ░

░ ▒ ░ ░ ░

░ ░ ░ ░ ░ ░

AospExtended- 9

============================================

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=9

TARGET_PRODUCT=treble_a64_aoS

TARGET_BUILD_VARIANT=userdebug

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-4.15.0-43-generic-x86_64-Linux-Mint-19

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=PQ1A.181205.006

OUT_DIR=/home/tmvkrpxl0/rom/out

============================================

[1/1] /home/tmvkrpxl0/rom/out/soong/.m...0/rom/out/soong/.bootstrap/build.ninja

[55/56] glob prebuilts/ndk/stl.bp

[79/79] /home/tmvkrpxl0/rom/out/soong/...me/tmvkrpxl0/rom/out/soong/build.ninja

FAILED: /home/tmvkrpxl0/rom/out/soong/build.ninja

/home/tmvkrpxl0/rom/out/soong/.bootstrap/bin/soong_build -t -l /home/tmvkrpxl0/rom/out/.module_paths/Android.bp.list -b /home/tmvkrpxl0/rom/out/soong -n /home/tmvkrpxl0/rom/out -d /home/tmvkrpxl0/rom/out/soong/build.ninja.d -o /home/tmvkrpxl0/rom/out/soong/build.ninja Android.bp

error: vendor/aosp/build/soong/Android.bp:30:8: module "generated_kernel_includes": cmd: unknown variable '$(KERNEL_MAKE_FLAGS)'

ninja: build stopped: subcommand failed.

17:11:04 soong bootstrap failed with: exit status 1

#### failed to build some targets (11 seconds) ####

i have no idea to solve this problem. i can give you more information if you require

ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ solved but there is another problem

Log:

============================================

▄▄▄ ▓█████ ▒██ ██▒

▒████▄ ▓█ ▀ ▒▒ █ █ ▒░

▒██ ▀█▄ ▒███ ░░ █ ░

░██▄▄▄▄██ ▒▓█ ▄ ░ █ █ ▒

▓█ ▓██▒░▒████▒▒██▒ ▒██▒

▒▒ ▓▒█░░░ ▒░ ░▒▒ ░ ░▓ ░

▒ ▒▒ ░ ░ ░ ░░░ ░▒ ░

░ ▒ ░ ░ ░

░ ░ ░ ░ ░ ░

AospExtended- 9

============================================

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=9

TARGET_PRODUCT=treble_a64_aoS

TARGET_BUILD_VARIANT=userdebug

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-4.15.0-43-generic-x86_64-Linux-Mint-19

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=PQ1A.181205.006

OUT_DIR=/home/tmvkrpxl0/rom/out

============================================

ninja: no work to do.

ninja: no work to do.

wildcard(/home/tmvkrpxl0/rom/out/target/product/phhgsi_a64_a/clean_steps.mk) was changed, regenerating...

No need to regenerate ninja file

ninja: error: '/home/tmvkrpxl0/rom/out/target/common/obj/JAVA_LIBRARIES/sap-api-java-static_intermediates/classes-header.jar', needed by '/home/tmvkrpxl0/rom/out/target/common/obj/APPS/Bluetooth_intermediates/classes-full-debug.jar', missing and no known rule to make it

17:34:13 ninja failed with: exit status 1

#### failed to build some targets (5 seconds) ####

commands i typed before i build

make clean

make clobber

. build/envsetup.sh

lunch treble_a64_aoS-userdebug

export ALLOW_MISSING_DEPENDENCIES=true

WITHOUT_CHECK_API=true make -j8 systemimage

Rom source: AEX

this error has no solution on internet, so i need your help...