Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 437452

Summary: kde-base/kdelibs-4.9.49.9999 fails to build
Product: Gentoo Linux Reporter: Mieszko Ślusarczyk <mieszkoslusarczyk>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: creffett
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mieszko Ślusarczyk 2012-10-06 22:59:09 UTC
kde-base/kdelibs-4.9.49.9999 fails to build, kdelibs-4.8.4-bytecode.patch not applying.

Reproducible: Always

Steps to Reproduce:
1. emerge -av =kde-base/kdelibs-4.9.49.9999

Actual Results:  
 ERROR: kde-base/kdelibs-4.9.49.9999 failed (prepare phase):
 *   Failed Patch: kdelibs-4.8.4-bytecode.patch!


* Applying kdelibs-4.8.4-bytecode.patch ...

 * Failed Patch: kdelibs-4.8.4-bytecode.patch !
 *  ( /var/lib/layman/kde/kde-base/kdelibs/files/kdelibs-4.8.4-bytecode.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/kde-base/kdelibs-4.9.49.9999/temp/kdelibs-4.8.4-bytecode.patch.out

 * ERROR: kde-base/kdelibs-4.9.49.9999 failed (prepare phase):
 *   Failed Patch: kdelibs-4.8.4-bytecode.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   89:  Called src_prepare
 *   environment, line 4346:  Called kde4-base_src_prepare
 *   environment, line 3448:  Called base_src_prepare
 *   environment, line 1078:  Called epatch '/var/lib/layman/kde/kde-base/kdelibs/files/kdelibs-4.8.4-bytecode.patch'
 *   environment, line 2037:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=kde-base/kdelibs-4.9.49.9999'`,
 * the complete build log and the output of `emerge -pqv '=kde-base/kdelibs-4.9.49.9999'`.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/kde/eclass/kde4-base.eclass
 *   /var/lib/layman/kde/eclass/kde4-functions.eclass
 *   /var/lib/layman/kde/eclass/cmake-utils.eclass
 * This ebuild is from an overlay named 'kde': '/var/lib/layman/kde/'
 * The complete build log is located at '/var/tmp/portage/kde-base/kdelibs-4.9.49.9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.9.49.9999/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-base/kdelibs-4.9.49.9999/work/kdelibs-4.9.49.9999'
 * S: '/var/tmp/portage/kde-base/kdelibs-4.9.49.9999/work/kdelibs-4.9.49.9999'

>>> Failed to emerge kde-base/kdelibs-4.9.49.9999, Log file:

>>>  '/var/tmp/portage/kde-base/kdelibs-4.9.49.9999/temp/build.log'

 * Messages for package kde-base/kdelibs-4.9.49.9999:

 * Failed Patch: kdelibs-4.8.4-bytecode.patch !
 *  ( /var/lib/layman/kde/kde-base/kdelibs/files/kdelibs-4.8.4-bytecode.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/kde-base/kdelibs-4.9.49.9999/temp/kdelibs-4.8.4-bytecode.patch.out
 * ERROR: kde-base/kdelibs-4.9.49.9999 failed (prepare phase):
 *   Failed Patch: kdelibs-4.8.4-bytecode.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   89:  Called src_prepare
 *   environment, line 4346:  Called kde4-base_src_prepare
 *   environment, line 3448:  Called base_src_prepare
 *   environment, line 1078:  Called epatch '/var/lib/layman/kde/kde-base/kdelibs/files/kdelibs-4.8.4-bytecode.patch'
 *   environment, line 2037:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=kde-base/kdelibs-4.9.49.9999'`,
 * the complete build log and the output of `emerge -pqv '=kde-base/kdelibs-4.9.49.9999'`.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/kde/eclass/kde4-base.eclass
 *   /var/lib/layman/kde/eclass/kde4-functions.eclass
 *   /var/lib/layman/kde/eclass/cmake-utils.eclass
 * This ebuild is from an overlay named 'kde': '/var/lib/layman/kde/'
 * The complete build log is located at '/var/tmp/portage/kde-base/kdelibs-4.9.49.9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.9.49.9999/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-base/kdelibs-4.9.49.9999/work/kdelibs-4.9.49.9999'
 * S: '/var/tmp/portage/kde-base/kdelibs-4.9.49.9999/work/kdelibs-4.9.49.9999'


# cat /var/tmp/portage/kde-base/kdelibs-4.9.49.9999/temp/kdelibs-4.8.4-bytecode.patch.out
***** kdelibs-4.8.4-bytecode.patch *****
PWD: /var/tmp/portage/kde-base/kdelibs-4.9.49.9999/work/kdelibs-4.9.49.9999

========================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/var/lib/layman/kde/kde-base/kdelibs/files/kdelibs-4.8.4-bytecode.patch'

========================================
patching file cmake/modules/PythonMacros.cmake
Hunk #1 FAILED at 24.
1 out of 1 hunk FAILED -- saving rejects to file cmake/modules/PythonMacros.cmake.rej

patch program exited with status 1
========================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/var/lib/layman/kde/kde-base/kdelibs/files/kdelibs-4.8.4-bytecode.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:
--------------------------
|--- cmake/modules/PythonMacros.cmake.orig	2012-05-31 23:28:04.035788719 +0200
|+++ cmake/modules/PythonMacros.cmake	2012-05-31 23:30:13.997840354 +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  < '/var/lib/layman/kde/kde-base/kdelibs/files/kdelibs-4.8.4-bytecode.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:
--------------------------
|--- cmake/modules/PythonMacros.cmake.orig	2012-05-31 23:28:04.035788719 +0200
|+++ cmake/modules/PythonMacros.cmake	2012-05-31 23:30:13.997840354 +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  < '/var/lib/layman/kde/kde-base/kdelibs/files/kdelibs-4.8.4-bytecode.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:
--------------------------
|--- cmake/modules/PythonMacros.cmake.orig	2012-05-31 23:28:04.035788719 +0200
|+++ cmake/modules/PythonMacros.cmake	2012-05-31 23:30:13.997840354 +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  < '/var/lib/layman/kde/kde-base/kdelibs/files/kdelibs-4.8.4-bytecode.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:
--------------------------
|--- cmake/modules/PythonMacros.cmake.orig	2012-05-31 23:28:04.035788719 +0200
|+++ cmake/modules/PythonMacros.cmake	2012-05-31 23:30:13.997840354 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
Comment 1 Chris Reffett (RETIRED) gentoo-dev Security 2012-10-06 23:08:30 UTC

*** This bug has been marked as a duplicate of bug 437410 ***