登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
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 、隐私泄露等敏感信息,仓库外成员不可访问
[问题咨询]: Ubuntu20.04版本编译时出现错误
待办的
#I8KUWW
riguiisme
创建于
2023-11-30 21:16
### 问题描述 在VM中使用ubuntu20.04虚拟机,分配硬盘80G,4核,8G内存,在进行./build.sh --product-name rk3568 --build-target ark_js_host_linux_tools_packages --build-target ets_frontend_build --build-target ark_host_linux_tools_packages编译时,出现下列报错,我把日志贴在下面 新手,有点看不懂哪里出错,望大佬救救 Set cache size limit to 100.0 GB [OHOS INFO] loader args:['platforms_config_file="/home/openharmony/out/preloader/rk3568/platforms.build"', 'subsystem_config_file="/home/openharmony/out/preloader/rk3568/subsystem_config.json"', 'example_subsystem_file=""', 'exclusion_modules_config_file="/home/openharmony/out/preloader/rk3568/exclusion_modules.json"', 'source_root_dir="/home/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', 'testfwk']", 'scalable_build=False', 'skip_partlist_check=False'] [OHOS INFO] Excuting gn command: /home/openharmony/prebuilts/build-tools/linux-x86/bin/gn gen --args="product_name=\"rk3568\" product_path=\"/home/openharmony/vendor/hihope/rk3568\" product_config_path=\"/home/openharmony/vendor/hihope/rk3568\" device_name=\"rk3568\" device_path=\"/home/openharmony/device/board/rockchip/rk3568\" device_company=\"rockchip\" device_config_path=\"/home/openharmony/device/board/rockchip/rk3568\" target_cpu=\"arm\" is_standard_system=true ohos_build_compiler_specified=\"\" ohos_build_time=1701318449023 ohos_build_datetime=\"2023-11-30 20:27:29\" 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 memmgr_purgeable_memory=true fusion_interaction_coordination=false wpa_supplicant_driver_nl80211=true 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\"" /home/openharmony/out/rk3568 root_out_dir=//out/rk3568 root_build_dir=//out/rk3568 root_gen_dir=//out/rk3568/gen current_toolchain=//build/toolchain/ohos:ohos_clang_arm host_toolchain=//build/toolchain/linux:clang_x64 memory_tracker_interface_service thermal_interface_service vibrator_service intell_voice_engine_service intell_voice_trigger_service bundle_framework_power_mgr_enable = true bundle_framework_graphics = true bundle_framework_free_install = true bundle_framework_default_app = true bundle_framework_launcher = true bundle_framework_sandbox_app = true bundle_framework_quick_fix = true bundle_framework_app_control = true distributed_bundle_framework = true ability_runtime_enable = true account_enable = true configpolicy_enable = true global_resmgr_enable = true hicollie_enable = true support_jsapi = true hisysevent_enable = true bundle_framework_overlay_install = true nnrt nnrt default_toolchain = //build/toolchain/ohos:ohos_clang_arm current_toolchain = //build/toolchain/ohos:ohos_clang_arm host_toolchain = //build/toolchain/linux:clang_x64 root_out_dir = //out/rk3568 root_output_dir_proto = out/rk3568/clang_x64 battery_interface_service display_buffer display_composer distributed_bundle_framework_graphics = true ability_runtime_enable_dbms = true account_enable_dbms = true distributed_bundle_framework_enable = true hisysevent_enable_dbms = true distributed_bundle_image_framework_enable = true input_service wlan_service location_geofence input_feature_combination_key = true input_feature_pointer_drawing = true input_feature_monitor = true input_feature_interceptor = true input_feature_keyboard = true input_feature_switch = false input_feature_mouse = true input_feature_joystick = true input_feature_touchscreen = true input_feature_input_device = true input_feature_short_key = true drivers_peripheral_pin_auth drivers_peripheral_pin_auth light_service distributed_camera_provider_service drivers_peripheral_user_auth drivers_peripheral_user_auth has_hisysevent_part = false sensor_service daudio daudioext partitionslot_interface_service motion_service motion_service miscdevice_feature_vibrator_custom = false camera_service camera_service hisysevent_usage = false ["--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/"] drivers_peripheral_fingerprint_auth drivers_peripheral_fingerprint_auth audio_service effect_host ril_service ["--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"] location_gnss accessibility_enable = true window_manager_feature_subscribe_motion = false imf_enable: true imf_enable: true e2fsprogs installed successfully usbd usbfn_mtp usb_ddk power_interface_service power_interface_service location_agnss ERROR at //third_party/libpng/BUILD.gn:10:7: Script returned non-zero exit code. print(exec_script(install_script, install_args, "string", [])) ^---------- Current dir: /home/openharmony/out/rk3568/ Command: /usr/bin/env /home/openharmony/third_party/libpng/install.py --gen-dir /home/openharmony/third_party/libpng Returned 1. stderr: fatal: detected dubious ownership in repository at '/home/openharmony/third_party/libpng' To add an exception for this directory, call: git config --global --add safe.directory /home/openharmony/third_party/libpng Traceback (most recent call last): File "/home/openharmony/third_party/libpng/install.py", line 83, in <module> sys.exit(main()) File "/home/openharmony/third_party/libpng/install.py", line 76, in main subprocess.run(clean_cmd, cwd=args.gen_dir, check=True) File "/home/openharmony/prebuilts/python/linux-x86/current/lib/python3.10/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['git', 'clean', '-df']' returned non-zero exit status 128. See //build/ohos/ohos_part.gni:25:16: which caused the file to be included. _deps += [ get_label_info(module_label, "label_with_toolchain") ] ^-------------------------------------------------- drivers_peripheral_huks codec_service codec_service rk3568_group in drivers_peripheral_face_auth drivers_peripheral_face_auth openssl detecting os now... current_cpu = arm current_os = ohos host_os = linux is_mingw = false openssl selected linux-armv4 openssl detecting os done. openssl_selected_platform = linux-armv4 cmd ['/home/openharmony/third_party/openssl/make_openssl_build_all_generated.sh', '/home/openharmony/third_party/openssl', '/home/openharmony/out/rk3568/obj/third_party/openssl/build_all_generated', 'linux-armv4'] start result.returncode = 0 result.stdout = /home/openharmony/out/rk3568 /home/openharmony/out/rk3568/obj/third_party/openssl/build_all_generated/linux-armv4 /home/openharmony/out/rk3568 /home/openharmony/third_party/openssl/Configure linux-armv4 no-shared no-module Configuring OpenSSL version 3.0.7 for target linux-armv4 Using os-specific seed configuration Created configdata.pm Running configdata.pm Created Makefile.in Created Makefile Created include/openssl/configuration.h ********************************************************************** *** *** *** OpenSSL has been successfully configured *** *** *** *** If you encounter a problem while building, please open an *** *** issue on GitHub <https://github.com/openssl/openssl/issues> *** *** and include the output from the following command: *** *** *** *** perl configdata.pm --dump *** *** *** *** (If you are new to OpenSSL, you might want to consult the *** *** 'Troubleshooting' section in the INSTALL.md file first) *** *** *** ********************************************************************** /home/openharmony/out/rk3568 cmd ['/home/openharmony/third_party/openssl/make_openssl_build_all_generated.sh', '/home/openharmony/third_party/openssl', '/home/openharmony/out/rk3568/obj/third_party/openssl/build_all_generated', 'linux-armv4'] ok Done prepare mindspore source. Install OpenEuler Curl /home/openharmony/third_party/curl/install.py ["--gen-dir", "/home/openharmony/out/rk3568/gen/third_party/curl"] 2023-11-30 20:39:04 | WARN | OpenEulerCurl | script path is /home/openharmony/third_party/curl, log path is /home/openharmony/out/rk3568/gen/third_party/curl 2023-11-30 20:39:04 | WARN | OpenEulerCurl | only me to install OpenEuler Curl 2023-11-30 20:39:12 | WARN | OpenEulerCurl | OpenEuler Curl has been install current_cpu = arm current_os = ohos host_os = linux is_mingw = false ffmpeg selected cplatform cups installed successfully account_enable_bm = true overlay_install_bm = true quick_fix_bm = true distributed_bundle_framework_bm = true accessibility_enable = true accessibility_enable = true imf_enable: true histreamer plugin: ffmpeg_adapter = true histreamer plugin: wav_demuxer = false histreamer plugin: hdi_adapter = false histreamer plugin: file_source = true histreamer plugin: file_fd_source = true histreamer plugin: std_stream_source = true histreamer plugin: http_source = true histreamer plugin: stream_source = false histreamer plugin: audio_server_sink = true histreamer plugin: lite_aac_decoder = false histreamer plugin: std_video_surface_sink = true histreamer plugin: std_video_capture = false histreamer plugin: file_fd_sink = true histreamer plugin: codec_adapter = true { } [91m[OHOS ERROR][0m Traceback (most recent call last): [91m[OHOS ERROR][0m File "/home/openharmony/build/hb/services/gn.py", line 176, in _execute_gn_gen_cmd [91m[OHOS ERROR][0m SystemUtil.exec_command(gn_gen_cmd, self.config.log_path) [91m[OHOS ERROR][0m File "/home/openharmony/build/hb/util/system_util.py", line 63, in exec_command [91m[OHOS ERROR][0m raise OHOSException( [91m[OHOS ERROR][0m exceptions.ohos_exception.OHOSException: Please check build log in /home/openharmony/out/rk3568/build.log [91m[OHOS ERROR][0m [91m[OHOS ERROR][0m During handling of the above exception, another exception occurred: [91m[OHOS ERROR][0m [91m[OHOS ERROR][0m Traceback (most recent call last): [91m[OHOS ERROR][0m File "/home/openharmony/build/hb/containers/status.py", line 47, in wrapper [91m[OHOS ERROR][0m return func(*args, **kwargs) [91m[OHOS ERROR][0m File "/home/openharmony/build/hb/services/gn.py", line 178, in _execute_gn_gen_cmd [91m[OHOS ERROR][0m raise OHOSException('GN phase failed', '3000') [91m[OHOS ERROR][0m exceptions.ohos_exception.OHOSException: GN phase failed [91m[OHOS ERROR][0m [91m[OHOS ERROR][0m Code: 3000 [91m[OHOS ERROR][0m [91m[OHOS ERROR][0m Reason: GN phase failed [91m[OHOS ERROR][0m [91m[OHOS ERROR][0m Solution: Please check the compile log at out/{compiling product}/build.log, If you could analyze build logs. [91m[OHOS ERROR][0m Or you can try the following steps to solve this problem: [91m[OHOS ERROR][0m 1. cd to OHOS root path [91m[OHOS ERROR][0m 2. run 'hb clean --all' or 'rm -rf out build/resources/args/*.json'. [91m[OHOS ERROR][0m 3. repo sync [91m[OHOS ERROR][0m 4. repo forall -c 'git lfs pull' [91m[OHOS ERROR][0m 5. bash build/prebuilts_download.sh [91m[OHOS ERROR][0m 6. rebuild your product or component [91m[OHOS ERROR][0m [91m[OHOS ERROR][0m If you still cannot solve this problem, you could post this problem on: [91m[OHOS ERROR][0m https://gitee.com/openharmony/build/issues [91m[OHOS ERROR][0m
### 问题描述 在VM中使用ubuntu20.04虚拟机,分配硬盘80G,4核,8G内存,在进行./build.sh --product-name rk3568 --build-target ark_js_host_linux_tools_packages --build-target ets_frontend_build --build-target ark_host_linux_tools_packages编译时,出现下列报错,我把日志贴在下面 新手,有点看不懂哪里出错,望大佬救救 Set cache size limit to 100.0 GB [OHOS INFO] loader args:['platforms_config_file="/home/openharmony/out/preloader/rk3568/platforms.build"', 'subsystem_config_file="/home/openharmony/out/preloader/rk3568/subsystem_config.json"', 'example_subsystem_file=""', 'exclusion_modules_config_file="/home/openharmony/out/preloader/rk3568/exclusion_modules.json"', 'source_root_dir="/home/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', 'testfwk']", 'scalable_build=False', 'skip_partlist_check=False'] [OHOS INFO] Excuting gn command: /home/openharmony/prebuilts/build-tools/linux-x86/bin/gn gen --args="product_name=\"rk3568\" product_path=\"/home/openharmony/vendor/hihope/rk3568\" product_config_path=\"/home/openharmony/vendor/hihope/rk3568\" device_name=\"rk3568\" device_path=\"/home/openharmony/device/board/rockchip/rk3568\" device_company=\"rockchip\" device_config_path=\"/home/openharmony/device/board/rockchip/rk3568\" target_cpu=\"arm\" is_standard_system=true ohos_build_compiler_specified=\"\" ohos_build_time=1701318449023 ohos_build_datetime=\"2023-11-30 20:27:29\" 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 memmgr_purgeable_memory=true fusion_interaction_coordination=false wpa_supplicant_driver_nl80211=true 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\"" /home/openharmony/out/rk3568 root_out_dir=//out/rk3568 root_build_dir=//out/rk3568 root_gen_dir=//out/rk3568/gen current_toolchain=//build/toolchain/ohos:ohos_clang_arm host_toolchain=//build/toolchain/linux:clang_x64 memory_tracker_interface_service thermal_interface_service vibrator_service intell_voice_engine_service intell_voice_trigger_service bundle_framework_power_mgr_enable = true bundle_framework_graphics = true bundle_framework_free_install = true bundle_framework_default_app = true bundle_framework_launcher = true bundle_framework_sandbox_app = true bundle_framework_quick_fix = true bundle_framework_app_control = true distributed_bundle_framework = true ability_runtime_enable = true account_enable = true configpolicy_enable = true global_resmgr_enable = true hicollie_enable = true support_jsapi = true hisysevent_enable = true bundle_framework_overlay_install = true nnrt nnrt default_toolchain = //build/toolchain/ohos:ohos_clang_arm current_toolchain = //build/toolchain/ohos:ohos_clang_arm host_toolchain = //build/toolchain/linux:clang_x64 root_out_dir = //out/rk3568 root_output_dir_proto = out/rk3568/clang_x64 battery_interface_service display_buffer display_composer distributed_bundle_framework_graphics = true ability_runtime_enable_dbms = true account_enable_dbms = true distributed_bundle_framework_enable = true hisysevent_enable_dbms = true distributed_bundle_image_framework_enable = true input_service wlan_service location_geofence input_feature_combination_key = true input_feature_pointer_drawing = true input_feature_monitor = true input_feature_interceptor = true input_feature_keyboard = true input_feature_switch = false input_feature_mouse = true input_feature_joystick = true input_feature_touchscreen = true input_feature_input_device = true input_feature_short_key = true drivers_peripheral_pin_auth drivers_peripheral_pin_auth light_service distributed_camera_provider_service drivers_peripheral_user_auth drivers_peripheral_user_auth has_hisysevent_part = false sensor_service daudio daudioext partitionslot_interface_service motion_service motion_service miscdevice_feature_vibrator_custom = false camera_service camera_service hisysevent_usage = false ["--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/"] drivers_peripheral_fingerprint_auth drivers_peripheral_fingerprint_auth audio_service effect_host ril_service ["--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"] location_gnss accessibility_enable = true window_manager_feature_subscribe_motion = false imf_enable: true imf_enable: true e2fsprogs installed successfully usbd usbfn_mtp usb_ddk power_interface_service power_interface_service location_agnss ERROR at //third_party/libpng/BUILD.gn:10:7: Script returned non-zero exit code. print(exec_script(install_script, install_args, "string", [])) ^---------- Current dir: /home/openharmony/out/rk3568/ Command: /usr/bin/env /home/openharmony/third_party/libpng/install.py --gen-dir /home/openharmony/third_party/libpng Returned 1. stderr: fatal: detected dubious ownership in repository at '/home/openharmony/third_party/libpng' To add an exception for this directory, call: git config --global --add safe.directory /home/openharmony/third_party/libpng Traceback (most recent call last): File "/home/openharmony/third_party/libpng/install.py", line 83, in <module> sys.exit(main()) File "/home/openharmony/third_party/libpng/install.py", line 76, in main subprocess.run(clean_cmd, cwd=args.gen_dir, check=True) File "/home/openharmony/prebuilts/python/linux-x86/current/lib/python3.10/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['git', 'clean', '-df']' returned non-zero exit status 128. See //build/ohos/ohos_part.gni:25:16: which caused the file to be included. _deps += [ get_label_info(module_label, "label_with_toolchain") ] ^-------------------------------------------------- drivers_peripheral_huks codec_service codec_service rk3568_group in drivers_peripheral_face_auth drivers_peripheral_face_auth openssl detecting os now... current_cpu = arm current_os = ohos host_os = linux is_mingw = false openssl selected linux-armv4 openssl detecting os done. openssl_selected_platform = linux-armv4 cmd ['/home/openharmony/third_party/openssl/make_openssl_build_all_generated.sh', '/home/openharmony/third_party/openssl', '/home/openharmony/out/rk3568/obj/third_party/openssl/build_all_generated', 'linux-armv4'] start result.returncode = 0 result.stdout = /home/openharmony/out/rk3568 /home/openharmony/out/rk3568/obj/third_party/openssl/build_all_generated/linux-armv4 /home/openharmony/out/rk3568 /home/openharmony/third_party/openssl/Configure linux-armv4 no-shared no-module Configuring OpenSSL version 3.0.7 for target linux-armv4 Using os-specific seed configuration Created configdata.pm Running configdata.pm Created Makefile.in Created Makefile Created include/openssl/configuration.h ********************************************************************** *** *** *** OpenSSL has been successfully configured *** *** *** *** If you encounter a problem while building, please open an *** *** issue on GitHub <https://github.com/openssl/openssl/issues> *** *** and include the output from the following command: *** *** *** *** perl configdata.pm --dump *** *** *** *** (If you are new to OpenSSL, you might want to consult the *** *** 'Troubleshooting' section in the INSTALL.md file first) *** *** *** ********************************************************************** /home/openharmony/out/rk3568 cmd ['/home/openharmony/third_party/openssl/make_openssl_build_all_generated.sh', '/home/openharmony/third_party/openssl', '/home/openharmony/out/rk3568/obj/third_party/openssl/build_all_generated', 'linux-armv4'] ok Done prepare mindspore source. Install OpenEuler Curl /home/openharmony/third_party/curl/install.py ["--gen-dir", "/home/openharmony/out/rk3568/gen/third_party/curl"] 2023-11-30 20:39:04 | WARN | OpenEulerCurl | script path is /home/openharmony/third_party/curl, log path is /home/openharmony/out/rk3568/gen/third_party/curl 2023-11-30 20:39:04 | WARN | OpenEulerCurl | only me to install OpenEuler Curl 2023-11-30 20:39:12 | WARN | OpenEulerCurl | OpenEuler Curl has been install current_cpu = arm current_os = ohos host_os = linux is_mingw = false ffmpeg selected cplatform cups installed successfully account_enable_bm = true overlay_install_bm = true quick_fix_bm = true distributed_bundle_framework_bm = true accessibility_enable = true accessibility_enable = true imf_enable: true histreamer plugin: ffmpeg_adapter = true histreamer plugin: wav_demuxer = false histreamer plugin: hdi_adapter = false histreamer plugin: file_source = true histreamer plugin: file_fd_source = true histreamer plugin: std_stream_source = true histreamer plugin: http_source = true histreamer plugin: stream_source = false histreamer plugin: audio_server_sink = true histreamer plugin: lite_aac_decoder = false histreamer plugin: std_video_surface_sink = true histreamer plugin: std_video_capture = false histreamer plugin: file_fd_sink = true histreamer plugin: codec_adapter = true { } [91m[OHOS ERROR][0m Traceback (most recent call last): [91m[OHOS ERROR][0m File "/home/openharmony/build/hb/services/gn.py", line 176, in _execute_gn_gen_cmd [91m[OHOS ERROR][0m SystemUtil.exec_command(gn_gen_cmd, self.config.log_path) [91m[OHOS ERROR][0m File "/home/openharmony/build/hb/util/system_util.py", line 63, in exec_command [91m[OHOS ERROR][0m raise OHOSException( [91m[OHOS ERROR][0m exceptions.ohos_exception.OHOSException: Please check build log in /home/openharmony/out/rk3568/build.log [91m[OHOS ERROR][0m [91m[OHOS ERROR][0m During handling of the above exception, another exception occurred: [91m[OHOS ERROR][0m [91m[OHOS ERROR][0m Traceback (most recent call last): [91m[OHOS ERROR][0m File "/home/openharmony/build/hb/containers/status.py", line 47, in wrapper [91m[OHOS ERROR][0m return func(*args, **kwargs) [91m[OHOS ERROR][0m File "/home/openharmony/build/hb/services/gn.py", line 178, in _execute_gn_gen_cmd [91m[OHOS ERROR][0m raise OHOSException('GN phase failed', '3000') [91m[OHOS ERROR][0m exceptions.ohos_exception.OHOSException: GN phase failed [91m[OHOS ERROR][0m [91m[OHOS ERROR][0m Code: 3000 [91m[OHOS ERROR][0m [91m[OHOS ERROR][0m Reason: GN phase failed [91m[OHOS ERROR][0m [91m[OHOS ERROR][0m Solution: Please check the compile log at out/{compiling product}/build.log, If you could analyze build logs. [91m[OHOS ERROR][0m Or you can try the following steps to solve this problem: [91m[OHOS ERROR][0m 1. cd to OHOS root path [91m[OHOS ERROR][0m 2. run 'hb clean --all' or 'rm -rf out build/resources/args/*.json'. [91m[OHOS ERROR][0m 3. repo sync [91m[OHOS ERROR][0m 4. repo forall -c 'git lfs pull' [91m[OHOS ERROR][0m 5. bash build/prebuilts_download.sh [91m[OHOS ERROR][0m 6. rebuild your product or component [91m[OHOS ERROR][0m [91m[OHOS ERROR][0m If you still cannot solve this problem, you could post this problem on: [91m[OHOS ERROR][0m https://gitee.com/openharmony/build/issues [91m[OHOS ERROR][0m
评论 (
2
)
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已拒绝
负责人
未设置
标签
question
waiting_for_assign
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(3)
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 帐号,请先登录后再操作。
立即登录
没有帐号,去注册