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
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
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.
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
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
confirmed on ~amd64. Fixed in ixit overlay. You can test it by "layman -a ixit" and install gst-plugins-v4l2 again.
+ 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"