登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情~
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
58
Star
130
Fork
1.6K
OpenHarmony
/
build
关闭
代码
Issues
219
Pull Requests
125
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
[Bug]: 4.0release镜像包编译rk3568失败
已完成
#I8DMPP
avalon-hw
创建于
2023-11-03 16:35
### 发生了什么问题? root@ohos:~/hdc/OpenHarmony-v4.0-Release/OpenHarmony# hb build -f [OHOS INFO] Set cache size limit to 100.0 GB [OHOS INFO] generated build prop info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/build.prop [OHOS INFO] generated build config info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/build_config.json [OHOS INFO] generated product parts info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/parts.json [OHOS INFO] generated parts config info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/parts_config.json [OHOS INFO] generated build gnargs prop info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/build_gnargs.prop [OHOS INFO] generated features info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/features.json [OHOS INFO] generated syscap info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/syscap.json [OHOS INFO] generated exclusion modules info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/exclusion_modules.json [OHOS INFO] generated platforms build info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/platforms.build [OHOS INFO] generated subsystem config info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/subsystem_config.json [OHOS INFO] generated system capability info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/systemcapability.json [OHOS INFO] generated compile_standard_whitelist info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/compile_standard_whitelist.json [OHOS INFO] Checking all build args... [OHOS INFO] subsytem config scan completed [OHOS INFO] subsytem config scan completed [OHOS INFO] generate all parts of platforms info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/platforms_info/all_parts.json' [OHOS INFO] generate toolchain to variant of platforms info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/platforms_info/toolchain_to_variant.json' warning: subsystem name config incorrect in '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/flutter/glfw/bundle.json', build file subsystem name is ,configured subsystem name is thirdparty. warning: subsystem name config incorrect in '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/bundle.json', build file subsystem name is wpa_supplicant-2.9,configured subsystem name is thirdparty. warning: subsystem name config incorrect in '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/vendor/hihope/rk3568/ohos.build', build file subsystem name is product_hihope,configured subsystem name is product_rk3568. warning: subsystem name config incorrect in '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/device/board/hihope/rk3568/ohos.build', build file subsystem name is rockchip_products,configured subsystem name is device_rk3568. [OHOS INFO] generate all parts build gn file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony//out/rk3568/build_configs' [OHOS INFO] generate parts info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/parts_info.json' [OHOS INFO] generate part-subsystem of parts-info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/part_subsystem.json' [OHOS INFO] generate ubsystem-parts of parts-info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/subsystem_parts.json' [OHOS INFO] generate mini adapter info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/mini_adapter/' [OHOS INFO] generate parts variants info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/parts_variants.json' [OHOS INFO] generate parts inner kits info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/inner_kits_info.json' [OHOS INFO] generate parts targets info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/parts_targets.json' [OHOS INFO] generate phony targets info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/phony_target.json' [OHOS INFO] generate parts path info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/parts_path_info.json' [OHOS INFO] generate path to parts to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/path_to_parts.json' [OHOS INFO] generate hisysevent info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/hisysevent_configs.json' [OHOS INFO] generate parts modules info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/parts_modules_info.json' [OHOS INFO] generate parts deps info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/parts_deps.json' [OHOS INFO] all parts scan completed [OHOS INFO] Loading configuration file... [OHOS INFO] loader args:['platforms_config_file="/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/platforms.build"', 'subsystem_config_file="/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/subsystem_config.json"', 'example_subsystem_file=""', 'exclusion_modules_config_file="/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/exclusion_modules.json"', 'source_root_dir="/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/"', 'gn_root_out_dir="out/rk3568"', 'build_platform_name=phone', 'build_xts=False', 'load_test_config=True', 'target_os=ohos', 'target_cpu=arm', 'os_level=standard', "ignore_api_check=['xts', 'common', 'developertest']", 'scalable_build=False', 'skip_partlist_check=False'] [OHOS INFO] Checking parts config... [OHOS INFO] generated subsystem build config to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/subsystem_info/subsystem_build_config.json' [OHOS INFO] generated src subsystem info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/subsystem_info/src_subsystem_info.json' [OHOS INFO] generated no src subsystem info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/subsystem_info/no_src_subsystem_info.json' [OHOS INFO] generate target platform parts to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/target_platforms_parts.json' [OHOS INFO] generated system capabilities to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/phone_system_capabilities.json' [OHOS INFO] generated platform zframework stub to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/subsystem_info/phone-stub/zframework_stub_exists.gni' [OHOS INFO] generated platforms parts by src to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/platforms_parts_by_src.json' [OHOS INFO] generate part list gni file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_list.gni' [OHOS INFO] generate inner kits gni file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/inner_kits_list.gni' [OHOS INFO] generate system list gni file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/system_kits_list.gni' [OHOS INFO] generate parts test gni file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_test_list.gni' [OHOS INFO] generate build gn file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/BUILD.gn' [OHOS INFO] generate phony target build file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/phony_targets/BUILD.gn' [OHOS INFO] generate required parts targets to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/required_parts_targets.json' [OHOS INFO] generate build targets list file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/required_parts_targets_list.json' [OHOS INFO] generated parts src flag to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/subsystem_info/parts_src_flag.json' [OHOS INFO] generate auto install part to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/auto_install_parts.json' [OHOS INFO] generate platforms list to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/platforms_list.gni' [OHOS INFO] generate part different info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_different_info.json' [OHOS INFO] generate infos for testfwk to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/infos_for_testfwk.json' [OHOS INFO] Checking all product features... [OHOS INFO] generate syscap info file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/system/etc/SystemCapability.json' [OHOS INFO] generate syscap info with part name list to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/system/etc/syscap.json' [OHOS INFO] generate target syscap for init list to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/system/etc/param/syscap.para' [OHOS INFO] Excuting gn command: /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/prebuilts/build-tools/linux-x86/bin/gn gen --args="product_name=\"rk3568\" product_path=\"/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/vendor/hihope/rk3568\" product_config_path=\"/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/vendor/hihope/rk3568\" device_name=\"rk3568\" device_path=\"/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/device/board/rockchip/rk3568\" device_company=\"rockchip\" device_config_path=\"/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/device/board/rockchip/rk3568\" target_cpu=\"arm\" is_standard_system=true ohos_build_compiler_specified=\"\" ohos_build_time=1698971222525 ohos_build_datetime=\"2023-11-03 16:27:02\" ace_engine_feature_enable_accessibility=true ace_engine_feature_enable_web=true datamgr_service_udmf=true enable_ohos_startup_init_feature_ab_partition=true enable_ohos_startup_init_feature_loader=true dsoftbus_feature_conn_p2p=true dsoftbus_feature_disc_ble=true dsoftbus_feature_conn_br=true dsoftbus_feature_conn_ble=true dsoftbus_feature_trans_udp_stream=true wifi_feature_non_seperate_p2p=true wifi_feature_non_hdf_driver=true graphic_2d_feature_rs_enable_eglimage=true audio_framework_feature_dtmf_tone=true audio_framework_feature_opensl_es=true input_feature_combination_key=true input_feature_pointer_drawing=true input_feature_interceptor=true input_feature_monitor=true input_feature_keyboard=true input_feature_mouse=true input_feature_touchscreen=true input_feature_input_device=true wpa_supplicant_driver_nl80211=true memmgr_purgeable_memory=true fusion_interaction_coordination=false hdf_core_platform_test_support=true drivers_peripheral_input_feature_model=true drivers_peripheral_display_community=true drivers_peripheral_wlan_feature_enable_HDF_NL80211=true drivers_peripheral_wlan_feature_enable_HDF_UT=false drivers_peripheral_sensor_feature_model=true drivers_peripheral_audio_feature_full_test_suite=true drivers_peripheral_audio_feature_alsa_lib=false drivers_peripheral_audio_feature_effect=true drivers_peripheral_light_feature_model=true drivers_peripheral_vibrator_feature_model=true drivers_peripheral_codec_feature_support_omx_extend_test=true drivers_peripheral_codec_feature_support_hdi_v1=true use_ffrt=true ohos_build_enable_ccache=true ohos_build_type=\"debug\" device_type=\"default\" build_variant=\"root\"" /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568 [OHOS INFO] root_out_dir=//out/rk3568 [OHOS INFO] root_build_dir=//out/rk3568 [OHOS INFO] root_gen_dir=//out/rk3568/gen [OHOS INFO] current_toolchain=//build/toolchain/ohos:ohos_clang_arm [OHOS INFO] host_toolchain=//build/toolchain/linux:clang_x64 [OHOS INFO] usbd [OHOS INFO] usbfn_mtp [OHOS INFO] usb_ddk [OHOS INFO] display_buffer [OHOS INFO] display_composer [OHOS INFO] daudio [OHOS INFO] daudioext [OHOS INFO] bundle_framework_power_mgr_enable = true [OHOS INFO] bundle_framework_graphics = true [OHOS INFO] bundle_framework_free_install = true [OHOS INFO] bundle_framework_default_app = true [OHOS INFO] bundle_framework_launcher = true [OHOS INFO] bundle_framework_sandbox_app = true [OHOS INFO] bundle_framework_quick_fix = true [OHOS INFO] bundle_framework_app_control = true [OHOS INFO] distributed_bundle_framework = true [OHOS INFO] ability_runtime_enable = true [OHOS INFO] account_enable = true [OHOS INFO] configpolicy_enable = true [OHOS INFO] global_resmgr_enable = true [OHOS INFO] hicollie_enable = true [OHOS INFO] support_jsapi = true [OHOS INFO] hisysevent_enable = true [OHOS INFO] bundle_framework_overlay_install = true [OHOS INFO] accessibility_enable = true [OHOS INFO] motion_service [OHOS INFO] motion_service [OHOS INFO] sensor_service [OHOS INFO] light_service [OHOS INFO] Could not find oem hook [OHOS INFO] out_dir:/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/gen/base/hiviewdfx/hiview [OHOS INFO] [OHOS INFO] battery_interface_service [OHOS INFO] [OHOS INFO] location_gnss [OHOS INFO] drivers_peripheral_user_auth [OHOS INFO] drivers_peripheral_user_auth [OHOS INFO] drivers_peripheral_huks [OHOS INFO] window_manager_feature_subscribe_motion = false [OHOS INFO] imf_enable: true [OHOS INFO] imf_enable: true [OHOS INFO] ["--in_zip_path", "../../third_party/mindspore/mindspore-v1.8.1.zip", "--out_src_path", "../../third_party/mindspore/mindspore-src", "--patch_dir", "../../third_party/mindspore/patches/"] [OHOS INFO] power_interface_service [OHOS INFO] power_interface_service [OHOS INFO] has_hisysevent_part = false [OHOS INFO] wlan_service [OHOS INFO] distributed_bundle_framework_graphics = true [OHOS INFO] ability_runtime_enable_dbms = true [OHOS INFO] account_enable_dbms = true [OHOS INFO] distributed_bundle_framework_enable = true [OHOS INFO] hisysevent_enable_dbms = false [OHOS INFO] intell_voice_engine_service [OHOS INFO] intell_voice_trigger_service [OHOS INFO] memory_tracker_interface_service [OHOS INFO] e2fsprogs installed successfully [OHOS INFO] hisysevent_usage = false [OHOS INFO] vibrator_service [OHOS INFO] distributed_camera_provider_service [OHOS INFO] drivers_peripheral_pin_auth [OHOS INFO] drivers_peripheral_pin_auth [OHOS INFO] codec_service [OHOS INFO] codec_service [OHOS INFO] ril_service [OHOS INFO] ERROR at //build/templates/cxx/cxx.gni:870:26: Script returned non-zero exit code. [OHOS INFO] handler_result = exec_script(external_deps_script, arguments, "string") [OHOS INFO] ^---------- [OHOS INFO] Current dir: /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/ [OHOS INFO] Command: /usr/bin/env /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/external_deps_handler.py --external-deps power_manager:power_permission ability_base:want ability_runtime:ability_manager bundle_framework:appexecfwk_base c_utils:utils common_event_service:cesfwk_core common_event_service:cesfwk_innerkits config_policy:configpolicy_util drivers_interface_battery:libbattery_proxy_1.2 ffrt:libffrt hdf_core:libhdi hdf_core:libpub_utils hicollie:libhicollie hilog:libhilog hisysevent:libhisysevent ipc:ipc_core miscdevice:light_interface_native power_manager:power_ffrt power_manager:power_sysparam power_manager:powermgr_client safwk:system_ability_fwk samgr:samgr_proxy --parts-src-flag-file build_configs/parts_src_flag.json --external-deps-temp-file gen/base/powermgr/battery_manager/services/battery_manager__batteryservice_external_deps_temp.json --sdk-base-dir ../../sdk/ohos-arm --sdk-dir-name sdk/ohos-arm --current-toolchain //build/toolchain/ohos:ohos_clang_arm --innerkits-adapter-info-file ../../build/ohos/inner_kits_adapter.json --component-override-map /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/component_override_map.json [OHOS INFO] Returned 1 and printed out: [OHOS INFO] [OHOS INFO] file '../../sdk/ohos-arm/miscdevice/sdk_info.json' doesn't exist. [OHOS INFO] [OHOS INFO] stderr: [OHOS INFO] [OHOS INFO] Traceback (most recent call last): [OHOS INFO] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/external_deps_handler.py", line 259, in <module> [OHOS INFO] sys.exit(main()) [OHOS INFO] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/external_deps_handler.py", line 225, in main [OHOS INFO] sdk_module_info, adapted_ok = _get_external_module_from_sdk( [OHOS INFO] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/external_deps_handler.py", line 74, in _get_external_module_from_sdk [OHOS INFO] raise Exception("part '{}' doesn't exist in sdk modules.".format( [OHOS INFO] Exception: part 'miscdevice' doesn't exist in sdk modules. [OHOS INFO] [OHOS INFO] See //base/powermgr/battery_manager/services/BUILD.gn:24:1: whence it was called. [OHOS INFO] ohos_shared_library("batteryservice") { [OHOS INFO] ^-------------------------------------- [OHOS INFO] See //build/ohos/ohos_part.gni:25:16: which caused the file to be included. [OHOS INFO] _deps += [ get_label_info(module_label, "label_with_toolchain") ] [OHOS INFO] ^-------------------------------------------------- [OHOS INFO] location_geofence [OHOS INFO] input_service [OHOS INFO] default_toolchain = //build/toolchain/ohos:ohos_clang_arm [OHOS INFO] current_toolchain = //build/toolchain/ohos:ohos_clang_arm [OHOS INFO] host_toolchain = //build/toolchain/linux:clang_x64 [OHOS INFO] root_out_dir = //out/rk3568 [OHOS INFO] root_output_dir_proto = out/rk3568/clang_x64 [OHOS INFO] partitionslot_interface_service [OHOS INFO] nnrt [OHOS INFO] nnrt [OHOS INFO] location_agnss [OHOS INFO] ["--haptobin", "../../developtools/packing_tool/adapter/ohos", "--haptobinOutput", "obj/developtools/packing_tool/jar/haptobin_tool.jar", "--unpackOutput", "obj/developtools/packing_tool/jar/app_unpacking_tool.jar", "--packOutput", "obj/developtools/packing_tool/jar/app_packing_tool.jar", "--outpath", "obj/developtools/packing_tool/jar", "--toolchain", "//build/toolchain/ohos:ohos_clang_arm", "--compileTarget", "image"] [OHOS INFO] audio_service [OHOS INFO] effect_host [OHOS INFO] thermal_interface_service [OHOS INFO] drivers_peripheral_fingerprint_auth [OHOS INFO] drivers_peripheral_fingerprint_auth [OHOS INFO] input_feature_combination_key = true [OHOS INFO] input_feature_pointer_drawing = true [OHOS INFO] input_feature_monitor = true [OHOS INFO] input_feature_interceptor = true [OHOS INFO] input_feature_keyboard = true [OHOS INFO] input_feature_switch = false [OHOS INFO] input_feature_mouse = true [OHOS INFO] input_feature_joystick = true [OHOS INFO] input_feature_touchscreen = true [OHOS INFO] input_feature_input_device = true [OHOS INFO] input_feature_short_key = true [OHOS INFO] camera_service [OHOS INFO] camera_service [OHOS INFO] rk3568_group in [OHOS INFO] drivers_peripheral_face_auth [OHOS INFO] drivers_peripheral_face_auth [OHOS INFO] Install OpenEuler Curl [OHOS INFO] /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/curl/install.py [OHOS INFO] ["--gen-dir", "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/gen/third_party/curl"] [OHOS INFO] openssl detecting os now... [OHOS INFO] current_cpu = arm [OHOS INFO] current_os = ohos [OHOS INFO] host_os = linux [OHOS INFO] is_mingw = false [OHOS INFO] openssl selected linux-armv4 [OHOS INFO] openssl detecting os done. openssl_selected_platform = linux-armv4 [OHOS INFO] Done prepare mindspore source. [OHOS INFO] 2023-11-03 16:28:04 | WARN | OpenEulerCurl | script path is /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/curl, log path is /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/gen/third_party/curl [OHOS INFO] 2023-11-03 16:28:04 | WARN | OpenEulerCurl | only me to install OpenEuler Curl [OHOS INFO] 2023-11-03 16:28:05 | WARN | OpenEulerCurl | OpenEuler Curl has been install [OHOS INFO] [OHOS INFO] cups installed successfully [OHOS INFO] cmd ['/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/openssl/make_openssl_build_all_generated.sh', '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/openssl', '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/obj/third_party/openssl/build_all_generated', 'linux-armv4'] start [OHOS INFO] result.returncode = 0 [OHOS INFO] result.stdout = /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568 [OHOS INFO] ~/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/obj/third_party/openssl/build_all_generated/linux-armv4 ~/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568 [OHOS INFO] /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/openssl/Configure linux-armv4 no-shared no-module [OHOS INFO] Configuring OpenSSL version 3.0.7 for target linux-armv4 [OHOS INFO] Using os-specific seed configuration [OHOS INFO] Created configdata.pm [OHOS INFO] Running configdata.pm [OHOS INFO] Created Makefile.in [OHOS INFO] Created Makefile [OHOS INFO] Created include/openssl/configuration.h [OHOS INFO] [OHOS INFO] ********************************************************************** [OHOS INFO] *** *** [OHOS INFO] *** OpenSSL has been successfully configured *** [OHOS INFO] *** *** [OHOS INFO] *** If you encounter a problem while building, please open an *** [OHOS INFO] *** issue on GitHub <https://github.com/openssl/openssl/issues> *** [OHOS INFO] *** and include the output from the following command: *** [OHOS INFO] *** *** [OHOS INFO] *** perl configdata.pm --dump *** [OHOS INFO] *** *** [OHOS INFO] *** (If you are new to OpenSSL, you might want to consult the *** [OHOS INFO] *** 'Troubleshooting' section in the INSTALL.md file first) *** [OHOS INFO] *** *** [OHOS INFO] ********************************************************************** [OHOS INFO] ~/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568 [OHOS INFO] [OHOS INFO] cmd ['/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/openssl/make_openssl_build_all_generated.sh', '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/openssl', '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/obj/third_party/openssl/build_all_generated', 'linux-armv4'] ok [OHOS INFO] [OHOS INFO] accessibility_enable = true [OHOS INFO] accessibility_enable = true [OHOS INFO] { } [OHOS ERROR] Traceback (most recent call last): [OHOS ERROR] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/hb/services/gn.py", line 176, in _execute_gn_gen_cmd [OHOS ERROR] SystemUtil.exec_command(gn_gen_cmd, self.config.log_path) [OHOS ERROR] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/hb/util/system_util.py", line 63, in exec_command [OHOS ERROR] raise OHOSException( [OHOS ERROR] exceptions.ohos_exception.OHOSException: Please check build log in /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build.log [OHOS ERROR] [OHOS ERROR] During handling of the above exception, another exception occurred: [OHOS ERROR] [OHOS ERROR] Traceback (most recent call last): [OHOS ERROR] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/hb/containers/status.py", line 47, in wrapper [OHOS ERROR] return func(*args, **kwargs) [OHOS ERROR] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/hb/services/gn.py", line 178, in _execute_gn_gen_cmd [OHOS ERROR] raise OHOSException('GN phase failed', '3000') [OHOS ERROR] exceptions.ohos_exception.OHOSException: GN phase failed [OHOS ERROR] [OHOS ERROR] Code: 3000 [OHOS ERROR] [OHOS ERROR] Reason: GN phase failed [OHOS ERROR] [OHOS ERROR] Solution: Please check the compile log at out/{compiling product}/build.log, If you could analyze build logs. [OHOS ERROR] Or you can try the following steps to solve this problem: [OHOS ERROR] 1. cd to OHOS root path [OHOS ERROR] 2. run 'hb clean --all' or 'rm -rf out build/resources/args/*.json'. [OHOS ERROR] 3. repo sync [OHOS ERROR] 4. repo forall -c 'git lfs pull' [OHOS ERROR] 5. bash build/prebuilts_download.sh [OHOS ERROR] 6. rebuild your product or component [OHOS ERROR] [OHOS ERROR] If you still cannot solve this problem, you could post this problem on: [OHOS ERROR] https://gitee.com/openharmony/build/issues [OHOS ERROR] ### 期望行为是什么? 编译成功 ### 如何复现该缺陷 hb build -f ### 其他补充信息 ### 版本或分支信息 - [x] master - [ ] Release 3.2 - [ ] Release 3.1 - [ ] Release 3.0
### 发生了什么问题? root@ohos:~/hdc/OpenHarmony-v4.0-Release/OpenHarmony# hb build -f [OHOS INFO] Set cache size limit to 100.0 GB [OHOS INFO] generated build prop info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/build.prop [OHOS INFO] generated build config info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/build_config.json [OHOS INFO] generated product parts info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/parts.json [OHOS INFO] generated parts config info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/parts_config.json [OHOS INFO] generated build gnargs prop info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/build_gnargs.prop [OHOS INFO] generated features info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/features.json [OHOS INFO] generated syscap info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/syscap.json [OHOS INFO] generated exclusion modules info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/exclusion_modules.json [OHOS INFO] generated platforms build info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/platforms.build [OHOS INFO] generated subsystem config info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/subsystem_config.json [OHOS INFO] generated system capability info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/systemcapability.json [OHOS INFO] generated compile_standard_whitelist info to /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/compile_standard_whitelist.json [OHOS INFO] Checking all build args... [OHOS INFO] subsytem config scan completed [OHOS INFO] subsytem config scan completed [OHOS INFO] generate all parts of platforms info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/platforms_info/all_parts.json' [OHOS INFO] generate toolchain to variant of platforms info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/platforms_info/toolchain_to_variant.json' warning: subsystem name config incorrect in '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/flutter/glfw/bundle.json', build file subsystem name is ,configured subsystem name is thirdparty. warning: subsystem name config incorrect in '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/bundle.json', build file subsystem name is wpa_supplicant-2.9,configured subsystem name is thirdparty. warning: subsystem name config incorrect in '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/vendor/hihope/rk3568/ohos.build', build file subsystem name is product_hihope,configured subsystem name is product_rk3568. warning: subsystem name config incorrect in '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/device/board/hihope/rk3568/ohos.build', build file subsystem name is rockchip_products,configured subsystem name is device_rk3568. [OHOS INFO] generate all parts build gn file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony//out/rk3568/build_configs' [OHOS INFO] generate parts info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/parts_info.json' [OHOS INFO] generate part-subsystem of parts-info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/part_subsystem.json' [OHOS INFO] generate ubsystem-parts of parts-info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/subsystem_parts.json' [OHOS INFO] generate mini adapter info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/mini_adapter/' [OHOS INFO] generate parts variants info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/parts_variants.json' [OHOS INFO] generate parts inner kits info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/inner_kits_info.json' [OHOS INFO] generate parts targets info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/parts_targets.json' [OHOS INFO] generate phony targets info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/phony_target.json' [OHOS INFO] generate parts path info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/parts_path_info.json' [OHOS INFO] generate path to parts to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/path_to_parts.json' [OHOS INFO] generate hisysevent info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/hisysevent_configs.json' [OHOS INFO] generate parts modules info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/parts_modules_info.json' [OHOS INFO] generate parts deps info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_info/parts_deps.json' [OHOS INFO] all parts scan completed [OHOS INFO] Loading configuration file... [OHOS INFO] loader args:['platforms_config_file="/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/platforms.build"', 'subsystem_config_file="/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/subsystem_config.json"', 'example_subsystem_file=""', 'exclusion_modules_config_file="/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/exclusion_modules.json"', 'source_root_dir="/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/"', 'gn_root_out_dir="out/rk3568"', 'build_platform_name=phone', 'build_xts=False', 'load_test_config=True', 'target_os=ohos', 'target_cpu=arm', 'os_level=standard', "ignore_api_check=['xts', 'common', 'developertest']", 'scalable_build=False', 'skip_partlist_check=False'] [OHOS INFO] Checking parts config... [OHOS INFO] generated subsystem build config to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/subsystem_info/subsystem_build_config.json' [OHOS INFO] generated src subsystem info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/subsystem_info/src_subsystem_info.json' [OHOS INFO] generated no src subsystem info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/subsystem_info/no_src_subsystem_info.json' [OHOS INFO] generate target platform parts to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/target_platforms_parts.json' [OHOS INFO] generated system capabilities to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/phone_system_capabilities.json' [OHOS INFO] generated platform zframework stub to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/subsystem_info/phone-stub/zframework_stub_exists.gni' [OHOS INFO] generated platforms parts by src to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/platforms_parts_by_src.json' [OHOS INFO] generate part list gni file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_list.gni' [OHOS INFO] generate inner kits gni file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/inner_kits_list.gni' [OHOS INFO] generate system list gni file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/system_kits_list.gni' [OHOS INFO] generate parts test gni file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_test_list.gni' [OHOS INFO] generate build gn file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/BUILD.gn' [OHOS INFO] generate phony target build file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/phony_targets/BUILD.gn' [OHOS INFO] generate required parts targets to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/required_parts_targets.json' [OHOS INFO] generate build targets list file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/required_parts_targets_list.json' [OHOS INFO] generated parts src flag to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/subsystem_info/parts_src_flag.json' [OHOS INFO] generate auto install part to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/auto_install_parts.json' [OHOS INFO] generate platforms list to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/platforms_list.gni' [OHOS INFO] generate part different info to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/parts_different_info.json' [OHOS INFO] generate infos for testfwk to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/infos_for_testfwk.json' [OHOS INFO] Checking all product features... [OHOS INFO] generate syscap info file to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/system/etc/SystemCapability.json' [OHOS INFO] generate syscap info with part name list to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/system/etc/syscap.json' [OHOS INFO] generate target syscap for init list to '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/preloader/rk3568/system/etc/param/syscap.para' [OHOS INFO] Excuting gn command: /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/prebuilts/build-tools/linux-x86/bin/gn gen --args="product_name=\"rk3568\" product_path=\"/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/vendor/hihope/rk3568\" product_config_path=\"/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/vendor/hihope/rk3568\" device_name=\"rk3568\" device_path=\"/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/device/board/rockchip/rk3568\" device_company=\"rockchip\" device_config_path=\"/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/device/board/rockchip/rk3568\" target_cpu=\"arm\" is_standard_system=true ohos_build_compiler_specified=\"\" ohos_build_time=1698971222525 ohos_build_datetime=\"2023-11-03 16:27:02\" ace_engine_feature_enable_accessibility=true ace_engine_feature_enable_web=true datamgr_service_udmf=true enable_ohos_startup_init_feature_ab_partition=true enable_ohos_startup_init_feature_loader=true dsoftbus_feature_conn_p2p=true dsoftbus_feature_disc_ble=true dsoftbus_feature_conn_br=true dsoftbus_feature_conn_ble=true dsoftbus_feature_trans_udp_stream=true wifi_feature_non_seperate_p2p=true wifi_feature_non_hdf_driver=true graphic_2d_feature_rs_enable_eglimage=true audio_framework_feature_dtmf_tone=true audio_framework_feature_opensl_es=true input_feature_combination_key=true input_feature_pointer_drawing=true input_feature_interceptor=true input_feature_monitor=true input_feature_keyboard=true input_feature_mouse=true input_feature_touchscreen=true input_feature_input_device=true wpa_supplicant_driver_nl80211=true memmgr_purgeable_memory=true fusion_interaction_coordination=false hdf_core_platform_test_support=true drivers_peripheral_input_feature_model=true drivers_peripheral_display_community=true drivers_peripheral_wlan_feature_enable_HDF_NL80211=true drivers_peripheral_wlan_feature_enable_HDF_UT=false drivers_peripheral_sensor_feature_model=true drivers_peripheral_audio_feature_full_test_suite=true drivers_peripheral_audio_feature_alsa_lib=false drivers_peripheral_audio_feature_effect=true drivers_peripheral_light_feature_model=true drivers_peripheral_vibrator_feature_model=true drivers_peripheral_codec_feature_support_omx_extend_test=true drivers_peripheral_codec_feature_support_hdi_v1=true use_ffrt=true ohos_build_enable_ccache=true ohos_build_type=\"debug\" device_type=\"default\" build_variant=\"root\"" /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568 [OHOS INFO] root_out_dir=//out/rk3568 [OHOS INFO] root_build_dir=//out/rk3568 [OHOS INFO] root_gen_dir=//out/rk3568/gen [OHOS INFO] current_toolchain=//build/toolchain/ohos:ohos_clang_arm [OHOS INFO] host_toolchain=//build/toolchain/linux:clang_x64 [OHOS INFO] usbd [OHOS INFO] usbfn_mtp [OHOS INFO] usb_ddk [OHOS INFO] display_buffer [OHOS INFO] display_composer [OHOS INFO] daudio [OHOS INFO] daudioext [OHOS INFO] bundle_framework_power_mgr_enable = true [OHOS INFO] bundle_framework_graphics = true [OHOS INFO] bundle_framework_free_install = true [OHOS INFO] bundle_framework_default_app = true [OHOS INFO] bundle_framework_launcher = true [OHOS INFO] bundle_framework_sandbox_app = true [OHOS INFO] bundle_framework_quick_fix = true [OHOS INFO] bundle_framework_app_control = true [OHOS INFO] distributed_bundle_framework = true [OHOS INFO] ability_runtime_enable = true [OHOS INFO] account_enable = true [OHOS INFO] configpolicy_enable = true [OHOS INFO] global_resmgr_enable = true [OHOS INFO] hicollie_enable = true [OHOS INFO] support_jsapi = true [OHOS INFO] hisysevent_enable = true [OHOS INFO] bundle_framework_overlay_install = true [OHOS INFO] accessibility_enable = true [OHOS INFO] motion_service [OHOS INFO] motion_service [OHOS INFO] sensor_service [OHOS INFO] light_service [OHOS INFO] Could not find oem hook [OHOS INFO] out_dir:/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/gen/base/hiviewdfx/hiview [OHOS INFO] [OHOS INFO] battery_interface_service [OHOS INFO] [OHOS INFO] location_gnss [OHOS INFO] drivers_peripheral_user_auth [OHOS INFO] drivers_peripheral_user_auth [OHOS INFO] drivers_peripheral_huks [OHOS INFO] window_manager_feature_subscribe_motion = false [OHOS INFO] imf_enable: true [OHOS INFO] imf_enable: true [OHOS INFO] ["--in_zip_path", "../../third_party/mindspore/mindspore-v1.8.1.zip", "--out_src_path", "../../third_party/mindspore/mindspore-src", "--patch_dir", "../../third_party/mindspore/patches/"] [OHOS INFO] power_interface_service [OHOS INFO] power_interface_service [OHOS INFO] has_hisysevent_part = false [OHOS INFO] wlan_service [OHOS INFO] distributed_bundle_framework_graphics = true [OHOS INFO] ability_runtime_enable_dbms = true [OHOS INFO] account_enable_dbms = true [OHOS INFO] distributed_bundle_framework_enable = true [OHOS INFO] hisysevent_enable_dbms = false [OHOS INFO] intell_voice_engine_service [OHOS INFO] intell_voice_trigger_service [OHOS INFO] memory_tracker_interface_service [OHOS INFO] e2fsprogs installed successfully [OHOS INFO] hisysevent_usage = false [OHOS INFO] vibrator_service [OHOS INFO] distributed_camera_provider_service [OHOS INFO] drivers_peripheral_pin_auth [OHOS INFO] drivers_peripheral_pin_auth [OHOS INFO] codec_service [OHOS INFO] codec_service [OHOS INFO] ril_service [OHOS INFO] ERROR at //build/templates/cxx/cxx.gni:870:26: Script returned non-zero exit code. [OHOS INFO] handler_result = exec_script(external_deps_script, arguments, "string") [OHOS INFO] ^---------- [OHOS INFO] Current dir: /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/ [OHOS INFO] Command: /usr/bin/env /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/external_deps_handler.py --external-deps power_manager:power_permission ability_base:want ability_runtime:ability_manager bundle_framework:appexecfwk_base c_utils:utils common_event_service:cesfwk_core common_event_service:cesfwk_innerkits config_policy:configpolicy_util drivers_interface_battery:libbattery_proxy_1.2 ffrt:libffrt hdf_core:libhdi hdf_core:libpub_utils hicollie:libhicollie hilog:libhilog hisysevent:libhisysevent ipc:ipc_core miscdevice:light_interface_native power_manager:power_ffrt power_manager:power_sysparam power_manager:powermgr_client safwk:system_ability_fwk samgr:samgr_proxy --parts-src-flag-file build_configs/parts_src_flag.json --external-deps-temp-file gen/base/powermgr/battery_manager/services/battery_manager__batteryservice_external_deps_temp.json --sdk-base-dir ../../sdk/ohos-arm --sdk-dir-name sdk/ohos-arm --current-toolchain //build/toolchain/ohos:ohos_clang_arm --innerkits-adapter-info-file ../../build/ohos/inner_kits_adapter.json --component-override-map /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build_configs/component_override_map.json [OHOS INFO] Returned 1 and printed out: [OHOS INFO] [OHOS INFO] file '../../sdk/ohos-arm/miscdevice/sdk_info.json' doesn't exist. [OHOS INFO] [OHOS INFO] stderr: [OHOS INFO] [OHOS INFO] Traceback (most recent call last): [OHOS INFO] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/external_deps_handler.py", line 259, in <module> [OHOS INFO] sys.exit(main()) [OHOS INFO] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/external_deps_handler.py", line 225, in main [OHOS INFO] sdk_module_info, adapted_ok = _get_external_module_from_sdk( [OHOS INFO] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/external_deps_handler.py", line 74, in _get_external_module_from_sdk [OHOS INFO] raise Exception("part '{}' doesn't exist in sdk modules.".format( [OHOS INFO] Exception: part 'miscdevice' doesn't exist in sdk modules. [OHOS INFO] [OHOS INFO] See //base/powermgr/battery_manager/services/BUILD.gn:24:1: whence it was called. [OHOS INFO] ohos_shared_library("batteryservice") { [OHOS INFO] ^-------------------------------------- [OHOS INFO] See //build/ohos/ohos_part.gni:25:16: which caused the file to be included. [OHOS INFO] _deps += [ get_label_info(module_label, "label_with_toolchain") ] [OHOS INFO] ^-------------------------------------------------- [OHOS INFO] location_geofence [OHOS INFO] input_service [OHOS INFO] default_toolchain = //build/toolchain/ohos:ohos_clang_arm [OHOS INFO] current_toolchain = //build/toolchain/ohos:ohos_clang_arm [OHOS INFO] host_toolchain = //build/toolchain/linux:clang_x64 [OHOS INFO] root_out_dir = //out/rk3568 [OHOS INFO] root_output_dir_proto = out/rk3568/clang_x64 [OHOS INFO] partitionslot_interface_service [OHOS INFO] nnrt [OHOS INFO] nnrt [OHOS INFO] location_agnss [OHOS INFO] ["--haptobin", "../../developtools/packing_tool/adapter/ohos", "--haptobinOutput", "obj/developtools/packing_tool/jar/haptobin_tool.jar", "--unpackOutput", "obj/developtools/packing_tool/jar/app_unpacking_tool.jar", "--packOutput", "obj/developtools/packing_tool/jar/app_packing_tool.jar", "--outpath", "obj/developtools/packing_tool/jar", "--toolchain", "//build/toolchain/ohos:ohos_clang_arm", "--compileTarget", "image"] [OHOS INFO] audio_service [OHOS INFO] effect_host [OHOS INFO] thermal_interface_service [OHOS INFO] drivers_peripheral_fingerprint_auth [OHOS INFO] drivers_peripheral_fingerprint_auth [OHOS INFO] input_feature_combination_key = true [OHOS INFO] input_feature_pointer_drawing = true [OHOS INFO] input_feature_monitor = true [OHOS INFO] input_feature_interceptor = true [OHOS INFO] input_feature_keyboard = true [OHOS INFO] input_feature_switch = false [OHOS INFO] input_feature_mouse = true [OHOS INFO] input_feature_joystick = true [OHOS INFO] input_feature_touchscreen = true [OHOS INFO] input_feature_input_device = true [OHOS INFO] input_feature_short_key = true [OHOS INFO] camera_service [OHOS INFO] camera_service [OHOS INFO] rk3568_group in [OHOS INFO] drivers_peripheral_face_auth [OHOS INFO] drivers_peripheral_face_auth [OHOS INFO] Install OpenEuler Curl [OHOS INFO] /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/curl/install.py [OHOS INFO] ["--gen-dir", "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/gen/third_party/curl"] [OHOS INFO] openssl detecting os now... [OHOS INFO] current_cpu = arm [OHOS INFO] current_os = ohos [OHOS INFO] host_os = linux [OHOS INFO] is_mingw = false [OHOS INFO] openssl selected linux-armv4 [OHOS INFO] openssl detecting os done. openssl_selected_platform = linux-armv4 [OHOS INFO] Done prepare mindspore source. [OHOS INFO] 2023-11-03 16:28:04 | WARN | OpenEulerCurl | script path is /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/curl, log path is /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/gen/third_party/curl [OHOS INFO] 2023-11-03 16:28:04 | WARN | OpenEulerCurl | only me to install OpenEuler Curl [OHOS INFO] 2023-11-03 16:28:05 | WARN | OpenEulerCurl | OpenEuler Curl has been install [OHOS INFO] [OHOS INFO] cups installed successfully [OHOS INFO] cmd ['/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/openssl/make_openssl_build_all_generated.sh', '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/openssl', '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/obj/third_party/openssl/build_all_generated', 'linux-armv4'] start [OHOS INFO] result.returncode = 0 [OHOS INFO] result.stdout = /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568 [OHOS INFO] ~/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/obj/third_party/openssl/build_all_generated/linux-armv4 ~/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568 [OHOS INFO] /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/openssl/Configure linux-armv4 no-shared no-module [OHOS INFO] Configuring OpenSSL version 3.0.7 for target linux-armv4 [OHOS INFO] Using os-specific seed configuration [OHOS INFO] Created configdata.pm [OHOS INFO] Running configdata.pm [OHOS INFO] Created Makefile.in [OHOS INFO] Created Makefile [OHOS INFO] Created include/openssl/configuration.h [OHOS INFO] [OHOS INFO] ********************************************************************** [OHOS INFO] *** *** [OHOS INFO] *** OpenSSL has been successfully configured *** [OHOS INFO] *** *** [OHOS INFO] *** If you encounter a problem while building, please open an *** [OHOS INFO] *** issue on GitHub <https://github.com/openssl/openssl/issues> *** [OHOS INFO] *** and include the output from the following command: *** [OHOS INFO] *** *** [OHOS INFO] *** perl configdata.pm --dump *** [OHOS INFO] *** *** [OHOS INFO] *** (If you are new to OpenSSL, you might want to consult the *** [OHOS INFO] *** 'Troubleshooting' section in the INSTALL.md file first) *** [OHOS INFO] *** *** [OHOS INFO] ********************************************************************** [OHOS INFO] ~/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568 [OHOS INFO] [OHOS INFO] cmd ['/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/openssl/make_openssl_build_all_generated.sh', '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/third_party/openssl', '/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/obj/third_party/openssl/build_all_generated', 'linux-armv4'] ok [OHOS INFO] [OHOS INFO] accessibility_enable = true [OHOS INFO] accessibility_enable = true [OHOS INFO] { } [OHOS ERROR] Traceback (most recent call last): [OHOS ERROR] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/hb/services/gn.py", line 176, in _execute_gn_gen_cmd [OHOS ERROR] SystemUtil.exec_command(gn_gen_cmd, self.config.log_path) [OHOS ERROR] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/hb/util/system_util.py", line 63, in exec_command [OHOS ERROR] raise OHOSException( [OHOS ERROR] exceptions.ohos_exception.OHOSException: Please check build log in /root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/out/rk3568/build.log [OHOS ERROR] [OHOS ERROR] During handling of the above exception, another exception occurred: [OHOS ERROR] [OHOS ERROR] Traceback (most recent call last): [OHOS ERROR] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/hb/containers/status.py", line 47, in wrapper [OHOS ERROR] return func(*args, **kwargs) [OHOS ERROR] File "/root/hdc/OpenHarmony-v4.0-Release/OpenHarmony/build/hb/services/gn.py", line 178, in _execute_gn_gen_cmd [OHOS ERROR] raise OHOSException('GN phase failed', '3000') [OHOS ERROR] exceptions.ohos_exception.OHOSException: GN phase failed [OHOS ERROR] [OHOS ERROR] Code: 3000 [OHOS ERROR] [OHOS ERROR] Reason: GN phase failed [OHOS ERROR] [OHOS ERROR] Solution: Please check the compile log at out/{compiling product}/build.log, If you could analyze build logs. [OHOS ERROR] Or you can try the following steps to solve this problem: [OHOS ERROR] 1. cd to OHOS root path [OHOS ERROR] 2. run 'hb clean --all' or 'rm -rf out build/resources/args/*.json'. [OHOS ERROR] 3. repo sync [OHOS ERROR] 4. repo forall -c 'git lfs pull' [OHOS ERROR] 5. bash build/prebuilts_download.sh [OHOS ERROR] 6. rebuild your product or component [OHOS ERROR] [OHOS ERROR] If you still cannot solve this problem, you could post this problem on: [OHOS ERROR] https://gitee.com/openharmony/build/issues [OHOS ERROR] ### 期望行为是什么? 编译成功 ### 如何复现该缺陷 hb build -f ### 其他补充信息 ### 版本或分支信息 - [x] master - [ ] Release 3.2 - [ ] Release 3.1 - [ ] Release 3.0
评论 (
9
)
登录
后才可以发表评论
状态
已完成
待办的
进行中
已完成
已拒绝
负责人
未设置
标签
bug
waiting_for_assign
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(6)
1
https://gitee.com/openharmony/build.git
git@gitee.com:openharmony/build.git
openharmony
build
build
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册