| Summary: | gtk build failed, dependency "libdrm" not found | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Yocto Project Subprojects] Sato | Reporter: | Andrew Fernandes <andrew> | ||||
| Component: | gtk-engine | Assignee: | Andrew Fernandes <andrew> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | andrew, ross.burton | ||||
| Version: | 5.0 | ||||||
| Target Milestone: | 5.0 | ||||||
| Hardware: | x86 | ||||||
| OS: | arm64 | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
Reported (and workaround found) in https://github.com/OE4T/meta-tegra/issues/1582 Would you be able to send a patch to oe-core? Should be a simple as adding libdrm to DEPENDS. Just tested and the build completed successfully. Will submit the patch to oe-core asap! Perfect, thanks. Merged in b32290d9bbcfccc9b85fa5acbeaee5d32d9a9091. |
Created attachment 5052 [details] compressed full build log Build Configuration: BB_VERSION = "2.8.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "ubuntu-22.04" TARGET_SYS = "aarch64-poky-linux" MACHINE = "jetson-agx-orin-devkit" DISTRO = "poky" DISTRO_VERSION = "5.0.1" TUNE_FEATURES = "aarch64 armv8a crc" TARGET_FPU = "" meta-tegra = "scarthgap-l4t-r35.x:09b70bc78185e3de3b10f204ceee9c38f4c83996" meta meta-poky meta-yocto-bsp = "scarthgap:83793ccd865e3e72563e6d5733b6bd02943feb8a" Target image: core-image-sato-dev Build is clean, with empty caches, etc Executing bitbake core-image-sato-dev, shortly after Running task 8871 of 8929, results in: | Run-time dependency xinerama found: YES 1.1.5 | Header "X11/extensions/Xinerama.h" has symbol "XineramaQueryExtension" with dependency xinerama: YES | Checking for function "ngettext" : YES | Run-time dependency vulkan found: YES 1.3.275 | Program glslc found: YES (/home/andrew/Local/yocto-tegra/build/tmp/work/armv8a_tegra-poky-linux/gtk4/4.14.1/recipe-sysroot-native/usr/bin/glslc) | Found CMake: NO | Run-time dependency libdrm found: NO (tried pkgconfig) | | ../gtk-4.14.1/meson.build:631:13: ERROR: Dependency "libdrm" not found, tried pkgconfig | | A full log can be found at /home/andrew/Local/yocto-tegra/build/tmp/work/armv8a_tegra-poky-linux/gtk4/4.14.1/build/meson-logs/meson-log.txt | ERROR: meson failed | WARNING: exit code 1 from a shell command. NOTE: recipe gtk4-4.14.1-r0: task do_configure: Failed ERROR: Task (/home/andrew/Local/yocto-tegra/sources/poky/meta/recipes-gnome/gtk+/gtk4_4.14.1.bb:do_configure) failed with exit code '1' NOTE: recipe gst-examples-1.18.6-r0: task do_install: Succeeded NOTE: recipe gstreamer1.0-plugins-bad-1.22.11-r0: task do_package: Succeeded NOTE: Tasks Summary: Attempted 8871 tasks of which 6 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/andrew/Local/yocto-tegra/sources/poky/meta/recipes-gnome/gtk+/gtk4_4.14.1.bb:do_configure Summary: There was 1 WARNING message. Summary: There were 2 ERROR messages, returning a non-zero exit code.