Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468618 - media-plugins/gst-plugins-v4l2-0.10.31 fails recompile after libv4l-0.9.5
Summary: media-plugins/gst-plugins-v4l2-0.10.31 fails recompile after libv4l-0.9.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-04 22:23 UTC by Ulenrich
Modified: 2014-03-18 22:44 UTC (History)
6 users (show)

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


Attachments
Upstream patch posted by Rafał Mużyło http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=8e633d2059cb835448021cf79becb487aff10975 (v4l_fix_kernel-3.9.patch,417 bytes, patch)
2013-05-11 10:15 UTC, Patrick Orth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulenrich 2013-05-04 22:23:17 UTC
failed after
linux-headers-3.9
media-libs/libv4l-0.9.5
(thought there is libv4l-0.9.5-r1, but I didn't get it)

with last message:
------------------
libtool: compile:  x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wold-style-definition -Waggregate-return -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=native -O3 -pipe -Wno-unused-variable -Wno-unused-result -c v4l2src_calls.c  -fPIC -DPIC -o .libs/libgstvideo4linux2_la-v4l2src_calls.o
v4l2_calls.c: In function 'gst_v4l2_fill_lists':
v4l2_calls.c:297:12: error: 'V4L2_CID_HCENTER_DEPRECATED' undeclared (first use in this function)
v4l2_calls.c:297:12: note: each undeclared identifier is reported only once for each function it appears in
v4l2_calls.c:298:12: error: 'V4L2_CID_VCENTER_DEPRECATED' undeclared (first use in this function)
make: *** [libgstvideo4linux2_la-v4l2_calls.lo] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
 * ERROR: media-plugins/gst-plugins-v4l2-0.10.31 failed (compile phase):
 *   emake failed
-----------

I do have total current~unstable~amd64
and ffmpeg-1.2 and boost-1.53
Comment 1 Ulenrich 2013-05-04 22:42:03 UTC
I wonder: I have gstreamer-1 installed in hope of packages taking advantage of it, but:
--------------
emerge -p --depclean media-plugins/gst-plugins-v4l2

Calculating dependencies  . .... done!
  media-plugins/gst-plugins-v4l2-0.10.31 pulled in by:
    media-plugins/gst-plugins-meta-0.10-r8 requires media-plugins/gst-plugins-v4l2:0.10
    net-im/ktp-call-ui-0.6.1 requires media-plugins/gst-plugins-v4l2:0.10

>>> Calculating removal order...

>>> These are the packages that would be unmerged:

 media-plugins/gst-plugins-v4l2
    selected: 1.0.6 
   protected: none 
     omitted: 0.10.31 

All selected packages: media-plugins/gst-plugins-v4l2-1.0.6
--------------
media-plugins/gst-plugins-v4l2-1.0.6
got recompiled without problems.

Isn't this a bug for net-im/ktp-call-ui-0.6.1
which should take gstreamer-1
Comment 2 Rafał Mużyło 2013-05-05 04:40:04 UTC
This seems to be a matter of the following commit: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=8e633d2059cb835448021cf79becb487aff10975

Obviously, for 0.10 slot, the patch will need to be backported and checked.
Comment 3 Patrick Orth 2013-05-11 10:15:22 UTC
Created attachment 347974 [details, diff]
Upstream patch posted by Rafał Mużyło http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=8e633d2059cb835448021cf79becb487aff10975

Confirmed compiling aganist media-plugins/gst-plugins-v4l2-0.10.31
Comment 4 Ulenrich 2013-05-17 13:42:30 UTC
I can confirm applying patch of
https://bugs.gentoo.org/show_bug.cgi?id=468618#c3

media-plugins/gst-plugins-v4l2-0.10.31
compiles without issue
Comment 5 David Heidelberg (okias) 2013-05-31 11:13:33 UTC
confirmed on ~amd64.

Fixed in ixit overlay.

You can test it by "layman -a ixit" and install gst-plugins-v4l2 again.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2013-06-01 10:59:14 UTC
+  01 Jun 2013; Samuli Suominen <ssuominen@gentoo.org>
+  gst-plugins-v4l2-0.10.31.ebuild,
+  +files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch:
+  Fix building with linux-headers >= 3.9 wrt #468618 using upstream patch by
+  Rafał Mużyło and "Ulenrich"