Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437012 - media-plugins/gst-plugins-v4l2 with sys-kernel/linux-headers-3.6.0 - In function 'gst_v4l2_buffer_new': gstv4l2bufferpool.c:183:3: error: 'struct v4l2_buffer' has no member named 'input'
Summary: media-plugins/gst-plugins-v4l2 with sys-kernel/linux-headers-3.6.0 - In funct...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: GStreamer package maintainers
URL: http://patches.openembedded.org/patch...
Whiteboard:
Keywords: PATCH
: 437820 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-02 20:00 UTC by Jason Lamb
Modified: 2012-10-23 17:15 UTC (History)
12 users (show)

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


Attachments
gst-plugins-v4l2-build-log.txt (gst-plugins-v4l2-build-log.txt,26.68 KB, text/plain)
2012-10-02 20:01 UTC, Jason Lamb
Details
emerge --info (gst-plugins-v4l2-emerge-info.txt,5.18 KB, text/plain)
2012-10-02 20:01 UTC, Jason Lamb
Details
emerge --info '=media-plugins/gst-plugins-v4l2-0.10.30' (emerge-info,4.64 KB, text/plain)
2012-10-07 21:48 UTC, Yuriy V
Details
emerge --info (again, per comment #6) (file_437012.txt,4.64 KB, text/plain)
2012-10-08 03:02 UTC, Scott M.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Lamb 2012-10-02 20:00:31 UTC
Current in tree versions of media-plugins/gst-plugins-v4l2 will not build against linux-headers-3.6.0. Fails during the building of the system plugin v4l2, with the following error, "gstv4l2bufferpool.c:183:3: error: 'struct v4l2_buffer' has no member named 'input'" Builds fine against linux-headers-3.5.0.

Reproducible: Always
Comment 1 Jason Lamb 2012-10-02 20:01:32 UTC
Created attachment 325550 [details]
gst-plugins-v4l2-build-log.txt
Comment 2 Jason Lamb 2012-10-02 20:01:51 UTC
Created attachment 325552 [details]
emerge --info
Comment 3 Jason Lamb 2012-10-02 20:02:31 UTC
Patch fixing this issue is at;

http://patches.openembedded.org/patch/35979/


Thanks,

Jason
Comment 4 Chris Smith 2012-10-03 13:57:24 UTC
Confirming. Same problem here.
Comment 5 Ray Griffin (rorgoroth) 2012-10-07 11:28:28 UTC
Another confirm here.
Comment 6 Yuriy V 2012-10-07 21:48:32 UTC
Created attachment 325948 [details]
emerge --info '=media-plugins/gst-plugins-v4l2-0.10.30'

Same here
Comment 7 Scott M. 2012-10-08 03:02:01 UTC
Created attachment 325964 [details]
emerge --info (again, per comment #6)
Comment 8 Scott M. 2012-10-08 04:02:02 UTC
It doesn't build with 3.4.9 headers either. Same error.
Comment 9 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-10 11:31:08 UTC
*** Bug 437820 has been marked as a duplicate of this bug. ***
Comment 10 G.Wolfe Woodbury 2012-10-17 23:18:12 UTC
What happened:
  with the advent of kernel 3.6.x, the video4linux buffer structure v4l2_buffer
was changed to *remove* the .input member;  it became, to maintain size compatibility, .reserved2

  the patch for gst-plugins-v4l2 merely removes the .input reference from a
debugging dump of the buffer.  The .input member is never referenced otherwise.

  May I recommend that the patch be applied to gst-plugins-v4l2-0.10.30 as an
-r1 and marked for unstable systems (especially ~amd64 and ~x86)
Comment 11 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-23 17:15:53 UTC
Thanks for reporting; fixed in cvs in gst-plugins-v4l2-0.10.30 and 0.10.31.