Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579628 - >x11-drivers/nvidia-drivers-352 with <x11-libs/libvdpau-1.0 - gtk+-2.x/ctkvdpau.c:188:34: error: ‘VDP_DECODER_PROFILE_HEVC_MAIN’ undeclared (first use in this function)
Summary: >x11-drivers/nvidia-drivers-352 with <x11-libs/libvdpau-1.0 - gtk+-2.x/ctkvdp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-11 15:21 UTC by nobody
Modified: 2016-04-12 17:14 UTC (History)
0 users

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


Attachments
build-358.tar (build-358.tar,240.00 KB, application/x-tar)
2016-04-11 15:25 UTC, nobody
Details
build-361.tar (build-361.tar,240.00 KB, application/x-tar)
2016-04-11 15:26 UTC, nobody
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nobody 2016-04-11 15:21:54 UTC
Try to build any nvidia-drivers>355 with an old libvdpau will fail with an error against vdpau headers.


Reproducible: Always

Steps to Reproduce:
fix.
1. emerge -1u libvdpau vdpauinfo nvidia-drivers
2.
3.
Actual Results:  
gtk+-2.x/ctkvdpau.c: In function ‘queryBaseInfo’:
gtk+-2.x/ctkvdpau.c:188:34: error: ‘VDP_DECODER_PROFILE_HEVC_MAIN’ undeclared (first use in this function)
         {"HEVC",                 VDP_DECODER_PROFILE_HEVC_MAIN, 0x80},
                                  ^
gtk+-2.x/ctkvdpau.c:188:34: note: each undeclared identifier is reported only once for each function it appears in


Expected Results:  
building nvidia-drivers without errors.

I'm unsure if libvdpau or vdpauinfo provide needed libs to build, i assume (by logic) libvdpau is at fault here.

I provide two log of
Comment 1 nobody 2016-04-11 15:25:40 UTC
Created attachment 430154 [details]
build-358.tar
Comment 2 nobody 2016-04-11 15:26:02 UTC
Created attachment 430156 [details]
build-361.tar
Comment 3 nobody 2016-04-11 15:28:40 UTC
previous libvdpau libpauinfo versions were:
     Thu Jun  4 07:43:07 2015 >>> x11-misc/vdpauinfo-0.9-r1
       merge time: 3 seconds.
     Thu Jun  4 05:42:25 2015 >>> x11-libs/libvdpau-0.9
       merge time: 12 seconds.

yes: i know they were old, it doesn't mean nvidia-drivers shouldn't build with them, and if it cannot, it's because it need a newer version, hence it should depend on it to update it prior to update the nvidia-drivers package.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2016-04-12 04:56:25 UTC
Why would you distribute a single file in a tarball?
Comment 5 nobody 2016-04-12 10:05:52 UTC
well, i had to tar them because of bugzilla size limit, why i didn't put the 2 into the same tar? No idea, didn't think it could bug anyone.

thanks for the fix.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2016-04-12 10:21:32 UTC
(In reply to nobody from comment #5)
> well, i had to tar them because of bugzilla size limit, why i didn't put the
> 2 into the same tar? No idea, didn't think it could bug anyone.

tar doesn't compress; neither in the file format nor in its software implementations. It merely preserves various file properties and path names. If you want to compress files, use a compression utility (gzip, bzip2, xz and so on).
Comment 7 nobody 2016-04-12 17:14:09 UTC
yeah you're right, tar doesn't compress, but actually if i put the log file into bugzilla, add a desc, it refuse the file.

and when i put the tar version, add a desc, and magic! it take it as-is.