Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Heiko Thiery <heiko.thiery@gmail.com>
Cc: buildroot@buildroot.org,  Julien Olivain <ju.o@free.fr>,
	 Eric Le Bihan <eric.le.bihan.dev@free.fr>
Subject: Re: [Buildroot] [PATCH v6 4/5] package/vkmark: add vkmark benchmarking tool
Date: Wed, 11 Jun 2025 14:55:31 +0100	[thread overview]
Message-ID: <87jz5ijsbw.fsf@draig.linaro.org> (raw)
In-Reply-To: <CAEyMn7Yu_ZAPhaAOSHO7K+LbbVAGQqe84_UCe4uKqnJ+4UbDsQ@mail.gmail.com> (Heiko Thiery's message of "Wed, 11 Jun 2025 15:11:05 +0200")

Heiko Thiery <heiko.thiery@gmail.com> writes:

> Hi Alex,
>
> Am Mi., 11. Juni 2025 um 13:16 Uhr schrieb Alex Bennée <alex.bennee@linaro.org>:
>
>  We build from a recent HEAD to ensure we have the fixes to better
>  handle the missing KHR_display extension.
>
>  Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>
> I tried to build vkmark against, now with wayland enabled and I see this:
>
> Program /usr/bin/wayland-scanner found: NO
>
> ../out-weston/build/vkmark-36e7d9b2ecf723e876add65534e95f55ec1bc79d/src/meson.build:116:22: ERROR: Program
> '/usr/bin/wayland-scanner' not found or not executable

Hmm this seems odd. At least wayland-scanner has a pkgconf variable:

  🕙14:51:21 alex@draig:buildroot.git/builds/x86_64  on  add-virtio-vulkan-vkmark:master [$!?⇡] 
  ➜  pkg-config --variable=wayland_scanner  wayland-scanner
  /usr/bin/wayland-scanner
  🕙14:52:16 alex@draig:buildroot.git/builds/x86_64  on  add-virtio-vulkan-vkmark:master [$!?⇡] 
  ➜  ./host/bin/pkgconf --variable=wayland_scanner  wayland-scanner
  /home/alex/lsrc/tests/buildroot.git/builds/x86_64/host/bin/wayland-scanner
  🕙14:52:29 alex@draig:buildroot.git/builds/x86_64  on  add-virtio-vulkan-vkmark:master [$!?⇡] 
  ➜

And the meson should find it with the normal dependency logic:

    wayland_scanner = find_program(wayland_scanner_dep.get_variable('wayland_scanner'))

>
> A full log can be found at
> /srv/storage/hthiery/sources/sa67/out-weston/build/vkmark-36e7d9b2ecf723e876add65534e95f55ec1bc79d/buildroot-build/meson-logs/meson-log.txt
>
> make[1]: *** [package/pkg-generic.mk:263:
> /srv/storage/hthiery/sources/sa67/out-weston/build/vkmark-36e7d9b2ecf723e876add65534e95f55ec1bc79d/.stamp_configured]
> Error 1
> make: *** [Makefile:23: _all] Error 2
>
> It looks like here we have something similar like before. It looks under  '/usr/bin/wayland-scanner' but the prefix is missing.
<snip>

Yeah I see the same:

  Found pkg-config: YES (/home/alex/lsrc/tests/buildroot.git/builds/arm64/host/bin/pkgconf) 2.3.0                                                                               
  Run-time dependency vulkan found: YES 1.4.317                                                                                                                                 
  Library dl found: YES                                                                                                                                                         
  Found CMake: /usr/bin/cmake (3.31.6)                                                                                                                                          
  Run-time dependency glm found: YES 1.0.0                                                                                                                                      
  Run-time dependency assimp found: YES 5.4.3                                                                                                                                   
  Run-time dependency xcb found: YES 1.15                                                                                                                                       
  Run-time dependency xcb-icccm found: YES 0.4.2                                                                                                                                
  Run-time dependency wayland-client found: YES 1.23.1                                                                                                                          
  Run-time dependency wayland-protocols found: YES 1.42                                                                                                                         
  Run-time dependency wayland-scanner found: YES 1.23.1                                                                                                                         
  Run-time dependency libdrm found: YES 2.4.124                                                                                                                                 
  Run-time dependency gbm found: YES 25.1.3                                                                                                                                     
  Program python3 found: YES (/home/alex/lsrc/tests/buildroot.git/builds/arm64/host/bin/python3)                                                                                
  Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2025-06-11 13:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-11 11:16 [Buildroot] [PATCH v6 0/5] Add vkmark graphics benchmarking tool Alex Bennée
2025-06-11 11:16 ` [Buildroot] [PATCH v6 1/5] package/{mesa3d, mesa3d-headers}: bump version to 25.1.3 Alex Bennée
2025-06-11 11:16 ` [Buildroot] [PATCH v6 2/5] package/vulkan-sdk: new package Alex Bennée
2025-06-14 10:51   ` Julien Olivain
2025-06-11 11:16 ` [Buildroot] [PATCH v6 3/5] package/vulkan-[headers|loader|tools]: bump to 1.4.317 release Alex Bennée
2025-06-14 11:11   ` Julien Olivain
2025-06-11 11:16 ` [Buildroot] [PATCH v6 4/5] package/vkmark: add vkmark benchmarking tool Alex Bennée
2025-06-11 13:11   ` Heiko Thiery
2025-06-11 13:55     ` Alex Bennée [this message]
2025-06-11 13:57       ` Heiko Thiery
2025-06-11 15:39       ` Nicolas Cavallari
2025-06-11 16:39         ` Alex Bennée
2025-06-14 10:59   ` Julien Olivain
2025-06-11 11:16 ` [Buildroot] [PATCH v6 5/5] support/testing: add test for vkmark package Alex Bennée
2025-06-14 11:05   ` Julien Olivain
     [not found] ` <20250611111640.702572-2-alex.bennee__11620.3121536941$1749640635$gmane$org@linaro.org>
2025-06-11 21:38   ` [Buildroot] [PATCH v6 1/5] package/{mesa3d, mesa3d-headers}: bump version to 25.1.3 Bernd Kuhls
2025-06-12  9:42     ` Alex Bennée

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=87jz5ijsbw.fsf@draig.linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=buildroot@buildroot.org \
    --cc=eric.le.bihan.dev@free.fr \
    --cc=heiko.thiery@gmail.com \
    --cc=ju.o@free.fr \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox