All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Olivain via buildroot <buildroot@buildroot.org>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: buildroot@buildroot.org, Romain Naour <romain.naour@gmail.com>
Subject: Re: [Buildroot] [PATCH v2 1/1] package/piglit: bump version
Date: Mon, 29 Dec 2025 00:07:52 +0100	[thread overview]
Message-ID: <e109729149f8c331b5152ec868078785@free.fr> (raw)
In-Reply-To: <20251228124318.3450440-1-bernd@kuhls.net>

Hi Bernd,

Thanks for the updated patch.

On 28/12/2025 13:43, Bernd Kuhls wrote:
> Disabled vulkan tests added by upstream commit:
> https://gitlab.freedesktop.org/mesa/piglit/-/commit/2519c330fba55ce6efd0dbee07aa67c703124d4f
> 
> Added X11-related configure options due to upstream commit:
> https://gitlab.freedesktop.org/mesa/piglit/-/commit/d958b70d1fc5c2ee039363d862b14ca498a50e82
> 
> Added configure options to fix build errors without libdrm and with
> libegl/libgles enabled but without X11.
> These build errors were not seen before due to other build errors
> unfixed since the bump of python3 to 3.10 with buildroot commit
> 25b1fc2898d68ddf2674b14c738045875fc5a2dc:
> https://patchwork.ozlabs.org/project/buildroot/patch/20230723074303.603364-1-bernd@kuhls.net/
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> v2: added more build fixes (Julien)
>     bumped version to current HEAD
[...]
> diff --git a/package/piglit/piglit.mk b/package/piglit/piglit.mk
> index 4d17405d10..360bddd40e 100644
> --- a/package/piglit/piglit.mk
> +++ b/package/piglit/piglit.mk
> @@ -4,7 +4,7 @@
>  #
>  
> ################################################################################
> 
> -PIGLIT_VERSION = 2affee53f3ad7a96f5b397a2b6d6408af8a374b0
> +PIGLIT_VERSION = 62d499d63d2b8b29a67efd9d93ed9b6a94d4950e
>  PIGLIT_SITE = https://gitlab.freedesktop.org/mesa/piglit.git
>  PIGLIT_SITE_METHOD = git
>  PIGLIT_LICENSE = MIT (code), \
> @@ -29,16 +29,27 @@ PIGLIT_DEPENDENCIES = host-pkgconf \
>  PIGLIT_CONF_OPTS += \
>  	-DPIGLIT_USE_WAFFLE=ON \
>  	-DPIGLIT_BUILD_CL_TESTS=OFF \
> +	-DPIGLIT_BUILD_VK_TESTS=OFF \
>  	-DPIGLIT_BUILD_WGL_TESTS=OFF \
>  	-DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3
> 
>  ifeq ($(BR2_PACKAGE_XORG7),y)
>  # libxcb for xcb-dri2
> +PIGLIT_CONF_OPTS += -DPIGLIT_USE_X11=ON
>  PIGLIT_DEPENDENCIES += \
>  	xlib_libX11 \
>  	xlib_libXext \
>  	xorgproto \
>  	$(if $(BR2_PACKAGE_LIBXCB),libxcb)
> +else
> +PIGLIT_CONF_OPTS += -DPIGLIT_USE_X11=OFF
> +endif
> +
> +ifeq ($(BR2_PACKAGE_HAS_LIBDRM),y)

Here, the "utils/check-symbols" script reports the error:
package/piglit/piglit.mk:48: BR2_PACKAGE_HAS_LIBDRM referenced but not 
defined

I believe you meant "BR2_PACKAGE_LIBDRM".

Also, fixing this symbol name alone does not seem sufficient.
When testing with the following commands:

cat >.config <<EOF
BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_PIGLIT=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_WESTON=y
BR2_PACKAGE_PYTHON3=y
EOF
make olddefconfig
make piglit

The piglit meson configuration fails with error:

CMake Error at CMakeLists.txt:271 (message):
   PIGLIT_BUILD_DMA_BUF_TESTS require libdrm, gbm_bo_map(), 
libdrm>=2.4.98 and
   xcb-dri2

So maybe this line should rather be:

ifeq ($(BR2_PACKAGE_LIBDRM)$(BR2_PACKAGE_LIBXCB),yy)

> +PIGLIT_DEPENDENCIES += libdrm
> +PIGLIT_CONF_OPTS += -DPIGLIT_BUILD_DMA_BUF_TESTS=ON
> +else
> +PIGLIT_CONF_OPTS += -DPIGLIT_BUILD_DMA_BUF_TESTS=OFF
>  endif
> 
>  ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
> @@ -54,7 +65,7 @@ else
>  PIGLIT_CONF_OPTS += -DPIGLIT_BUILD_GLX_TESTS=OFF
>  endif
> 
> -ifeq ($(BR2_PACKAGE_HAS_LIBEGL)$(BR2_PACKAGE_HAS_LIBGLES),yy)
> +ifeq 
> ($(BR2_PACKAGE_XORG7)$(BR2_PACKAGE_HAS_LIBEGL)$(BR2_PACKAGE_HAS_LIBGLES),yyy)
>  PIGLIT_DEPENDENCIES += libegl
>  PIGLIT_CONF_OPTS += -DPIGLIT_BUILD_GLES1_TESTS=ON \
>  	-DPIGLIT_BUILD_GLES2_TESTS=ON \
> --
> 2.47.3

Could you confirm and send an updated patch, please?

Best regards,

Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2025-12-28 23:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-28 12:43 [Buildroot] [PATCH v2 1/1] package/piglit: bump version Bernd Kuhls
2025-12-28 23:07 ` Julien Olivain via buildroot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-07-23  7:43 Bernd Kuhls
2023-07-23 15:25 ` Yann E. MORIN
     [not found] ` <20230723152533.GH2503916__38229.4022989058$1690125967$gmane$org@scaer>
2023-07-23 16:24   ` Bernd Kuhls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e109729149f8c331b5152ec868078785@free.fr \
    --to=buildroot@buildroot.org \
    --cc=bernd@kuhls.net \
    --cc=ju.o@free.fr \
    --cc=romain.naour@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.