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

Bug 437820

Summary: media-plugins/gst-plugins-v4l2 doesn`t compile with newer Kernel-Headers-Package
Product: Gentoo Linux Reporter: Oliver Kleinecke <okleinecke>
Component: [OLD] GNOMEAssignee: GStreamer package maintainers <gstreamer>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for gst-plugins-v4l2-0.10.30/work/gst-plugins-good-0.10.30/sys/v4l2/gstv4l2bufferpool.c to compile with newer kernel-headers-package installed

Description Oliver Kleinecke 2012-10-10 11:09:53 UTC
Created attachment 326180 [details]
patch for gst-plugins-v4l2-0.10.30/work/gst-plugins-good-0.10.30/sys/v4l2/gstv4l2bufferpool.c to compile with newer kernel-headers-package installed

During world update, media-plugins/gst-plugins-v4l2-0.10.30 failes to compile, if Kernel-Headers package installed is newer than (unknown) specific-version.

Patch attached, but patch shouldn`t be applied if not necessary, so conditions for patching will have to be added to ebuild and I have no clue how to do this ;).
Comment 1 Oliver Kleinecke 2012-10-10 11:16:53 UTC
emerge output (shortened) :

 * Building system plugin v4l2 ...
make -j3 
  CC     libgstvideo4linux2_la-gstv4l2.lo
  CC     libgstvideo4linux2_la-gstv4l2colorbalance.lo
  CC     libgstvideo4linux2_la-gstv4l2object.lo
  CC     libgstvideo4linux2_la-gstv4l2bufferpool.lo
  CC     libgstvideo4linux2_la-gstv4l2src.lo
gstv4l2bufferpool.c: In function 'gst_v4l2_buffer_new':
gstv4l2bufferpool.c:183:3: error: 'struct v4l2_buffer' has no member named 'input'
make: *** [libgstvideo4linux2_la-gstv4l2bufferpool.lo] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
emake failed
 * ERROR: media-plugins/gst-plugins-v4l2-0.10.30 failed (compile phase):
 *   compile failure
 * 
 * Call stack:
 *     ebuild.sh, line   89:  Called src_compile
 *   environment, line 2194:  Called gst-plugins-good_src_compile
 *   environment, line 1526:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 * 
 * If you need support, post the output of `emerge --info '=media-plugins/gst-plugins-v4l2-0.10.30'`,
 * the complete build log and the output of `emerge -pqv '=media-plugins/gst-plugins-v4l2-0.10.30'`.
 * This ebuild is from an overlay named 'local_overlay': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/media-plugins/gst-plugins-v4l2-0.10.30/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-plugins/gst-plugins-v4l2-0.10.30/temp/environment'.
 * Working directory: '/var/tmp/portage/media-plugins/gst-plugins-v4l2-0.10.30/work/gst-plugins-good-0.10.30/sys/v4l2'
 * S: '/var/tmp/portage/media-plugins/gst-plugins-v4l2-0.10.30/work/gst-plugins-good-0.10.30'



patch and information from taken from http://patches.openembedded.org/patch/35979/
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-10 11:31:08 UTC

*** This bug has been marked as a duplicate of bug 437012 ***