Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476090 - kde-base/kopete-4.10.5[v4l] fails to build with recent kernels
Summary: kde-base/kopete-4.10.5[v4l] fails to build with recent kernels
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-07 18:03 UTC by Randy Andy
Modified: 2013-07-08 19:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Andy 2013-07-07 18:03:47 UTC
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.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2013-07-07 18:05:45 UTC
(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.
Comment 2 Randy Andy 2013-07-07 18:26:48 UTC
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.