• 【olympic】编译qca-athdiag出现The LIC_FILES_CHKSUM does not match问题分析及解决方案


    问题log

    1. ERROR: qca-athdiag-1.0-r0 do_populate_lic: QA Issue: qca-athdiag: The LIC_FILES_CHKSUM does not match for file://README;md5=b152c8868a7440ab48e4400507f62528
    2. qca-athdiag: The new md5 checksum is 766cb347939931586c69ba5f13f6c545
    3. qca-athdiag: Here is the selected license text:
    4. vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    5. /*
    6. * Copyright (c) 2021 Qualcomm Technologies, Inc.
    7. * All Rights Reserved.
    8. * Confidential and Proprietary - Qualcomm Technologies, Inc.
    9. */
    10. # Following 4 steps MUST BE followed, to use eventbus/tracerbus.
    11. 1. Clear the tracer memory. Command is:
    12. sudo ./athdiag --tracerClear
    13. 2. Config to use tracer as testbus or eventbus
    14. a. To use as eventbus, you need to give a config file that has info on what events you want to capture etc.
    15. ...
    16. sudo ./athdiag --phydbgDump --file=
    17. for phydbg_tlvcapture:
    18. sudo ./athdiag --phydbgCfg --file=config_phydbg_tlvcapture.txt
    19. sudo ./athdiag --phydbgStop
    20. sudo ./athdiag --phydbgDump --file=
    21. There’s a perl script which parses the raw data “phydbg_dump_format.pl” the command to run is:
    22. perl phydbg_dump_format.pl -i -o
    23. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    24. qca-athdiag: Check if the license information has changed in /home/tcl/work/olympic/olympic-le-1-2_amss_standard_oem-master-a5312ec5f1577bdfec41e5d696aaa720e7f9dc7c/apps_proc/build-qti-distronogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/qca-athdiag/1.0-r0/ipq/qca-athdiag/README to verify that the LICENSE value "Qualcomm-Technologies-Inc.-Proprietary" remains valid [license-checksum]
    25. ERROR: qca-athdiag-1.0-r0 do_populate_lic: Fatal QA errors found, failing task.
    26. ERROR: Logfile of failure stored in: /home/olympic-le-1-2_amss_standard_oem-master-a5312ec5f1577bdfec41e5d696aaa720e7f9dc7c/apps_proc/build-qti-distronogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/qca-athdiag/1.0-r0/temp/log.do_populate_lic.123579
    27. ERROR: Task (/home/olympic-le-1-2_amss_standard_oem-master-a5312ec5f1577bdfec41e5d696aaa720e7f9dc7c/apps_proc/poky/meta-qti-ipq/recipes/qca-athdiag/qca-athdiag.bb:do_populate_lic) failed with exit code '1'
    28. WARNING:

    问题分析

            从以下log可以看出是由于文件md5校验值不匹配导致,所以,需要找到qca-athdiag的md5文件位置,将md5=b152c8868a7440ab48e4400507f62528修改为md5=766cb347939931586c69ba5f13f6c545即可。

    1. ERROR: qca-athdiag-1.0-r0 do_populate_lic: QA Issue: qca-athdiag: The LIC_FILES_CHKSUM does not match for file://README;md5=b152c8868a7440ab48e4400507f62528
    2. qca-athdiag: The new md5 checksum is 766cb347939931586c69ba5f13f6c545
    3. qca-athdiag: Here is the selected license text:

    解决方案

          修改apps_proc/poky/meta-qti-ipq/recipes/qca-athdiag/qca-athdiag.bb

    LIC_FILES_CHKSUM = "file://README;md5=b152c8868a7440ab48e4400507f62528"

    修改为

    LIC_FILES_CHKSUM = "file://README;md5=766cb347939931586c69ba5f13f6c545"

    然后重新编译即可

    重新编译指令

    1. cd apps_proc
    2. export MACHINE=sdxlemur
    3. export DISTRO=qti-distro-nogplv3-debug
    4. source poky/qti-conf/set_bb_env.sh
    5. bitbake -c clean -f qca-athdiag
    6. bitbake -c compile -f qca-athdiag


     

  • 相关阅读:
    TCP流套接字编程
    Gartner权威报告解读:探究应用可观测性的发展
    Elasticsearch:(二)2.安装kibana
    html5 web前端 localStorage的存储,读取,删除
    openGauss每日一练第10天 | openGauss逻辑结构:表空间管理
    解锁网络世界的利器:代理IP与Socks5代理
    GitHub上标星120k的Java进阶面试教程等!(建议收藏)
    js中的类型转换
    clickhouse——clickhouse单节点部署及基础命令介绍
    KS数据采集代码示例
  • 原文地址:https://blog.csdn.net/wgl307293845/article/details/126381035