[Piglit] Running piglit in chroot

Matěj Cepl mcepl at cepl.eu
Tue Feb 17 21:54:13 PST 2015


On 2015-02-18, 00:27 GMT, Emil Velikov wrote:
> For example:
> export LD_LIBRARY_PATH="/opt/rhel6/usr/lib/"
> export LIBGL_DRIVERS_PATH="/opt/rhel6/usr/lib/xorg/modules/dri"

Thanks,

in the end (and with great help of Adam Jackson and others) 
I have managed to make it work (both of these variables don't 
have much of documentation).

> That said, you might end up in a "mess" as you'll be using(?) a mix of
> rhel6 and rhel7 libraries as required by mesa - xcb*, expat, gcc_s,
> llvm to name a few. LD_DEBUG=libs is your friend, but if it was me I
> would port the mako package and be done with it :-)

Well, the problem is that I wouldn't. Just after packaging mako, 
I found I have to port also backport-collections, 
total_ordering, generate 700 lines of patch to make it work, and 
I have made it work 
(https://copr.fedoraproject.org/coprs/mcepl/piglit-el6/), just 
to found out (when trying to upgrade on even more recent piglit) 
that I would have to upgrade NumPy as well. This hole does have 
no end.

Best,

Matěj



More information about the Piglit mailing list