Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729624 - media-gfx/maim-5.6.3 : Could NOT find GLX (missing: GLX_INCLUDE_DIR GLX_LIBRARY)
Summary: media-gfx/maim-5.6.3 : Could NOT find GLX (missing: GLX_INCLUDE_DIR GLX_LIBR...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-25 14:20 UTC by Toralf Förster
Modified: 2022-08-28 08:22 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.27 KB, text/plain)
2020-06-25 14:20 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,25.81 KB, text/plain)
2020-06-25 14:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,91.69 KB, text/plain)
2020-06-25 14:20 UTC, Toralf Förster
Details
environment (environment,84.51 KB, text/plain)
2020-06-25 14:20 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.53 KB, application/x-bzip)
2020-06-25 14:20 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.03 KB, application/x-bzip)
2020-06-25 14:20 UTC, Toralf Förster
Details
media-gfx:maim-5.6.3:20200625-140848.log (media-gfx:maim-5.6.3:20200625-140848.log,4.55 KB, text/plain)
2020-06-25 14:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.87 KB, application/x-bzip)
2020-06-25 14:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-06-25 14:20:28 UTC
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version 1.7.3) 
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
  Could NOT find GLX (missing: GLX_INCLUDE_DIR GLX_LIBRARY)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
  modules/FindGLX.cmake:36 (find_package_handle_standard_args)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-test-20200620-211522

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Rust versions:
  [1]   rust-1.44.1 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu 25 Jun 2020 01:05:19 PM UTC

emerge -qpvO media-gfx/maim
[ebuild  N    ] media-gfx/maim-5.6.3  USE="-icu"
Comment 1 Toralf Förster gentoo-dev 2020-06-25 14:20:32 UTC
there is still a similar issue at unstable amd64 tinderbox image 17.1_systemd-test-20200620-211522 (see bug 711980)
Comment 2 Toralf Förster gentoo-dev 2020-06-25 14:20:36 UTC
Created attachment 646352 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-06-25 14:20:39 UTC
Created attachment 646354 [details]
CMakeOutput.log
Comment 4 Toralf Förster gentoo-dev 2020-06-25 14:20:42 UTC
Created attachment 646356 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2020-06-25 14:20:46 UTC
Created attachment 646358 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2020-06-25 14:20:53 UTC
Created attachment 646360 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-06-25 14:20:56 UTC
Created attachment 646362 [details]
logs.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-06-25 14:21:00 UTC
Created attachment 646364 [details]
media-gfx:maim-5.6.3:20200625-140848.log
Comment 9 Toralf Förster gentoo-dev 2020-06-25 14:21:04 UTC
Created attachment 646366 [details]
temp.tbz2
Comment 10 Casey Avila 2021-01-05 01:32:08 UTC
Do you have ideas as to what is causing this? It appears `media-libs/libglvnd` has been installed, which should place a header file at `/usr/include/GL/glx.h`.

I looked at the cmake, and this should be the header file maim is looking for.

Maybe try building outside of portage?
Comment 11 Casey Avila 2021-01-05 01:33:29 UTC
Because I forgot to mention, maim seems to build perfectly fine on my system, locating GL/glx.h for the dependency.
Comment 12 Toralf Förster gentoo-dev 2021-01-05 08:21:26 UTC
(In reply to Casey Avila from comment #11)
> Because I forgot to mention, maim seems to build perfectly fine on my
> system, locating GL/glx.h for the dependency.

$> e-file glx.h | grep -F '/usr/include/GL/glx.h'

shows 2 different packages owning it: mesa and libglvnd
Comment 13 Casey Avila 2021-01-05 08:59:34 UTC
(In reply to Toralf Förster from comment #12)
> (In reply to Casey Avila from comment #11)
> > Because I forgot to mention, maim seems to build perfectly fine on my
> > system, locating GL/glx.h for the dependency.
> 
> $> e-file glx.h | grep -F '/usr/include/GL/glx.h'
> 
> shows 2 different packages owning it: mesa and libglvnd

Hmm yeah that probably has something to do with it. My mesa doesn't include glx.h as part of the package

>$ equery f mesa
> * Searching for mesa ...
> * Contents of media-libs/mesa-20.2.4:
>/usr
>/usr/include
>/usr/include/EGL
>/usr/include/EGL/eglextchromium.h
>/usr/include/EGL/eglmesaext.h
>/usr/include/GL
>/usr/include/GL/internal
>/usr/include/GL/internal/dri_interface.h
>/usr/include/gbm.h
>/usr/lib64
>/usr/lib64/dri
>/usr/lib64/dri/kms_swrast_dri.so
>/usr/lib64/dri/swrast_dri.so
>/usr/lib64/libEGL_mesa.so -> libEGL_mesa.so.0
>/usr/lib64/libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0
>/usr/lib64/libEGL_mesa.so.0.0.0
>/usr/lib64/libGLX_mesa.so -> libGLX_mesa.so.0
>/usr/lib64/libGLX_mesa.so.0 -> libGLX_mesa.so.0.0.0
>/usr/lib64/libGLX_mesa.so.0.0.0
>/usr/lib64/libgbm.so -> libgbm.so.1
>/usr/lib64/libgbm.so.1 -> libgbm.so.1.0.0
>/usr/lib64/libgbm.so.1.0.0
>/usr/lib64/libglapi.so -> libglapi.so.0
>/usr/lib64/libglapi.so.0 -> libglapi.so.0.0.0
>/usr/lib64/libglapi.so.0.0.0
>/usr/lib64/pkgconfig
>/usr/lib64/pkgconfig/dri.pc
>/usr/lib64/pkgconfig/gbm.pc
>/usr/share
>/usr/share/doc
>/usr/share/doc/mesa-20.2.4
>/usr/share/doc/mesa-20.2.4/README.rst.bz2
>/usr/share/drirc.d
>/usr/share/drirc.d/00-mesa-defaults.conf
>/usr/share/glvnd
>/usr/share/glvnd/egl_vendor.d
>/usr/share/glvnd/egl_vendor.d/50_mesa.json

Maybe try reinstalling mesa? Or post emerge-info for it. To be honest I am new with bugzilla
Comment 14 Esteve Varela Colominas 2021-04-19 17:56:09 UTC
This sounds like an issue caused by the transition to using libglvnd, it now providing libGL, including headers.
I'm not aware of any current configuration that would allow mesa to own libGL. Is this bug still valid?
Comment 15 Larry the Git Cow gentoo-dev 2022-08-28 08:22:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=854d33a2eec23ae9604a92f7bcc322ec1fcaffb7

commit 854d33a2eec23ae9604a92f7bcc322ec1fcaffb7
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-08-28 08:19:57 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-08-28 08:22:11 +0000

    media-gfx/maim: ebuild enhancements to 5.7.4
    
     - add missing dependencies,
     - update copyright header,
     - update EAPI,
     - update licenses.
    
    Closes: https://bugs.gentoo.org/729624
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-gfx/maim/maim-5.7.4.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)