Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374563 - kde-base/libkdeedu-4.6.5 build fails
Summary: kde-base/libkdeedu-4.6.5 build fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 371355 372331 374609 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-09 17:14 UTC by Vasilis Lourdas
Modified: 2011-07-10 18:21 UTC (History)
22 users (show)

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


Attachments
kde4-meta.eclass.patch (kde4-meta.eclass.patch,1.15 KB, text/plain)
2011-07-10 12:33 UTC, Andreas Proteus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasilis Lourdas 2011-07-09 17:14:44 UTC
>>> Unpacking source...
 * Unpacking parts of kdeedu-4.6.5.tar.bz2 to /var/tmp/portage/kde-base/libkdeedu-4.6.5/work ...
tar extract command failed at least partially - continuing anyway                                                [ ok ]
>>> Source unpacked in /var/tmp/portage/kde-base/libkdeedu-4.6.5/work
>>> Preparing source in /var/tmp/portage/kde-base/libkdeedu-4.6.5/work/libkdeedu-4.6.5 ...
find: `/var/tmp/portage/kde-base/libkdeedu-4.6.5/work/libkdeedu-4.6.5/cmake/modules/': No such file or directory
sed: no input files
 * ERROR: kde-base/libkdeedu-4.6.5 failed (prepare phase):
 *   3323: sed died uncommenting add_subdirectory instructions in KMEXTRA section while processing cmake/modules/
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 4406:  Called kde4-meta_src_prepare
 *   environment, line 3594:  Called kde4-meta_change_cmakelists
 *   environment, line 3323:  Called die
 * The specific snippet of code:
 *           find "${S}"/${i} -name CMakeLists.txt -print0 | xargs -0 sed -i -e 's/^#DONOTCOMPILE //g' || die "${LINENO}: sed died uncommenting add_subdirectory instructions in KMEXTRA section while processing ${i}";
 * 
 * If you need support, post the output of 'emerge --info =kde-base/libkdeedu-4.6.5',
 * the complete build log and the output of 'emerge -pqv =kde-base/libkdeedu-4.6.5'.
 * The complete build log is located at '/var/tmp/portage/kde-base/libkdeedu-4.6.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/libkdeedu-4.6.5/temp/environment'.
 * S: '/var/tmp/portage/kde-base/libkdeedu-4.6.5/work/libkdeedu-4.6.5'


emerge --info

Portage 2.1.10.3 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 09 Jul 2011 16:00:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo Local-overlay-Vasilis
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm skype-eula AdobeFlash-10.1 PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=generic"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=generic"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.jamit.de/gentoo/ http://gentoo.mneisen.org/ http://ftp.ntua.gr/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://de-mirror.org/distro/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="en en_GB en_US el"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 apache2 apng archive asf bash-completion bcmath berkdb branding bzip2 bzlib cairo calendar caps cdr charconv chm cli consolekit contrast cracklib crypt css ctype cups cupsddk curl curlwrappers custom-optimization cxx dba dbus dcc_video declarative device-mapper dmi dri dts dvd dvdr dvdread ebook effects emboss encode exif expat extras faac faad fam fat fbcon ffmpeg fftw filter firefox firefox3 flac flatfile fontconfig foomaticdb ftp gcj gd gdbm gif gimp gimpprint git glib glx gmp gnomedb gnutls gocr gphoto2 gpm gtk hddtemp hotpixels howl iconv icu id3tag imagemagick imap imlib innodb inotify jabber java java6 javascript jpeg jpeg2k json kde kdehiddenvisibility kipi lame lcdfilter lcms lensfun libsamplerate libwww lm_sensors mad madwifi maildir mailwrapper maps melt mhash mime mmap mmx mmxext modules motif mozbranding mozdevelop mozilla mozsvg mp3 mp4 mpeg mpi mplayer mpm-worker mudflap multilib multiuser mysql mysqli ncurses newspr nls no-old-linux nodrm nomalloccheck nptl nptlonly ntfs ntfsprogs objc offensive ofx ogg opengl openmp optimization pam pango pcmcia pcntl pcre pdf pdo pear perl php plasma pmu png policykit posix postgres ppds pppd python qt3support qt4 quicktime rar raw rdesktop readline redeyes reiserfs reports romio ruby sasl scanner sdl semantic-desktop server session sha512 sharedext simplexml slang smp sndfile soap sockets speex spell spreadsheet sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 startup-notification subtitles subversion svg symlink sysfs syslog sysvipc tcltk tcpd templates tetex theora threads tidy tiff tokenizer tordns truetype udev unicode usb userlocales vda vdpau video vncviewer vorbis wddx webkit windeco wv wxgtk1 x264 xcomposite xetex xfs xine xml xmlreader xmlrpc xmlwriter xorg xpdf-headers xpm xprint xscreensaver xsl xulrunner xv xvid xvnc zip 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 cgi 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 version" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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" LINGUAS="en en_GB en_US el" NETBEANS_MODULES="cnd php ide nb webcommon xml gsf harness websvccommon" PHP_TARGETS="php5-2 php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 neko259 2011-07-09 17:35:32 UTC
Confirm, gentoo ~amd64.
Comment 2 Jouni Rinne 2011-07-09 18:40:58 UTC
Same here :(
Comment 3 Jouni Rinne 2011-07-09 19:09:52 UTC
Oh, and the same error when trying to build kiten-4.6.5. It seems that either the kdeedu-4.6.5 tarball or the ebuilds using it are b0rked.
Comment 4 George L. Emigh 2011-07-09 19:28:11 UTC
I doubt this fixes anything, but it compiles if I  do this

emerge -a1v libkdeedu
# wait for it to die
cd /var/tmp/portage/kde-base/libkdeedu-4.6.5/work/libkdeedu-4.6.5
mkdir -p cmake/modules
touch cmake/modules/CMakeLists.txt
cd /usr/portage/kde-base/libkdeedu
ebuild libkdeedu-4.6.5.ebuild compile

Not sure if this helps in anyway, just trying...
Comment 5 Vasilis Lourdas 2011-07-09 19:31:37 UTC
(In reply to comment #4)
> I doubt this fixes anything, but it compiles if I  do this
> 
> emerge -a1v libkdeedu
> # wait for it to die
> cd /var/tmp/portage/kde-base/libkdeedu-4.6.5/work/libkdeedu-4.6.5
> mkdir -p cmake/modules
> touch cmake/modules/CMakeLists.txt
> cd /usr/portage/kde-base/libkdeedu
> ebuild libkdeedu-4.6.5.ebuild compile
> 
> Not sure if this helps in anyway, just trying...

No, it does not work here.

To continue emerging KDE-4.6.5, I emerge by hand each -meta package, instead of kde-meta. Until now, it works.
Comment 6 Toralf Förster gentoo-dev 2011-07-09 19:37:53 UTC
(In reply to comment #4)
> I doubt this fixes anything, but it compiles if I  do this
> 
> emerge -a1v libkdeedu
> # wait for it to die
> cd /var/tmp/portage/kde-base/libkdeedu-4.6.5/work/libkdeedu-4.6.5
> mkdir -p cmake/modules
> touch cmake/modules/CMakeLists.txt
> cd /usr/portage/kde-base/libkdeedu
> ebuild libkdeedu-4.6.5.ebuild compile
> 
> Not sure if this helps in anyway, just trying...

works for me (I removed fail-clean from FEATURES before ofc. What is the next command - "ebuild install" ?
Comment 7 George L. Emigh 2011-07-09 19:58:34 UTC
I made this change to /usr/portage/eclass/kde4-meta.eclass allowed it to install, beyond that I'm not sure if it works proper. :)

# diff -u kde4-meta.eclass.orig kde4-meta.eclass
--- kde4-meta.eclass.orig       2011-07-09 15:53:52.377559723 -0400
+++ kde4-meta.eclass    2011-07-09 15:53:57.497559722 -0400
@@ -531,10 +531,12 @@
        # KMEXTRA section
        for i in ${KMEXTRA}; do
                debug-print "${LINENO}: KMEXTRA section, processing ${i}"
+               if [[ -d "${S}"/${i} ]]; then
                find "${S}"/${i} -name CMakeLists.txt -print0 | \
                        xargs -0 sed -i -e 's/^#DONOTCOMPILE //g' || \
                        die "${LINENO}: sed died uncommenting add_subdirectory instructions in KMEXTRA section while processing ${i}"
                _change_cmakelists_parent_dirs ${i}
+               fi
        done
        # KMEXTRA_NONFATAL section
        for i in ${KMEXTRA_NONFATAL}; do
Comment 8 George L. Emigh 2011-07-09 20:03:44 UTC
(In reply to comment #6)

> works for me (I removed fail-clean from FEATURES before ofc. What is the next
> command - "ebuild install" ?

with the patch applied in the next comment

emerge -a1v libkdeedu

now works, it's more a question of is it the right thing to do, I'm past the edge of my comfort zone...
Comment 9 George L. Emigh 2011-07-09 20:12:38 UTC
I guess I should have said the changes (patch) in comment number 7, in any case I'll know soon enough, my emerge world is zipping right along now.
Comment 10 George L. Emigh 2011-07-09 20:39:01 UTC
I made another change to get past kde-base/kiten-4.6.5, but it then dies on kde-base/kalgebra-4.6.5 with a different error.

Sorry for sticking my nose in here, best leave it to the experts.
Comment 11 Hanno Burger 2011-07-09 21:22:42 UTC
(In reply to comment #5)
>[...]
> To continue emerging KDE-4.6.5, I emerge by hand each -meta package, instead of
> kde-meta. Until now, it works.

I'd rather recommend you to use --exclude, pretty much the easiest way.
Comment 12 Vasilis Lourdas 2011-07-09 21:28:08 UTC
(In reply to comment #11)
> (In reply to comment #5)
> >[...]
> > To continue emerging KDE-4.6.5, I emerge by hand each -meta package, instead of
> > kde-meta. Until now, it works.
> 
> I'd rather recommend you to use --exclude, pretty much the easiest way.

Nice tip (I didn't know about the exclude parameter), but since libkdeedu is a dependency, emerge fails:

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=kde-base/libkdeedu-4.6.5:4[aqua=]" have been masked.
!!! One of the following masked packages is required to complete your request:
- kde-base/libkdeedu-4.6.5::gentoo (masked by: exclude option)

(dependency required by "kde-base/kdeedu-meta-4.6.5" [ebuild])
(dependency required by "kde-base/kde-meta-4.6.5" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 13 Hanno Burger 2011-07-09 21:32:28 UTC
(In reply to comment #12)
My bad. I got the same error when merging marble, since it's the same source tarball I figured this would be a temporary solution to this problem as well. Looks like I figured wrong. Sorry.
Comment 14 Jason Lamb 2011-07-09 23:16:35 UTC
(In reply to comment #6)
> (In reply to comment #4)
> > I doubt this fixes anything, but it compiles if I  do this
> > 
> > emerge -a1v libkdeedu
> > # wait for it to die
> > cd /var/tmp/portage/kde-base/libkdeedu-4.6.5/work/libkdeedu-4.6.5
> > mkdir -p cmake/modules
> > touch cmake/modules/CMakeLists.txt
> > cd /usr/portage/kde-base/libkdeedu
> > ebuild libkdeedu-4.6.5.ebuild compile
> > 
> > Not sure if this helps in anyway, just trying...
> 
> works for me (I removed fail-clean from FEATURES before ofc. What is the next
> command - "ebuild install" ?

This worked for me as well. Then to complete the emerge all I needed to add after the compile was;

ebuild libkdeedu-4.6.5.ebuild install
ebuild libkdeedu-4.6.5.ebuild qmerge

Now the rest of 4.6.5 is emerging cleanly..
Comment 15 Nebojsa Trpkovic 2011-07-09 23:53:51 UTC
manual edit of unpacked libkdeedu allowed libkde to compile, but other packages are failing the same way:

emerge -uD world
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 128) kde-base/kbruch-4.6.5
>>> Emerging (2 of 128) kde-base/rocs-4.6.5
>>> Emerging (3 of 128) kde-base/kgeography-4.6.5
>>> Failed to emerge kde-base/kbruch-4.6.5
>>> Failed to emerge kde-base/rocs-4.6.5
>>> Failed to emerge kde-base/kgeography-4.6.5
>>> Jobs: 0 of 128 complete, 3 failed               Load avg: 0.89, 1.36, 2.04

 * Messages for package kde-base/kbruch-4.6.5:

 * ERROR: kde-base/kbruch-4.6.5 failed (prepare phase):
 *   3312: sed died in the KMCOMPILEONLY section while processing cmake/modules/
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 4401:  Called kde4-meta_src_prepare
 *   environment, line 3589:  Called kde4-meta_change_cmakelists
 *   environment, line 3312:  Called die
 * The specific snippet of code:
 *           find "${S}"/${i} -name CMakeLists.txt -print0 | xargs -0 sed -i -e 's/^#DONOTCOMPILE //g' -e '/install(.*)/{s/^/#DONOTINSTALL /;}' -e '/^install(/,/)/{s/^/#DONOTINSTALL /;}' -e '/kde4_install_icons(.*)/{s/^/#DONOTINSTALL /;}' || die "${LINENO}: sed died in the KMCOMPILEONLY section while processing ${i}";
 * 
 * If you need support, post the output of 'emerge --info =kde-base/kbruch-4.6.5',
 * the complete build log and the output of 'emerge -pqv =kde-base/kbruch-4.6.5'.
 * The complete build log is located at '/var/tmp/portage/kde-base/kbruch-4.6.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kbruch-4.6.5/temp/environment'.
 * S: '/var/tmp/portage/kde-base/kbruch-4.6.5/work/kbruch-4.6.5'

 * Messages for package kde-base/rocs-4.6.5:

 * ERROR: kde-base/rocs-4.6.5 failed (prepare phase):
 *   3314: sed died in the KMCOMPILEONLY section while processing cmake/modules/
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 4403:  Called kde4-meta_src_prepare
 *   environment, line 3591:  Called kde4-meta_change_cmakelists
 *   environment, line 3314:  Called die
 * The specific snippet of code:
 *           find "${S}"/${i} -name CMakeLists.txt -print0 | xargs -0 sed -i -e 's/^#DONOTCOMPILE //g' -e '/install(.*)/{s/^/#DONOTINSTALL /;}' -e '/^install(/,/)/{s/^/#DONOTINSTALL /;}' -e '/kde4_install_icons(.*)/{s/^/#DONOTINSTALL /;}' || die "${LINENO}: sed died in the KMCOMPILEONLY section while processing ${i}";
 * 
 * If you need support, post the output of 'emerge --info =kde-base/rocs-4.6.5',
 * the complete build log and the output of 'emerge -pqv =kde-base/rocs-4.6.5'.
 * The complete build log is located at '/var/tmp/portage/kde-base/rocs-4.6.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/rocs-4.6.5/temp/environment'.
 * S: '/var/tmp/portage/kde-base/rocs-4.6.5/work/rocs-4.6.5'

 * Messages for package kde-base/kgeography-4.6.5:

 * ERROR: kde-base/kgeography-4.6.5 failed (prepare phase):
 *   3312: sed died in the KMCOMPILEONLY section while processing cmake/modules/
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 4401:  Called kde4-meta_src_prepare
 *   environment, line 3589:  Called kde4-meta_change_cmakelists
 *   environment, line 3312:  Called die
 * The specific snippet of code:
 *           find "${S}"/${i} -name CMakeLists.txt -print0 | xargs -0 sed -i -e 's/^#DONOTCOMPILE //g' -e '/install(.*)/{s/^/#DONOTINSTALL /;}' -e '/^install(/,/)/{s/^/#DONOTINSTALL /;}' -e '/kde4_install_icons(.*)/{s/^/#DONOTINSTALL /;}' || die "${LINENO}: sed died in the KMCOMPILEONLY section while processing ${i}";
 * 
 * If you need support, post the output of 'emerge --info =kde-base/kgeography-4.6.5',
 * the complete build log and the output of 'emerge -pqv =kde-base/kgeography-4.6.5'.
 * The complete build log is located at '/var/tmp/portage/kde-base/kgeography-4.6.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kgeography-4.6.5/temp/environment'.
 * S: '/var/tmp/portage/kde-base/kgeography-4.6.5/work/kgeography-4.6.5'
 * 
 * The following 3 packages have failed to build or install:
 * 
 *  (kde-base/kbruch-4.6.5::gentoo, ebuild scheduled for merge)
 *  (kde-base/rocs-4.6.5::gentoo, ebuild scheduled for merge)
 *  (kde-base/kgeography-4.6.5::gentoo, ebuild scheduled for merge)
Comment 16 Jason Lamb 2011-07-10 00:14:15 UTC
(In reply to comment #15)
> manual edit of unpacked libkdeedu allowed libkde to compile, but other packages
> are failing the same way:
> 
>  * Messages for package kde-base/kgeography-4.6.5:
> 
>  * ERROR: kde-base/kgeography-4.6.5 failed (prepare phase):
>  *   3312: sed died in the KMCOMPILEONLY section while processing
> cmake/modules/
>  * 
>  * Call stack:
>  *     ebuild.sh, line   56:  Called src_prepare
>  *   environment, line 4401:  Called kde4-meta_src_prepare
>  *   environment, line 3589:  Called kde4-meta_change_cmakelists
>  *   environment, line 3312:  Called die
>  * The specific snippet of code:
>  *           find "${S}"/${i} -name CMakeLists.txt -print0 | xargs -0 sed -i -e
> 's/^#DONOTCOMPILE //g' -e '/install(.*)/{s/^/#DONOTINSTALL /;}' -e
> '/^install(/,/)/{s/^/#DONOTINSTALL /;}' -e
> '/kde4_install_icons(.*)/{s/^/#DONOTINSTALL /;}' || die "${LINENO}: sed died in
> the KMCOMPILEONLY section while processing ${i}";
>  * 
>  * If you need support, post the output of 'emerge --info
> =kde-base/kgeography-4.6.5',
>  * the complete build log and the output of 'emerge -pqv
> =kde-base/kgeography-4.6.5'.
>  * The complete build log is located at
> '/var/tmp/portage/kde-base/kgeography-4.6.5/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/kde-base/kgeography-4.6.5/temp/environment'.
>  * S: '/var/tmp/portage/kde-base/kgeography-4.6.5/work/kgeography-4.6.5'
>  * 

I agree. (Sorry for my earlier comment about the rest of 4.6.5 emerging cleanly. It hasn't.) After manually emerging libkdeedu-4.6.5, I also have the same failed emerges with the same error message, trying to emerge;

kalgebra-4.6.5
kbruch-4.6.5
kgeography-4.6.5
kiten-4.6.5
Comment 17 Andre Reinke 2011-07-10 01:46:09 UTC
Same here (~amd64) but comment 14 got things working for me :)
Comment 18 Andre Reinke 2011-07-10 03:35:15 UTC
As I wrote above it solved the error with libkdeedu but mess goes on with each package belonging to kdeedu-4.6.5

The trick ( comment 14 ) doesn't work for me on kalgebra-4.6.5

I did that trick again and went into another fail:

>>> Preparing source in /var/tmp/portage/kde-base/kalgebra-4.6.5/work/kalgebra-4.6.5 ...
find: `/var/tmp/portage/kde-base/kalgebra-4.6.5/work/kalgebra-4.6.5/cmake/modules/': Datei oder Verzeichnis nicht gefunden
sed: no input files
 * ERROR: kde-base/kalgebra-4.6.5 failed (prepare phase):
 *   3348: sed died in the KMCOMPILEONLY section while processing cmake/modules/
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 4438:  Called kde4-meta_src_prepare
 *   environment, line 3625:  Called kde4-meta_change_cmakelists
 *   environment, line 3348:  Called die
 * The specific snippet of code:
 *           find "${S}"/${i} -name CMakeLists.txt -print0 | xargs -0 sed -i -e 's/^#DONOTCOMPILE //g' -e '/install(.*)/{s/^/#DONOTINSTALL /;}' -e '/^install(/,/)/{s/^/#DONOTINSTALL /;}' -e '/kde4_install_icons(.*)/{s/^/#DONOTINSTALL /;}' || die "${LINENO}: sed died in the KMCOMPILEONLY section while processing ${i}";
 * 
 * If you need support, post the output of 'emerge --info =kde-base/kalgebra-4.6.5',
 * the complete build log and the output of 'emerge -pqv =kde-base/kalgebra-4.6.5'.
 * The complete build log is located at '/var/tmp/portage/kde-base/kalgebra-4.6.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kalgebra-4.6.5/temp/environment'.
 * S: '/var/tmp/portage/kde-base/kalgebra-4.6.5/work/kalgebra-4.6.5'


After that trick it turns into:


-- Configuring done
CMake Error: INSTALL(EXPORT) given unknown export "LibKdeEduTargets"
-- Generating done
-- Build files have been written to: /var/tmp/portage/kde-base/kalgebra-4.6.5/work/kalgebra-4.6.5_build
 * ERROR: kde-base/kalgebra-4.6.5 failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 4435:  Called kde4-meta_src_configure
 *   environment, line 3542:  Called kde4-base_src_configure
 *   environment, line 3232:  Called cmake-utils_src_configure
 *   environment, line 1373:  Called _execute_optionaly 'src_configure'
 *   environment, line  761:  Called enable_cmake-utils_src_configure
 *   environment, line 1689:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of 'emerge --info =kde-base/kalgebra-4.6.5',
 * the complete build log and the output of 'emerge -pqv =kde-base/kalgebra-4.6.5'.
 * The complete build log is located at '/var/tmp/portage/kde-base/kalgebra-4.6.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kalgebra-4.6.5/temp/environment'.
 * S: '/var/tmp/portage/kde-base/kalgebra-4.6.5/work/kalgebra-4.6.5'


Don't know what to do next to get things working.
Comment 19 nathan 2011-07-10 04:51:53 UTC
(In reply to comment #18)
> As I wrote above it solved the error with libkdeedu but mess goes on with each
> package belonging to kdeedu-4.6.5
> 
> The trick ( comment 14 ) doesn't work for me on kalgebra-4.6.5
> 
> I did that trick again and went into another fail:
> 
> >>> Preparing source in /var/tmp/portage/kde-base/kalgebra-4.6.5/work/kalgebra-4.6.5 ...
> find:
> `/var/tmp/portage/kde-base/kalgebra-4.6.5/work/kalgebra-4.6.5/cmake/modules/':
> Datei oder Verzeichnis nicht gefunden
> sed: no input files
>  * ERROR: kde-base/kalgebra-4.6.5 failed (prepare phase):
>  *   3348: sed died in the KMCOMPILEONLY section while processing
> cmake/modules/
>  * 
>  * Call stack:
>  *     ebuild.sh, line   56:  Called src_prepare
>  *   environment, line 4438:  Called kde4-meta_src_prepare
>  *   environment, line 3625:  Called kde4-meta_change_cmakelists
>  *   environment, line 3348:  Called die
>  * The specific snippet of code:
>  *           find "${S}"/${i} -name CMakeLists.txt -print0 | xargs -0 sed -i -e
> 's/^#DONOTCOMPILE //g' -e '/install(.*)/{s/^/#DONOTINSTALL /;}' -e
> '/^install(/,/)/{s/^/#DONOTINSTALL /;}' -e
> '/kde4_install_icons(.*)/{s/^/#DONOTINSTALL /;}' || die "${LINENO}: sed died in
> the KMCOMPILEONLY section while processing ${i}";
>  * 
>  * If you need support, post the output of 'emerge --info
> =kde-base/kalgebra-4.6.5',
>  * the complete build log and the output of 'emerge -pqv
> =kde-base/kalgebra-4.6.5'.
>  * The complete build log is located at
> '/var/tmp/portage/kde-base/kalgebra-4.6.5/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/kde-base/kalgebra-4.6.5/temp/environment'.
>  * S: '/var/tmp/portage/kde-base/kalgebra-4.6.5/work/kalgebra-4.6.5'
> 
> 
> After that trick it turns into:
> 
> 
> -- Configuring done
> CMake Error: INSTALL(EXPORT) given unknown export "LibKdeEduTargets"
> -- Generating done
> -- Build files have been written to:
> /var/tmp/portage/kde-base/kalgebra-4.6.5/work/kalgebra-4.6.5_build
>  * ERROR: kde-base/kalgebra-4.6.5 failed (configure phase):
>  *   cmake failed
>  * 
>  * Call stack:
>  *     ebuild.sh, line   56:  Called src_configure
>  *   environment, line 4435:  Called kde4-meta_src_configure
>  *   environment, line 3542:  Called kde4-base_src_configure
>  *   environment, line 3232:  Called cmake-utils_src_configure
>  *   environment, line 1373:  Called _execute_optionaly 'src_configure'
>  *   environment, line  761:  Called enable_cmake-utils_src_configure
>  *   environment, line 1689:  Called die
>  * The specific snippet of code:
>  *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake
> failed";
>  * 
>  * If you need support, post the output of 'emerge --info
> =kde-base/kalgebra-4.6.5',
>  * the complete build log and the output of 'emerge -pqv
> =kde-base/kalgebra-4.6.5'.
>  * The complete build log is located at
> '/var/tmp/portage/kde-base/kalgebra-4.6.5/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/kde-base/kalgebra-4.6.5/temp/environment'.
>  * S: '/var/tmp/portage/kde-base/kalgebra-4.6.5/work/kalgebra-4.6.5'
> 
> 
> Don't know what to do next to get things working.

Add the patch from the files directory to the kalgebra-4.6.5.ebuild:
"${FILESDIR}"/${PN}-4.6.4-nolib.patch.
You should do this in your local overlay.
For kalzium-4.6.5.ebuild remove the kalzium-4.6.49.9999-nolib.patch.
Again, use your local overlay.
Those workarounds should get things moving along until somebody can get to a proper fix.
Comment 20 Dale 2011-07-10 05:25:08 UTC
Same here.  amd64  We need a fix in the tree.
Comment 21 Jouni Rinne 2011-07-10 06:12:52 UTC
I decided that it was easier just to mask temporarily the kdeedu-4.6.5-derived packages (kstars, kiten & marble in my case) while waiting for the proper fix.

This is unbelievable... Did any of the Gentoo KDE devs actually try to build these before release?
Comment 22 Andre Reinke 2011-07-10 06:41:16 UTC
Did it as written in comment 14 and comment 19 - all is fine now.

The KDE-team is doing a nice job but it really seems to me that this ebuild weren't tested before releasing.
Comment 23 Florian Manschwetus 2011-07-10 08:43:57 UTC
 *  (kde-base/rocs-4.6.5::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/kde-base/rocs-4.6.5/temp/build.log'
 *  (kde-base/cantor-4.6.5::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/kde-base/cantor-4.6.5/temp/build.log'
 *  (kde-base/kgeography-4.6.5::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/kde-base/kgeography-4.6.5/temp/build.log'
 *  (kde-base/kalgebra-4.6.5::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/kde-base/kalgebra-4.6.5/temp/build.log'
 *  (kde-base/kiten-4.6.5::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/kde-base/kiten-4.6.5/temp/build.log'
 *  (kde-base/kbruch-4.6.5::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/kde-base/kbruch-4.6.5/temp/build.log'
 *  (kde-base/kig-4.6.5::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/kde-base/kig-4.6.5/temp/build.log'
 *  (kde-base/step-4.6.5::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/kde-base/step-4.6.5/temp/build.log'
 *  (kde-base/libkdeedu-4.6.5::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/kde-base/libkdeedu-4.6.5/temp/build.log'

All the same:
 *           find "${S}"/${i} -name CMakeLists.txt -print0 | xargs -0 sed -i -e 's/^#DONOTCOMPILE //g' -e '/install(.*)/{s/^/#DONOTINSTALL /;}' -e '/^install(/,/)/{s/^/#DONOTINSTALL /;}' -e '/kde4_install_icons(.*)/{s/^/#DONOTINSTALL /;}' || die "${LINENO}: sed died in the KMCOMPILEONLY section while processing ${i}";

Someone should fix this asap in tree!!!
Comment 24 Florian Manschwetus 2011-07-10 09:23:46 UTC
Ok, there are even more packages affected, I could paste my last list if interested. Please hurry!
Comment 25 Nebojsa Trpkovic 2011-07-10 11:07:35 UTC
comment #4 and comment #19 moved me forward a little bit, but new packages arise.

stucked with half-compiled/half-working KDE for 12 hours and counting... :(
Comment 26 hand1977 2011-07-10 12:05:42 UTC
hi 

same Problem here....
KDE SC/Applications dont run properly after a broken world update...

... hope they will fix that soon....

cu
Comment 27 Andreas Proteus 2011-07-10 12:33:38 UTC
Created attachment 279597 [details]
kde4-meta.eclass.patch

I managed to complete emerging kde4-meta-4.6.5
and all the kdeedu parts, using the tips from #7 and #19.

The modified the patch from #7 seems to take care  kig, kiten, ... et.c.

The modifications in comment #19 are still needed.

I hope this helps people who are stuck.
Comment 28 Ivan Iraci 2011-07-10 16:36:05 UTC
Same problem here...
Comment 29 Pacho Ramos gentoo-dev 2011-07-10 17:55:53 UTC
*** Bug 374609 has been marked as a duplicate of this bug. ***
Comment 30 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-07-10 18:20:13 UTC
Fixed. The issue was in the eclasses. It was fixed in the kde overlay, but the developer who did the move of the ebuilds didn't notice that. That's why we didn't reproduce it when we tested with the overlay ebuilds.
Comment 31 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-07-10 18:20:49 UTC
*** Bug 371355 has been marked as a duplicate of this bug. ***
Comment 32 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-07-10 18:21:11 UTC
*** Bug 372331 has been marked as a duplicate of this bug. ***