Bug 6077 - piglit depends on libx11
Summary: piglit depends on libx11
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 1.6
Hardware: All Multiple
: Low enhancement
Target Milestone: 2.7 M4
Assignee: Changqing Li
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-31 14:04 UTC by Otavio Salvador
Modified: 2019-05-10 01:49 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Otavio Salvador 2014-03-31 14:04:51 UTC
Currently piglit requires libx11 and this makes it impossible to be used in x11-less distros.
Comment 1 Ross Burton 2015-07-28 15:17:18 UTC
Filed https://bugs.freedesktop.org/show_bug.cgi?id=91492 upstream.

For now, respecting DISTRO_FEATURES and only adding the x11 dependencies in x11 builds *should* work, albeit as a hack.
Comment 2 Jussi Kukkonen 2016-04-18 11:08:17 UTC
I've got a patch but I keep finding ways to break the build... I think it's time to admit this is not making 2.1.

Otavio: for reference, can you describe your use case in a little more detail? Are you thinking of running piglit on a non-mesa opengl or with just mesa gles or something else?


Quick tests with various combos of the PACKAGECONFIGs I've added seem to suggest that piglit on mesa without X11 is not a very useful thing: it looks like only a handful of tests get included (even if gles tests are enabled).
Comment 3 Jussi Kukkonen 2016-09-09 08:24:59 UTC
Moving to 2.3.

I'd still be interested in the details of the non-x11 use case as mentioned in comment 2.
Comment 4 Jussi Kukkonen 2017-05-16 08:24:31 UTC
I think this is possible but still not convinced it's a good use of my time: Piglit with mesa without X11 is not very useful.

Someone working on non-mesa GL might have other priorities so I'm leaving it open: feel free to take the bug, someone.
Comment 5 Ross Burton 2017-09-11 16:26:19 UTC
I suspect a EGL-only no-X11 build of Piglit will be more useful these days.
Comment 6 Chen Qi 2018-10-19 01:52:47 UTC
I'll start to look into this one in 2.7 development cycle.