标题: 【求助】【OpenHarmony4.1-Release编译小熊派报错,用的docker_oh_small:3.2 环境,麻烦哪位大佬帮我看看,感激不尽】 [打印本页] 作者: canghaiwolong666 时间: 2024-5-9 16:59 标题: 【求助】【OpenHarmony4.1-Release编译小熊派报错,用的docker_oh_small:3.2 环境,麻烦哪位大佬帮我看看,感激不尽】 [md][OHOS INFO] loader args:['platforms_config_file="/home/openharmony/out/preloader/bearpi_hm_micro/platforms.build"', 'subsystem_config_file="/home/openharmony/out/preloader/bearpi_hm_micro/subsystem_config.json"', 'example_subsystem_file=""', 'exclusion_modules_config_file="/home/openharmony/out/preloader/bearpi_hm_micro/exclusion_modules.json"', 'source_root_dir="/home/openharmony/"', 'gn_root_out_dir="out/bearpi_hm_micro/bearpi_hm_micro"', 'build_platform_name=phone', 'build_xts=False', 'load_test_config=True', 'target_os=ohos', 'target_cpu=arm', 'os_level=small', "ignore_api_check=['xts', 'common', 'testfwk']", 'scalable_build=False', 'skip_partlist_check=False']
[OHOS INFO] Checking parts config...
[OHOS INFO] generated subsystem build config to '/home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build_configs/subsystem_info/subsystem_build_config.json'
[OHOS INFO] generated src subsystem info to '/home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build_configs/subsystem_info/src_subsystem_info.json'
[OHOS INFO] generated no src subsystem info to '/home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build_configs/subsystem_info/no_src_subsystem_info.json'
[OHOS INFO] generate target platform parts to '/home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build_configs/target_platforms_parts.json'
[OHOS INFO] generated system capabilities to '/home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build_configs/phone_system_capabilities.json'
[OHOS INFO] generated platforms parts by src to '/home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build_configs/platforms_parts_by_src.json'
[OHOS INFO] generate required parts targets to '/home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build_configs/required_parts_targets.json'
[OHOS INFO] generate build targets list file to '/home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build_configs/required_parts_targets_list.json'
[OHOS INFO] generated parts src flag to '/home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build_configs/subsystem_info/parts_src_flag.json'
[OHOS INFO] generate auto install part to '/home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build_configs/auto_install_parts.json'
[OHOS INFO] generate platforms list to '/home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build_configs/platforms_list.gni'
[OHOS INFO] generate part different info to '/home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build_configs/parts_different_info.json'
[OHOS INFO] generate infos for testfwk to '/home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build_configs/infos_for_testfwk.json'
[OHOS INFO] Checking all product features...
[OHOS INFO] generate syscap info file to '/home/openharmony/out/preloader/bearpi_hm_micro/system/etc/SystemCapability.json'
[OHOS INFO] generate syscap info with part name list to '/home/openharmony/out/preloader/bearpi_hm_micro/system/etc/syscap.json'
[OHOS INFO] generate target syscap for init list to '/home/openharmony/out/preloader/bearpi_hm_micro/system/etc/param/syscap.para'
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR] File "/home/openharmony/build/hb/containers/status.py", line 47, in wrapper
[OHOS ERROR] return func(*args, **kwargs)
[OHOS ERROR] File "/home/openharmony/build/hb/services/gn.py", line 197, in _execute_gn_gen_cmd
[OHOS ERROR] SystemUtil.exec_command(gn_gen_cmd, self.config.log_path)
[OHOS ERROR] File "/home/openharmony/build/hb/util/system_util.py", line 64, in exec_command
[OHOS ERROR] LogUtil.get_failed_log(log_path)
[OHOS ERROR] File "/home/openharmony/build/hb/util/log_util.py", line 191, in get_failed_log
[OHOS ERROR] LogUtil.get_gn_failed_log(log_path)
[OHOS ERROR] File "/home/openharmony/build/hb/util/log_util.py", line 137, in get_gn_failed_log
[OHOS ERROR] raise OHOSException(
[OHOS ERROR] exceptions.ohos_exception.OHOSException: GN Failed! Please check error in /home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/error.log, and for more build information in /home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build.log
[OHOS ERROR]
[OHOS ERROR] Code: 3000
[OHOS ERROR]
[OHOS ERROR] Reason: GN Failed! Please check error in /home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/error.log, and for more build information in /home/openharmony/out/bearpi_hm_micro/bearpi_hm_micro/build.log
[OHOS ERROR]
[OHOS ERROR] Error Type: UNKNOWN
[OHOS ERROR]
[OHOS ERROR] Description: An unknown error occurred while executing 'gn gen'.
[OHOS ERROR]
[OHOS ERROR] Solution: There is no solution available. You can check the 'gn_error.log' in the output directory for more information
[/md]作者: 深开鸿_王石 时间: 2024-5-13 13:48
4.1没人维护了,3.2能用作者: 润开鸿_梁开祝 时间: 2024-5-13 16:00