55 Star 88 Fork 972

OpenHarmony / build

 / 详情

[问题咨询]: openharmony 编译dayu210报错,请问如何解决呢

待办的
创建于  
2023-10-27 16:12

问题描述

[OHOS INFO] [0/0] WARNING: //device/soc/rockchip/rk3588/hardware/display:libdisplay_buffer_vdi_impl depend part c_utils, need set part deps info to device_rk3588.
[OHOS INFO] [0/0] WARNING: //device/soc/rockchip/rk3588/hardware/display:libdisplay_buffer_vdi_impl depend part drivers_interface_display, need set part deps info to device_rk3588.
[OHOS INFO] [0/0] WARNING: //device/soc/rockchip/rk3588/hardware/display:libdisplay_buffer_vdi_impl depend part drivers_interface_display, need set part deps info to device_rk3588.
[OHOS INFO] [0/0] WARNING: //device/soc/rockchip/rk3588/hardware/display:libdisplay_buffer_vdi_impl depend part hdf_core, need set part deps info to device_rk3588.
[OHOS INFO] [0/0] WARNING: //device/soc/rockchip/rk3588/hardware/display:libdisplay_buffer_vdi_impl depend part hilog, need set part deps info to device_rk3588.
[OHOS INFO] [0/0] WARNING: //device/soc/rockchip/rk3588/hardware/display:libdisplay_buffer_vdi_impl depend part ipc, need set part deps info to device_rk3588.
[OHOS ERROR] [1864/57179] ACTION //device/board/hihope/dayu210/camera/vdi_impl/v4l2:camera_host_vdi_impl_1.0__check(//build/toolchain/ohos:ohos_clang_arm64)
[OHOS ERROR] FAILED: obj/device/board/hihope/dayu210/camera/vdi_impl/v4l2/camera_host_vdi_impl_1.0__check.txt
[OHOS ERROR] /usr/bin/env ../../build/templates/common/check_build_target.py --part-name device_rk3588 --subsystem-name device_rk3588 --target-path //device/board/hihope/dayu210/camera/vdi_impl/v4l2:camera_host_vdi_impl_1.0 --depfile gen/device/board/hihope/dayu210/camera/vdi_impl/v4l2/camera_host_vdi_impl_1.0__check.d --output obj/device/board/hihope/dayu210/camera/vdi_impl/v4l2/camera_host_vdi_impl_1.0__check.txt --compile-standard-allow-file ../preloader/dayu210/compile_standard_whitelist.json --deps //device/board/hihope/dayu210/camera/vdi_impl/v4l2/device_manager:camera_device_manager //device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core:camera_pipeline_core --external-deps c_utils:utils drivers_peripheral_camera:peripheral_camera_buffer_manager drivers_peripheral_camera:peripheral_camera_device_manager drivers_peripheral_camera:peripheral_camera_metadata_manager drivers_peripheral_camera:peripheral_camera_pipeline_core drivers_peripheral_camera:peripheral_camera_utils drivers_peripheral_camera:peripheral_camera_v4l2_adapter graphic_chipsetsdk:surface hdf_core:libhdf_host hdf_core:libhdf_ipc_adapter hdf_core:libhdf_utils hdf_core:libhdi hilog:libhilog ipc:ipc_single drivers_interface_camera:libbuffer_producer_sequenceable_1.0 drivers_interface_camera:metadata drivers_interface_display:libdisplay_composer_proxy_1.0 hitrace:hitrace_meter ipc:ipc_single
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/out/rk3588/../../build/templates/common/check_build_target.py", line 71, in
[OHOS ERROR] sys.exit(main())
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/out/rk3588/../../build/templates/common/check_build_target.py", line 58, in main
[OHOS ERROR] _depfile = check_external_deps.check(args)
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/templates/common/check_external_deps.py", line 77, in check
[OHOS ERROR] check_parts_deps(args, external_part_name, parts_deps_info)
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/templates/common/check_external_deps.py", line 56, in check_parts_deps
[OHOS ERROR] raise Exception(_warning_info)
[OHOS ERROR] Exception: //device/board/hihope/dayu210/camera/vdi_impl/v4l2:camera_host_vdi_impl_1.0 depend part c_utils, need set part deps info to device_rk3588.
[OHOS ERROR] [1867/57179] ACTION //device/board/hihope/dayu210/camera/vdi_impl/v4l2/device_manager:camera_device_manager__check(//build/toolchain/ohos:ohos_clang_arm64)
[OHOS ERROR] FAILED: obj/device/board/hihope/dayu210/camera/vdi_impl/v4l2/device_manager/camera_device_manager__check.txt
[OHOS ERROR] /usr/bin/env ../../build/templates/common/check_build_target.py --part-name device_rk3588 --subsystem-name device_rk3588 --target-path //device/board/hihope/dayu210/camera/vdi_impl/v4l2/device_manager:camera_device_manager --depfile gen/device/board/hihope/dayu210/camera/vdi_impl/v4l2/device_manager/camera_device_manager__check.d --output obj/device/board/hihope/dayu210/camera/vdi_impl/v4l2/device_manager/camera_device_manager__check.txt --compile-standard-allow-file ../preloader/dayu210/compile_standard_whitelist.json --deps --external-deps c_utils:utils drivers_peripheral_camera:peripheral_camera_device_manager drivers_peripheral_camera:peripheral_camera_v4l2_adapter hdf_core:libhdf_utils hilog:libhilog drivers_interface_camera:metadata
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/out/rk3588/../../build/templates/common/check_build_target.py", line 71, in
[OHOS ERROR] sys.exit(main())
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/out/rk3588/../../build/templates/common/check_build_target.py", line 58, in main
[OHOS ERROR] _depfile = check_external_deps.check(args)
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/templates/common/check_external_deps.py", line 77, in check
[OHOS ERROR] check_parts_deps(args, external_part_name, parts_deps_info)
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/templates/common/check_external_deps.py", line 56, in check_parts_deps
[OHOS ERROR] raise Exception(_warning_info)
[OHOS ERROR] Exception: //device/board/hihope/dayu210/camera/vdi_impl/v4l2/device_manager:camera_device_manager depend part c_utils, need set part deps info to device_rk3588.
[OHOS ERROR] [1868/57179] ACTION //device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core:camera_ipp_algo_example__check(//build/toolchain/ohos:ohos_clang_arm64)
[OHOS ERROR] FAILED: obj/device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core/camera_ipp_algo_example__check.txt
[OHOS ERROR] /usr/bin/env ../../build/templates/common/check_build_target.py --part-name device_rk3588 --subsystem-name device_rk3588 --target-path //device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core:camera_ipp_algo_example --depfile gen/device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core/camera_ipp_algo_example__check.d --output obj/device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core/camera_ipp_algo_example__check.txt --compile-standard-allow-file ../preloader/dayu210/compile_standard_whitelist.json --deps --external-deps c_utils:utils
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/out/rk3588/../../build/templates/common/check_build_target.py", line 71, in
[OHOS ERROR] sys.exit(main())
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/out/rk3588/../../build/templates/common/check_build_target.py", line 58, in main
[OHOS ERROR] _depfile = check_external_deps.check(args)
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/templates/common/check_external_deps.py", line 77, in check
[OHOS ERROR] check_parts_deps(args, external_part_name, parts_deps_info)
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/templates/common/check_external_deps.py", line 56, in check_parts_deps
[OHOS ERROR] raise Exception(_warning_info)
[OHOS ERROR] Exception: //device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core:camera_ipp_algo_example depend part c_utils, need set part deps info to device_rk3588.
[OHOS ERROR] [1869/57179] ACTION //device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core:camera_pipeline_core__check(//build/toolchain/ohos:ohos_clang_arm64)
[OHOS ERROR] FAILED: obj/device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core/camera_pipeline_core__check.txt
[OHOS ERROR] /usr/bin/env ../../build/templates/common/check_build_target.py --part-name device_rk3588 --subsystem-name device_rk3588 --target-path //device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core:camera_pipeline_core --depfile gen/device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core/camera_pipeline_core__check.d --output obj/device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core/camera_pipeline_core__check.txt --compile-standard-allow-file ../preloader/dayu210/compile_standard_whitelist.json --deps //device/board/hihope/dayu210/camera/vdi_impl/v4l2:config.c //device/board/hihope/dayu210/camera/vdi_impl/v4l2:params.c //device/board/hihope/dayu210/camera/vdi_impl/v4l2/device_manager:camera_device_manager //device/soc/rockchip/rk3588/hardware/mpp:libmpp //device/soc/rockchip/rk3588/hardware/rga:librga //third_party/libjpeg-turbo:turbojpeg_static --external-deps drivers_peripheral_camera:peripheral_camera_buffer_manager drivers_peripheral_camera:peripheral_camera_device_manager drivers_peripheral_camera:peripheral_camera_metadata_manager drivers_peripheral_camera:peripheral_camera_pipeline_core drivers_peripheral_camera:peripheral_camera_utils drivers_peripheral_camera:peripheral_camera_v4l2_adapter hdf_core:libhdf_utils hilog:libhilog c_utils:utils drivers_interface_camera:libbuffer_producer_sequenceable_1.0 drivers_interface_camera:metadata graphic_chipsetsdk:surface ipc:ipc_single
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/out/rk3588/../../build/templates/common/check_build_target.py", line 71, in
[OHOS ERROR] sys.exit(main())
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/out/rk3588/../../build/templates/common/check_build_target.py", line 54, in main
[OHOS ERROR] _depfile = check_deps_handler.check(args)
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/templates/common/check_deps_handler.py", line 175, in check
[OHOS ERROR] check_part_deps(args, part_pattern, path_parts_info,compile_standard_allow_info, depfiles)
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/templates/common/check_deps_handler.py", line 150, in check_part_deps
[OHOS ERROR] raise Exception(message)
[OHOS ERROR] Exception: deps validation part_name: 'device_rk3588', target: '//device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core:camera_pipeline_core', dep: '//device/soc/rockchip/rk3588/hardware/mpp:libmpp' failed!!!
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/hb/services/ninja.py", line 49, in _execute_ninja_cmd
[OHOS ERROR] SystemUtil.exec_command(
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/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 /home/fantasy/work/test/OHOS/out/rk3588/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 "/home/fantasy/work/test/OHOS/build/hb/containers/status.py", line 47, in wrapper
[OHOS ERROR] return func(args, **kwargs)
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/hb/modules/ohos_build_module.py", line 67, in run
[OHOS ERROR] raise exception
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/hb/modules/ohos_build_module.py", line 65, in run
[OHOS ERROR] super().run()
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/hb/modules/interface/build_module_interface.py", line 72, in run
[OHOS ERROR] raise exception
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/hb/modules/interface/build_module_interface.py", line 70, in run
[OHOS ERROR] self._target_compilation()
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/hb/modules/ohos_build_module.py", line 103, in _target_compilation
[OHOS ERROR] self.target_compiler.run()
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/hb/services/ninja.py", line 38, in run
[OHOS ERROR] self._execute_ninja_cmd()
[OHOS ERROR] File "/home/fantasy/work/test/OHOS/build/hb/services/ninja.py", line 52, in _execute_ninja_cmd
[OHOS ERROR] raise OHOSException('ninja phase failed', '4000')
[OHOS ERROR] exceptions.ohos_exception.OHOSException: ninja phase failed
[OHOS ERROR]
[OHOS ERROR] Code: 4000
[OHOS ERROR]
[OHOS ERROR] Reason: ninja 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]
=====build error=====

评论 (2)

fantasy 创建了任务
fantasy 添加了
 
question
标签
展开全部操作日志

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @chenmudan @liwentao 。如果需要调整订阅PR、Issue的变更状态,请访问链接

Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @chenmudan @liwentao for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

openharmony_ci 添加了
 
waiting_for_assign
标签

使用的版本是 OpenHarmony-v4.0-release 的分支下,git log 查看对应dayu210的记录修改也是最新的提交记录。还是编译报错。

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
7387629 openharmony ci 1656582662
1
https://gitee.com/openharmony/build.git
git@gitee.com:openharmony/build.git
openharmony
build
build

搜索帮助