Hi,
as I started playing around to learn a little bit more about custom roms, sources, the building process etc. I wanted to build an AOSP ROM for myself to test, but while building I get this error everytime and I don't really know what is wrong or how to fix that.
Running the make -jN command as root doesn't help anything, neither changing the value from -j to 1
I followed the Sony AOSP build instructions guide (https://developer.sonymobile.com/op...uild-aosp-nougat-for-unlocked-xperia-devices/)
Does anyone know what is causing this and maybe how to fix this?
(I'm using Linuxmint 18.2 x64 and the device I want to build for is my Xperia X (SUZU) F5121)
Thanks
Here's whats causing the build process to stop:
[ 34% 12239/35670] build out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack
FAILED: /bin/bash -c "(mkdir -p out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res ) && (unzip -qo prebuilts/sdk/8/android.jar -d out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res ) && (find out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res -iname "*.class" -delete ) && (JACK_VERSION=3.36.CANDIDATE out/host/linux-x86/bin/jack @build/core/jack-default.args --verbose error -D jack.import.resource.policy=keep-first -D jack.import.type.policy=keep-first -D jack.android.min-api-level=1 --import prebuilts/sdk/8/android.jar --import-resource out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res --output-jack out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack ) && (rm -rf out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res )"
1 error during configuration. Try --help-properties for help.
Property 'jack.library.output.zip' (in Options): file 'out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack' can not be created (required because 'jack.library' (defined in Options) is set to true and 'jack.library.output.container' (defined in Options) is set to 'zip')
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: the rule for target „ninja_wrapper“ failed
make: *** [ninja_wrapper] Error 1
This is the error I get whenever I try to build ROM.
Please help me with this
[ 68% 35394/51520] target dex2oat: /home/prudhvi/RR/out/target/product/c7proltedd/dex_bootjars/system/framework/arm/boot.art
FAILED: /bin/bash -c "(mkdir -p /home/prudhvi/RR/out/target/product/c7proltedd/symbols/system/framework/arm/ ) && (rm -f /home/prudhvi/RR/out/target/product/c7proltedd/dex_bootjars/system/framework/arm//*.art /home/prudhvi/RR/out/target/product/c7proltedd/dex_bootjars/system/framework/arm//*.oat ) && (rm -f /home/prudhvi/RR/out/target/product/c7proltedd/symbols/system/framework/arm//*.art ) && (rm -f /home/prudhvi/RR/out/target/product/c7proltedd/symbols/system/framework/arm//*.oat ) && (ANDROID_LOG_TAGS="*:e" /home/prudhvi/RR/out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx64m --image-classes=frameworks/base/preloaded-classes --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/QPerformance_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/org.dirtyunicorns.utils_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/telephony-ext_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar --dex-file=/home/prudhvi/RR/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/javalib.jar --dex-location=/system/framework/QPerformance.jar --dex-location=/system/framework/org.dirtyunicorns.utils.jar --dex-location=/system/framework/telephony-ext.jar --dex-location=/system/framework/core-oj.jar --dex-location=/system/framework/core-libart.jar --dex-location=/system/framework/conscrypt.jar --dex-location=/system/framework/okhttp.jar --dex-location=/system/framework/core-junit.jar --dex-location=/system/framework/bouncycastle.jar --dex-location=/system/framework/ext.jar --dex-location=/system/framework/framework.jar --dex-location=/system/framework/telephony-common.jar --dex-location=/system/framework/voip-common.jar --dex-location=/system/framework/ims-common.jar --dex-location=/system/framework/apache-xml.jar --dex-location=/system/framework/org.apache.http.legacy.boot.jar --oat-symbols=/home/prudhvi/RR/out/target/product/c7proltedd/symbols/system/framework/arm/boot.oat --oat-file=/home/prudhvi/RR/out/target/product/c7proltedd/dex_bootjars/system/framework/arm/boot.oat --oat-location=/system/framework/arm/boot.oat --image=/home/prudhvi/RR/out/target/product/c7proltedd/dex_bootjars/system/framework/arm/boot.art --base=0x70000000 --instruction-set=arm --instruction-set-variant=cortex-a53 --instruction-set-features=default --android-root=/home/prudhvi/RR/out/target/product/c7proltedd/system --include-patch-information --runtime-arg -Xnorelocate --no-generate-debug-info --multi-image --no-inline-from=core-oj.jar --compiled-classes=frameworks/base/compiled-classes-phone )"
dex2oatd E 20392 20392 art/compiler/oat_writer.cc:375] No dex files in zip file '/system/framework/QPerformance.jar': Entry not found
[ 68% 35394/51520] target C++: libstagefright_amrnbdec <= frameworks/av/media/libstagefright/codecs/amrnb/dec/src/c_g_aver.cpp
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/prudhvi/RR'
#### make failed to build some targets (02:35:36 (hh:mm:ss)) ####
Newbie to android build. Wanted to build an image for my device (Pie) . started testing / building one for marlin (Lunch aosp_marlin-userdebug). The buid repeatedly fails at 96%. Need help. Environment has been setup on a virtual machine in hyper V environment (24GB Ram, AMD Phenom II 1100T,OS-150GB,100GB Swap,AND Build -300 GB- Complete hardware info at the end.
. bashrc modifications
export OUT_DIR_COMMON_BASE=/and/out
export PATH=$PATH:/and:/and/bin:/and/out:/and/aosp_PPR2_181005_003
export USE_CCACHE=1
export LC_ALL=C
export ANDROID_JACK_VM_ARGS="-Xmx8192m -Xms512m -Dfile.encoding=UTF-8 -XX:+TieredCompilation"
Error Messages
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 85735/89212] target Strip (mini debug info): mdnsd (.../product/marlin/obj/EXECUTABLES/mdnsd_intermediates/mdnsd)
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-nm: /and/out/aosp_PPR2_181005_003/target/product/marlin/symbols/system/bin/mdnsd: no symbols
[ 96% 85765/89212] //frameworks/native/services/surfaceflinger:libsurfaceflinger link libsurfaceflinger.so [arm]
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 85963/89212] Target boot image from recovery: /and/out/aosp_PPR2_181005_003/target/product/marlin/boot.img
cp: cannot stat ‘/and/out/aosp_PPR2_181005_003/target/product/marlin/root/init.recovery.*.rc’: No such file or directory
[ 96% 86223/89212] //art/runtime:libart link libart.so
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 86374/89212] Hidden API: /and/out/aosp_PPR2_181005_0...JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar
FAILED: /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar
/bin/bash -c "(rm -f /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar ) && (cp "/and/out/aosp_PPR2_181005_003/soong/.intermediates/frameworks/base/test-base/android.test.base/android_common/dex/android.test.base.jar" "/and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar" ) && (rm -rf /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (mkdir -p /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (unzip -q /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar 'classes*.dex' -d /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (find /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi -name "classes*.dex" | sort | sed 's/^/--dex=/' | xargs /and/out/aosp_PPR2_181005_003/host/linux-x86/bin/hiddenapi --light-greylist=/and/out/aosp_PPR2_181005_003/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=/and/out/aosp_PPR2_181005_003/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=/and/out/aosp_PPR2_181005_003/target/common/obj/PACKAGING/hiddenapi-blacklist.txt ) && (/and/out/aosp_PPR2_181005_003/soong/host/linux-x86/bin/soong_zip -o /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar -C /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi -D /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (/and/out/aosp_PPR2_181005_003/soong/host/linux-x86/bin/merge_zips -D -zipToNotStrip /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar -stripFile "classes*.dex" /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar /and/out/aosp_PPR2_181005_003/soong/.intermediates/frameworks/base/test-base/android.test.base/android_common/dex/android.test.base.jar )"
xargs: /and/out/aosp_PPR2_181005_003/host/linux-x86/bin/hiddenapi: terminated by signal 4
[ 96% 86377/89212] //art/runtime:libart link libart.so [arm]
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 86378/89212] //frameworks/base/libs/hwui:libhwui link libhwui.so
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 86379/89212] //frameworks/base/libs/hwui:libhwui link libhwui.so [arm]
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
ninja: build stopped: subcommand failed.
06:43:46 ninja failed with: exit status 1
#### failed to build some targets (03:06:36 (hh:mm:ss)) ###
naganddevelop said:
Newbie to android build. Wanted to build an image for my device (Pie) . started testing / building one for marlin (Lunch aosp_marlin-userdebug). The buid repeatedly fails at 96%. Need help. Environment has been setup on a virtual machine in hyper V environment (24GB Ram, AMD Phenom II 1100T,OS-150GB,100GB Swap,AND Build -300 GB- Complete hardware info at the end.
. bashrc modifications
export OUT_DIR_COMMON_BASE=/and/out
export PATH=$PATH:/and:/and/bin:/and/out:/and/aosp_PPR2_181005_003
export USE_CCACHE=1
export LC_ALL=C
export ANDROID_JACK_VM_ARGS="-Xmx8192m -Xms512m -Dfile.encoding=UTF-8 -XX:+TieredCompilation"
Error Messages
Code:
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 85735/89212] target Strip (mini debug info): mdnsd (.../product/marlin/obj/EXECUTABLES/mdnsd_intermediates/mdnsd)
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-nm: /and/out/aosp_PPR2_181005_003/target/product/marlin/symbols/system/bin/mdnsd: no symbols
[ 96% 85765/89212] //frameworks/native/services/surfaceflinger:libsurfaceflinger link libsurfaceflinger.so [arm]
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 85963/89212] Target boot image from recovery: /and/out/aosp_PPR2_181005_003/target/product/marlin/boot.img
cp: cannot stat ‘/and/out/aosp_PPR2_181005_003/target/product/marlin/root/init.recovery.*.rc’: No such file or directory
[ 96% 86223/89212] //art/runtime:libart link libart.so
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 86374/89212] Hidden API: /and/out/aosp_PPR2_181005_0...JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar
FAILED: /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar
/bin/bash -c "(rm -f /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar ) && (cp "/and/out/aosp_PPR2_181005_003/soong/.intermediates/frameworks/base/test-base/android.test.base/android_common/dex/android.test.base.jar" "/and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar" ) && (rm -rf /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (mkdir -p /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (unzip -q /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar 'classes*.dex' -d /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (find /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi -name "classes*.dex" | sort | sed 's/^/--dex=/' | xargs /and/out/aosp_PPR2_181005_003/host/linux-x86/bin/hiddenapi --light-greylist=/and/out/aosp_PPR2_181005_003/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=/and/out/aosp_PPR2_181005_003/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=/and/out/aosp_PPR2_181005_003/target/common/obj/PACKAGING/hiddenapi-blacklist.txt ) && (/and/out/aosp_PPR2_181005_003/soong/host/linux-x86/bin/soong_zip -o /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar -C /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi -D /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (/and/out/aosp_PPR2_181005_003/soong/host/linux-x86/bin/merge_zips -D -zipToNotStrip /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar -stripFile "classes*.dex" /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar /and/out/aosp_PPR2_181005_003/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar /and/out/aosp_PPR2_181005_003/soong/.intermediates/frameworks/base/test-base/android.test.base/android_common/dex/android.test.base.jar )"
xargs: /and/out/aosp_PPR2_181005_003/host/linux-x86/bin/hiddenapi: terminated by signal 4
[ 96% 86377/89212] //art/runtime:libart link libart.so [arm]
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 86378/89212] //frameworks/base/libs/hwui:libhwui link libhwui.so
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 86379/89212] //frameworks/base/libs/hwui:libhwui link libhwui.so [arm]
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
ninja: build stopped: subcommand failed.
06:43:46 ninja failed with: exit status 1
#### failed to build some targets (03:06:36 (hh:mm:ss)) ###
Click to expand...
Click to collapse
I have just gotten the exact same issue.
Have you resolved it?
klabit87 said:
I have just gotten the exact same issue.
Have you resolved it?
Click to expand...
Click to collapse
My assumption is that you would have used android-9.0.0_r16 branch . Based on posting from other forums , it was one of the scripts that created the problem(for certain scenarios) and was fixed in android-9.0.0_r17 and higher. I tried it out on android-9.0.0_r18 and was not able to replicate the same . Hope this works for you.
So, I am trying to port LineageOS 15.1 to the Galaxy S8, but I keep getting stuck here, receiving some weird errors. I am quite new to this whole world so I have no understanding of the errors. Can someone help me or point me into the direction of fixing this?
Code:
[ 0% 34/88264] Building Kernel Config
FAILED: /home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ/.config
/bin/bash -c "(make -j8 CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/universal8895 O=/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-a
ndroid-\" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= exynos8895-dreamlte_defconfig ) && (if [ ! -z \"\" ]; then echo \"Overriding kernel config with ''\"; echo >>
/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ/.config; make -j8 -C kernel/samsung/universal8895 O=/home/george_gica14/lineage/out/target/product/dreaml
te/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" oldconfig; fi ) && (make -j8 -C kernel/samsung/universal8895 O=/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERN
EL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" savedefconfig ) && (if [ ! -z \"\" ]; then echo \"Using additional config ''\"; kernel/samsung/u
niversal8895/scripts/kconfig/merge_config.sh -m -O /home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ /home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ/.config
kernel/samsung/universal8895/arch/arm64/configs/; make -j8 -C kernel/samsung/universal8895 O=/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ ARCH=arm64 CRO
SS_COMPILE=\" aarch64-linux-android-\" KCONFIG_ALLCONFIG=/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ/.config alldefconfig; fi )"
make: Entering directory '/home/george_gica14/lineage/kernel/samsung/universal8895'
make[1]: Entering directory '/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ'
./scripts/fetch-latest-wireguard.sh: line 5: .wireguard-fetch-lock: Permission denied
./scripts/fetch-latest-wireguard.sh: line 5: .wireguard-fetch-lock: Permission denied
GEN ./Makefile
./scripts/fetch-latest-wireguard.sh: line 5: .wireguard-fetch-lock: Permission denied
Kconfig:15:warning: environment variable ANDROID_MAJOR_VERSION undefined
net/Kconfig:83: can't open file "net/wireguard/Kconfig"
/home/george_gica14/lineage/kernel/samsung/universal8895/scripts/kconfig/Makefile:110: recipe for target 'exynos8895-dreamlte_defconfig' failed
make[2]: *** [exynos8895-dreamlte_defconfig] Error 1
/home/george_gica14/lineage/kernel/samsung/universal8895/Makefile:592: recipe for target 'exynos8895-dreamlte_defconfig' failed
make[1]: *** [exynos8895-dreamlte_defconfig] Error 2
make[1]: Leaving directory '/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ'
Makefile:152: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
make: Leaving directory '/home/george_gica14/lineage/kernel/samsung/universal8895'
[ 0% 43/88264] target thumb C++: libv8src_32 <= external/v8/src/asmjs/asm-typer.cc
ninja: build stopped: subcommand failed.
23:09:51 ninja failed with: exit status 1
#### failed to build some targets (01:20 (mm:ss)) ####
[email protected]:~/lineage$
hi guys i want to ask if how am i fix this error
4 warnings generated.
[ 93% 6651/7077] build /home/osboxes/TWRP/out/target/product/CPH1717/obj/ETC/file_contexts.bin_intermediates/file_contexts.local.tmp
FAILED: /home/osboxes/TWRP/out/target/product/CPH1717/obj/ETC/file_contexts.bin_intermediates/file_contexts.local.tmp
/bin/bash -c "m4 -s system/sepolicy/file_contexts /home/osboxes/TWRP/out/target/product/CPH1717/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl > /home/osboxes/TWRP/out/target/product/CPH1717/obj/ETC/file_contexts.bin_intermediates/file_contexts.local.tmp"
/bin/bash: line 1: m4: command not found
[ 93% 6651/7077] target thumb C: libncurses_32 <= external/libncurses/ncurses/tty/tty_update.c
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:158: ninja_wrapper] Error 1
[email protected]:~/TWRP$