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

Bug 538274

Summary: media-video/bino-1.6.1 VIDEO_CARDS=nvidia with >app-eselect/eselect-opengl-1.3.1 - .../work/bino-1.6.1/src/NvSDIout.cpp:203: error: undefined reference to 'glXBindVideoDeviceNV'
Product: Gentoo Linux Reporter: PhobosK <phobosk>
Component: Current packagesAssignee: Jožka Kejzlar (cuchac) <cuchac>
Status: RESOLVED FIXED    
Severity: normal CC: phobosk, proxy-maint, robbat2
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 531842    
Attachments: bino-1.6.1-r1.ebuild.diff
bino-1.6.1-r1.ebuild.diff

Description PhobosK 2015-01-30 18:38:08 UTC
Since the changes in Gentoo's handling of OpenGL through >=eselect-opengl-1.3.1 breaks the compilation of bino, a new ebuild is needed (for more info bug #534128).

I fixed it accordingly and added a new IUSE flag - the "debug" one that has been in the sources before but was neglected....

The change affects the NVidia OpenGL implementation when the VIDEO_CARDS is set to "nvidia".


The ebuild compiles and works ok on NVidia cards.


Please add it to portage tree and you may clean up older bino's versions... 

Thanks

Reproducible: Always
Comment 1 PhobosK 2015-01-30 18:40:09 UTC
Created attachment 395226 [details, diff]
bino-1.6.1-r1.ebuild.diff

The actual updated ebuild for bino-1.6.1-r1.ebuild
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2015-04-12 02:48:17 UTC
(In reply to PhobosK from comment #1)
> Created attachment 395226 [details, diff] [details, diff]
> bino-1.6.1-r1.ebuild.diff
> 
> The actual updated ebuild for bino-1.6.1-r1.ebuild

Apologies for the delay.  The change in title brought it to attention again.

The version of bino-1.6.1.ebuild has been edited or updated since you made the patch; https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-video/bino/

Please update your patch, re-submit and attach.  Also, use of /usr/portage/ path allows for error.  The patch would have failed on this alone.

$ echo $PORTDIR
/mnt/gen2/old-portage

e.g. mine is outside the core system and stored on a separate partition.
/path/to/dir $ diff -u bino-1.6.1.ebuild bino-1.6.1-r1.ebuild
is what I do and works fine. Others my recommend alternate methods.
Comment 3 PhobosK 2015-08-14 13:25:43 UTC
Created attachment 408988 [details, diff]
bino-1.6.1-r1.ebuild.diff

(In reply to Ian Delaney from comment #2)
> Please update your patch, re-submit and attach.  Also, use of /usr/portage/
> path allows for error.  The patch would have failed on this alone.
> 
> $ echo $PORTDIR
> /mnt/gen2/old-portage
> 

Well, I am always patching local overlay against official portage... since I cannot know every possible configuration of your portage overlays guys ;)

Anyway I updated the patch and tested it... Works as expected.... This time I altered the paths to suit your portage overlay  @Ian :) ;)

Hope it helps and it will end soon in main portage tree :)

Thanks
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2015-08-18 08:03:59 UTC
I was intending for

--- bino-1.6.1.ebuild	        2014-12-29 01:56:24.000000000 +0200
+++ bino-1.6.1-r1.ebuild	2015-01-30 20:24:28.974687498 +0200

but no matter. 

lines with use video_cards_nvidia & use lirc I split up anyway they were far too long.

commit 78072d2fd31ba55f5bf1207f0a7b6bacbef16d23
Author: Ian Delaney <idella4@gentoo.org>
Date:   Tue Aug 18 16:00:28 2015 +0800

    media-video/bino: revbump; add IUSE debug
    
    fixes bug #538274, rm old