我想用yocto把libreoffice整合到我的tx6s-8035 KARO Board上。我用Ka-ro NXP/Freescale Yocto Project Community BSP recipe layers表示yocto distro 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_包文件输出:log.do_package
我在这个文件中看到有runstrip函数在它找不到的同一个库上执行。runstrip是什么意思?我怎样才能解决这个问题?
最佳答案
您可以将INSANE_SKIP_${PN}_append = "already-stripped"
添加到libreoffice_%.bbappend
配方以修复此QA错误。您还可以按照README向上游发送修补程序。
关于linux - Yocto错误:do_package任务中构建libreoffice软件包失败,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/49670136/