TI中文支持网
TI专业的中文技术问题搜集分享网站

AM335x使用arago-base-tisdk-image-am335x-evm.tar.xz文件系统安装QT5失败

  我们自制板为了优化开机速度,把文件系统替换为arago-base-tisdk-image-am335x-evm.tar.xz。原来使用的是tisdk-rootfs-image-am335x-evm.tar.xz,一切正常。

  使用build sdk中的方法,编译出的qt相关ipk文件。如:

  qtbase_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk

  qtbase-dev_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk

  qtbase-mkspecs_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk

  qtbase-plugins_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk

  qtbase-tools_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk

  qtbase-staticdev_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk

 以上文件中tisdk-rootfs-image-am335x-evm.tar.xz安装时没有问题。在arago-base-tisdk-image-am335x-evm.tar.xz文件系统中安装出,报以下错误无法安装:

root@am335x-evm:~/qt5.11# ls
qtbase-dev_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase-mkspecs_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase-plugins_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase-staticdev_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase-tools_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
standard_sql.db
root@am335x-evm:~/qt5.11# opkg install *.ipk

Collected errors:
* Solver encountered 4 problem(s):
* Problem 1/4:
* – nothing provides libfontconfig1 >= 2.12.6 needed by qtbase-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon
* * Solution 1:
* – do not ask to install qtbase-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon

* Problem 2/4:
* – nothing provides libfontconfig1 >= 2.12.6 needed by qtbase-plugins-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon
* * Solution 1:
* – do not ask to install qtbase-plugins-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon

* Problem 3/4:
* – nothing provides libfontconfig1 >= 2.12.6 needed by qtbase-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon
* * Solution 1:
* – do not ask to install qtbase-dev-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon

* Problem 4/4:
* – nothing provides libfontconfig1 >= 2.12.6 needed by qtbase-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon
* * Solution 1:
* – do not ask to install qtbase-staticdev-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon

我尝试搜索完整系统中有关libfontconfig有关的东西,拷贝到arago-base-tisdk-image-am335x-evm.tar.xz文件系统对应目录,还是同样错误无法安装。如下:

在/usr/lib/下拷贝:libfontconfig.so,libfontconfig.so.1,libfontconfig.so.1.10.1

在/var/lib/opkg/info/下拷贝:libfontconfig1.list, libfontconfig1.control, libfontconfig-dev.list, libfontconfig1.postinst, libfontconfig-dev.control

请问,应该如何解决这个问题安装上QT5,是否有libfontconfig1相关的ipk供安装或如何控制编译。

user4894142:

使用SDK build的方法编译 fontconfig。 执行MACHINE=am335x-evm bitbake fontconfig后,报错如下:

zhang@zhang-virtual-machine:~/tisdk/tisdk/build$ MACHINE=am335x-evm bitbake fontconfig WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with. NOTE: Bitbake server didn't start within 5 seconds, waiting for 90 WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with. Loading cache: 100% |############################################| Time: 0:01:25 Loaded 4658 entries from dependency cache. WARNING: No recipes available for: /home/zhang/tisdk/tisdk/sources/meta-arago/meta-arago-distro/recipes-browser/chromium/chromium-wayland_%.bbappend /home/zhang/tisdk/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/move-base_1.12.14.bbappend /home/zhang/tisdk/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/rotate-recovery_1.12.14.bbappend NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.40.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "ubuntu-18.04" TARGET_SYS = "arm-linux-gnueabi" MACHINE = "am335x-evm" DISTRO = "arago" DISTRO_VERSION = "2019.11" TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard" TARGET_FPU = "hard" meta-processor-sdk = "HEAD:56d9d47f18eeec31a1086ca29e54b5956c46de84" meta-aws = "HEAD:6432f1b38b9dcbbb55020167f5b1cfe55e858c6d" meta-ros = "HEAD:72068b17e4192b51e09c8dc633805a35edac8701" meta-arago-distro meta-arago-extras = "HEAD:70436496d2617b281c51390faa3d421814055cd6" meta-browser = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3" meta-qt5 = "HEAD:e6e464c9ed9266ce46452f953c1bdcb0e7b2d95f" meta-virtualization = "HEAD:7685c7d415e0002c448007960837ae8898cd57a5" meta-networking meta-python meta-oe meta-gnome meta-multimedia meta-filesystems = "HEAD:446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93" meta-ti = "HEAD:b27317ab4f9be931a66344ca502c7e3f4ec780e5" meta-linaro-toolchain meta-optee = "HEAD:615ea7561b844a3867cee4299d83d605c10b02ab" meta = "HEAD:e68991ceb5933f7d03b96697e8a0ba0829feb320" Initialising tasks: 100% |#######################################| Time: 0:00:00 Sstate summary: Wanted 2 Found 1 Missed 1 Current 133 (50% match, 99% complete) NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks WARNING: fontconfig-2.12.6-r0 do_populate_lic: Could not copy license file /home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/fontconfig-2.12.6/COPYING to /home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/license-destdir/fontconfig/COPYING: [Errno 2] No such file or directory: '/home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/fontconfig-2.12.6/COPYING' WARNING: fontconfig-2.12.6-r0 do_populate_lic: Could not copy license file /home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/fontconfig-2.12.6/src/fccache.c to /home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/license-destdir/fontconfig/fccache.c: [Errno 2] No such file or directory: '/home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/fontconfig-2.12.6/src/fccache.c' WARNING: fontconfig-2.12.6-r0 do_populate_lic: Could not copy license file /home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/fontconfig-2.12.6/src/fcfreetype.c to /home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/license-destdir/fontconfig/fcfreetype.c: [Errno 2] No such file or directory: '/home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/fontconfig-2.12.6/src/fcfreetype.c' ERROR: fontconfig-2.12.6-r0 do_populate_lic: QA Issue: fontconfig: LIC_FILES_CHKSUM points to an invalid file: /home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/fontconfig-2.12.6/COPYING [license-checksum] ERROR: fontconfig-2.12.6-r0 do_populate_lic: QA Issue: fontconfig: LIC_FILES_CHKSUM points to an invalid file: /home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/fontconfig-2.12.6/src/fcfreetype.c [license-checksum] ERROR: fontconfig-2.12.6-r0 do_populate_lic: QA Issue: fontconfig: LIC_FILES_CHKSUM points to an invalid file: /home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/fontconfig-2.12.6/src/fccache.c [license-checksum] ERROR: fontconfig-2.12.6-r0 do_populate_lic: Fatal QA errors found, failing task. ERROR: fontconfig-2.12.6-r0 do_populate_lic: Function failed: populate_lic_qa_checksum ERROR: Logfile of failure stored in: /home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/temp/log.do_populate_lic.6787 ERROR: Task (/home/zhang/tisdk/tisdk/sources/oe-core/meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb:do_populate_lic) failed with exit code '1' NOTE: Tasks Summary: Attempted 728 tasks of which 727 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/zhang/tisdk/tisdk/sources/oe-core/meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb:do_populate_lic Summary: There were 6 WARNING messages shown. Summary: There were 5 ERROR messages shown, returning a non-zero exit code. 到/home/zhang/tisdk/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/fontconfig/2.12.6-r0/目录下查看,没有自动下载fontconfig源码相关的东西。应该添加哪些配置,才能自动下载源码后编译

,

Nancy Wang:

请问目前是编译到哪一步有问题?第一个问题解决了吗?我咨询一下相关工程师再给您回复。

,

user4894142:

主贴中的问题没解决。无法在arago-base-tisdk-image-am335x-evm文件系统中安装QT5.

回帖中的内容是我根据安装报错,猜测需要编译libfontconfig库,在yocto中编译出的错误。错误是在执行MACHINE=am335x-evm bitbake fontconfig后。像是编译脚本没有下载拷贝fontconfig源码

赞(0)
未经允许不得转载:TI中文支持网 » AM335x使用arago-base-tisdk-image-am335x-evm.tar.xz文件系统安装QT5失败
分享到: 更多 (0)