Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246474 - kdelibs-4.1.3 compilation error
Summary: kdelibs-4.1.3 compilation error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 11:18 UTC by Valery Novikov
Modified: 2008-11-12 11:36 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 Valery Novikov 2008-11-12 11:18:32 UTC
kde-base/kdelibs-4.1.3-r1 compilation fails after apply kdelibs-4.1.1-cmake-modules.patch patch.

Reproducible: Always

Steps to Reproduce:
1. emerge -1 =kde-base/kdelibs-4.1.3-r1

Actual Results:  
>>> Emerging (1 of 21) kde-base/kdelibs-4.1.3-r1
 * kdelibs-4.1.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                 [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking kdelibs-4.1.3.tar.bz2 to /var/tmp/portage/kde-base/kdelibs-4.1.3-r1/work
 * Applying kdelibs-4.1.1-cmake-modules.patch ...                                                                            [ ok ]
 * Applying 4.1.3-cmake-config.patch ...                                                                                     [ ok ]
>>> Source unpacked.
 * Applying kdelibs-4.1.1-cmake-modules.patch ...

 * Failed Patch: kdelibs-4.1.1-cmake-modules.patch !
 * ( /usr/portage/kde-base/kdelibs/files/kdelibs-4.1.1-cmake-modules.patch )
 *
 * Include in your bugreport the contents of:
 *
 * /var/tmp/portage/kde-base/kdelibs-4.1.3-r1/temp/kdelibs-4.1.1-cmake-modules.patch-5172.out


Expected Results:  
Package should be compiled successfully.

Begin of "out" file:

***** kdelibs-4.1.1-cmake-modules.patch *****

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

PATCH COMMAND:   patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/kde-base/kdelibs/files/kdelibs-4.1.1-cmake-modules.patch

=============================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur a/cmake/modules/FindKdcraw.cmake b/cmake/modules/FindKdcraw.cmake
|--- a/cmake/modules/FindKdcraw.cmake   2008-05-21 13:06:10.000000000 +0200
|+++ b/cmake/modules/FindKdcraw.cmake   2008-09-22 16:33:42.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 30
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur a/cmake/modules/FindKexiv2.cmake b/cmake/modules/FindKexiv2.cmake
|--- a/cmake/modules/FindKexiv2.cmake   2008-05-21 13:06:10.000000000 +0200
|+++ b/cmake/modules/FindKexiv2.cmake   2008-09-22 16:32:47.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 56
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur a/cmake/modules/FindKipi.cmake b/cmake/modules/FindKipi.cmake
|--- a/cmake/modules/FindKipi.cmake     2008-05-21 13:06:10.000000000 +0200
|+++ b/cmake/modules/FindKipi.cmake     2008-09-22 16:21:37.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=============================================

PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/kde-base/kdelibs/files/kdelibs-4.1.1-cmake-modules.patch

=============================================
patching file cmake/modules/FindKdcraw.cmake
Hunk #1 FAILED at 69.


# emerge --info:

devel0per@island ~ $ emerge --info
Portage 2.2_rc12 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-i686-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.0
Timestamp of tree: Wed, 12 Nov 2008 08:07:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru uk"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlays/layman/sunrise /usr/local/portage/overlays/layman/kde-crazy /usr/local/portage/overlays/layman/java-overlay /usr/local/portage/overlays/layman/webapps-experimental /usr/local/portage/overlays/layman/gentopia /usr/local/portage/overlays/layman/wschlich-testing /usr/local/portage/overlays/personal-general /usr/local/portage/overlays/personal-kde4"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus directfb djvu dri dvd dvdr dvdread emboss encode esd evo exif fam fbcon flac fortran gdbm gif gpm gstreamer hal htmlhandbook iconv icq ieee1394 ipv6 isdnlog java jpeg kde kdeprefix kipi kqemu laptop ldap libnotify lm_sensors mad maildir midi mikmod mmx mmx2 mmxext mp3 mpeg mplayer mudflap ncurses networkmanager nls nptl nptlonly nvidia obex ogg opengl openmp pam pcre pdf perl png ppds pppd python qt qt3support qt4 quicktime readline reflection samba sdl session slang spell spl sqlite sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcpd tiff truetype unicode usb userlocales v4l v4l2 vim-syntax vorbis wifi win32codecs x264 x86 xcb xcomposite xml xorg xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru uk" USERLAND="GNU" VIDEO_CARDS="i810 i915 intel nvidia vesa nv v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Valery Novikov 2008-11-12 11:36:14 UTC
I am sorry to trouble you guys. Bug was because old versions of kde eclasses in my local overlay.

Sorry again.