Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Android] building is hanging on

69

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
69

【Android】 building is hanging on

Posted at 12/7/2024 18:59:01      View:95 | Replies:0        Print      Only Author   [Copy Link] 1#
Problem description and steps to reproduce:
Last edited by gykim In 12/8/2024 18:56 Editor

Hi I am trying to build android7.1 with AIO-RK3399J.


My system and configurations are as follows.
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 18.04.6 LTS
Release:    18.04
Codename:    bionic

CPU : Ryzen 5600x

I execute jack-server manually with timeout is 36000( 10 hours ).


path : /usr/lib/jvm/java-8-openjdk-amd64/bin:/home/gykim/project/firefly/AIO-3399J/firefly-rk3399-Industry/out/host/linux-x86/bin:/home/gykim/project/firefly/AIO-3399J/firefly-rk3399-Industry/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:/home/gykim/project/firefly/AIO-3399J/firefly-rk3399-Industry/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/home/gykim/project/firefly/AIO-3399J/firefly-rk3399-Industry/development/scripts:/home/gykim/project/firefly/AIO-3399J/firefly-rk3399-Industry/prebuilts/devtools/tools:/home/gykim/project/firefly/AIO-3399J/firefly-rk3399-Industry/external/selinux/prebuilts/bin:/home/gykim/project/firefly/AIO-3399J/firefly-rk3399-Industry/prebuilts/android-emulator/linux-x86_64:/usr/lib/jvm/java-8-openjdk-amd64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin


It seemed to fix the error.
But building is hanging.


How can I fix it?


If clean build, logs as follows.


/bin/bash: .repo/repo/repo: No such file or directory
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
TARGET_PRODUCT=rk3399_firefly_aio
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53.a57
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-150-generic-x86_64-with-Ubuntu-18.04-bionic
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NHG47K
OUT_DIR=out
DEVICE_VERSION=
FIREFLY_FACE_APP=
============================================
...
[ 97% 48979/50481] host C: libbtcore-host_32 <= system/bt/btcore/src/module.c
[ 97% 48980/50481] host C: libbtcore-host_32 <= system/bt/btcore/src/osi_module.c
[ 97% 48981/50481] host C: libbtcore-host_32 <= system/bt/btcore/src/property.c
[ 97% 48982/50481] host C: libbtcore-host_32 <= system/bt/btcore/src/uuid.c
[ 97% 48983/50481] Copy: out/host/linux-x86/obj32/STATIC_LIBRARIES/libbt-protos_intermediates/proto/system/bt/osi/src/protos/bluetooth.pb.cpp
[ 97% 48984/50481] Export includes file:  -- out/host/linux-x86/obj32/EXECUTABLES/net_test_btcore_intermediates/export_includes
[ 97% 48985/50481] Export includes file:  -- out/host/linux-x86/obj/EXECUTABLES/net_test_osi_intermediates/export_includes
[ 97% 48986/50481] Import includes file: out/host/linux-x86/obj/EXECUTABLES/net_test_osi_intermediates/import_includes
[ 97% 48987/50481] Import includes file: out/host/linux-x86/obj/STATIC_LIBRARIES/libbt-protos_intermediates/import_includes
[ 97% 48988/50481] host StaticLib: libbtcore-host_32 (out/host/linux-x86/obj32/STATIC_LIBRARIES/libbtcore-host_intermediates/libbtcore-host.a)
[ 97% 48989/50481] Export includes file: out/host/linux-x86/obj32/STATIC_LIBRARIES/libbt-protos_intermediates/proto/system/bt/osi/src/protos/bluetooth.pb.cpp -- out/host/linux-x86/obj32/STATIC_LIBRARIES/libbt-protos_intermediates/export_includes
[ 97% 48990/50481] host C++: libosi-host <= system/bt/osi/./src/metrics.cpp
[ 97% 48991/50481] Import includes file: out/host/linux-x86/obj32/STATIC_LIBRARIES/libbt-protos_intermediates/import_includes
[ 97% 48992/50481] Export includes file:  -- out/host/linux-x86/obj32/EXECUTABLES/net_test_osi_intermediates/export_includes
[ 97% 48993/50481] Import includes file: out/host/linux-x86/obj32/STATIC_LIBRARIES/libosi-host_intermediates/import_includes
[ 97% 48994/50481] host C++: net_test_btcore_32 <= system/bt/btcore/./test/property_test.cpp
[ 97% 48995/50481] host C++: net_test_btcore_32 <= system/bt/btcore/./test/uuid_test.cpp
[ 97% 48996/50481] host C++: net_test_btcore_32 <= system/bt/btcore/../osi/test/AllocationTestHarness.cpp
[ 97% 48997/50481] host C: libosi-host_32 <= system/bt/osi/./src/allocation_tracker.c
[ 97% 48998/50481] host C: libosi-host_32 <= system/bt/osi/./src/allocator.c
[ 97% 48999/50481] host C++: net_test_osi <= system/bt/osi/./test/AlarmTestHarness.cpp
[ 97% 49000/50481] host C: libosi-host_32 <= system/bt/osi/./src/alarm.c
[ 97% 49001/50481] host C: libosi-host_32 <= system/bt/osi/./src/array.c
[ 97% 49002/50481] host C: libosi-host_32 <= system/bt/osi/./src/buffer.c
[ 97% 49003/50481] host C++: net_test_osi <= system/bt/osi/./test/allocation_tracker_test.cpp
[ 97% 49004/50481] host C: libosi-host_32 <= system/bt/osi/./src/data_dispatcher.c
[ 97% 49005/50481] host C++: net_test_osi <= system/bt/osi/./test/AllocationTestHarness.cpp
[ 97% 49006/50481] host C: libosi-host_32 <= system/bt/osi/./src/config.c
[ 97% 49007/50481] host StaticLib: libosi-host (out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/libosi-host.a)
[ 97% 49008/50481] host C: libosi-host_32 <= system/bt/osi/./src/fixed_queue.c
[ 97% 49009/50481] host C: libosi-host_32 <= system/bt/osi/./src/future.c
[ 97% 49010/50481] host C++: net_test_osi <= system/bt/osi/./test/allocator_test.cpp
[ 97% 49011/50481] host C: libosi-host_32 <= system/bt/osi/./src/compat.c
[ 97% 49012/50481] host C: libosi-host_32 <= system/bt/osi/./src/eager_reader.c
[ 97% 49013/50481] host C: libosi-host_32 <= system/bt/osi/./src/hash_functions.c
[ 97% 49014/50481] host C: libosi-host_32 <= system/bt/osi/./src/hash_map.c
[ 97% 49015/50481] host Executable: net_test_btcore (out/host/linux-x86/obj/EXECUTABLES/net_test_btcore_intermediates/net_test_btcore64)
[ 97% 49016/50481] host C: libosi-host_32 <= system/bt/osi/./src/hash_map_utils.c
[ 97% 49017/50481] host C: libosi-host_32 <= system/bt/osi/./src/list.c
[ 97% 49018/50481] host C: libosi-host_32 <= system/bt/osi/./src/mutex.c
[ 97% 49019/50481] host C++: net_test_osi <= system/bt/osi/./test/alarm_test.cpp
[ 97% 49020/50481] host C: libosi-host_32 <= system/bt/osi/./src/osi.c
[ 97% 49021/50481] host C: libosi-host_32 <= system/bt/osi/./src/properties.c
[ 97% 49022/50481] host C: libosi-host_32 <= system/bt/osi/./src/ringbuffer.c
[ 97% 49023/50481] host C: libosi-host_32 <= system/bt/osi/./src/semaphore.c
[ 97% 49024/50481] host C: libosi-host_32 <= system/bt/osi/./src/thread.c
[ 97% 49025/50481] host C: libosi-host_32 <= system/bt/osi/./src/reactor.c
[ 97% 49026/50481] host C: libosi-host_32 <= system/bt/osi/./src/socket_utils/socket_local_client.c
[ 97% 49027/50481] host C: libosi-host_32 <= system/bt/osi/./src/socket_utils/socket_local_server.c
[ 97% 49028/50481] host C: libosi-host_32 <= system/bt/osi/./src/time.c
[ 97% 49029/50481] host C: libosi-host_32 <= system/bt/osi/./src/socket.c
[ 97% 49030/50481] host C: libosi-host_32 <= system/bt/osi/./src/wakelock.c
[ 97% 49031/50481] host C++: libosi-host_32 <= system/bt/osi/./src/metrics.cpp
[ 97% 49032/50481] host C++: net_test_osi <= system/bt/osi/./test/array_test.cpp
[ 97% 49033/50481] host StaticLib: libosi-host_32 (out/host/linux-x86/obj32/STATIC_LIBRARIES/libosi-host_intermediates/libosi-host.a)
[ 97% 49034/50481] host Executable: net_test_btcore_32 (out/host/linux-x86/obj32/EXECUTABLES/net_test_btcore_intermediates/net_test_btcore32)
[ 97% 49035/50481] host C++: net_test_osi <= system/bt/osi/./test/config_test.cpp
[ 97% 49036/50481] host C++: net_test_osi <= system/bt/osi/./test/data_dispatcher_test.cpp
[ 97% 49037/50481] host C++: net_test_osi <= system/bt/osi/./test/list_test.cpp
[ 97% 49038/50481] host C++: net_test_osi <= system/bt/osi/./test/eager_reader_test.cpp
[ 97% 49039/50481] host C++: net_test_osi <= system/bt/osi/./test/future_test.cpp
[ 97% 49040/50481] host C++: net_test_osi <= system/bt/osi/./test/hash_map_test.cpp
[ 97% 49041/50481] host C++: net_test_osi <= system/bt/osi/./test/fixed_queue_test.cpp
[ 97% 49042/50481] host C++: net_test_osi <= system/bt/osi/./test/hash_map_utils_test.cpp
[ 97% 49043/50481] host C++: net_test_osi <= system/bt/osi/./test/rand_test.cpp
[ 97% 49044/50481] Import includes file: out/host/linux-x86/obj32/EXECUTABLES/net_test_osi_intermediates/import_includes
[ 97% 49045/50481] host C++: net_test_osi <= system/bt/osi/./test/properties_test.cpp
[ 97% 49046/50481] host C++: net_test_osi <= system/bt/osi/./test/reactor_test.cpp
[ 97% 49047/50481] host C++: net_test_osi <= system/bt/osi/./test/semaphore_test.cpp
[ 97% 49048/50481] host C++: net_test_osi <= system/bt/osi/./test/thread_test.cpp
[ 97% 49049/50481] host C++: net_test_osi <= system/bt/osi/./test/ringbuffer_test.cpp
[ 97% 49050/50481] host C++: net_test_osi <= system/bt/osi/./test/time_test.cpp
[ 97% 49051/50481] host Java: android-icu4j-tests-host (out/host/common/obj/JAVA_LIBRARIES/android-icu4j-tests-host_intermediates/classes)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 97% 49052/50481] Copying: out/host/common/obj/JAVA_LIBRARIES/android-icu4j-tests-host_intermediates/classes-jarjar.jar
[ 97% 49053/50481] host C++: net_test_osi <= system/bt/osi/./test/leaky_bonded_queue_test.cpp
[ 97% 49054/50481] Copying: out/host/common/obj/JAVA_LIBRARIES/android-icu4j-tests-host_intermediates/javalib.jar
[ 97% 49055/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/AlarmTestHarness.cpp
[ 97% 49056/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/AllocationTestHarness.cpp
[ 97% 49057/50481] host C++: net_test_osi <= system/bt/osi/./test/metrics_test.cpp
[ 97% 49058/50481] host C++: libbt-protos <= out/host/linux-x86/obj/STATIC_LIBRARIES/libbt-protos_intermediates/proto/system/bt/osi/src/protos/bluetooth.pb.cpp
[ 97% 49059/50481] host StaticLib: libbt-protos (out/host/linux-x86/obj/STATIC_LIBRARIES/libbt-protos_intermediates/libbt-protos.a)
[ 97% 49060/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/allocator_test.cpp
[ 97% 49061/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/alarm_test.cpp
[ 97% 49062/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/array_test.cpp
[ 97% 49063/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/allocation_tracker_test.cpp
[ 97% 49064/50481] host Executable: net_test_osi (out/host/linux-x86/obj/EXECUTABLES/net_test_osi_intermediates/net_test_osi64)
[ 97% 49065/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/config_test.cpp
[ 97% 49066/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/data_dispatcher_test.cpp
[ 97% 49067/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/fixed_queue_test.cpp
[ 97% 49068/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/eager_reader_test.cpp
[ 97% 49069/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/future_test.cpp
[ 97% 49070/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/hash_map_test.cpp
[ 97% 49071/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/hash_map_utils_test.cpp
[ 97% 49072/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/list_test.cpp
[ 97% 49073/50481] Export includes file:  -- out/host/linux-x86/obj/STATIC_LIBRARIES/libaudioutils_intermediates/export_includes
[ 97% 49074/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/properties_test.cpp
[ 97% 49075/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/rand_test.cpp
[ 97% 49076/50481] Import includes file: out/host/linux-x86/obj/EXECUTABLES/primitives_tests_intermediates/import_includes
[ 97% 49077/50481] Import includes file: out/host/linux-x86/obj/STATIC_LIBRARIES/libaudioutils_intermediates/import_includes
[ 97% 49078/50481] Export includes file:  -- out/host/linux-x86/obj/EXECUTABLES/primitives_tests_intermediates/export_includes
[ 97% 49079/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/semaphore_test.cpp
[ 97% 49080/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/reactor_test.cpp
[ 97% 49081/50481] host C: libaudioutils <= system/media/audio_utils/fifo.c
[ 97% 49082/50481] host C: libaudioutils <= system/media/audio_utils/format.c
[ 97% 49083/50481] host C: libaudioutils <= system/media/audio_utils/limiter.c
[ 97% 49084/50481] host C: libaudioutils <= system/media/audio_utils/minifloat.c
[ 97% 49085/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/ringbuffer_test.cpp
[ 97% 49086/50481] host C: libaudioutils <= system/media/audio_utils/roundup.c
[ 97% 49087/50481] Export includes file:  -- out/host/linux-x86/obj32/STATIC_LIBRARIES/libaudioutils_intermediates/export_includes
[ 97% 49088/50481] Import includes file: out/host/linux-x86/obj32/STATIC_LIBRARIES/libaudioutils_intermediates/import_includes
[ 97% 49089/50481] host C: libaudioutils <= system/media/audio_utils/channels.c
[ 97% 49090/50481] Export includes file:  -- out/host/linux-x86/obj32/EXECUTABLES/primitives_tests_intermediates/export_includes
[ 97% 49091/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/time_test.cpp
[ 97% 49092/50481] Import includes file: out/host/linux-x86/obj32/EXECUTABLES/primitives_tests_intermediates/import_includes
[ 97% 49093/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/thread_test.cpp
[ 97% 49094/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/leaky_bonded_queue_test.cpp
[ 97% 49095/50481] host C: libaudioutils_32 <= system/media/audio_utils/fifo.c
[ 97% 49096/50481] host C: libaudioutils_32 <= system/media/audio_utils/format.c
[ 97% 49096/50481] host C: libaudioutils_32 <= system/media/audio_utils/limiter.c
[ 97% 49096/50481] host C: libaudioutils_32 <= system/media/audio_utils/minifloat.c
[ 97% 49096/50481] host C: libaudioutils_32 <= system/media/audio_utils/channels.c
[ 97% 49096/50481] host C++: net_test_osi_32 <= system/bt/osi/./test/metrics_test.cpp
[ 97% 49096/50481] host C++: libbt-protos_32 <= out/host/linux-x86/obj32/STATIC_LIBRARIES/libbt-protos_intermediates/proto/system/bt/osi/src/protos/bluetooth.pb.cpp
[ 97% 49097/50481] host C: libaudioutils <= system/media/audio_utils/primitives.c
[ 97% 49098/50481] host C: libaudioutils_32 <= system/media/audio_utils/roundup.c
[ 97% 49098/50481] host StaticLib: libbt-protos_32 (out/host/linux-x86/obj32/STATIC_LIBRARIES/libbt-protos_intermediates/libbt-protos.a)
[ 97% 49099/50481] host StaticLib: libaudioutils (out/host/linux-x86/obj/STATIC_LIBRARIES/libaudioutils_intermediates/libaudioutils.a)
[ 97% 49099/50481] host C: libaudioutils_32 <= system/media/audio_utils/primitives.c
[ 97% 49100/50481] host Executable: net_test_osi_32 (out/host/linux-x86/obj32/EXECUTABLES/net_test_osi_intermediates/net_test_osi32)
[ 97% 49100/50481] host StaticLib: libaudioutils_32 (out/host/linux-x86/obj32/STATIC_LIBRARIES/libaudioutils_intermediates/libaudioutils.a)
[ 97% 49100/50481] host C++: primitives_tests <= system/media/audio_utils/tests/primitives_tests.cpp
[ 97% 49101/50481] host Executable: primitives_tests (out/host/linux-x86/obj/EXECUTABLES/primitives_tests_intermediates/primitives_tests64)
[ 97% 49101/50481] host C++: primitives_tests_32 <= system/media/audio_utils/tests/primitives_tests.cpp
[ 97% 49102/50481] host Executable: primitives_tests_32 (out/host/linux-x86/obj32/EXECUTABLES/primitives_tests_intermediates/primitives_tests32)


About 10 hours later, log is added.
[ 97% 49102/50481] Ensure Jack server is installed and started
FAILED: /bin/bash -c "(prebuilts/sdk/tools/jack-admin install-server prebuilts/sdk/tools/jack-launcher.jar prebuilts/sdk/tools/jack-server-4.8.ALPHA.jar  2>&1 || (exit 0) ) && (JACK_SERVER_VM_ARGUMENTS=\"-Dfile.encoding=UTF-8 -XX:+TieredCompilation\" prebuilts/sdk/tools/jack-admin start-server 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update server prebuilts/sdk/tools/jack-server-4.8.ALPHA.jar 4.8.ALPHA 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-2.28.RELEASE.jar 2.28.RELEASE || exit 47; prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-3.36.CANDIDATE.jar 3.36.CANDIDATE || exit 47; prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-4.7.BETA.jar 4.7.BETA || exit 47 )"
Jack server already installed in "/home/gykim/.jack-server"
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/gykim/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
No Jack server running. Try 'jack-admin start-server'
No Jack server running. Try 'jack-admin start-server'
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (10:13:09 (hh:mm:ss)) ####







logs.zip

347.57 KB, Down times: 0

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list