kde-base/kopete-4.10.5 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.5 >>> Emerging (1 of 1) kde-base/kopete-4.10.5 * kdenetwork-4.10.5.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... * Unpacking parts of kdenetwork-4.10.5.tar.xz to /var/tmp/portage/kde-base/kopete-4.10.5/work ... tar extract command failed at least partially - continuing anyway [ ok ] >>> Source unpacked in /var/tmp/portage/kde-base/kopete-4.10.5/work >>> Preparing source in /var/tmp/portage/kde-base/kopete-4.10.5/work/kopete-4.10.5 ... * Applying user patches from /etc/portage/patches//kde-base/kopete ... * kopete-4.10.3-fix-deprecated-v4l-controls.patch ... * Failed Patch: kopete-4.10.3-fix-deprecated-v4l-controls.patch ! * ( /etc/portage/patches//kde-base/kopete/kopete-4.10.3-fix-deprecated-v4l-controls.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/kde-base/kopete-4.10.5/temp/kopete-4.10.3-fix-deprecated-v4l-controls.patch.out * ERROR: kde-base/kopete-4.10.5 failed (prepare phase): * Failed Patch: kopete-4.10.3-fix-deprecated-v4l-controls.patch! * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 4544: Called kde4-meta_src_prepare * environment, line 3650: Called kde4-base_src_prepare * environment, line 3304: Called base_src_prepare * environment, line 1147: Called epatch_user * environment, line 2161: Called epatch * environment, line 2134: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of `emerge --info '=kde-base/kopete-4.10.5'`, * the complete build log and the output of `emerge -pqv '=kde-base/kopete-4.10.5'`. * The complete build log is located at '/var/tmp/portage/kde-base/kopete-4.10.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kopete-4.10.5/temp/environment'. * Working directory: '/var/tmp/portage/kde-base/kopete-4.10.5/work/kopete-4.10.5' * S: '/var/tmp/portage/kde-base/kopete-4.10.5/work/kopete-4.10.5' >>> Failed to emerge kde-base/kopete-4.10.5, Log file: >>> '/var/tmp/portage/kde-base/kopete-4.10.5/temp/build.log' * * The following package has failed to build or install: * * (kde-base/kopete-4.10.5::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/kde-base/kopete-4.10.5/temp/build.log cat /var/tmp/portage/kde-base/kopete-4.10.5/temp/kopete-4.10.3-fix-deprecated-v4l-controls.patch.out ***** kopete-4.10.3-fix-deprecated-v4l-controls.patch ***** PWD: /var/tmp/portage/kde-base/kopete-4.10.5/work/kopete-4.10.5 =========================================================== PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < '/etc/portage/patches//kde-base/kopete/kopete-4.10.3-fix-deprecated-v4l-controls.patch' =========================================================== checking file kopete/libkopete/avdevice/videodevice.cpp Hunk #1 FAILED at 3061. 1 out of 1 hunk FAILED patch program exited with status 1 =========================================================== PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < '/etc/portage/patches//kde-base/kopete/kopete-4.10.3-fix-deprecated-v4l-controls.patch' =========================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- kopete/libkopete/avdevice/videodevice.cpp 2013-04-10 19:30:51.373516338 +0200 |+++ kopete/libkopete/avdevice/videodevice.cpp 2013-05-07 10:47:09.310499344 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patch program exited with status 1 =========================================================== PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < '/etc/portage/patches//kde-base/kopete/kopete-4.10.3-fix-deprecated-v4l-controls.patch' =========================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- kopete/libkopete/avdevice/videodevice.cpp 2013-04-10 19:30:51.373516338 +0200 |+++ kopete/libkopete/avdevice/videodevice.cpp 2013-05-07 10:47:09.310499344 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patch program exited with status 1 =========================================================== PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < '/etc/portage/patches//kde-base/kopete/kopete-4.10.3-fix-deprecated-v4l-controls.patch' =========================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- kopete/libkopete/avdevice/videodevice.cpp 2013-04-10 19:30:51.373516338 +0200 |+++ kopete/libkopete/avdevice/videodevice.cpp 2013-05-07 10:47:09.310499344 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patch program exited with status 1 =========================================================== PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < '/etc/portage/patches//kde-base/kopete/kopete-4.10.3-fix-deprecated-v4l-controls.patch' =========================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- kopete/libkopete/avdevice/videodevice.cpp 2013-04-10 19:30:51.373516338 +0200 |+++ kopete/libkopete/avdevice/videodevice.cpp 2013-05-07 10:47:09.310499344 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patch program exited with status 1 Same as in this "solved for 4.10.3" bug: https://bugs.gentoo.org/show_bug.cgi?id=468844 Best, Andy.
(In reply to Randy Andy from comment #0) > * Applying user patches from /etc/portage/patches//kde-base/kopete ... > * kopete-4.10.3-fix-deprecated-v4l-controls.patch ... Please remove this and try again, the patch was merged upstream.
Uups... Me make fire, me build server, me apply patches and forget all about that. Read the output but doesn't reflect that this mentioned user was me - ha! Many thanks for your fast reply, Michael. Build and works fine now, without this outdated patch. So please close the report and forget it too ;-) Best, Andy.