Summary: | =app-office/kword-1.6.3-r2 and =app-office/karbon-1.6.2 fail to unpack due to changes to kde-functions.eclass | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Duncan Exon Smith <duncanphilipnorman> |
Component: | Eclasses | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | ansla80, bugs.gentoo.org-6, dhp_gentoo, joerg.schaible, juantxorena, kde, ross, stefano.priore |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 271547 | ||
Attachments: | reverts a change in kde-functions.eclass to allow =app-office/kword-1.6.3-r2 (among others) to build |
Description
Duncan Exon Smith
2009-05-21 17:51:23 UTC
Looks to be fallout from the total-prefixing of kde3 apps. Kde herd, just re-emerge untill it works? (In reply to comment #0) > Although that bug is still open, it appears that a similar patch has already > been applied to the tree. I reverted the changes locally, and now I can merge > 'kword' and 'karbon' without issue. Not here, emerge of karbon and kword still fails. Patching the eclass according to the patch in the bug doesn't change it. emerge --info: Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.8_p2000602-r1, 2.6.29-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r4-x86_64-Intel-R-_Core-TM-2_CPU_T5600_@_1.83Hz-with-glibc2.2.5 Timestamp of tree: Tue, 26 May 2009 15:20:04 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.2 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shtdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etcfonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-activ/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuid /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.de.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe " DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protectowned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ " LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j3" 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 --exclde=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/local/portage" SYNC="rsync://rsync.B15.lan/gentoo-portage/ " USE="X a52 aac acl acpi alsa amd64 apache2 apm bash-completion berkdb bluetoothbranding bzip2 cairo caps cddb cdr cjk cli cracklib crypt ctype cups curl dbus ri dts dvb dvd dvdnac dvdr dvdread emboss encode evo fam fat ffmpeg flac fortra ftp fuse gd gdbm gif gnutls gpm hal http iconv id3tag ieee1394 imap innodb ipv ipw3945 isdnlog java javascript jpeg jpeg2k kde laptop ldap libffi libnotify lve loop-aes mad midi mikmod mime mmx mp3 mp4 mpeg mplayer mudflap multilib musibrainz mysql ncurses nls nptl nptlonly nsplugin ntfs ntpl ntplonly ogg opengl oenmp pam pcre pdf perl png postgres postgresql ppds pppd python qt3 qt3support t4 quicktime rar readline reflection reiserfs samba sdl session sndfile socketssound spell spl sse sse2 sse3 ssl ssse3 startup-notification stream subversion vg sysfs tcl tcpd tetex theora tiff tk truetype twolame unicode usb v4l v4l2 vc vim-with-x vorbis xine xinerama xml xorg xpm xulrunner xv xvid xvmc zip zlib" LSA_CARDS="snd_hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emulmulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alas auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_fie authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filtr file_cache filter headers ident imagemap include info log_config logio mem_cahe mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alis" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics wacom evdev" KERNEL="lnux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncures text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Created attachment 192513 [details, diff] reverts a change in kde-functions.eclass to allow =app-office/kword-1.6.3-r2 (among others) to build (In reply to comment #2) > (In reply to comment #0) > > Although that bug is still open, it appears that a similar patch has already > > been applied to the tree. I reverted the changes locally, and now I can merge > > 'kword' and 'karbon' without issue. > > Not here, emerge of karbon and kword still fails. Patching the eclass according > to the patch in the bug doesn't change it. > Did you do a forward or reverse patch? I actually made the changes by hand myself. I've attached the exact change I made to my kde-functions.eclass... maybe that will work for you too. (In reply to comment #3) > I've attached the exact change I made to my kde-functions.eclass... maybe that > will work for you too. Thanks, works for me. Seems this time I succeeded in patching the eclass... Attached file does not work (on my system, line numbering are not the same), but manual edit does the job. moon-gen-3 gnetman # diff -Naur /usr/portage/eclass/kde-functions.eclass-old /usr/portage/eclass/kde-functions.eclass-new --- /usr/portage/eclass/kde-functions.eclass-old 2009-06-05 19:15:31.000000000 +0200 +++ /usr/portage/eclass/kde-functions.eclass-new 2009-06-05 19:08:51.000000000 +0200 @@ -717,11 +717,18 @@ if [[ -n "$KDEPREFIX" ]]; then export PREFIX="$KDEPREFIX" else +# if [[ -z "$KDEBASE" ]]; then +# PREFIX="/usr/kde/3.5" if [[ -z "$KDEBASE" ]]; then - PREFIX="/usr/kde/3.5" + case $PN in + libkipi|libkdcraw|libkexiv2) export PREFIX="/usr/kde/3.5";; + *) export PREFIX="/usr";; + esac + else case $KDEMAJORVER.$KDEMINORVER in - 3*) export PREFIX="/usr/kde/3.5";; +# 3*) export PREFIX="/usr/kde/3.5";; + 3.5) export PREFIX="/usr/kde/3.5";; 5.0) export PREFIX="/usr/kde/svn";; *) die "failed to set PREFIX";; esac @@ -745,7 +752,8 @@ else # kde-base ebuilds must always use the exact version of kdelibs they came with case $KDEMAJORVER.$KDEMINORVER in - 3*) export KDEDIR="/usr/kde/3.5";; +# 3*) export KDEDIR="/usr/kde/3.5";; + 3.5) export KDEDIR="/usr/kde/3.5";; 5.0) export KDEDIR="/usr/kde/svn";; *) die "failed to set KDEDIR";; esac moon-gen-3 gnetman # No, the solution is to prefix koffice to /usr/kde/3.5 as all kde3 apps are now, and slot it in :3.5, i'll do it tomorrow (maybe today if i hurry up) emerge -De koffice-meta "fixed" it. (In reply to comment #7) > emerge -De koffice-meta "fixed" it. > This kind of things are not a fix; -D is a standard maintainance option for updating your machine. I emerge -DaNuv world every week. Not using -D will "of course" lead you to broken machine. What "may" have been usefull would have been to give the list of packages -D made you remerge (but I fear -e makes this useless). I know what -D does. Every package was up to date on my system. I tried to recompile all the dependencies with -eD and it worked. I understand my input as little meaning as this command nearly recompiles the entire system. (In reply to comment #8) > (In reply to comment #7) > > emerge -De koffice-meta "fixed" it. > > > > This kind of things are not a fix; -D is a standard maintainance option for > updating your machine. I emerge -DaNuv world every week. Not using -D will "of > course" lead you to broken machine. > > What "may" have been usefull would have been to give the list of packages -D > made you remerge (but I fear -e makes this useless). > Today revdep-rebuild on my system suggested to reemerge karbon which then failed with the above symptoms. Just a heads up that the problem is still there. just try to re-emerge koffice-libs this should fix it And also please update to koffice-meta-1.6.3_p20090204, it is going to be stabilized soon old and fixed |