mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
9adc8a05707f743c659cc6fb25d0a213498d0868
Since the package bump to v10.05.0 the xlib libraries detection has been improved to error missing x libraries (see [2]). The following error is happening on the autobuilder when building ghostscript with xlib_libX11: ``` checking for XOpenDisplay in -lX11... yes checking for XdbeQueryExtension in -lXext... yes checking for XtAppCreateShell in -lXt... no configure: error: X11 libraries (libX11, libXt, libXext) not available, either install them, or rerun configure with "--without-x" make: *** [package/pkg-generic.mk:263: /home/buildroot/instance-0/output-1/build/ghostscript-10.05.1/.stamp_configured] Error 1 ``` This error can be reproduced with the following config: ``` cat <<EOF >.config BR2_arm=y BR2_cortex_a7=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_PACKAGE_XORG7=y BR2_PACKAGE_XLIB_LIBX11=y BR2_PACKAGE_GHOSTSCRIPT=y EOF make olddefconfig make ``` This patch fixes the xlib dependencies of the ghostscript package to correctly build with X support: - The 'XtAppCreateShell' function is provided by the package 'xlib_libXt'. - The 'XdbeQueryExtension' function is provided by the package 'xlib_libXext'. They both select the 'xlib_libX11' package. [1]9abf662cfdpackage/ghostscript: security bump to version 10.05.0 [2]37eede31e1Fixes: https://autobuild.buildroot.org/results/45d/45d0414f341feb2354478b145396fe137f9cc6a6 Signed-off-by: Thomas Perale <thomas.perale@mind.be> Signed-off-by: Romain Naour <romain.naour@smile.fr>
…
…
…
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at http://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.6%
Python
18.8%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.2%