From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Trevor Gamblin <tgamblin@baylibre.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][PATCH v2] piglit: upgrade 22eaf6a91c -> c11c9374c1
Date: Tue, 20 Aug 2024 21:14:15 +0200 [thread overview]
Message-ID: <2024082019141589a62e42@mail.local> (raw)
In-Reply-To: <1b2a0a57-db8e-43ae-ac59-27c3678391b6@baylibre.com>
There were other build failures:
https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/5211/steps/13/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/9395/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/9407/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/9226/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/6299/steps/12/logs/stdio
On 20/08/2024 14:39:16-0400, Trevor Gamblin wrote:
>
> On 2024-08-20 1:24 p.m., Alexander Kanavin wrote:
> > I looked. There is a condition:
> >
> > https://gitlab.freedesktop.org/mesa/piglit/-/blob/main/CMakeLists.txt?ref_type=heads#L108
> >
> > if(PIGLIT_USE_X11)
> > find_package(X11 REQUIRED)
> > set(PIGLIT_HAS_X11 True)
> > add_definitions(-DPIGLIT_HAS_X11)
> > endif()
>
> Changing the x11 PACKAGECONFIG line to this seems to work:
>
> PACKAGECONFIG[x11] = "-DPIGLIT_USE_X11=1 -DPIGLIT_BUILD_GL_TESTS=ON
> -PIGLIT_BUILD_DMA_BUF_TESTS=ON,-DPIGLIT_USE_X11=0
> -DPIGLIT_BUILD_GL_TESTS=OFF -DPIGLIT_BUILD_DMA_BUF_TESTS=OFF,${X11_DEPS},
> ${X11_RDEPS}"
>
> Is there a cleaner way to do this?
>
> >
> > Alex
> >
> > On Tue, 20 Aug 2024 at 19:22, Alexander Kanavin via
> > lists.openembedded.org <alex.kanavin=gmail.com@lists.openembedded.org>
> > wrote:
> > > On Tue, 20 Aug 2024 at 19:18, Trevor Gamblin via
> > > lists.openembedded.org <tgamblin=baylibre.com@lists.openembedded.org>
> > > wrote:
> > > >
> > > > On 2024-08-20 12:24 p.m., Alexandre Belloni wrote:
> > > >
> > > > Unfortunately, this doesn't build on the AB:
> > > >
> > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/9383/steps/11/logs/stdio
> > > >
> > > > Seems to be because of this line in the config:
> > > >
> > > > DISTRO_FEATURES:remove = 'x11'
> > > >
> > > > I see that consolekit has REQUIRED_DISTRO_FEATURES = "x11" in the recipe. Is this the right approach then for piglit?
> > > Only if the X11 support is unconditional. You first need to look at
> > > the failure log that says:
> > >
> > > | Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)
> > >
> > > And then check piglit source code and its cmake configuration files to
> > > see where that particular check is performed and whether it's wrapped
> > > into a condition that we can tweak via cmake subject to x11 in
> > > DISTRO_FEATURES.
> > >
> > > Alex
> > >
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > > Links: You receive all messages sent to this group.
> > > View/Reply Online (#203561): https://lists.openembedded.org/g/openembedded-core/message/203561
> > > Mute This Topic: https://lists.openembedded.org/mt/107914101/1686489
> > > Group Owner: openembedded-core+owner@lists.openembedded.org
> > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > >
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2024-08-20 19:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-15 14:07 [OE-core][PATCH v2] piglit: upgrade 22eaf6a91c -> c11c9374c1 Trevor Gamblin
2024-08-20 16:24 ` Alexandre Belloni
2024-08-20 17:18 ` Trevor Gamblin
2024-08-20 17:22 ` Alexander Kanavin
[not found] ` <17ED7F9EA2077539.18027@lists.openembedded.org>
2024-08-20 17:24 ` Alexander Kanavin
2024-08-20 18:39 ` Trevor Gamblin
2024-08-20 19:14 ` Alexandre Belloni [this message]
2024-08-20 19:30 ` Alexander Kanavin
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=2024082019141589a62e42@mail.local \
--to=alexandre.belloni@bootlin.com \
--cc=alex.kanavin@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=tgamblin@baylibre.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox