Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708160 - media-libs/opensubdiv: missing libXinerama dependency
Summary: media-libs/opensubdiv: missing libXinerama dependency
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adrian
Keywords: PullRequest
Depends on:
Reported: 2020-02-03 23:28 UTC by Jannik Glückert
Modified: 2020-06-08 07:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jannik Glückert 2020-02-03 23:28:58 UTC
opensubdiv requires x11-libs/libXinerama. Previously, this was pulled in as a dependency by media-libs/glfw . However, when glfw is emerged with the wayland useflag, it no longer depends on x11-libs/libXinerama.

This is what emerging opensubdiv with glfw[wayland] looks like:

CMake Error at cmake/FindGLFW.cmake:170 (message):
  Xinerama library not found - required for GLFW
Call Stack (most recent call first):
  CMakeLists.txt:342 (find_package)
Comment 1 Adrian 2020-05-12 12:02:51 UTC
Thank you for picking this up. I can confirmed this occurs and is fixed by adding the dependency on x11-libs/libXinerama as you suggest.
Comment 2 Larry the Git Cow gentoo-dev 2020-06-08 07:46:01 UTC
The bug has been closed via the following commit(s):

commit c280c98bb725da61f5b4af2cf872004aea60cc41
Author:     Adrian Grigo <>
AuthorDate: 2020-05-13 01:58:26 +0000
Commit:     Joonas Niilola <>
CommitDate: 2020-06-08 07:45:20 +0000

    media-libs/opensubdiv: Version bump to 3.4.3
    Version bump to media-libs/opensubdiv-3.4.3
    This version has been updated to EAPI 7 and inherits from cmake rather
    than cmake-utils. The license has been corrected to modified apache-2
    New USE flags are added to control installation of the docs, examples
    and tutorials. The build system is patched to install the tutorials
    into /usr/bin, and to use python 2.7 to build the documentation. The
    latter fixes bug 722570 for this ebuild.
    When using FEATURES="test", the basic and regression tests are enabled.
    However the GLTESTS are disabled as portage does not have access to an
    X11 display to run them during the build.
    A direct dependency on libXinerama was added as this is no longer
    included by glfw for wayland users. This fixes bug 708160 for this
    For cuda users, the build will fail when using GCC 9+. If an incorrect
    version is selected, the ebuild will warn the user to run gcc-config.
    Others have found that cuda kernels fail to build with multiple jobs
    for previous versions of opensubdiv. I use MAKEOPTS="-j1" to prevent
    this, although it has not been an issue for me.
    Signed-off-by: Adrian Grigo <>
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Joonas Niilola <>

 media-libs/opensubdiv/Manifest                     |  1 +
 ...ocumentation-CMakeLists.txt-force-python2.patch | 51 ++++++++++++
 ...ensubdiv-3.4.3-install-tutorials-into-bin.patch | 52 +++++++++++++
 media-libs/opensubdiv/metadata.xml                 | 19 +++--
 media-libs/opensubdiv/opensubdiv-3.4.3.ebuild      | 90 ++++++++++++++++++++++
 5 files changed, 205 insertions(+), 8 deletions(-)