kde-base/kopete-4.10.3 with v4l USE flag fails to build with kernel 3.9 and kernel headers 3.9. The errors are caused by undeclared V4L2 constants which have been removed since kernel 3.7. Reproducible: Always Steps to Reproduce: 1. emerge kde-base/kopete-4.10.3 Actual Results: Compilation fails with an error: /var/tmp/portage/kde-base/kopete-4.10.3/work/kopete-4.10.3/kopete/libkopete/avdevice/videodevice.cpp: In member function 'const char* Kopete::AV::VideoDevice::getUnifiedV4L2StdCtrlName(quint32)': /var/tmp/portage/kde-base/kopete-4.10.3/work/kopete-4.10.3/kopete/libkopete/avdevice/videodevice.cpp:3064:8: error: 'V4L2_CID_HCENTER' was not declared in this scope /var/tmp/portage/kde-base/kopete-4.10.3/work/kopete-4.10.3/kopete/libkopete/avdevice/videodevice.cpp:3065:8: error: 'V4L2_CID_VCENTER' was not declared in this scope Expected Results: Should build and install without errors. I also filed an upstream bug for the issue (see URL).
Created attachment 347580 [details, diff] Patch to make deprecated V4L2 controls in Kopete optional This is the patch I attached to the upstream bug.
Created attachment 347582 [details] build.log
*** Bug 468858 has been marked as a duplicate of this bug. ***
I have filed a review request upstream for this patch.
same problem here
Thanks, a slightly modified patch was merged upstream and backported in CVS. + 10 May 2013; Michael Palimaka <kensington@gentoo.org> + +files/kopete-4.10.3-v4l.patch, kopete-4.10.3.ebuild: + Backport patch from upstream to fix build with USE="v4l" and Linux 3.9, wrt + bug #468844. http://websvn.kde.org/?view=revision&revision=1353735 http://websvn.kde.org/?view=revision&revision=1353736