Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 711978

Summary: media-plugins/vdr-xineliboutput-2.1.0 : xine_sxfe_frontend.c:(.text+<snip>): undefined reference to glXQueryVersion
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo VDR Project <vdr>
Status: RESOLVED FIXED    
Severity: normal CC: josef64
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-plugins:vdr-xineliboutput-2.1.0:20200309-035957.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-09 17:50:45 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xine_sxfe_frontend.o: in function `opengl_draw_frame_thread':
xine_sxfe_frontend.c:(.text+0x25f7): undefined reference to `glXQueryVersion'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xine_sxfe_frontend.c:(.text+0x263a): undefined reference to `glXQueryExtensionsString'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xine_sxfe_frontend.c:(.text+0x26aa): undefined reference to `glXChooseFBConfig'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xine_sxfe_frontend.c:(.text+0x26d9): undefined reference to `glXChooseVisual'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200305-031819

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
llvm:
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 09 Mar 2020 02:37:34 +0000

emerge -qpvO media-plugins/vdr-xineliboutput
[ebuild  N    ] media-plugins/vdr-xineliboutput-2.1.0  USE="X dbus jpeg nls opengl vdr xine -bluray -caps -cec -fbcon -libextractor -vaapi -vdpau -xinerama"
Comment 1 Toralf Förster gentoo-dev 2020-03-09 17:50:48 UTC
Created attachment 617636 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-09 17:50:50 UTC
Created attachment 617638 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-09 17:50:53 UTC
Created attachment 617640 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-09 17:50:56 UTC
Created attachment 617642 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-09 17:50:59 UTC
Created attachment 617644 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-09 17:51:02 UTC
Created attachment 617646 [details]
media-plugins:vdr-xineliboutput-2.1.0:20200309-035957.log
Comment 7 Toralf Förster gentoo-dev 2020-03-09 17:51:05 UTC
Created attachment 617648 [details]
temp.tbz2
Comment 8 Joerg Bornkessel (RETIRED) gentoo-dev 2020-04-26 17:00:10 UTC
problem is still in bumped version

vdr-xineliboutput-2.2.0
Comment 9 Joerg Bornkessel (RETIRED) gentoo-dev 2020-04-26 18:00:49 UTC
josef.95 found this fix in

https://www.spinics.net/lists/fedora-devel/msg263937.html


simple editing configure script from: 

(contained in the script) as follows (line 404, I compacted the spaces): 
 
test_library X11 opengl "GL/glx.h" "-lGL -lGLU" "glXQueryVersion(0,0,0)" 
 
Changing that to: 
 
test_library X11 OpenGL "GL/glx.h" "-lGL -lGLU" "glXQueryVersion(0,0,0)" 

iam not shure is it backward compatible, need some testing
Comment 10 Larry the Git Cow gentoo-dev 2020-05-03 08:56:43 UTC
The bug has been closed via the following commit(s):

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

commit edd486548f1f6eb3af268636bc1f491c0bfd6a4a
Author:     Joerg Bornkessel <hd_brummy@gentoo.org>
AuthorDate: 2020-05-03 08:55:06 +0000
Commit:     Joerg Bornkessel <hd_brummy@gentoo.org>
CommitDate: 2020-05-03 08:55:06 +0000

    media-plugins/vdr-xineliboutput: fixed not detecting opengl in pkg-config
    
    thx to josef95 @  bug 711978 to detect the solution for this
    
    Closes: https://bugs.gentoo.org/711978
    Package-Manager: Portage-2.3.90, Repoman-2.3.20
    Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>

 .../vdr-xineliboutput-2.1.0-r2.ebuild              | 156 +++++++++++++++++++++
 .../vdr-xineliboutput-2.2.0-r2.ebuild              | 154 ++++++++++++++++++++
 2 files changed, 310 insertions(+)