You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

在编译i.mx6ul的BSP中遇到以下错误时:

ERROR: perf-1.0-r9 do_package_qa: QA Issue: -dev package contains
non-symlink .so: perf-dev path
'/work/phyboard_segin_imx6ul_2-phytec-linux-gnueabi/perf/1.0-r9/packages-spl
it/perf-dev/usr/lib/libperf-jvmti.so' [dev-elf]
ERROR: perf-1.0-r9 do_package_qa: QA run found fatal errors. Please consider
fixing them.
ERROR: perf-1.0-r9 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
/home/phyvm/yocto/build/tmp/work/phyboard_segin_imx6ul_2-phytec-linux-gnueab
i/perf/1.0-r9/temp/log.do_package_qa.93352
ERROR: Task
(/home/phyvm/yocto/sources/poky/meta/recipes-kernel/perf/perf.bb:do_package_
qa) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2946 tasks of which 2940 didn't need to be
rerun and 1 failed.
NOTE: Writing buildhistory

解决方法:

ftp://ftp.phytec.cn/i.MX6UL/BSP-Yocto-phyBOARD-Segin-PD17.2.0/0001-perf-use-PACKAGECONFIG-instead-of-hand-rolled-logic.patch

ftp://ftp.phytec.cn/i.MX6UL/BSP-Yocto-phyBOARD-Segin-PD17.2.0/0002-perf-add-PACKAGECONFIG-for-systemtap.patch

ftp://ftp.phytec.cn/i.MX6UL/BSP-Yocto-phyBOARD-Segin-PD17.2.0/0003-perf-add-PACKAGECONFIG-for-jvmti.patch

把以上三个补丁打在BSP的sources/poky目录下:

cd [BSP]/sources/poky
git am 0001-perf-use-PACKAGECONFIG-instead-of-hand-rolled-logic.patch 0002-perf-add-PACKAGECONFIG-for-systemtap.patch 0003-perf-add-PACKAGECONFIG-for-jvmti.patch


  • No labels