• Lv0
    粉丝0

积分1 / 贡献0

提问1答案被采纳0文章0

作者动态

    编译最新4.1版本时在最后阶段出现deps_guard与readelf报错

    liyanhui 显示全部楼层 发表于 2024-4-2 17:13:28
    【问题描述】
    在最新4.1版本代码dayu210编译最后阶出现ERROR: deps_guard failed如何解决?以及readelf报错
    具体日记如下

    [OHOS INFO]
    [OHOS INFO]
    Scanning 1948 ELF files now ...
    Build dependence tree for 1947 ELF files now ...
    readelf: Error: Missing knowledge of 32-bit reloc types used in DWARF sections of machine number 247
    readelf: Warning: unable to apply unsupported reloc type 3 to section .debug_info
        Got 15330 dependencies
    Load compile information now ...
    Do NO-Depends-On-NAPI rule checking now:
    Do NO-Depends-On-SA rule checking now:
    [WARNING]: sa module libfaceauthservice.z.so has no shlib_type="sa", add it in //base/useriam/face_auth/services:faceauthservice
    [WARNING]: sa module libpasteboard_service.z.so has no shlib_type="sa", add it in //foundation/distributeddatamgr/pasteboard/services:pasteboard_service
    [WARNING]: sa module libtel_core_service.z.so has no shlib_type="sa", add it in //base/telephony/core_service:tel_core_service
    [WARNING]: sa module libsecurity_component_service.z.so has no shlib_type="sa", add it in //base/security/security_component_manager/services/security_component_service/sa:security_component_service
    [WARNING]: sa module libconcurrentsvc.z.so has no shlib_type="sa", add it in //foundation/resourceschedule/qos_manager/services:concurrentsvc
    [WARNING]: sa module libdistributedfiledaemon.z.so has no shlib_type="sa", add it in //foundation/filemanagement/dfs_service/services/distributedfiledaemon:libdistributedfiledaemon
    [WARNING]: sa module libmedia_service.z.so has no shlib_type="sa", add it in //foundation/multimedia/player_framework/services/services:media_service
    [WARNING]: sa module libdinput_sink.z.so has no shlib_type="sa", add it in //foundation/distributedhardware/distributed_input/services/sink/sinkmanager:libdinput_sink
    [WARNING]: sa module libasset_service.dylib.so has no shlib_type="sa", add it in //base/security/asset/services/core_service:asset_service
    [WARNING]: sa module libthermalservice.z.so has no shlib_type="sa", add it in //base/powermgr/thermal_manager/services:thermalservice
    [WARNING]: sa module libintell_voice_server.z.so has no shlib_type="sa", add it in //foundation/ai/intelligent_voice_framework/services:intell_voice_server
    [WARNING]: sa module libtel_state_registry.z.so has no shlib_type="sa", add it in //base/telephony/state_registry:tel_state_registry
    [WARNING]: sa module libtel_cellular_call.z.so has no shlib_type="sa", add it in //base/telephony/cellular_call:tel_cellular_call
    [WARNING]: sa module liblbsservice_network.z.so has no shlib_type="sa", add it in //base/location/services/location_network/network:lbsservice_network
    [WARNING]: sa module liblbsservice_geocode.z.so has no shlib_type="sa", add it in //base/location/services/location_geocode/geocode:lbsservice_geocode
    [WARNING]: sa module libpinauthservice.z.so has no shlib_type="sa", add it in //base/useriam/pin_auth/services:pinauthservice
    [WARNING]: sa module libuserauthservice.z.so has no shlib_type="sa", add it in //base/useriam/user_auth_framework/services:userauthservice
    [WARNING]: sa module libmmi-server.z.so has no shlib_type="sa", add it in //foundation/multimodalinput/input/service:libmmi-server
    [WARNING]: sa module libaudio_policy_service.z.so has no shlib_type="sa", add it in //foundation/multimedia/audio_framework/services/audio_policy:audio_policy_service
    [WARNING]: sa module libsoftbus_server.z.so has no shlib_type="sa", add it in //foundation/communication/dsoftbus/core/frame:softbus_server
    [WARNING]: sa module libstorage_manager.z.so has no shlib_type="sa", add it in //foundation/filemanagement/storage_service/services/storage_manager:storage_manager
    [WARNING]: sa module libnet_vpn_manager.z.so has no shlib_type="sa", add it in //foundation/communication/netmanager_ext/services/vpnmanager:net_vpn_manager
    [WARNING]: sa module libsys_installer.z.so has no shlib_type="sa", add it in //base/update/sys_installer/frameworks/ipc_server:sys_installer
    [WARNING]: sa module libaudio_service.z.so has no shlib_type="sa", add it in //foundation/multimedia/audio_framework/services/audio_service:audio_service
    [WARNING]: sa module libbatterystats_service.z.so has no shlib_type="sa", add it in //base/powermgr/battery_statistics/services:batterystats_service
    [WARNING]: sa module libethernet_manager.z.so has no shlib_type="sa", add it in //foundation/communication/netmanager_ext/services/ethernetmanager:ethernet_manager
    [WARNING]: sa module libpowermgrservice.z.so has no shlib_type="sa", add it in //base/powermgr/power_manager/services:powermgrservice
    [WARNING]: sa module libdevicemanagerservice.z.so has no shlib_type="sa", add it in //foundation/distributedhardware/device_manager/services/service:devicemanagerservice
    [WARNING]: sa module libui_appearance_service.z.so has no shlib_type="sa", add it in //foundation/arkui/ui_appearance/services:ui_appearance_service
    [WARNING]: sa module libdistributed_audio_source.z.so has no shlib_type="sa", add it in //foundation/distributedhardware/distributed_audio/services/audiomanager/servicesource:distributed_audio_source
    [WARNING]: sa module libuiservice.z.so has no shlib_type="sa", add it in //foundation/arkui/ace_engine/adapter/ohos/services/uiservice:uiservice
    [WARNING]: sa module libtel_call_manager.z.so has no shlib_type="sa", add it in //base/telephony/call_manager:tel_call_manager
    [WARNING]: sa module libi18n_sa.z.so has no shlib_type="sa", add it in //base/global/i18n/services:i18n_sa
    [WARNING]: sa module libtime_system_ability.z.so has no shlib_type="sa", add it in //base/time/time_service/services:time_system_ability
    [WARNING]: sa module libsrms.z.so has no shlib_type="sa", add it in //foundation/ability/ability_runtime/service_router_framework/services/srms:libsrms
    [WARNING]: sa module libdownload_server.dylib.so has no shlib_type="sa", add it in //base/request/request/services/service/download_server:download_server
    [WARNING]: sa module libfingerprintauthservice.z.so has no shlib_type="sa", add it in //base/useriam/fingerprint_auth/services:fingerprintauthservice
    [WARNING]: sa module libcamera_service.z.so has no shlib_type="sa", add it in //foundation/multimedia/camera_framework/services/camera_service:camera_service
    [WARNING]: sa module libdlp_permission_service.z.so has no shlib_type="sa", add it in //base/security/dlp_permission_service/services/dlp_permission/sa:dlp_permission_service
    [WARNING]: sa module libav_codec_service.z.so has no shlib_type="sa", add it in //foundation/multimedia/av_codec/services/services:av_codec_service
    [WARNING]: sa module libdistributeddataservice.z.so has no shlib_type="sa", add it in //foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app:distributeddataservice
    [WARNING]: sa module libinputmethod_service.z.so has no shlib_type="sa", add it in //base/inputmethod/imf/services:inputmethod_service
    [WARNING]: sa module liblbsservice_gnss.z.so has no shlib_type="sa", add it in //base/location/services/location_gnss/gnss:lbsservice_gnss
    [WARNING]: sa module liblbsservice_passive.z.so has no shlib_type="sa", add it in //base/location/services/location_passive/passive:lbsservice_passive
    [WARNING]: sa module libbackup_sa.z.so has no shlib_type="sa", add it in //foundation/filemanagement/app_file_service/services/backup_sa:backup_sa
    [WARNING]: sa module libdrm_service.z.so has no shlib_type="sa", add it in //foundation/multimedia/drm_framework/services/drm_service:drm_service
    [WARNING]: sa module libprint_service.z.so has no shlib_type="sa", add it in //base/print/print_fwk/services/print_service:print_service
    [WARNING]: sa module libnet_policy_manager.z.so has no shlib_type="sa", add it in //foundation/communication/netmanager_base/services/netpolicymanager:net_policy_manager
    [WARNING]: sa module libdistributed_ability_manager_svr.z.so has no shlib_type="sa", add it in //foundation/ability/dmsfwk/services/dtbabilitymgr:distributed_ability_manager_svr
    [WARNING]: sa module liboaid_service.z.so has no shlib_type="sa", add it in //domains/advertising/oaid/services:oaid_service
    [WARNING]: sa module libdistributed_screen_source.z.so has no shlib_type="sa", add it in //foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice:distributed_screen_source
    [WARNING]: sa module libwms.z.so has no shlib_type="sa", add it in //foundation/window/window_manager/wmserver:libwms
    [WARNING]: sa module libhuks_service.z.so has no shlib_type="sa", add it in //base/security/huks/services/huks_standard:huks_service
    [WARNING]: sa module libtel_cellular_data.z.so has no shlib_type="sa", add it in //base/telephony/cellular_data:tel_cellular_data
    [WARNING]: sa module libcloudsync_sa.z.so has no shlib_type="sa", add it in //foundation/filemanagement/dfs_service/services/cloudsyncservice:cloudsync_sa
    [WARNING]: sa module libdistributed_audio_sink.z.so has no shlib_type="sa", add it in //foundation/distributedhardware/distributed_audio/services/audiomanager/servicesink:distributed_audio_sink
    [WARNING]: sa module libnet_conn_manager.z.so has no shlib_type="sa", add it in //foundation/communication/netmanager_base/services/netconnmanager:net_conn_manager
    [WARNING]: sa module libwallpaper_service.z.so has no shlib_type="sa", add it in //base/theme/wallpaper_mgr/services:wallpaper_service
    [WARNING]: sa module libecologicalrulemgr_service.z.so has no shlib_type="sa", add it in //foundation/bundlemanager/ecological_rule_manager/services:ecologicalrulemgr_service
    [WARNING]: sa module libcert_manager_service.z.so has no shlib_type="sa", add it in //base/security/certificate_manager/services/cert_manager_standard:cert_manager_service
    [WARNING]: sa module libdinput_source.z.so has no shlib_type="sa", add it in //foundation/distributedhardware/distributed_input/services/source/sourcemanager:libdinput_source
    [WARNING]: sa module libdistributed_screen_sink.z.so has no shlib_type="sa", add it in //foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice:distributed_screen_sink
    [WARNING]: sa module libtel_sms_mms.z.so has no shlib_type="sa", add it in //base/telephony/sms_mms:tel_sms_mms
    [WARNING]: sa module libdistributed_camera_source.z.so has no shlib_type="sa", add it in //foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice:distributed_camera_source
    [WARNING]: sa module libdistributed_device_profile.z.so has no shlib_type="sa", add it in //foundation/deviceprofile/device_info_manager/old/services/core:distributed_device_profile
    [WARNING]: sa module libbms.z.so has no shlib_type="sa", add it in //foundation/bundlemanager/bundle_framework/services/bundlemgr:libbms
    [WARNING]: sa module libnet_stats_manager.z.so has no shlib_type="sa", add it in //foundation/communication/netmanager_base/services/netstatsmanager:net_stats_manager
    [WARNING]: sa module libbluetooth_server.z.so has no shlib_type="sa", add it in //foundation/communication/bluetooth_service/services/bluetooth/server:bluetooth_server
    [WARNING]: sa module libinstalls.z.so has no shlib_type="sa", add it in //foundation/bundlemanager/bundle_framework/services/bundlemgr:installs
    [WARNING]: sa module libusbservice.z.so has no shlib_type="sa", add it in //base/usb/usb_manager/services:usbservice
    [WARNING]: sa module libdevattest_service.z.so has no shlib_type="sa", add it in //test/xts/device_attest/services/devattest_ability:devattest_service
    [WARNING]: sa module libdistributed_camera_sink.z.so has no shlib_type="sa", add it in //foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice:distributed_camera_sink
    [WARNING]: sa module libmemmgrservice.z.so has no shlib_type="sa", add it in //foundation/resourceschedule/memmgr/services/memmgrservice:memmgrservice
    [WARNING]: sa module libmdns_manager.z.so has no shlib_type="sa", add it in //foundation/communication/netmanager_ext/services/mdnsmanager:mdns_manager
    [WARNING]: sa module libbatteryservice.z.so has no shlib_type="sa", add it in //base/powermgr/battery_manager/services:batteryservice
    [WARNING]: sa module libaccessibleabilityms.z.so has no shlib_type="sa", add it in //foundation/barrierfree/accessibility/services/aams:accessibleabilityms
    [WARNING]: sa module libnet_tether_manager.z.so has no shlib_type="sa", add it in //foundation/communication/netmanager_ext/services/networksharemanager:net_tether_manager
    [WARNING]: sa module libdistributedschedsvr.z.so has no shlib_type="sa", add it in //foundation/ability/dmsfwk/services/dtbschedmgr:distributedschedsvr
    Do NO-Depends-On-HDI rule checking now:
    [WARNING]: non hdi module libhid_ddk_driver.z.so with shlib_type="hdi", //drivers/peripheral/input/ddk_service:libhid_ddk_driver
    [WARNING]: non hdi module libmapper_driver_1.0.z.so with shlib_type="hdi", //drivers/peripheral/display/buffer/hdi_service:libmapper_driver_1.0
    [WARNING]: non hdi module libmotion_driver.z.so with shlib_type="hdi", //drivers/peripheral/motion/hdi_service:libmotion_driver
    [WARNING]: non hdi module libmetadata_driver_1.1.z.so with shlib_type="hdi", //drivers/peripheral/display/buffer/hdi_service:libmetadata_driver_1.1
    [WARNING]: non hdi module libclearplay_driver.z.so with shlib_type="hdi", //drivers/peripheral/clearplay/interfaces:libclearplay_driver
    [WARNING]: non hdi module libril_driver.z.so with shlib_type="hdi", //drivers/peripheral/ril/interfaces/hdi_service:libril_driver
    [WARNING]: ****add chipsetsdk_rules_path path not exist: /home/lyh/disk/openharmony4.1/out/products_ext/rk3588****
    ****Parsing rules file in /home/lyh/disk/openharmony4.1/developtools/integration_verification/tools/deps_guard/rules_checker/../rules/ChipsetSDK/chipsetsdk_info.json****
    Do ChipsetSDK rule checking now:
    [WARNING]: ****add chipsetsdk_rules_path path not exist: /home/lyh/disk/openharmony4.1/out/products_ext/rk3588****
    ****Parsing rules file in /home/lyh/disk/openharmony4.1/developtools/integration_verification/tools/deps_guard/rules_checker/../rules/ChipsetSDK/chipsetsdk_indirect.json****
    [WARNING]: Chipset SDK module libohosffmpeg.z.so has no innerapi_tags with "chipsetsdk", add it in //third_party/ffmpeg:libohosffmpeg
    [NOT ALLOWED]: non chipsetsdk module libdisplay_buffer_vendor.z.so with innerapi_tags="chipsetsdk", //device/soc/rockchip/rk3588/hardware/display:libdisplay_buffer_vendor
    [NOT ALLOWED]: non chipsetsdk module libdisplay_buffer_vdi_impl.z.so with innerapi_tags="chipsetsdk", //device/soc/rockchip/rk3588/hardware/display:libdisplay_buffer_vdi_impl
    [WARNING]: non chipsetsdk_indirect module libfaultloggerd.z.so with innerapi_tags="chipsetsdk_indirect", //base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client:libfaultloggerd
    [WARNING]: non chipsetsdk_indirect module libunwinder.z.so with innerapi_tags="chipsetsdk_indirect", //base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder:libunwinder
    [WARNING]: non chipsetsdk_indirect module liblzma.z.so with innerapi_tags="chipsetsdk_indirect", //third_party/lzma:lzma_shared
    [WARNING]: non chipsetsdk_indirect module libdisplay_buffer_proxy_1.1.z.so with innerapi_tags="chipsetsdk_indirect", //drivers/interface/display/buffer/v1_1:libdisplay_buffer_proxy_1.1
    [WARNING]: non chipsetsdk_indirect module libdisplay_buffer_hdi_impl_v1_1.z.so with innerapi_tags="chipsetsdk_indirect", //drivers/interface/display/buffer/v1_1:libdisplay_buffer_hdi_impl_v1_1
      Please refer to: https://gitee.com/openharmony/de ... hipsetSDK/README.md

    [OHOS ERROR] Traceback (most recent call last):
    [OHOS ERROR]   File "/home/lyh/disk/openharmony4.1/build/hb/containers/status.py", line 47, in wrapper
    [OHOS ERROR]     return func(*args, **kwargs)
    [OHOS ERROR]   File "/home/lyh/disk/openharmony4.1/build/hb/resolver/interface/args_resolver_interface.py", line 40, in resolve_arg
    [OHOS ERROR]     return resolve_function(target_arg, module)
    [OHOS ERROR]   File "/home/lyh/disk/openharmony4.1/build/hb/resolver/build_args_resolver.py", line 833, in resolve_deps_guard
    [OHOS ERROR]     deps_guard(config.out_path)
    [OHOS ERROR]   File "/home/lyh/disk/openharmony4.1/developtools/integration_verification/tools/deps_guard/deps_guard.py", line 64, in deps_guard
    [OHOS ERROR]     _deps_guard_module(out_path, args)
    [OHOS ERROR]   File "/home/lyh/disk/openharmony4.1/developtools/integration_verification/tools/deps_guard/deps_guard.py", line 48, in _deps_guard_module
    [OHOS ERROR]     raise Exception("ERROR: deps_guard failed.")
    [OHOS ERROR] Exception: ERROR: deps_guard failed.
    [OHOS ERROR]

    [OHOS ERROR] Code:        0000
    [OHOS ERROR]
    [OHOS ERROR] Reason:      ERROR: deps_guard failed.
    [OHOS ERROR]
    [OHOS ERROR] Error Type:  UNKNOWN ERROR TYPE
    [OHOS ERROR]
    [OHOS ERROR] Description: NO DESCRIPTION
    [OHOS ERROR]
    [OHOS ERROR] Solution:    NO SOLUTION


    您尚未登录,无法参与评论,登录后可以:
    参与开源共建问题交流
    认同或收藏高质量问答
    获取积分成为开源共建先驱

    精彩评论3

    s_hao

    沙发 发表于 2024-4-17 16:30:27
    本地更新4.1 Release代码编译rk3568形态成功,请用户尝试如下操作:
    1)重新repo sync代码;
    2)执行预编译下载;
    3)重新编译;

    论坛小助手 官方账号

    板凳 发表于 2024-5-15 09:22:06
    Dayu210开发板社区不维护,无适配计划

    wahuqeir

    地板 发表于 2024-5-30 11:55:52

    编译最新4.1版本时在最后阶段出现deps_guard与readelf报错

    这个错误主要是

    [NOT ALLOWED]: non chipsetsdk module libdisplay_buffer_vendor.z.so with innerapi_tags="chipsetsdk", //device/soc/rockchip/rk3588/hardware/display:libdisplay_buffer_vendor [NOT ALLOWED]: non chipsetsdk module libdisplay_buffer_vdi_impl.z.so with innerapi_tags="chipsetsdk", //device/soc/rockchip/rk3588/hardware/display:libdisplay_buffer_vdi_impl

    原因是编译的innerapi_tags选项为chipsetsdk,

    参照rk3568 修改为passthrough 即可

    Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

    返回顶部