From: Bernd Kuhls Date: Sun, 11 Aug 2019 09:12:35 +0200 Subject: [Buildroot] [PATCH v6 07/10] package/mesa3d: add a new option to enable GLX support References: <20190804185417.6562-1-bernd.kuhls@t-online.de> <20190804185417.6562-7-bernd.kuhls@t-online.de> Message-ID: <3or42gxeq6.ln2@ID-313208.user.individual.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Am Sun, 11 Aug 2019 01:00:33 +0200 schrieb Erico Nunes: > package/mesa3d/mesa3d.mk:250: *** Configuration error: both "mesa3d" > and are selected as providers for virtual package "libgl". Only one > provider can be selected at a time. Please fix your configuration. > Stop. > > I can reproduce this with a simple config like: > > BR2_arm=y > BR2_cortex_a9=y > BR2_ARM_ENABLE_NEON=y > BR2_ARM_ENABLE_VFP=y > BR2_TOOLCHAIN_EXTERNAL=y > BR2_PACKAGE_MESA3D=y > BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y > BR2_PACKAGE_MESA3D_OPENGL_EGL=y > BR2_PACKAGE_MESA3D_OPENGL_ES=y > BR2_PACKAGE_XORG7=y Hi Enrico, $ grep LIBGL .config BR2_PACKAGE_PROVIDES_LIBGLES="mesa3d" BR2_PACKAGE_HAS_LIBGLES=y # BR2_PACKAGE_LIBGLIB2 is not set # BR2_PACKAGE_LIBGLOB is not set $ grep mesa3d .config BR2_PACKAGE_PROVIDES_LIBEGL="mesa3d" BR2_PACKAGE_PROVIDES_LIBGLES="mesa3d" $ grep PROVIDES .config | grep -v _HOST_ BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL="toolchain-external-arm-arm" BR2_PACKAGE_PROVIDES_SKELETON="skeleton-init-sysv" BR2_PACKAGE_PROVIDES_LIBEGL="mesa3d" BR2_PACKAGE_PROVIDES_LIBGLES="mesa3d" BR2_PACKAGE_PROVIDES_ZLIB="libzlib" I do not understand why the error occurs, libgl was not selected by any package. It seems some core component of buildroot is broken w.r.t. detection of virtual packages... Regards, Bernd