• 【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


     

  • 相关阅读:
    11数据库-进阶
    元宇宙001 | 情绪无法自控?元宇宙助你一臂之力
    「面经分享」西北大学 | 字节 生活服务 | 一面二面三面 HR 面
    基于情感分析+聚类分析+LDA主题分析对服装产品类的消费者评论分析(文末送书)
    gitlab将本地文件项目上传至gitlab服务
    ServletContext
    设计模式探索:适配器模式
    MySQL8.0.26安装配置教程(windows 64位)
    【fread/fwrite】C语言API之fread/fwrite函数详解
    5.最长回文子串(马拉车怨种版)
  • 原文地址:https://blog.csdn.net/wgl307293845/article/details/126381035