Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BlissOS-15] Build Error #59

Open
LFRon opened this issue Aug 7, 2024 · 0 comments
Open

[BlissOS-15] Build Error #59

LFRon opened this issue Aug 7, 2024 · 0 comments

Comments

@LFRon
Copy link

LFRon commented Aug 7, 2024

I was got stuck when trying build BlissOS-15:
FAILED: /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/.timestamp
/bin/bash -c "(cp /WorkSpace/glodroid/aospext/tools/wrapper.sh /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/toolchain_wrapper/wrapper.sh ) && (ln -sf ./wrapper.sh /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/toolchain_wrapper/wrap_clang ) && (ln -sf ./wrapper.sh /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/toolchain_wrapper/wrap_clang++ ) && (ln -sf ./wrapper.sh /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/toolchain_wrapper/wrap_rust_ld ) && (ln -sf ./wrapper.sh /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/toolchain_wrapper/wrap_rust_clang ) && (ln -sf ./wrapper.sh /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/toolchain_wrapper/wrap_rust_clang++ ) && (cp /WorkSpace/glodroid/aospext/tools/gen_aospless_dir.py /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/gen_aospless_dir.py ) && (cp /WorkSpace/glodroid/aospext/tools/makefile_base.mk /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/Makefile ) && (cp /WorkSpace/glodroid/aospext/tools/makefile_meson.mk /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/project_specific.mk ) && (sed -i -e 's#\[PLACE_FOR_LLVM_DIR\]#prebuilts/clang/host/linux-x86/clang-r416183b1/bin#g' -e 's#\[PLACE_FOR_AOSP_ROOT\]#/WorkSpace#g' -e 's#\[PLACE_FOR_AOSP_OUT_DIR\]#/WorkSpace/out#g' -e 's#\[PLACE_FOR_SRC_DIR\]#glodroid/dav1d#g' -e 's#\[PLACE_FOR_PATCHES_DIRS\]##g' -e 's#\[PLACE_FOR_OUT_BASE_DIR\]#/WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D#g' /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/Makefile ) && (mkdir -p /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/gen ) && (sed -i -e 's#\[PLACE_FOR_MESON_DEFS\]#--prefix /vendor --libdir lib64 --datadir etc/shared --libexecdir bin --sbindir bin --localstatedir=/mnt/var --buildtype=debug #g' /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/project_specific.mk ) && (cp /WorkSpace/glodroid/aospext/tools/meson_aosp_cross.cfg /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/gen/meson_aosp_cross ) && (sed -i -e 's#$(AR_TOOL)#prebuilts/clang/host/linux-x86/clang-r416183b1/bin/llvm-ar#g' -e 's#$(MESON_CPU_FAMILY)#x86_64#g' -e 's#$(MESON_RUST_TARGET)#x86_64-linux-android#g' /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/gen/meson_aosp_cross ) && (sed -i -e 's#\[PLACE_FOR_RUST_TARGET\]#x86_64-linux-android#g' /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/project_specific.mk ) && (sed -i -e 's#\[PLACE_FOR_FFMPEG_DEFINITIONS\]#--libdir=/vendor/lib64 #g' -e 's#\[PLACE_FOR_FFMPEG_CPU_FAMILY\]#x86_64#g' /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/project_specific.mk ) && (export PATH=/root/.cargo/bin:/WorkSpace/prebuilts/clang/host/linux-x86/clang-r416183b1/bin:$(cat /WorkSpace/out/.path_interposer_origpath) && make -C /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D install ) && (touch /WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D/.timestamp )"
make: Entering directory '/WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D'
Copying...
Patching...
Configuring...

ERROR: Malformed value in cross file variable toolchain_dir.
make: *** [project_specific.mk:17: logs/3.configure.log] Error 1
make: Leaving directory '/WorkSpace/out/target/product/x86_64/obj/AOSPEXT/DAV1D'
[ 63% 44986/70455] Install: /WorkSpace/out/target/product/x86_64/system/lib64/libcap.so
[ 63% 44987/70455] Install: /WorkSpace/out/target/product/x86_64/system/apex/com.android.runtime/lib64/libc_malloc_hooks.so
[ 63% 44988/70455] //external/boringssl:libcrypto strip libcrypto.so
[ 63% 44989/70455] Install: /WorkSpace/out/target/product/x86_64/system/lib64/libadbd_fs.so
[ 63% 44990/70455] Install: /WorkSpace/out/target/product/x86_64/system/lib64/libcodec2.so
[ 63% 44991/70455] //libcore:libandroidio generate toc libandroidio.so [apex31]
[ 63% 44992/70455] //external/boringssl:libcrypto strip libcrypto.so
[ 63% 44993/70455] //external/libcap:libcap generate toc libcap.so
[ 63% 44994/70455] //frameworks/av/media/codec2/core:libcodec2 generate toc libcodec2.so
[ 63% 44995/70455] //art/libartpalette:libartpalette strip libartpalette.so [apex31]
[ 63% 44996/70455] //external/boringssl:libcrypto strip libcrypto.so [apex29]
[ 63% 44997/70455] //hardware/interfaces/common/aidl:android.hardware.common-V2-ndk_platform generate toc android.hardware.common-V2-ndk_platform.so [com.android.media.swcodec]
[ 63% 44998/70455] //system/libbase:libbase strip libbase.so [apex29]
[ 63% 44999/70455] //external/libcap:libcap generate toc libcap.so [apex29]
[ 63% 45000/70455] //frameworks/av/media/codec2/core:libcodec2 strip libcodec2.so [apex29]
[ 63% 45001/70455] //system/libbase:libbase strip libbase.so [apex31]
[ 63% 45002/70455] //external/cblas:libblas link libblas.so
[ 63% 45003/70455] //external/boringssl:libcrypto strip libcrypto.so [apex31]
[ 63% 45004/70455] //libcore:libandroidio header-abi-linker libandroidio.so.lsdump [apex31]
[ 63% 45005/70455] //external/rust/cxx:libcxx rustc src/lib.rs
[ 63% 45006/70455] //external/llvm:libLLVM_android link libLLVM_android.so
[ 63% 45007/70455] //external/llvm-project/llvm:libLLVM17 link libLLVM17.so
ninja: build stopped: subcommand failed.
05:16:05 ninja failed with: exit status 1

failed to build some targets (01:39:20 (hh:mm:ss))

Could anyone help me?Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant