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$
Related
when i tried to compile cm10.2 on osx mavericks & xcode 5, i catch a problem:
target StaticLib: libwebrtc_apm (/Volumes/android/cm10/out/target/product/i9100g/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/libwebrtc_apm.a)
Symlink: /Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so -> ./libbltsville_ticpu.2.1.0.0.so
Copy: /Volumes/android/cm10/out/target/product/i9100g/system/app/Term.apk
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/bitcode_wrapperer.cpp
cp: the -R and -r options may not be specified together.
make: *** [/Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so] Error 1
make: *** Deleting file `/Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so'
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/file_wrapper_input.cpp
make: *** Waiting for unfinished jobs....
is anyone has solved this problem before? i'm a newer in this...
kliner67 said:
when i tried to compile cm10.2 on osx mavericks & xcode 5, i catch a problem:
target StaticLib: libwebrtc_apm (/Volumes/android/cm10/out/target/product/i9100g/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/libwebrtc_apm.a)
Symlink: /Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so -> ./libbltsville_ticpu.2.1.0.0.so
Copy: /Volumes/android/cm10/out/target/product/i9100g/system/app/Term.apk
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/bitcode_wrapperer.cpp
cp: the -R and -r options may not be specified together.
make: *** [/Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so] Error 1
make: *** Deleting file `/Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so'
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/file_wrapper_input.cpp
make: *** Waiting for unfinished jobs....
is anyone has solved this problem before? i'm a newer in this...
Click to expand...
Click to collapse
maybe the version of cp in mavericks is different from normal?? anyone helps me...
Hi,
I have a problem building the Android FS on OSX 10.8.5,
I made a case-sensitive FS, and brewed the required packages from the different tutorials,
The problem is more OS related:
Code:
Code:
target arm C++: libwebrtc_apm <= out/target/product/generic/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/proto/external/webrtc/src/modules/audio_processing/test/unittest.pb.cc
Symlink: out/target/product/generic/system/vendor/lib/libbltsville_cpu.so -> ./libbltsville_ticpu.so
Symlink: out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so -> ./libbltsville_ticpu.2.1.0.0.so
Install: out/host/darwin-x86/bin/minigzip
cp: the -R and -r options may not be specified together.
make: *** [out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so] Error 1
make: *** Deleting file `out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so'
make: *** Waiting for unfinished jobs....
Any ideas for the reason? and how to solve it?
Thanks,
K
No private recovery resources for TARGET_DEVICE ivy
Starting build with ninja
ninja: Entering directory `.'
[ 0% 34/36264] build out/target/product/ivy/root/init.real
FAILED: /bin/bash -c "(cp out/target/product/ivy/utilities/toybox out/target/product/ivy/root/sbin/toybox_init ) && (cp out/target/product/ivy/utilities/keycheck out/target/product/ivy/root/sbin/keycheck ) && (cp out/target/product/ivy/utilities/init_sony out/target/product/ivy/root/sbin/init_sony ) && (if [ ! -L out/target/product/ivy/root/init ]; then echo "/init out/target/product/ivy/root/init isn't a symlink"; mv out/target/product/ivy/root/init out/target/product/ivy/root/init.real; ln -s sbin/init_sony out/target/product/ivy/root/init; else echo "/init out/target/product/ivy/root/init is already a symlink"; fi )"
cp: omitting directory 'out/target/product/ivy/utilities/toybox'
[ 0% 34/36264] Ensure Jack server is installed and started
Jack server already installed in "/root/.jack-server"
Server is already running
[ 0% 34/36264] target Pack Relocations: libLLVM (o..._LIBRARIES/libLLVM_intermediates/PACKED/libLLVM.so)
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Click to expand...
Click to collapse
This is building for a Sony Xperia Z3+/Z4 D6533. The error I keep getting for builds is as above, with the toolbox, keycheck, and init_sony somehow ignored. Can someone help me get pass this error?
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)) ####
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$