我想使用yocto在我的tx6s-8035 KARO Board上集成 libreoffice 。我使用Ka-ro NXP/Freescale Yocto Project Community BSP recipe layers作为yocto发行版 krogoth 。我也从open-embedded中添加了meta-office layer。我一直面临许多关于包和库依赖的问题,以构建libreoffice包。 do_compile任务运行良好,但 do_package任务失败,并出现以下错误:
ERROR: libreoffice-5.0.6.3-r0 do_package: QA Issue: File
'/usr/lib/libreoffice/share/extensions/mysql-connector-
ooo/libmysqlclient_r.so' from libreoffice was already stripped, this will
prevent future debugging! [already-stripped]
WARNING: libreoffice-5.0.6.3-r0 do_package: libreoffice language file
pattern not found: /usr/lib/libreoffice/share/template/%{1}
ERROR: libreoffice-5.0.6.3-r0 do_package: Fatal QA errors found, failing
task.
ERROR: libreoffice-5.0.6.3-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored in: /home/sconte/fsl-community-
bsp/build_8135_cim/tmp/work/cortexa9hf-neon-poky-linux-
gnueabi/libreoffice/5.0.6.3-r0/temp/log.do_package.8211
ERROR: Task 11 (/home/sconte/fsl-community-bsp/sources/meta-office/recipes-
libreoffice/libreoffice/libreoffice.bb, do_package) failed with exit code
'1'
这是log.do_package文件输出:log.do_package
我在这个文件中查看有 runstrip 函数,该函数在它找不到的同一个库上执行。 runstrip 是什么意思?我该如何解决这个问题?
答案 0 :(得分:0)
您可以将INSANE_SKIP_${PN}_append = "already-stripped"
添加到libreoffice_%.bbappend
配方以修复此QA错误。您也可以按照README向上游发送补丁。