List Archive: gentoo-dev
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
On Tue, 13 Apr 2010 19:12:08 -0700
Zac Medico <firstname.lastname@example.org> wrote:
> Should we add a RESTRICT=parallel value for ebuilds that can't be
> built at the same time as other ebuilds? Brian says we need it for
> things like xorg-server which calls eselect opengl.
I don't think that's the right solution. In most cases, xorg-server can
be built in parallel with stuff which doesn't require/set specific
opengl subsystem set.
Well, in fact is there _really_ any package which won't work with
switched opengl? I guess it's more of a runtime problem that buildtime,
and I don't think we really should print out loudly 'libGL has been
switched, please do not start OpenGL apps right now'.
In fact, the best solution in this particular case would be to patch
the buildsystem to use Gentoo location for particular OpenGL headers.
Disabling parallel emerge would be more of a workaround for the issue,
and will influence much more packages than it needs to. And it won't
help if user is running multiple emerge calls at the same time.
Another possible workaround is to enable some kind of 'eselect opengl'
locking so that another package requiring access to it will wait until
our build finishes. But this, of course, would require a quite good
solution for maintaining the lock and dropping it whenever build
process is aborted/killed.