omap5-sgx-ddk-um-linux / AM33x / libgbm Problems / ERROR : libgbm.so.2 No such file or directory / meta-ti have not all recipes for omap5-sgx-ddk-um-linux
Hello,
I can't run the omap5-sgx-ddk-um-linux correct. If I try to start a Application I get the ERROR:error while loading shared libraries: libgbm.so.2: cannot open shared object file: No such file or directory
But everything builds with YOCTO. The omap5-sgx-ddk-um-linux throws the folling WARNINGS :logs/BUILD_console-image.txt:WARNING: QA Issue: omap5-sgx-ddk-um-linux: /omap5-sgx-ddk-um-linux/etc/init.d/rc.pvr is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] logs/BUILD_console-image.txt:WARNING: QA Issue: /usr/bin/eglinfo_omap5-sgx-ddk-um-linux contained in package omap5-sgx-ddk-um-linux requires libgbm.so.2, but no providers found in its RDEPENDS [file-rdeps]
logs/BUILD_console-image.txt:WARNING: QA Issue: omap5-sgx-ddk-um-linux: /omap5-sgx-ddk-um-linux-dev/usr/lib/pkgconfig/gles_cm.pc is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
There also this WARNINGS, but I think they are unimportant for that Problem :
logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libpvrGBMWSEGL.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libpvr_wlegl.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libusc.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libglslcompiler.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libpvr2d.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libPVRScopeServices.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libsrv_um.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libpvrws_WAYLAND.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libpvrDRMWSEGL.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libEGL.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libGLESv2.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libsrv_init.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libdbm.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libIMGegl.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! logs/BUILD_console-image.txt:WARNING: File 'usr/lib/libGLES_CM.so.1.14.3699939' from omap5-sgx-ddk-um-linux was already stripped, this will prevent future debugging! To build the omap5-sgx-ddk-um-linux I must include some Files from the argo-project. I have to add :recipes-graphics -> libdrm_2.4.66.bb
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have the config file like the argo-project : require conf/machine/include/ti33x.inc TARGET_ARCH = "arm"
UBOOT_MACHINE = "am335x_boneblack_config"
MACHINE_FEATURES += " serial usbhost sgx "
SERIAL_CONSOLE = "115200 ttyO0"
IMAGE_FSTYPES = "tar.xz" PREFERRED_PROVIDER_virtual/egl_ti33x = "omap5-sgx-ddk-um-linux"
PREFERRED_PROVIDER_virtual/libgles1_ti33x = "omap5-sgx-ddk-um-linux"
PREFERRED_PROVIDER_virtual/libgles2_ti33x = "omap5-sgx-ddk-um-linux"
PREFERRED_PROVIDER_libgbm_ti33x = "libgbm"
PREFERRED_PROVIDER_libgbm-dev_ti33x = "libgbm-dev"
PREFERRED_PROVIDER_virtual/libgl= "mesa-gl"
PREFERRED_PROVIDER_virtual/mesa = "mesa-gl"
# Set the Kernel-Version to a stabele
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_VERSION_linux-ti-staging = "4.1%"
PREFERRED_PROVIDER_ltp-ddt = "ltp-ddt"
PREFERRED_PROVIDER_virtual/gettext = "gettext"
PREFERRED_PROVIDER_virtual/bootloader_am335x-evm = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot_am335x-evm = "u-boot-ti-staging"
PREFERRED_PROVIDER_udev = "udev"
PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
PREFERRED_PROVIDER_jpeg_armv5te = "jpeg"
PREFERRED_PROVIDER_wpa-supplicant = "wpa-supplicant"
PREFERRED_PROVIDER_wpa-supplicant_ti33x = "wpa-supplicant-wl18xx"
PREFERRED_PROVIDER_wpa-supplicant_ti43x = "wpa-supplicant-wl18xx"
PREFERRED_PROVIDER_wpa-supplicant_omap-a15 = "wpa-supplicant-wl18xx"
My Image : inherit core-image IMAGE_INSTALL += " \ omap5-sgx-ddk-um-linux \
libgbm \
libdrm \
libudev \
wayland \
libffi \
libdrm-omap \
\"
LOCAL.conf:MACHINE = "beaglebone"
DISTRO = "poky"PACKAGE_CLASSES = "package_deb"DISTRO_FEATURES_append = " opengl usbhost sgx"DISTRO_FEATURES_remove = " x11EXTRA_IMAGE_FEATURES = "debug-tweaks tools-debug ssh-server-openssh"
If I build a bigger Image with QT5. QT5 builded.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
To solve the Problem:
To build the omap5-sgx-ddk-um-linux I must add more files from the argo-project. I have to add :recipes-graphics -> libgbm_10.0.0.bb
bitbake console-image
Loading cache: 100% |#######################################################################################################################################################################| ETA: 00:00:00 Loaded 2737 entries from dependency cache.
Parsing recipes: 100% |#####################################################################################################################################################################| Time: 00:00:00 Parsing of 2147 .bb files complete (2140 cached, 7 parsed). 2740 targets, 459 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Trying to resolve runtime dependency libgbm resulted in conflicting PREFERRED_PROVIDER entries being found.
The providers found were: ['/home/drago/poky-jethro/meta-BBB_QT5_PSS/meta-BBB_QT5_PSS/recipes-graphics/gbm/libgbm_10.0.0.bb', '/home/drago/poky-jethro/meta/recipes-graphics/mesa/mesa-gl_10.6.3.bb'] The PREFERRED_PROVIDER entries resulting in this conflict were: ['PREFERRED_PROVIDER_libgbm = libgbm', 'PREFERRED_PROVIDER_virtual/libgl = mesa-gl']
NOTE: multiple providers are available for runtime libgbm (mesa-gl, libgbm, mesa)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libgbm
NOTE: Runtime target 'libgbm' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libgbm']
ERROR: Required build target 'console-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['console-image', 'libgbm']
How can I add libgbm_10.0.0.bb for omap5-sgx-ddk-um-linux and not breake mesa-gl ?
I don't found a answer in the argo-layer.Please Help.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Maybe I'm wrong. Maybe I need other things or change orhter things. Can you please help me.Sorry for my bad Englisch. I hope you understand everything. If you need more here are my LOGs :
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------LOGs console-image :
Parsing recipes...done.
Parsing of 2145 .bb files complete (0 cached, 2145 parsed). 2738 targets, 459 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-15.10"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "beaglebone"
DISTRO = "poky"
DISTRO_VERSION = "2.0.1"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa8" TARGET_FPU = "vfp-neon"
meta-BBB_QT5_PSS = "ada:4016a9140768d221d7ecb915fe0b0002005d348b" meta-ti = "master:110f22565fd6ae1a7c42a7c67af8e845d9deba54" meta-qt5 = "master:d6fe20e6083d421cc6091892e1d302c46e2d075d" meta-oe
meta-perl
meta-efl
meta-multimedia
meta-networking
meta-ruby
meta-python = "jethro:dc5634968b270dde250690609f0015f881db81f2" meta
meta-yocto = "jethro:1a52eceaa5df89914b6a711defdcf0046e74c7f6"
11,388 lines not shown · raw message
Part of this message is not shown here. View the raw message.