local.conf file content:
ERROR message:
bitbake -k imx-image-full
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/arm-pokymllib32-linux-gnueabi-binutils'. Close matches: virtual/lib32-arm-pokymllib32-linux-gnueabi-binutils
virtual/lib32-arm-pokymllib32-linux-gnueabi-gcc
virtual/lib32-arm-pokymllib32-linux-gnueabi-go-runtime
ERROR: Nothing PROVIDES 'virtual/arm-pokymllib32-linux-gnueabi-gcc'. Close matches:
virtual/lib32-arm-pokymllib32-linux-gnueabi-g++
virtual/lib32-arm-pokymllib32-linux-gnueabi-gcc
virtual/lib32-arm-pokymllib32-linux-gnueabi-go-runtime
NOTE: Executing Tasks
ERROR: gstreamer1.0-plugins-base-1.18.5.imx-r0 do_compile: Execution of '/home/feadmin/work/imx-yocto-bsp/build-xwayland/tmp/work/cortexa53-crypto-mx8mp-poky-linux/gstreamer1.0-plugins-base/1.18.5.imx-r0/temp/run.do_compile.873673' failed with exit code 1
ERROR: Logfile of failure stored in: /home/feadmin/work/imx-yocto-bsp/build-xwayland/tmp/work/cortexa53-crypto-mx8mp-poky-linux/gstreamer1.0-plugins-base/1.18.5.imx-r0/temp/log.do_compile.873673
ERROR: Task (/home/feadmin/work/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.5.imx.bb:do_compile) failed with exit code '1'
ERROR: imx-gpu-g2d-6.4.3.p2.4-r0 do_package: QA Issue: imx-gpu-g2d: Files/directories were installed but not shipped in any package: /usr/lib/libg2d-viv.so.1.6.0 /usr/lib/libg2d.so /usr/lib/libg2d.so.1 Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. imx-gpu-g2d: 3 installed and not shipped files. [installed-vs-shipped]
ERROR: imx-gpu-g2d-6.4.3.p2.4-r0 do_package: Fatal QA errors found, failing task.
ERROR: Logfile of failure stored in: /home/feadmin/work/imx-yocto-bsp/build-xwayland/tmp/work/cortexa53-crypto-mx8mp-poky-linux/imx-gpu-g2d/6.4.3.p2.4-r0/temp/log.do_package.873741
ERROR: Task (/home/feadmin/work/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.3.p2.4.bb:do_package) failed with exit code '1'
ERROR: nfs-utils-2.5.3-r0 do_configure: oe_runmake failed ERROR: nfs-utils-2.5.3-r0 do_configure: Execution of '/home/feadmin/work/imx-yocto-bsp/build-xwayland/tmp/work/cortexa53-crypto-poky-linux/nfs-utils/2.5.3-r0/temp/run.autotools_preconfigure.873790' failed with exit code 1
ERROR: Logfile of failure stored in: /home/feadmin/work/imx-yocto-bsp/build-xwayland/tmp/work/cortexa53-crypto-poky-linux/nfs-utils/2.5.3-r0/temp/log.do_configure.873790
ERROR: imx-gpu-g2d-6.4.3.p2.4-r0 do_package: QA Issue: imx-gpu-g2d: Files/directories were installed but not shipped in any package:
/usr/lib/libg2d-viv.so.1.6.0
The imx-gpu-g2d of imx-linux-hardknott (imx-5.10.72-2.2.2.xml) doesn't seem to backport the following fixes:
I think that the effect will cause a link error in the multilib environment.
Backporting this fix fixed the imx-gpu-g2d issue.
Similarly, if you build imx-image-multimedia in the multilib environment with imx-linux-hardknott (imx-5.10.72-2.2.2.xml),
It seems that isp-imx_4.2.2.16.0.bb has a build error due to a library path issue.
| make[2]: *** No rule to make target '/home/user/work/yocto-tools/imx/imx-yocto-bsp/build-xwayland/tmp/work/cortexa53-crypto-mx8mp-poky-linux/isp-imx/4.2.2.16.0-r0/recipe-sysroot/usr/lib/libtinyxml2.so', needed by 'generated/release/bin/isp_media_server'. Stop.
I'm not sure if this fix is correct, but I've avoided it by adding the following patch to isp-imx_4.2.2.16.0 with bbappend.
diff -ur isp-imx-4.2.2.16.0/mediacontrol/daemon/CMakeLists.txt isp-imx-4.2.2.16.0.mod/mediacontrol/daemon/CMakeLists.txt --- isp-imx-4.2.2.16.0/mediacontrol/daemon/CMakeLists.txt 2021-11-25 16:40:29.000000000 +0900 +++ isp-imx-4.2.2.16.0.mod/mediacontrol/daemon/CMakeLists.txt 2022-07-28 12:51:04.428904994 +0900 @@ -80,7 +80,7 @@ ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/lib/libcameric_drv.so ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/lib/libhal.so ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/lib/libbase64.so - ${SDKTARGETSYSROOT}/usr/lib/libtinyxml2.so + ${SDKTARGETSYSROOT}/usr/${CMAKE_INSTALL_LIBDIR}/libtinyxml2.so ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/lib/libbufferpool.so ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/lib/libcameric_reg_drv.so ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/lib/libisi.s
thank you
My current practice is similar to yours, which can solve the problem
try to install the packages before you building the bsp
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
pylint3 xterm rsync curl
then in local.conf you can un-comment the lines regarding packaging to look like:
#Switch to Debian packaging and include package-management in the image
PACKAGE_CLASSES = "package_deb"
EXTRA_IMAGE_FEATURES += "package-management"
try to use clean environment before you building the bsp, install all of packages
Hello
As you said, I try again.
problem still occurs.
ERROR: imx-gpu-g2d-6.4.3.p2.4-r0 do_package: QA Issue: imx-gpu-g2d: Files/directories were installed but not shipped in any package:
/usr/lib/libg2d-viv.so.1.6.0
/usr/lib/libg2d.so
/usr/lib/libg2d.so.1
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
imx-gpu-g2d: 3 installed and not shipped files. [installed-vs-shipped]
ERROR: imx-gpu-g2d-6.4.3.p2.4-r0 do_package: Fatal QA errors found, failing task.
ERROR: imx-gpu-apitrace-10.0.0-r0 do_configure: Execution of '/home/feadmin/work/imx-yocto-bsp/build-xwayland/tmp/work/cortexa53-crypto-mx8mp-poky-linux/imx-gpu-apitrace/10.0.0-r0/temp/run.do_configure.2076126' failed with exit code 1
ERROR: gstreamer1.0-plugins-base-1.18.5.imx-r0 do_compile: Execution of '/home/feadmin/work/imx-yocto-bsp/build-xwayland/tmp/work/cortexa53-crypto-mx8mp-poky-linux/gstreamer1.0-plugins-base/1.18.5.imx-r0/temp/run.do_compile.2076003' failed with exit code 1
i modified imx-gpu-g2d_6.4.3.p2.4.bb file
usr |——include | after modify | usr |——include | ||||
|——lib | |——libg2d-viv.so.1.6.0 | |——lib64 | |——libg2d-viv.so.1.6.0 | |||
|——libg2d.so.1 | |——libg2d.so.1 | |||||
|——libg2d.so | |——libg2d.so |
After modification I solved the above problem
Is this correct?
ERROR: Task (/home/feadmin/work/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb:do_compile) failed with exit code '1'
read the do_compile log
I found that the following three dynamic libraries have an error in their lookup paths
|—libtinyxml2.so |
|—libtinyxml2.so.8 |
|—libtinyxml2.so.8.0.0 |
lookup path :/tmp/work/cortexa53-crypto-mx8mp-poky-linux/isp-imx/4.2.2.16.0-r0/recipe-sysroot/usr/lib
The actual path of the file:/tmp/work/cortexa53-crypto-mx8mp-poky-linux/isp-imx/4.2.2.16.0-r0/recipe-sysroot/usr/lib64
What can I modify the BB file to fix this?
try to use clean environment before you building the bsp, install all of packages
it means -c cleanall?
I mean you delete the folder and install and build again
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/arm-pokymllib32-linux-gnueabi-binutils'. Close matches:
virtual/lib32-arm-pokymllib32-linux-gnueabi-binutils
virtual/lib32-arm-pokymllib32-linux-gnueabi-gcc
virtual/lib32-arm-pokymllib32-linux-gnueabi-go-runtime
ERROR: Nothing PROVIDES 'virtual/arm-pokymllib32-linux-gnueabi-gcc'. Close matches:
virtual/lib32-arm-pokymllib32-linux-gnueabi-g++
virtual/lib32-arm-pokymllib32-linux-gnueabi-gcc
virtual/lib32-arm-pokymllib32-linux-gnueabi-go-runtime
This problem still exists
Since it is still compiling, other issues are unknown
some recipe in imx-image-full not support lib32?
try to add this in the local.conf
local.conf file.
#PACKAGE_CLASSES = "package_deb"
#EXTRA_IMAGE_FEATURES += "package-management"