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

Bug 473576

Summary: dev-util/cmake-2.8.10.2-r2 - Failed Patch: cmake-2.8.10.2-FindPythonLibs.patch !
Product: Gentoo Linux Reporter: Andre Helwig <a.helwig>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: environment

Description Andre Helwig 2013-06-17 10:55:56 UTC
Created attachment 351200 [details]
environment

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-util/cmake-2.8.10.2-r2
>>> Failed to emerge dev-util/cmake-2.8.10.2-r2, Log file:
>>>  '/var/tmp/portage/dev-util/cmake-2.8.10.2-r2/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.46, 0.17, 0.12
 * Package:    dev-util/cmake-2.8.10.2-r2
 * Repository: gentoo
 * Maintainer: kde@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   sandbox
 * Applying cmake-2.6.3-fix_broken_lfs_on_aix.patch ...
 [ ok ]
 * Applying cmake-2.6.3-no-duplicates-in-rpath.patch ...
 [ ok ]
 * Applying cmake-2.8.0-darwin-default-install_name.patch ...
 [ ok ]
 * Applying cmake-2.8.7-FindBLAS.patch ...
 [ ok ]
 * Applying cmake-2.8.7-FindBoost-python.patch ...
 [ ok ]
 * Applying cmake-2.8.7-FindLAPACK.patch ...
 [ ok ]
 * Applying cmake-2.8.8-FindPkgConfig.patch ...
 [ ok ]
 * Applying cmake-2.8.10-darwin-bundle.patch ...
 [ ok ]
 * Applying cmake-2.8.10-darwin-isysroot.patch ...
 [ ok ]
 * Applying cmake-2.8.10-desktop.patch ...
 [ ok ]
 * Applying cmake-2.8.10-libform.patch ...
 [ ok ]
 * Applying cmake-2.8.10-more-no_host_paths.patch ...
 [ ok ]
 * Applying cmake-2.8.10.2-FindPythonInterp.patch ...
 [ ok ]
 * Applying cmake-2.8.10.2-FindPythonLibs.patch ...

 * Failed Patch: cmake-2.8.10.2-FindPythonLibs.patch !
 *  ( /usr/portage/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-util/cmake-2.8.10.2-r2/temp/cmake-2.8.10.2-FindPythonLibs.patch.out

 * ERROR: dev-util/cmake-2.8.10.2-r2 failed (prepare phase):
 *   Failed Patch: cmake-2.8.10.2-FindPythonLibs.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3175:  Called cmake-utils_src_prepare
 *   environment, line  770:  Called _execute_optionaly 'src_prepare'
 *   environment, line  258:  Called enable_cmake-utils_src_prepare
 *   environment, line 1275:  Called base_src_prepare
 *   environment, line  632:  Called epatch '/usr/portage/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch'
 *   environment, line 1711:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=dev-util/cmake-2.8.10.2-r2'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/cmake-2.8.10.2-r2'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/cmake-2.8.10.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-2.8.10.2-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/cmake-2.8.10.2-r2/work/cmake-2.8.10.2'
 * S: '/var/tmp/portage/dev-util/cmake-2.8.10.2-r2/work/cmake-2.8.10.2'

 * Messages for package dev-util/cmake-2.8.10.2-r2:

 * Failed Patch: cmake-2.8.10.2-FindPythonLibs.patch !
 *  ( /usr/portage/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-util/cmake-2.8.10.2-r2/temp/cmake-2.8.10.2-FindPythonLibs.patch.out
 * ERROR: dev-util/cmake-2.8.10.2-r2 failed (prepare phase):
 *   Failed Patch: cmake-2.8.10.2-FindPythonLibs.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3175:  Called cmake-utils_src_prepare
 *   environment, line  770:  Called _execute_optionaly 'src_prepare'
 *   environment, line  258:  Called enable_cmake-utils_src_prepare
 *   environment, line 1275:  Called base_src_prepare
 *   environment, line  632:  Called epatch '/usr/portage/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch'
 *   environment, line 1711:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=dev-util/cmake-2.8.10.2-r2'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/cmake-2.8.10.2-r2'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/cmake-2.8.10.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-2.8.10.2-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/cmake-2.8.10.2-r2/work/cmake-2.8.10.2'
 * S: '/var/tmp/portage/dev-util/cmake-2.8.10.2-r2/work/cmake-2.8.10.2'

Portage 2.1.11.62 (default/linux/amd64/13.0, gcc-4.4.5, glibc-2.11.3, 2.6.18-028stab091.2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.18-028stab091.2-x86_64-Intel-R-_Xeon-R-_CPU_E5620_@_2.40GHz-with-gentoo-2.0.3
KiB Mem:     2097152 total,   1230636 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 05 Jun 2013 13:45:01 +0000
ld GNU ld (GNU Binutils) 2.21.1
app-shells/bash:          4.2_p37
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1, 3.2.3-r2
dev-util/cmake:           2.8.4
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.2
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1, 1.12.6
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.11.3
Repositories: gentoo x-sys11-portage-overlay x-portage x-portage_puppetfree
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /sbin/rc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sys11-portage-overlay /usr/local/portage /usr/local/portage_puppetfree"
SYNC="rsync://rsync.syseleven.de/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-17 11:04:43 UTC
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-util/cmake-2.8.10.2-r2/temp/cmake-2.8.10.2-FindPythonLibs.patch.out

Please do...
Comment 2 Andre Helwig 2013-06-17 11:10:07 UTC
***** cmake-2.8.10.2-FindPythonLibs.patch *****
PWD: /var/tmp/portage/dev-util/cmake-2.8.10.2-r2/work/cmake-2.8.10.2

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

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch'

===============================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
|index bffa9fb..8fc90ee 100644
|--- a/Modules/FindPythonLibs.cmake
|+++ b/Modules/FindPythonLibs.cmake
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

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

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch'

===============================================
patching file Modules/FindPythonLibs.cmake
Hunk #1 FAILED at 74.
1 out of 1 hunk FAILED -- saving rejects to file Modules/FindPythonLibs.cmake.rej

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

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch'

===============================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
|index bffa9fb..8fc90ee 100644
|--- a/Modules/FindPythonLibs.cmake
|+++ b/Modules/FindPythonLibs.cmake
--------------------------
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  < '/usr/portage/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch'

===============================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
|index bffa9fb..8fc90ee 100644
|--- a/Modules/FindPythonLibs.cmake
|+++ b/Modules/FindPythonLibs.cmake
--------------------------
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  < '/usr/portage/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch'

===============================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
|index bffa9fb..8fc90ee 100644
|--- a/Modules/FindPythonLibs.cmake
|+++ b/Modules/FindPythonLibs.cmake
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2013-06-17 21:22:36 UTC

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