Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432130 - x11-libs/libva-intel-driver-1.0.18-r1 fails to compile
Summary: x11-libs/libva-intel-driver-1.0.18-r1 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-20 20:46 UTC by Karl Newman
Modified: 2012-08-22 13:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Newman 2012-08-20 20:46:03 UTC
Compilation fails with the following error (trimmed):
gen7_mfd.c: In function ‘gen7_mfd_jpeg_decode_init’:
gen7_mfd.c:1928:5: error: unknown type name ‘VAPictureParameterBufferJPEGBaseline’
gen7_mfd.c:1931:18: error: ‘VAPictureParameterBufferJPEGBaseline’ undeclared (first use in this function)
gen7_mfd.c:1931:18: note: each undeclared identifier is reported only once for each function it appears in
gen7_mfd.c:1931:56: error: expected expression before ‘)’ token
gen7_mfd.c:1933:18: error: request for member ‘num_components’ in something not a structure or union
gen7_mfd.c:1935:23: error: request for member ‘num_components’ in something not a structure or union
gen7_mfd.c:1936:27: error: request for member ‘components’ in something not a structure or union
gen7_mfd.c:1937:27: error: request for member ‘components’ in something not a structure or union
gen7_mfd.c:1938:27: error: request for member ‘components’ in something not a structure or union
gen6_mfd.c:416:1: warning: ‘gen6_mfd_aes_state’ defined but not used [-Wunused-function]
gen6_mfd.c:424:1: warning: ‘gen6_mfd_wait’ defined but not used [-Wunused-function]
gen7_mfd.c:1939:27: error: request for member ‘components’ in something not a structure or union
gen7_mfd.c:1940:27: error: request for member ‘components’ in something not a structure or union
gen7_mfd.c:1941:27: error: request for member ‘components’ in something not a structure or union

Possible mismatch with required x11-libs/libva version? (I have libva-1.1.0 installed which has subsequently been removed from the ebuilds.)
Comment 1 Andreas Sturmlechner gentoo-dev 2012-08-20 20:56:26 UTC
... just why?

See this:

$ equery d libva
 * These packages depend on libva
...
x11-libs/libva-intel-driver-1.0.18-r1 (>=x11-libs/libva-1.0.16)
Comment 2 Andreas Sturmlechner gentoo-dev 2012-08-20 20:58:08 UTC
Sorry, I forgot to mention that because of some upstream funnyness 1.0.16 is actually newer than 1.1.0.
Comment 3 Karl Newman 2012-08-20 21:40:35 UTC
Thanks, that fixed it. I emerged x11-libs/libva-1.0.16 and then x11-libs/libva-intel-driver-1.0.18-r1 emerged just fine.

I normally try to avoid downgrading (which this appeared to be) and I figured the libva-1.1.0 ebuild would be replaced or upgraded shortly following its removal, but I didn't know about the upstream version sillyness.
Comment 4 Andreas Sturmlechner gentoo-dev 2012-08-22 06:15:17 UTC
I also do that sometimes, but an additional 'equery c <package>' doesn't hurt to gather some info about the nature of a mask/removal.
Comment 5 Karl Newman 2012-08-22 13:17:47 UTC
That's a completely awesome command. I've always hunted up the ChangeLog manually. I've been using Gentoo for 7 years and I'm still learning things... Thanks!