Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't compile kdelibs-4.43 using gnome and ~amd64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
t.schoettler
n00b
n00b


Joined: 17 May 2010
Posts: 5

PostPosted: Mon May 17, 2010 4:25 am    Post subject: can't compile kdelibs-4.43 using gnome and ~amd64 Reply with quote

Hi everybody,

this is the very first time for me asking something in a forum, so please be patient; in addition, I'm rather new to gentoo and not too familiar with all packages.
Furtheron I will only be online on the weekend regularly and in the early mornings occasionally, so please don't shout on me, if I won't answer at once ...

Ok - nearly everything from installation until now ran smooth (ok - maybe smoothed by a lot of sweat) and I was able to solve nearly everything by googling around.

However, no I've reached the point, where I do not know where to go any further ...



That's enough for the forewords ... here's my problem, i could not solve (and that add's another amount to my disliking of kde).

ok, here's what I've tried

--------------------------------------------------------------------------------------------
Code:
root@thomas-desktop /home/thomas # emerge -av amarok

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=x11-libs/qt-webkit-4.6.0:4[kde]".
!!! One of the following packages is required to complete your request:
- x11-libs/qt-webkit-4.6.2-r1 (Change USE: +kde)
(dependency required by "kde-base/kdelibs-4.4.3" [ebuild])
(dependency required by "media-sound/amarok-2.3.0.90" [ebuild])
(dependency required by "amarok" [argument])

-----------------------------------------------------------------------------------------------

ok, it seems I have to recompile qt-webkit with the kde-Use-flag:
I think, it's ok doing it with option -1, avoiding qt-webkit going to world, right?
-----------------------------------------------------------------------------------------------
Code:
USE="kde" emerge -av1 qt-webkit

-----------------------------------------------------------------------------------------------

Fine, let's try mergeing amarok, again.
-----------------------------------------------------------------------------------------------
Code:
emerge -av amarok

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] kde-base/kdelibs-4.4.3  USE="acl alsa bzip2 handbook jpeg2k kerberos mmx nls openexr opengl policykit sse sse2 ssl zeroconf -3dnow (-altivec) (-aqua) -bindist -debug -doc -fam (-kdeenablefinal) (-kdeprefix) -lzma -semantic-desktop -spell -test" 0 kB
[ebuild  N    ] kde-base/libkcompactdisc-4.4.3  USE="alsa (-aqua) -debug (-kdeenablefinal) (-kdeprefix)" 0 kB
[ebuild  N    ] kde-base/libkcddb-4.4.3  USE="musicbrainz (-aqua) -debug (-kdeenablefinal) (-kdeprefix)" 0 kB
[ebuild  N    ] kde-base/phonon-kde-4.4.3  USE="alsa xine (-aqua) -debug (-kdeenablefinal) (-kdeprefix)" 0 kB
[ebuild  N    ] kde-base/kdemultimedia-kioslaves-4.4.3  USE="flac handbook (-aqua) -debug -encode (-kdeenablefinal) (-kdeprefix) -vorbis" 0 kB
[ebuild  N    ] media-sound/amarok-2.3.0.90  USE="cdda ipod opengl (-aqua) -daap -debug -embedded (-kdeenablefinal) -lastfm -mp3tunes -mtp -semantic-desktop" LINGUAS="de -bg -ca -cs -da -en_GB -es -et -eu -fi -fr -it -ja -km -nb -nds -nl -pa -pl -pt -pt_BR -ru -sl -sr -sr@latin -sv -th -tr -uk -wa -zh_TW" 0 kB

Total: 6 packages (6 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

------------------------------------------------------------------------------------------------
I said "Y"es, for sure, go ahead ...
... and after a not-so-short-while it fails to compile kdelibs (at 73%) ...
------------------------------------------------------------------------------------------------
Code:
Linking CXX shared module ../lib/katepart.so
[ 73%] Built target katepart
make: *** [all] Fehler 2
 * ERROR: kde-base/kdelibs-4.4.3 failed:
 *   Make failed!
 *
* Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4114:  Called kde4-base_src_compile
 *   environment, line 3177:  Called cmake-utils_src_compile
 *   environment, line 1303:  Called _execute_optionaly 'src_compile'
 *   environment, line  706:  Called enable_cmake-utils_src_compile
 *   environment, line 1668:  Called cmake-utils_src_make
 *   environment, line 1322:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =kde-base/kdelibs-4.4.3',
 * the complete build log and the output of 'emerge -pqv =kde-base/kdelibs-4.4.3'.
 * The complete build log is located at '/var/lib/entropy/logs/kde-base:kdelibs-4.4.3:20100517-031641.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.4.3/temp/environment'.
 * S: '/var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3'

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

>>>  '/var/lib/entropy/logs/kde-base:kdelibs-4.4.3:20100517-031641.log'

----------------------------------------------------------------------------------------------

a look in the log gives nothing that makes sense for me (only lots of warnings regarding unused var during compile) but nothing telling me what the error might be ... , only
Code:

[ 70%] Building CXX object kde3support/CMakeFiles/kde3support.dir/kdeui/k3listbox.o
make[2]: *** [knewstuff/knewstuff3/CMakeFiles/knewstuff3.dir/core/engine.o] Fehler 1
make[1]: *** [knewstuff/knewstuff3/CMakeFiles/knewstuff3.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...


however, this won't tell me anything.

Since I seem to be the only one with this problem (couldn't find anyone else via google) it must have something to do with my settings, I think or the might be anybody who has already solved this issue.

Any help appreciated,

regards
ts

PS: I currently do not know how to post any files - but I will do as soon as I can, hopefully tomorrow to add all my settings-files.
---------------------------------------------------------------------------------------------------------------------------------------------------
Edit: Here is the output of "emerge--info_kdelibs-4.4.3"
Code:
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7500_@_2.93GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 17 May 2010 01:45:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/sandbox.d /etc/skel /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://gentoo.wheel.sk/ http://gentoo.tiscali.nl/ http://gentoo.mneisen.org/ http://gentoo.supp.name/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="de en"
MAKEOPTS="-s -j4"
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"
SYNC="rsync://rsync10.de.gentoo.org/gentoo-portage/"
USE="7Zip X a52 aac aalib accessibility acl acpi aiglx aim alsa amd64 artswrappersuid audiofile avahi bash-completion beagle berkdb bidi bzip2 cairo cdda cddb cdr chm cjk cli config_wizard consolekit cpudetection cracklib crypt css cups cxx dbox2 dbus dga dri dts dv dvb dvd dvdr dvdread dvi dxr3 exif extramodules extras fame fat fbcondecor ffmpeg fftw firefox flac flash foomatic-db fortran freetype gcj gdbm gdu gif gimpprint gmp gnome gnutls gphoto2 gpm gs gsm gstreamer gtk hal hfs iconv icq ieee1394 imap inotify ipod ipv6 irc irda jabber jack jfs jingle joystick jpeg jpeg2k jpg kerberos kipi lame lcd libnotify live lj lm_sensors logitech-mouse lzo mail matroska mjpeg mmx mng modules mozdevelop mp3 mp3rtp mplayer msn mudflap multilib musepack musicbrainz mysql nautilus ncurses network new-login nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp pam pcmcia pcre pda perl png policykit povray ppds pppd pulseaudio python qt3support qt4 quotas rar rdesktop readline reflection reiserfs rss scanner sdl session slp sms speex spl sqlite sse sse2 ssl startup-notification stream svg sysfs tcpd theora threads tiff tracker truetype udev unicode usb v4l v4l2 visualization voice weather wifi wmf x264 xcb xfs xine xinerama xorg xpm xprint xulrunner xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" 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" APACHE2_MPMS="prefork" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" LIRC_DEVICES="audio audio_alsa serial" RUBY_TARGETS="ruby18" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


This is, what "emerge -pqv =kde-base/kdelibs-4.4.3" told me:
Code:
root@thomas-desktop /home/thomas # emerge -pqv =kde-base/kdelibs-4.4.3
[ebuild  N    ] kde-base/kdelibs-4.4.3  USE="acl alsa bzip2 handbook jpeg2k kerberos mmx nls openexr opengl policykit sse sse2 ssl zeroconf -3dnow (-altivec) (-aqua) -bindist -debug -doc -fam (-kdeenablefinal) (-kdeprefix) -lzma -semantic-desktop -spell -test"


Environment

[code:1:ed6f1c1946]
declare -x ABI="amd64"
declare -x ALSA_CARDS=""
declare -x 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"
declare -x 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"
declare -x APACHE2_MPMS="prefork"
declare -x ARCH="amd64"
declare -x ASFLAGS_x86="--32"
declare -- BASE_EXPF="src_unpack src_compile src_install src_prepare src_configure"
declare -x BUILD_TYPE="release"
declare -x CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template"
declare -x CBUILD="x86_64-pc-linux-gnu"
declare -x CDEFINE_amd64="__x86_64__"
declare -x CDEFINE_default="__unix__"
declare -x CDEFINE_x86="__i386__"
declare -x CFLAGS="-O2 -march=core2 -pipe"
declare -x CFLAGS_default=""
declare -x CFLAGS_x86="-m32"
declare -x CHOST="x86_64-pc-linux-gnu"
declare -x CHOST_amd64="x86_64-pc-linux-gnu"
declare -x CHOST_default="x86_64-pc-linux-gnu"
declare -x CHOST_x86="i686-pc-linux-gnu"
declare -- CMAKE_BUILD_DIR="/var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3_build"
declare -- CMAKE_BUILD_TYPE="Gentoo"
declare -- CMAKE_EXPF="src_compile src_test src_install src_configure"
declare -- CMAKE_MIN_VERSION="2.6.2-r1"
declare -- CMAKE_REQUIRED="always"
declare -- CMAKE_USE_DIR="/var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3"
declare -- COMMONDEPEND="
app-crypt/qca:2
>=app-misc/strigi-0.6.3
dev-libs/libattica
dev-libs/libpcre[unicode]
dev-libs/libxml2
dev-libs/libxslt
media-libs/fontconfig
media-libs/freetype:2
media-libs/giflib
media-libs/jpeg:0
media-libs/libpng
sys-libs/zlib
>=x11-misc/shared-mime-info-0.60
acl? ( virtual/acl )
alsa? ( media-libs/alsa-lib )
aqua? (
>=media-sound/phonon-4.3.80
sys-apps/dbus
)
!aqua? (
>=media-sound/phonon-4.3.80[xcb]
sys-apps/dbus[X]
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
x11-libs/libXcursor
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXft
x11-libs/libXpm
x11-libs/libXrender
x11-libs/libXtst
!kernel_SunOS? ( sys-libs/libutempter )
)
bzip2? ( app-arch/bzip2 )
fam? ( virtual/fam )
jpeg2k? ( media-libs/jasper )
kerberos? ( virtual/krb5 )
lzma? ( app-arch/xz-utils )
openexr? (
media-libs/openexr
media-libs/ilmbase
)
policykit? ( sys-auth/polkit-qt )
semantic-desktop? (
>=dev-libs/shared-desktop-ontologies-0.2
>=dev-libs/soprano-2.3.73[dbus,raptor,redland]
)
spell? (
app-dicts/aspell-en
app-text/aspell
app-text/enchant
)
ssl? ( dev-libs/openssl )
zeroconf? (
|| (
net-dns/avahi[mdnsresponder-compat]
!bindist? ( net-misc/mDNSResponder )
)
)
"
declare -x CPPFLAGS=" -DQT_NO_DEBUG -DNDEBUG"
declare -- CPPUNIT_REQUIRED="optional"
declare -x CROSSCOMPILE_OPTS=""
declare -x CTARGET_default="x86_64-pc-linux-gnu"
declare -x CVS_RSH="ssh"
declare -x CXXFLAGS="-O2 -march=core2 -pipe"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-1M3pF3OTrG,guid=925e684f545635f00ad585bf00000032"
declare -x DEFAULT_ABI="amd64"
declare -- DEFINED_PHASES=" compile configure install postinst postrm prepare prerm setup test unpack"
declare -- DEPEND="
app-crypt/qca:2
>=app-misc/strigi-0.6.3
dev-libs/libattica
dev-libs/libpcre[unicode]
dev-libs/libxml2
dev-libs/libxslt
media-libs/fontconfig
media-libs/freetype:2
media-libs/giflib
media-libs/jpeg:0
media-libs/libpng
sys-libs/zlib
>=x11-misc/shared-mime-info-0.60
acl? ( virtual/acl )
alsa? ( media-libs/alsa-lib )
aqua? (
>=media-sound/phonon-4.3.80
sys-apps/dbus
)
!aqua? (
>=media-sound/phonon-4.3.80[xcb]
sys-apps/dbus[X]
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
x11-libs/libXcursor
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXft
x11-libs/libXpm
x11-libs/libXrender
x11-libs/libXtst
!kernel_SunOS? ( sys-libs/libutempter )
)
bzip2? ( app-arch/bzip2 )
fam? ( virtual/fam )
jpeg2k? ( media-libs/jasper )
kerberos? ( virtual/krb5 )
lzma? ( app-arch/xz-utils )
openexr? (
media-libs/openexr
media-libs/ilmbase
)
policykit? ( sys-auth/polkit-qt )
semantic-desktop? (
>=dev-libs/shared-desktop-ontologies-0.2
>=dev-libs/soprano-2.3.73[dbus,raptor,redland]
)
spell? (
app-dicts/aspell-en
app-text/aspell
app-text/enchant
)
ssl? ( dev-libs/openssl )
zeroconf? (
|| (
net-dns/avahi[mdnsresponder-compat]
!bindist? ( net-misc/mDNSResponder )
)
)

doc? ( app-doc/doxygen )
nls? ( virtual/libintl )
>=dev-util/cmake-2.6.2-r1 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) test? (
dev-util/cppunit
)
dev-util/automoc
dev-util/pkgconfig
!aqua? (
|| ( >=x11-libs/libXtst-1.1.0 <x11-proto/xextproto-7.1.0 )
x11-proto/xf86vidmodeproto
)
opengl? (
>=x11-libs/qt-opengl-4.6.0:4
)
>=x11-libs/qt-webkit-4.6.0:4[kde]

>=x11-libs/qt-core-4.6.0:4[qt3support,ssl]
>=x11-libs/qt-gui-4.6.0:4[dbus]
>=x11-libs/qt-qt3support-4.6.0:4[kde]
>=x11-libs/qt-script-4.6.0:4
>=x11-libs/qt-sql-4.6.0:4[qt3support]
>=x11-libs/qt-svg-4.6.0:4
>=x11-libs/qt-test-4.6.0:4
!aqua? (
x11-libs/libXext
x11-libs/libXt
x11-libs/libXxf86vm
)
dev-lang/perl"
declare -- DESCRIPTION="KDE libraries needed by all KDE programs."
declare -x DESKTOP_SESSION="gnome"
declare -x DESTTREE="/usr"
declare -x DIROPTIONS="-m0755"
declare -x EAPI="3"
declare -- EKDEDIR="/usr"
declare -x ELIBC="glibc"
declare -- EPATCH_EXCLUDE=""
declare -- EPATCH_FORCE="no"
declare -- EPATCH_MULTI_MSG="Applying various patches (bugfixes/updates) ..."
declare -- EPATCH_OPTS="-g0 -E --no-backup-if-mismatch"
declare -- EPATCH_SINGLE_MSG=""
declare -- EPATCH_SOURCE="/var/tmp/portage/kde-base/kdelibs-4.4.3/work/patch"
declare -- EPATCH_SUFFIX="patch.bz2"
declare -x EXEOPTIONS="-m0755"
declare -x FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
declare -x GCC_SPECS=""
declare -x GDK_USE_XFT="1"
declare -x GDMSESSION="gnome"
declare -x GDM_LANG="de_DE.UTF-8"
declare -x GDM_XSERVER_LOCATION="local"
declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/home/thomas/.gtkrc-1.2-gnome2"
declare -- HME=".kde4"
declare -- HOMEPAGE="http://www.kde.org/"
declare -x INHERITED="toolchain-funcs kde4-base portability flag-o-matic versionator multilib kde4-functions base cmake-utils fdo-mime eutils"
declare -x INPUT_DEVICES="evdev synaptics"
declare -x INSDESTTREE=""
declare -x INSOPTIONS="-m0644"
declare -- IUSE="3dnow acl alsa altivec bindist +bzip2 debug doc fam +handbook jpeg2k kerberos
lzma mmx nls openexr policykit semantic-desktop spell sse sse2 ssl zeroconf kdeprefix opengl test aqua kdeenablefinal"
declare -x JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
declare -x JAVA_HOME="/etc/java-config-2/current-system-vm"
declare -x JDK_HOME="/etc/java-config-2/current-system-vm"
declare -- KDEBASE="kde-base"
declare -- KDEDIR="/usr"
declare -a KDE_LIVE_SLOTS='([0]="live")'
declare -- KDE_MINIMAL="4.4"
declare -- KDE_MINIMAL_VALID="1"
declare -- KDE_REQUIRED="always"
declare -a KDE_SLOTS='([0]="4.1" [1]="4.2" [2]="4.3" [3]="4.4" [4]="4.5")'
declare -x KERNEL="linux"
declare -x KERNEL_ABI="amd64"
declare -x KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
declare -x KV="2.6.33-gentoo-r2"
declare -x LANG="de_DE.utf8"
declare -x LCD_DEVICES=""
declare -x LC_COLLATE="C"
declare -x LC_CTYPE="de_DE.UTF-8"
declare -x LDFLAGS="-Wl,-O1,--as-needed"
declare -x LDFLAGS_default=""
declare -x LDFLAGS_x86="-m elf_i386"
declare -x LIBDIR_amd64="lib64"
declare -x LIBDIR_amd64_fbsd="lib64"
declare -x LIBDIR_default="lib"
declare -x LIBDIR_ppc="lib32"
declare -x LIBDIR_ppc64="lib64"
declare -x LIBDIR_sparc32="lib32"
declare -x LIBDIR_sparc64="lib64"
declare -x LIBDIR_x86="lib32"
declare -x LIBDIR_x86_fbsd="lib32"
declare -x LIBOPTIONS="-m0644"
declare -x LICENSE="LGPL-2.1"
declare -x LINGUAS="de en"
declare -x LIRC_DEVICES="audio audio_alsa serial"
declare -x MAKEOPTS="-s -j4"
declare -x MULTILIB_ABIS="amd64 x86"
declare -x MULTILIB_STRICT_DENY="64-bit.*shared object"
declare -x MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
declare -x MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
declare -- MULTIMEDIA_REQUIRED="never"
declare -x NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
declare -x OPENGL_PROFILE="nvidia"
declare -- OPENGL_REQUIRED="optional"
declare -x ORBIT_SOCKETDIR="/tmp/orbit-thomas"
declare -a PATCHES='([0]="/usr/portage/kde-base/kdelibs/files/dist/01_gentoo_set_xdg_menu_prefix.patch" [1]="/usr/portage/kde-base/kdelibs/files/dist/02_gentoo_append_xdg_config_dirs.patch" [2]="/usr/portage/kde-base/kdelibs/files/dist/23_solid_no_double_build.patch" [3]="/usr/portage/kde-base/kdelibs/files/kdelibs-4.3.80-module-suffix.patch" [4]="/usr/portage/kde-base/kdelibs/files/kdelibs-4.4.66-macos-unbundle.patch" [5]="/usr/portage/kde-base/kdelibs/files/kdelibs-4.3.3-klauncher_kdeinit.patch" [6]="/usr/portage/kde-base/kdelibs/files/kdelibs-4.3.3-klauncher_kioslave.patch" [7]="/usr/portage/kde-base/kdelibs/files/kdelibs-4.3.3-klauncher_mac.patch")'
declare -x PATH="/usr/lib/ccache/bin:/usr/lib64/portage/bin/ebuild-helpers:/usr/lib/ccache/bin:/usr/lib/icecc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3:/usr/lib64/subversion/bin"
declare -- PDEPEND="
semantic-desktop? ( !kdeprefix? ( >=kde-base/nepomuk-4.4.3[aqua=,-kdeprefix] )
kdeprefix? ( >=kde-base/nepomuk-4.4.3:4.4[aqua=,kdeprefix] ) )
"
declare -x PKG_CONFIG_PATH="/usr/lib64/pkgconfig"
declare -x PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
declare -x PORTAGE_NICENESS="8"
declare -- PREFIX="/usr"
declare -x PRELINK_PATH_MASK="/usr/lib64/klibc"
declare -x PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
declare -x PROPERTIES=""
declare -x PROVIDE=""
declare -x PYTHONDONTWRITEBYTECODE="1"
declare -- QTEST_COLORED="1"
declare -- QT_MINIMAL="4.6.0"
declare -- QT_PLUGIN_PATH="/usr/lib64/kde4/plugins/"
declare -x RDEPEND="
app-crypt/qca:2
>=app-misc/strigi-0.6.3
dev-libs/libattica
dev-libs/libpcre[unicode]
dev-libs/libxml2
dev-libs/libxslt
media-libs/fontconfig
media-libs/freetype:2
media-libs/giflib
media-libs/jpeg:0
media-libs/libpng
sys-libs/zlib
>=x11-misc/shared-mime-info-0.60
acl? ( virtual/acl )
alsa? ( media-libs/alsa-lib )
aqua? (
>=media-sound/phonon-4.3.80
sys-apps/dbus
)
!aqua? (
>=media-sound/phonon-4.3.80[xcb]
sys-apps/dbus[X]
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
x11-libs/libXcursor
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXft
x11-libs/libXpm
x11-libs/libXrender
x11-libs/libXtst
!kernel_SunOS? ( sys-libs/libutempter )
)
bzip2? ( app-arch/bzip2 )
fam? ( virtual/fam )
jpeg2k? ( media-libs/jasper )
kerberos? ( virtual/krb5 )
lzma? ( app-arch/xz-utils )
openexr? (
media-libs/openexr
media-libs/ilmbase
)
policykit? ( sys-auth/polkit-qt )
semantic-desktop? (
>=dev-libs/shared-desktop-ontologies-0.2
>=dev-libs/soprano-2.3.73[dbus,raptor,redland]
)
spell? (
app-dicts/aspell-en
app-text/aspell
app-text/enchant
)
ssl? ( dev-libs/openssl )
zeroconf? (
|| (
net-dns/avahi[mdnsresponder-compat]
!bindist? ( net-misc/mDNSResponder )
)
)

!dev-libs/conversion
!dev-libs/kunitconversion
!x11-libs/qt-phonon
!<=kde-misc/kdnssd-avahi-0.1.2:0
>=app-crypt/gnupg-2.0.11
app-misc/ca-certificates
!kdeprefix? ( >=kde-base/kde-env-4.4.3[aqua=,-kdeprefix] )
kdeprefix? ( >=kde-base/kde-env-4.4.3:4.4[aqua=,kdeprefix] )
!aqua? (
x11-apps/iceauth
x11-apps/rgb
>=x11-misc/xdg-utils-1.0.2-r3
)
!kdeprefix? ( !kde-base/libknotificationitem:4.1[-kdeprefix] )
!kdeprefix? ( !kde-base/libknotificationitem:4.2[-kdeprefix] )
!kdeprefix? ( !kde-base/libknotificationitem:4.3[-kdeprefix] )
!kde-base/libknotificationitem:4.4
!kdeprefix? ( !kde-base/libknotificationitem:4.5[-kdeprefix] )
!kdeprefix? ( !kde-base/libknotificationitem:live[-kdeprefix] ) !kdeprefix? ( !kde-base/libkworkspace:4.1[-kdeprefix] )
!kdeprefix? ( !kde-base/libkworkspace:4.2[-kdeprefix] )
!kdeprefix? ( !kde-base/libkworkspace:4.3[-kdeprefix] )
!<kde-base/libkworkspace-4.3.66:4.4 !kdeprefix? ( !kde-base/kpilot:4.1[-kdeprefix] )
!kdeprefix? ( !kde-base/kpilot:4.2[-kdeprefix] )
!kdeprefix? ( !kde-base/kpilot:4.3[-kdeprefix] )
!kde-base/kpilot:4.4
!kdeprefix? ( !kde-base/kpilot:4.5[-kdeprefix] )
!kdeprefix? ( !kde-base/kpilot:live[-kdeprefix] ) !<=kde-base/kdebase-3.5.9-r4:3.5 !<=kde-base/kdebase-startkde-3.5.10:3.5 !<kde-base/kdelibs-3.5.10:3.5 !kdeprefix? ( !kde-base/plasma-workspace:4.1[-kdeprefix] )
!kdeprefix? ( !kde-base/plasma-workspace:4.2[-kdeprefix] )
!kdeprefix? ( !kde-base/plasma-workspace:4.3[-kdeprefix] )
!<kde-base/plasma-workspace-4.3.75:4.4 !kdeprefix? ( !kde-base/kdelibs:4.1[-kdeprefix] )
!kdeprefix? ( !kde-base/kdelibs:4.2[-kdeprefix] )
!kdeprefix? ( !kde-base/kdelibs:4.3[-kdeprefix] )
!kdeprefix? ( !kde-base/kdelibs:4.5[-kdeprefix] )
!kdeprefix? ( !kde-base/kdelibs:live[-kdeprefix] ) opengl? (
>=x11-libs/qt-opengl-4.6.0:4
)
>=x11-libs/qt-webkit-4.6.0:4[kde]

>=x11-libs/qt-core-4.6.0:4[qt3support,ssl]
>=x11-libs/qt-gui-4.6.0:4[dbus]
>=x11-libs/qt-qt3support-4.6.0:4[kde]
>=x11-libs/qt-script-4.6.0:4
>=x11-libs/qt-sql-4.6.0:4[qt3support]
>=x11-libs/qt-svg-4.6.0:4
>=x11-libs/qt-test-4.6.0:4
!aqua? (
x11-libs/libXext
x11-libs/libXt
x11-libs/libXxf86vm
)
dev-lang/perl"
declare -x RESTRICT="test"
declare -x RUBY_TARGETS=""
declare -x S="/var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3"
declare -x SANDBOX_DEBUG="0"
declare -x SANDBOX_DENY=""
declare -x SANDBOX_PID="15776"
declare -x SANDBOX_PREDICT="/var/tmp/portage/kde-base/kdelibs-4.4.3/homedir:/dev/crypto:/var/cache/fontconfig"
declare -x SANDBOX_READ="/:/dev/stdin:/var/tmp:/var/tmp/ccache"
declare -x SANDBOX_VERBOSE="1"
declare -x SANDBOX_WRITE=":/dev/console:/dev/fd:/dev/full:/dev/null:/dev/pts/:/dev/pty:/dev/shm:/dev/stderr:/dev/stdout:/dev/tts:/dev/tty:/dev/vc/:/dev/zero:/proc/self/fd:/tmp:/tmp/:/usr/lib/cf:/usr/lib/conftest:/usr/lib32/cf:/usr/lib32/conftest:/usr/lib64/cf:/usr/lib64/conftest:/usr/tmp/cf:/usr/tmp/conftest:/var/tmp:/var/tmp/:/var/tmp/ccache:/var/tmp/portage/kde-base/kdelibs-4.4.3/homedir/.bash_history"
declare -x SANE_CONFIG_DIR="/etc/sane.d"
declare -x SESSION_MANAGER="local/thomas-desktop:@/tmp/.ICE-unix/3450,unix/thomas-desktop:/tmp/.ICE-unix/3450"
declare -x SLOT="4.4"
declare -- SRC_URI="mirror://kde/stable/4.4.3/src/kdelibs-4.4.3.tar.bz2"
declare -x STAGE1_USE="multilib nptl nptlonly unicode"
declare -- SUF="_build"
declare -x SYMLINK_LIB="yes"
declare -x USB_DEVFS_PATH="/dev/bus/usb"
declare -x USE="acl alsa amd64 bzip2 elibc_glibc handbook jpeg2k kerberos kernel_linux mmx multilib nls openexr opengl policykit sse sse2 ssl userland_GNU zeroconf"
declare -x USERLAND="GNU"
declare -x USERNAME="thomas"
declare -x VIDEO_CARDS=""
declare -- WANT_CMAKE="always"
declare -- WEBKIT_REQUIRED="always"
declare -x WINDOWID="37805638"
declare -x WINDOWPATH="7"
declare -x XDG_CONFIG_DIRS="/etc/xdg"
declare -x XDG_CONFIG_HOME="/var/tmp/portage/kde-base/kdelibs-4.4.3/temp"
declare -x XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share/gdm"
declare -x XDG_MENU_PREFIX="gnome-"
declare -x XDG_SESSION_COOKIE="7fbdf213688e5f9a029520bb4b8147ef-1274062565.163194-1867533440"
declare -x 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"
declare -- _="PKG_INSTALL_MASK"
declare -x _E_DOCDESTTREE_=""
declare -x _E_EXEDESTTREE_=""
declare -- ___ECLASS_RECUR_MULTILIB="yes"
declare -- ___ECLASS_RECUR_TOOLCHAIN_FUNCS="yes"
declare -- filter_opts=""
declare -a mycmakeargs='([0]="-DKDE4_BUILD_TESTS=OFF" [1]="-DKDE_DISTRIBUTION_TEXT=Gentoo" [2]="-DCMAKE_INSTALL_PREFIX=/usr" [3]="-DSYSCONF_INSTALL_DIR=/etc" [4]="-DWITH_Avahi=ON" [5]="-DWITH_DNSSD=OFF" [6]="-DWITH_HSPELL=OFF" [7]="-DKDE_DEFAULT_HOME=.kde4" [8]="-DKAUTH_BACKEND=POLKITQT-1" [9]="-DBUILD_doc=ON" [10]="-DHAVE_X86_3DNOW=OFF" [11]="-DHAVE_PPC_ALTIVEC=OFF" [12]="-DHAVE_X86_MMX=ON" [13]="-DHAVE_X86_SSE=ON" [14]="-DHAVE_X86_SSE2=ON" [15]="-DWITH_acl=ON" [16]="-DWITH_ACL=ON" [17]="-DWITH_Acl=ON" [18]="-DWITH_alsa=ON" [19]="-DWITH_ALSA=ON" [20]="-DWITH_Alsa=ON" [21]="-DWITH_BZip2=ON" [22]="-DWITH_fam=OFF" [23]="-DWITH_FAM=OFF" [24]="-DWITH_Fam=OFF" [25]="-DWITH_Jasper=ON" [26]="-DWITH_GSSAPI=ON" [27]="-DWITH_LibLZMA=OFF" [28]="-DWITH_Libintl=ON" [29]="-DWITH_OpenEXR=ON" [30]="-DWITH_OpenGL=ON" [31]="-DWITH_PolkitQt-1=ON" [32]="-DWITH_Soprano=OFF" [33]="-DWITH_SharedDesktopOntologies=OFF" [34]="-DWITH_ASPELL=OFF" [35]="-DWITH_ENCHANT=OFF" [36]="-DWITH_OpenSSL=ON")'
declare -- str="_modify-cmakelists: entering function"
__versionator__test_version_compare ()
{
__versionator_shopt_toggle on;
local lt=1 eq=2 gt=3 p q;
function __versionator__test_version_compare_t ()
{
version_compare "${1}" "${3}";
local r=$?;
[[ ${r} -eq ${2} ]] || echo "FAIL: ${@} (got ${r} exp ${2})"
};
echo "
0 $lt 1
1 $lt 2
2 $gt 1
2 $eq 2
0 $eq 0
10 $lt 20
68 $eq 068
068 $gt 67
068 $lt 69

1.0 $lt 2.0
2.0 $eq 2.0
2.0 $gt 1.0

1.0 $gt 0.0
0.0 $eq 0.0
0.0 $lt 1.0

0.1 $lt 0.2
0.2 $eq 0.2
0.3 $gt 0.2

1.2 $lt 2.1
2.1 $gt 1.2

1.2.3 $lt 1.2.4
1.2.4 $gt 1.2.3

1.2.0 $eq 1.2
1.2.1 $gt 1.2
1.2 $lt 1.2.1

1.2b $eq 1.2b
1.2b $lt 1.2c
1.2b $gt 1.2a
1.2b $gt 1.2
1.2 $lt 1.2a

1.3 $gt 1.2a
1.3 $lt 1.3a

1.0_alpha7 $lt 1.0_beta7
1.0_beta $lt 1.0_pre
1.0_pre5 $lt 1.0_rc2
1.0_rc2 $lt 1.0

1.0_p1 $gt 1.0
1.0_p1-r1 $gt 1.0_p1

1.0_alpha6-r1 $gt 1.0_alpha6
1.0_beta6-r1 $gt 1.0_alpha6-r2

1.0_pre1 $lt 1.0-p1

1.0p $gt 1.0_p1
1.0r $gt 1.0-r1
1.6.15 $gt 1.6.10-r2
1.6.10-r2 $lt 1.6.15

" | while read a b c; do
[[ -z "${a}${b}${c}" ]] && continue;
__versionator__test_version_compare_t "${a}" "${b}" "${c}";
done;
for q in "alpha beta pre rc=${lt};${gt}" "p r=${gt};${lt}";
do
for p in ${q%%=*};
do
local c=${q##*=};
local alt=${c%%;*} agt=${c##*;};
__versionator__test_version_compare_t "1.0" $agt "1.0_${p}";
__versionator__test_version_compare_t "1.0" $agt "1.0_${p}1";
__versionator__test_version_compare_t "1.0" $agt "1.0_${p}068";
__versionator__test_version_compare_t "2.0_${p}" $alt "2.0";
__versionator__test_version_compare_t "2.0_${p}1" $alt "2.0";
__versionator__test_version_compare_t "2.0_${p}068" $alt "2.0";
__versionator__test_version_compare_t "1.0_${p}" $eq "1.0_${p}";
__versionator__test_version_compare_t "0.0_${p}" $lt "0.0_${p}1";
__versionator__test_version_compare_t "666_${p}3" $gt "666_${p}";
__versionator__test_version_compare_t "1_${p}7" $lt "1_${p}8";
__versionator__test_version_compare_t "1_${p}7" $eq "1_${p}7";
__versionator__test_version_compare_t "1_${p}7" $gt "1_${p}6";
__versionator__test_version_compare_t "1_${p}09" $eq "1_${p}9";
done;
done;
for p in "-r" "_p";
do
__versionator__test_version_compare_t "7.2${p}1" $lt "7.2${p}2";
__versionator__test_version_compare_t "7.2${p}2" $gt "7.2${p}1";
__versionator__test_version_compare_t "7.2${p}3" $gt "7.2${p}2";
__versionator__test_version_compare_t "7.2${p}2" $lt "7.2${p}3";
done;
__versionator_shopt_toggle off
}
__versionator_shopt_toggle ()
{
VERSIONATOR_RECURSION=${VERSIONATOR_RECURSION:-0};
case "$1" in
"on")
if [[ $VERSIONATOR_RECURSION -lt 1 ]]; then
VERSIONATOR_OLD_EXTGLOB=$(shopt -p extglob);
shopt -s extglob;
fi;
VERSIONATOR_RECURSION=$(( $VERSIONATOR_RECURSION + 1 ))
;;
"off")
VERSIONATOR_RECURSION=$(( $VERSIONATOR_RECURSION - 1 ));
if [[ $VERSIONATOR_RECURSION -lt 1 ]]; then
eval $VERSIONATOR_OLD_EXTGLOB;
fi
;;
esac;
return 0
}
_cdrom_locate_file_on_cd ()
{
local mline="";
local showedmsg=0 showjolietmsg=0;
while [[ -z ${CDROM_ROOT} ]]; do
local i=0;
local -a cdset=(${*//:/ });
if [[ -n ${CDROM_SET} ]]; then
cdset=(${cdset[${CDROM_SET}]});
fi;
while [[ -n ${cdset[${i}]} ]]; do
local dir=$(dirname ${cdset[${i}]});
local file=$(basename ${cdset[${i}]});
local point= node= fs= foo=;
while read point node fs foo; do
[[ " cd9660 iso9660 udf " != *" ${fs} "* ]] && ! [[ ${fs} == "subfs" && ",${opts}," == *",fs=cdfss,"* ]] && continue;
point=${point//\040/ };
[[ ! -d ${point}/${dir} ]] && continue;
[[ -z $(find "${point}/${dir}" -maxdepth 1 -iname "${file}") ]] && continue;
export CDROM_ROOT=${point};
export CDROM_SET=${i};
export CDROM_MATCH=${cdset[${i}]};
return;
done <<< "$(get_mounts)";
((++i));
done;
echo;
if [[ ${showedmsg} -eq 0 ]]; then
if [[ ${CDROM_TOTAL_CDS} -eq 1 ]]; then
if [[ -z ${CDROM_NAME} ]]; then
einfo "Please insert+mount the cdrom for ${PN} now !";
else
einfo "Please insert+mount the ${CDROM_NAME} cdrom now !";
fi;
else
if [[ -z ${CDROM_NAME_1} ]]; then
einfo "Please insert+mount cd #${CDROM_CURRENT_CD} for ${PN} now !";
else
local var="CDROM_NAME_${CDROM_CURRENT_CD}";
einfo "Please insert+mount the ${!var} cdrom now !";
fi;
fi;
showedmsg=1;
fi;
einfo "Press return to scan for the cd again";
einfo "or hit CTRL+C to abort the emerge.";
echo;
if [[ ${showjolietmsg} -eq 0 ]]; then
showjolietmsg=1;
else
ewarn "If you are having trouble with the detection";
ewarn "of your CD, it is possible that you do not have";
ewarn "Joliet support enabled in your kernel. Please";
ewarn "check that CONFIG_JOLIET is enabled in your kernel.";
ebeep 5;
fi;
read || die "something is screwed with your system";
done
}
_check_build_dir ()
{
: ${CMAKE_USE_DIR:=${S}};
if [[ -n ${CMAKE_IN_SOURCE_BUILD} ]]; then
CMAKE_BUILD_DIR="${CMAKE_USE_DIR}";
else
if [[ ${CMAKE_USE_DIR} = ${WORKDIR} ]]; then
CMAKE_BUILD_DIR="${CMAKE_USE_DIR}/build";
else
[[ ${1} = init || -d ${CMAKE_USE_DIR}_build ]] && SUF="_build" || SUF="";
CMAKE_BUILD_DIR="${CMAKE_USE_DIR}${SUF}";
fi;
fi;
echo ">>> Working in BUILD_DIR: \"$CMAKE_BUILD_DIR\""
}
_do_blocker ()
{
debug-print-function ${FUNCNAME} "$@";
[[ -z ${1} ]] && die "Missing parameter";
local pkg=kde-base/$1;
shift;
local param slot def="unset" var atom;
for slot in 3.5 ${KDE_SLOTS[@]} ${KDE_LIVE_SLOTS[@]};
do
local block_${slot//./_}="unset";
done;
for param in "$@";
do
if [[ ${param/:} == ${param} ]]; then
def=${param};
else
slot=${param#*:};
local block_${slot//./_}=${param%:*};
fi;
done;
for slot in ${KDE_SLOTS[@]} ${KDE_LIVE_SLOTS[@]};
do
var=block_${slot//./_};
[[ ${!var} == "unset" ]] && var=def;
if [[ ${!var} == "unset" ]] || [[ -z ${!var} ]] || _greater_max_in_slot ${!var#<} ${slot}; then
atom=${pkg};
else
if [[ ${!var} == "0" ]] || _less_min_in_slot ${!var#<} ${slot}; then
continue;
else
if [[ ${!var:0:1} == "<" ]]; then
atom="<${pkg}-${!var:1}";
else
atom="<=${pkg}-${!var}";
fi;
fi;
fi;
if [[ ${SLOT} == ${slot} ]]; then
echo " !${atom}:${slot}";
else
echo " !kdeprefix? ( !${atom}:${slot}[-kdeprefix] )";
fi;
done;
if [[ ${block_3_5} != "unset" && ${block_3_5} != "0" ]]; then
if [[ -z ${block_3_5} ]]; then
atom=${pkg};
else
if [[ ${block_3_5:0:1} == "<" ]]; then
atom="<${pkg}-${block_3_5:1}";
else
atom="<=${pkg}-${block_3_5}";
fi;
fi;
echo " !${atom}:3.5";
fi
}
_epatch_draw_line ()
{
[[ -z $1 ]] && set "$(printf "%65s" '')";
echo "${1//?/=}"
}
_execute_optionaly ()
{
local phase="$1";
shift;
if [[ ${WANT_CMAKE} = always ]]; then
enable_cmake-utils_${phase} "$@";
else
use ${WANT_CMAKE} && enable_cmake-utils_${phase} "$@";
fi
}
_filter-hardened ()
{
local f;
for f in "$@";
do
case "${f}" in
-fPIC | -fpic | -fPIE | -fpie | -Wl,pie | -pie)
gcc-specs-pie || continue;
is-flagq -nopie || append-flags -nopie
;;
-fstack-protector)
gcc-specs-ssp || continue;
is-flagq -fno-stack-protector || append-flags $(test-flags -fno-stack-protector)
;;
-fstack-protector-all)
gcc-specs-ssp-to-all || continue;
is-flagq -fno-stack-protector-all || append-flags $(test-flags -fno-stack-protector-all)
;;
-fno-strict-overflow)
gcc-specs-nostrict || continue;
is-flagq -fstrict-overflow || append-flags $(test-flags -fstrict-overflow)
;;
esac;
done
}
_filter-var ()
{
local f x VAR VAL;
declare -a new;
VAR=$1;
shift;
eval VAL=\${${VAR}};
for f in ${VAL};
do
for x in "$@";
do
[[ ${f} == ${x} ]] && continue 2;
done;
eval new\[\${\#new\[@]}]=\${f};
done;
eval export ${VAR}=\${new\[*]}
}
_gcc-install-dir ()
{
echo "$(LC_ALL=C $(tc-getCC) -print-search-dirs 2> /dev/null | awk '$1=="install:" {print $2}')"
}
_gcc-specs-directive_raw ()
{
local cc=$(tc-getCC);
local specfiles=$(LC_ALL=C ${cc} -v 2>&1 | awk '$1=="Reading" {print $NF}');
${cc} -dumpspecs 2> /dev/null | cat - ${specfiles} | awk -v directive=$1 'BEGIN { pspec=""; spec=""; outside=1 }
$1=="*"directive":" { pspec=spec; spec=""; outside=0; next }
outside || NF==0 || ( substr($1,1,1)=="*" && substr($1,length($1),1)==":" ) { outside=1; next }
spec=="" && substr($0,1,1)=="+" { spec=pspec " " substr($0,2); next }
{ spec=spec $0 }
END { print spec }';
return 0
}
_gcc-specs-exists ()
{
[[ -f $(_gcc-install-dir)/$1 ]]
}
_greater_max_in_slot ()
{
local ver=$1;
local slot=$2;
[[ $slot == live ]] && return 1;
local test=${slot}.50;
version_compare $1 ${test};
(( $? != 1 ))
}
_is_flagq ()
{
local x;
for x in ${!1};
do
[[ ${x} == $2 ]] && return 0;
done;
return 1
}
_less_min_in_slot ()
{
local ver=$1;
local slot=$2;
local test=9999_pre;
[[ $slot != live ]] && test=${slot%.*}.$((${slot#*.} - 1)).50;
version_compare $1 ${test};
(( $? != 3 ))
}
_modify-cmakelists ()
{
debug-print-function ${FUNCNAME} "$@";
find "${CMAKE_USE_DIR}" -name CMakeLists.txt -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_BUILD_TYPE.*)/{s/^/#IGNORE /g}' {} + -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_INSTALL_PREFIX.*)/{s/^/#IGNORE /g}' {} + || die "${LINENO}: failed to disable hardcoded settings";
cat >> CMakeLists.txt <<-_EOF_

MESSAGE(STATUS "<<< Gentoo configuration >>>
Build type \${CMAKE_BUILD_TYPE}
Install path \${CMAKE_INSTALL_PREFIX}
Compiler flags:
C \${CMAKE_C_FLAGS}
C++ \${CMAKE_CXX_FLAGS}
Linker flags:
Executable \${CMAKE_EXE_LINKER_FLAGS}
Module \${CMAKE_MODULE_LINKER_FLAGS}
Shared \${CMAKE_SHARED_LINKER_FLAGS}\n")
_EOF_

}
_unpack_tar ()
{
if [ "${y}" == "tar" ]; then
$1 -dc "$srcdir$x" | tar xof -;
assert "$myfail";
else
$1 -dc "${srcdir}${x}" > ${x%.*} || die "$myfail";
fi
}
_use_me_now ()
{
debug-print-function ${FUNCNAME} "$@";
local uper capitalised x;
[[ -z $2 ]] && die "cmake-utils_use-$1 <USE flag> [<flag name>]";
if [[ ! -z $3 ]]; then
echo "-D$1$3=$(use $2 && echo ON || echo OFF)";
else
uper=$(echo ${2} | tr '[:lower:]' '[:upper:]');
capitalised=$(echo ${2} | sed 's/\<\(.\)\([^ ]*\)/\u\1\L\2/g');
for x in $2 $uper $capitalised;
do
echo "-D$1$x=$(use $2 && echo ON || echo OFF) ";
done;
fi
}
_use_me_now_inverted ()
{
debug-print-function ${FUNCNAME} "$@";
local uper capitalised x;
[[ -z $2 ]] && die "cmake-utils_use-$1 <USE flag> [<flag name>]";
if [[ ! -z $3 ]]; then
echo "-D$1$3=$(use $2 && echo OFF || echo ON)";
else
uper=$(echo ${2} | tr '[:lower:]' '[:upper:]');
capitalised=$(echo ${2} | sed 's/\<\(.\)\([^ ]*\)/\u\1\L\2/g');
for x in $2 $uper $capitalised;
do
echo "-D$1$x=$(use $2 && echo OFF || echo ON) ";
done;
fi
}
add_blocker ()
{
debug-print-function ${FUNCNAME} "$@";
RDEPEND+=" $(_do_blocker "$@")"
}
add_kdebase_dep ()
{
debug-print-function ${FUNCNAME} "$@";
[[ -z ${1} ]] && die "Missing parameter";
local use=${2:+,${2}};
echo " !kdeprefix? ( >=kde-base/${1}-${PV}[aqua=,-kdeprefix${use}] )";
echo " kdeprefix? ( >=kde-base/${1}-${PV}:${SLOT}[aqua=,kdeprefix${use}] )"
}
append-cflags ()
{
[[ -z $* ]] && return 0;
export CFLAGS="${CFLAGS} $*";
return 0
}
append-cppflags ()
{
[[ -z $* ]] && return 0;
export CPPFLAGS="${CPPFLAGS} $*";
return 0
}
append-cxxflags ()
{
[[ -z $* ]] && return 0;
export CXXFLAGS="${CXXFLAGS} $*";
return 0
}
append-fflags ()
{
[[ -z $* ]] && return 0;
export FFLAGS="${FFLAGS} $*";
export FCFLAGS="${FCFLAGS} $*";
return 0
}
append-flags ()
{
[[ -z $* ]] && return 0;
append-cflags "$@";
append-cxxflags "$@";
append-fflags "$@";
return 0
}
append-ldflags ()
{
[[ -z $* ]] && return 0;
local flag;
for flag in "$@";
do
[[ ${flag} == -l* ]] && ewarn "Appending a library link instruction (${flag}); libraries to link to should not be passed through LDFLAGS";
done;
export LDFLAGS="${LDFLAGS} $*";
return 0
}
append-lfs-flags ()
{
[[ -n $@ ]] && die "append-lfs-flags takes no arguments";
append-cppflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
}
append-libs ()
{
[[ -z $* ]] && return 0;
local flag;
for flag in "$@";
do
[[ ${flag} == -l* ]] && flag=${flag#-l};
export LIBS="${LIBS} -l${flag}";
done;
return 0
}
base_src_compile ()
{
debug-print-function $FUNCNAME "$@";
has src_configure ${BASE_EXPF} || base_src_configure;
base_src_make $@
}
base_src_configure ()
{
debug-print-function $FUNCNAME "$@";
[[ -x ${ECONF_SOURCE:-.}/configure ]] && econf
}
base_src_install ()
{
debug-print-function $FUNCNAME "$@";
emake DESTDIR="${D}" $@ install || die "died running make install, $FUNCNAME:make";
base_src_install_docs
}
base_src_install_docs ()
{
debug-print-function $FUNCNAME "$@";
local x;
pushd "${S}" > /dev/null;
if [[ "$(declare -p DOCS 2>/dev/null 2>&1)" == "declare -a"* ]]; then
for x in "${DOCS[@]}";
do
debug-print "$FUNCNAME: docs: creating document from ${x}";
dodoc "${x}" || die "dodoc failed";
done;
fi;
if [[ "$(declare -p HTML_DOCS 2>/dev/null 2>&1)" == "declare -a"* ]]; then
for x in "${HTML_DOCS[@]}";
do
debug-print "$FUNCNAME: docs: creating html document from ${x}";
dohtml -r "${x}" || die "dohtml failed";
done;
fi;
popd > /dev/null
}
base_src_make ()
{
debug-print-function $FUNCNAME "$@";
if [[ -f Makefile || -f GNUmakefile || -f makefile ]]; then
emake $@ || die "died running emake, $FUNCNAME:make";
fi
}
base_src_prepare ()
{
debug-print-function $FUNCNAME "$@";
debug-print "$FUNCNAME: PATCHES=$PATCHES";
local patches_failed=0;
pushd "${S}" > /dev/null;
if [[ "$(declare -p PATCHES 2>/dev/null 2>&1)" == "declare -a"* ]]; then
for x in "${PATCHES[@]}";
do
debug-print "$FUNCNAME: applying patch from ${x}";
if [[ -d "${x}" ]]; then
EPATCH_SUFFIX=${EPATCH_SUFFIX:=patch};
oldval=${EPATCH_SOURCE};
EPATCH_SOURCE=${x};
EPATCH_FORCE=yes;
epatch;
EPATCH_SOURCE=${oldval};
else
if [[ -f "${x}" ]]; then
epatch "${x}";
else
ewarn "QA: File or directory \"${x}\" does not exist.";
ewarn "QA: Check your PATCHES array or add missing file/directory.";
patches_failed=1;
fi;
fi;
done;
[[ ${patches_failed} -eq 1 ]] && die "Some patches failed. See above messages.";
else
for x in ${PATCHES};
do
debug-print "$FUNCNAME: patching from ${x}";
epatch "${x}";
done;
fi;
debug-print "$FUNCNAME: applying user patches";
epatch_user;
popd > /dev/null
}
base_src_unpack ()
{
debug-print-function $FUNCNAME "$@";
pushd "${WORKDIR}" > /dev/null;
[[ -n "${A}" ]] && unpack ${A};
has src_prepare ${BASE_EXPF} || base_src_prepare;
popd > /dev/null
}
bashrc_has ()
{
[[ " ${*:2} " == *" $1 "* ]]
}
block_other_slots ()
{
debug-print-function ${FUNCNAME} "$@";
_do_blocker ${PN} 0:${SLOT}
}
buildsycoca ()
{
debug-print-function ${FUNCNAME} "$@";
if [[ ${EAPI} == 2 ]] && ! use prefix; then
EROOT=${ROOT};
fi;
local KDE3DIR="${EROOT}usr/kde/3.5";
if [[ -z ${EROOT%%/} && -x "${KDE3DIR}"/bin/kbuildsycoca ]]; then
touch "${KDE3DIR}"/share/services/ksycoca;
chmod 644 "${KDE3DIR}"/share/services/ksycoca;
ebegin "Running kbuildsycoca to build global database";
XDG_DATA_DIRS="${EROOT}usr/local/share:${KDE3DIR}/share:${EROOT}usr/share" DISPLAY="" "${KDE3DIR}"/bin/kbuildsycoca --global --noincremental &>/dev/null;
eend $?;
fi;
for x in share/{config,kde4};
do
[[ ${KDEDIR} == /usr ]] && DIRS=${EROOT}usr || DIRS="${EROOT}usr ${EROOT}${KDEDIR}";
for y in ${DIRS};
do
[[ -d "${y}/${x}" ]] || break;
if [[ $(stat --format=%a "${y}/${x}") != 755 ]]; then
ewarn "QA Notice:";
ewarn "Package ${PN} is breaking ${y}/${x} permissions.";
ewarn "Please report this issue to gentoo bugzilla.";
einfo "Permissions will get adjusted automatically now.";
find "${y}/${x}" -type d -print0 | xargs -0 chmod 755;
fi;
done;
done
}
built_with_use ()
{
local hidden="no";
if [[ $1 == "--hidden" ]]; then
hidden="yes";
shift;
fi;
local missing_action="die";
if [[ $1 == "--missing" ]]; then
missing_action=$2;
shift;
shift;
case ${missing_action} in
true | false | die)

;;
*)
die "unknown action '${missing_action}'"
;;
esac;
fi;
local opt=$1;
[[ ${opt:0:1} = "-" ]] && shift || opt="-a";
local PKG=$(best_version $1);
[[ -z ${PKG} ]] && die "Unable to resolve $1 to an installed package";
shift;
local USEFILE=${ROOT}/var/db/pkg/${PKG}/USE;
local IUSEFILE=${ROOT}/var/db/pkg/${PKG}/IUSE;
if [[ ! -e ${USEFILE} ]] ||
Back to top
View user's profile Send private message
t.schoettler
n00b
n00b


Joined: 17 May 2010
Posts: 5

PostPosted: Tue May 18, 2010 4:38 am    Post subject: Reply with quote

sorry for that long lists - but that's what emerge told me to do ...


ts
Back to top
View user's profile Send private message
t.schoettler
n00b
n00b


Joined: 17 May 2010
Posts: 5

PostPosted: Thu May 20, 2010 3:39 am    Post subject: Reply with quote

just checking what I posted so far, I found out, that for some unknown reason the last file I added is missing.
I assume, that the post became too long, so right now I will only add the very end of the log-file to it.
So here it is:
Code:

[ 72%] [ 72%] Building CXX object kate/CMakeFiles/katepart.dir/vimode/katevirange.o
Building CXX object kde3support/CMakeFiles/kde3support.dir/kdecore/k3procio.o
[ 72%] Building CXX object kate/CMakeFiles/katepart.dir/vimode/katevikeyparser.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/vimode/kateviglobal.o
[ 73%] In file included from /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kde3support/kdecore/k3procio.cpp:20:
/var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kde3support/kdecore/k3process.h:266: Warnung: »virtual bool K3Process::start(K3Process::RunMode, QFlags<K3Process::CommunicationFlag>)« war versteckt
/var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kde3support/kdecore/k3procio.h:88: Warnung:   von »bool K3ProcIO::start(K3Process::RunMode, bool)«
Building CXX object kate/CMakeFiles/katepart.dir/vimode/katevivisualmode.o
Linking CXX shared library ../lib/libkde3support.so
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/vimode/katevireplacemode.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/spellcheck/prefixstore.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/spellcheck/ontheflycheck.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/spellcheck/spellcheck.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/spellcheck/spellcheckdialog.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/spellcheck/spellingmenu.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/katevimodebar.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/katecmds.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/katefactory.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/kateconfig.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/katebookmarks.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/kateautoindent.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/kateschema.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/katetemplatehandler.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/kateprinter.o
[ 73%] Built target kde3support
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/kateglobal.o
/var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kate/utils/katetemplatehandler.cpp:124: Warnung: unbenutzter Parameter »document«
/var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kate/utils/katetemplatehandler.cpp:491: Warnung: unbenutzter Parameter »document«
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/katecmd.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/katedynamicanimation.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/katestyletreewidget.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/katepartpluginmanager.o
[ 73%] Building CXX object kate/CMakeFiles/katepart.dir/utils/katehistorymodel.o
Linking CXX shared module ../lib/katepart.so
[ 73%] Built target katepart
make: *** [all] Fehler 2
 * ERROR: kde-base/kdelibs-4.4.3 failed:
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4114:  Called kde4-base_src_compile
 *   environment, line 3177:  Called cmake-utils_src_compile
 *   environment, line 1303:  Called _execute_optionaly 'src_compile'
 *   environment, line  706:  Called enable_cmake-utils_src_compile
 *   environment, line 1668:  Called cmake-utils_src_make
 *   environment, line 1322:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =kde-base/kdelibs-4.4.3',
 * the complete build log and the output of 'emerge -pqv =kde-base/kdelibs-4.4.3'.
 * The complete build log is located at '/var/lib/entropy/logs/kde-base:kdelibs-4.4.3:20100517-031641.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.4.3/temp/environment'.
 * S: '/var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3'


regards

ts
Back to top
View user's profile Send private message
t.schoettler
n00b
n00b


Joined: 17 May 2010
Posts: 5

PostPosted: Wed May 26, 2010 8:04 am    Post subject: solved Reply with quote

after a lot of trying around, finally it works - I do not fully understand why, but now it works; first thing I did was setting USE-Flag for KDE;
reading compilation output led me to the assumption to delete and reinstall libattica, which I did, and now it works.

Thanks to everybody having read this thread, thinking about a possible solution,

Regards,

TS

PS: Can somebody tell me how to mark this as "solved" ???

PPS: Can anybody please give me a hint, if I have done something wrong; receiving absolutely no answers surprised me a little bit.
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Wed May 26, 2010 10:40 am    Post subject: Re: solved Reply with quote

t.schoettler wrote:
PPS: Can anybody please give me a hint, if I have done something wrong; receiving absolutely no answers surprised me a little bit.


That's because you never told us what was wrong (other than "kdelibs doesn't compile"). Let me rephrase, the first error from top counts, not below, so those "Fehler" (I assume it means "Error")'s you posted are meaningless.
Back to top
View user's profile Send private message
t.schoettler
n00b
n00b


Joined: 17 May 2010
Posts: 5

PostPosted: Wed May 26, 2010 2:18 pm    Post subject: Reply with quote

Thank you, that was not intended ... I will do better next time ...

regards,

TS
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum