FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 01-28-2009, 06:00 PM
Tomas Linhart
 
Default KDE 4.2: Emerge of ksysguard and ksmserver failed

Hello all,

I've decided to try out KDE 4.2. I unmasked all the packages that I
needed, but when I was emerging kde-base/ksysguard I got the following
error:

Linking CXX shared library ../../lib/libkdeinit4_ksysguard.so
[ 98%] Built target kdeinit_ksysguard
Scanning dependencies of target ksysguard
[100%] Building CXX object
ksysguard/gui/CMakeFiles/ksysguard.dir/ksysguard_dummy.o
Linking CXX executable ksysguard
/usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
`QByteArray::indexOf(char const*, int) const'
/usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
`QPainter::drawPixmap(QPointF const&, QPixmap const&)'
collect2: ld returned 1 exit status
make[2]: *** [ksysguard/gui/ksysguard] Error 1
make[1]: *** [ksysguard/gui/CMakeFiles/ksysguard.dir/all] Error 2
make: *** [all] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in kde-base/ksysguard-4.2.0:
!!! In cmake-utils_src_make at line 1409
!!! Make failed!

!!! Call stack:
!!! * cmake-utils_src_make
(/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:1409)
!!! * kde4-base_src_make
(/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:3760)
!!! * kde4-meta_src_compile
(/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:3997)
!!! * src_compile
(/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:5071)
!!! * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:54)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:482)
!!! * main (/usr/libexec/paludis/ebuild.bash:498)

diefunc: making ebuild PID 3618 exit with error
die trap: exiting with error.


I didn't see any other error during the merge.

The same error occurred when emerging kde-base/ksmserver.

I tried to re-emerge qt-* packages but the error remains the same.

Does somebody have a idea what could be wrong?

Thanks.

Tomas
 
Old 01-29-2009, 12:24 AM
Nick Cunningham
 
Default KDE 4.2: Emerge of ksysguard and ksmserver failed

2009/1/28 Tomas Linhart <tomas.linhart@gmail.com>

Hello all,



I've decided to try out KDE 4.2. I unmasked all the packages that I

needed, but when I was emerging kde-base/ksysguard I got the following

error:



Linking CXX shared library ../../lib/libkdeinit4_ksysguard.so

[ 98%] Built target kdeinit_ksysguard

Scanning dependencies of target ksysguard

[100%] Building CXX object

ksysguard/gui/CMakeFiles/ksysguard.dir/ksysguard_dummy.o

Linking CXX executable ksysguard

/usr/lib64/qt4/libQtWebKit.so.4: undefined reference to

`QByteArray::indexOf(char const*, int) const'

/usr/lib64/qt4/libQtWebKit.so.4: undefined reference to

`QPainter::drawPixmap(QPointF const&, QPixmap const&)'

collect2: ld returned 1 exit status

make[2]: *** [ksysguard/gui/ksysguard] Error 1

make[1]: *** [ksysguard/gui/CMakeFiles/ksysguard.dir/all] Error 2

make: *** [all] Error 2

/usr/libexec/paludis/utils/emake: emake returned error 2



!!! ERROR in kde-base/ksysguard-4.2.0:

!!! In cmake-utils_src_make at line 1409

!!! Make failed!



!!! Call stack:

!!! * ** cmake-utils_src_make

(/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:1409)

!!! * ** kde4-base_src_make

(/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:3760)

!!! * ** kde4-meta_src_compile

(/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:3997)

!!! * ** src_compile

(/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:5071)

!!! * ** ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:54)

!!! * ** ebuild_main (/usr/libexec/paludis/ebuild.bash:482)

!!! * ** main (/usr/libexec/paludis/ebuild.bash:498)



diefunc: making ebuild PID 3618 exit with error

die trap: exiting with error.





I didn't see any other error during the merge.



The same error occurred when emerging kde-base/ksmserver.



I tried to re-emerge qt-* packages but the error remains the same.



Does somebody have a idea what could be wrong?



Thanks.



Tomas




Some basic info like emerge --info (or paludis equivilant) would be a good start, likewise confirming that the build still fails with portage would also be useful (im not saying anything about paludis before any flamewars start, just wanting to rule out the package manager as a cause).


It looks like its failing on something to do with webkit maybe, so try rebuilding webkit first?

Just some ideas to get you started

- Nick
 
Old 01-29-2009, 06:17 AM
Tomas Linhart
 
Default KDE 4.2: Emerge of ksysguard and ksmserver failed

2009/1/29 Nick Cunningham <nick@monkeydust.net>:
>
>
> Some basic info like emerge --info (or paludis equivilant) would be a good
> start, likewise confirming that the build still fails with portage would
> also be useful (im not saying anything about paludis before any flamewars
> start, just wanting to rule out the package manager as a cause).

I have already tried to install the package using emerge, but the
result is still the same. My emerge --info looks like this:

Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.2,
glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)
================================================== ===============
System uname: Linux-2.6.28-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-glibc2.2.5
Timestamp of tree: Thu, 29 Jan 2009 06:15:02 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python: 2.5.4-r2
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.2
sys-apps/sandbox: 1.3.3
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.19
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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/shutdown /usr/share/config /var/lib/hsqldb"
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/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/paludis/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages
parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/paludis/repositories/local
/var/paludis/repositories/kde
/var/paludis/repositories/overlay-watzke-cz
/var/paludis/repositories/sunrise
/var/paludis/repositories/paludis-extras"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 bash-completion berkdb bzip2
cdr cli cracklib crypt cups dbus dri dvd dvdr fortran gdbm gif gpm hal
iconv ipv6 isdnlog jpeg kde midi mmx mmxext mp3 mudflap multilib
ncurses nls nptl nptlonly opengl openmp paludis pam pcre perl pppd
python qt4 readline reflection session spl sse sse2 ssl sysfs tcpd
unicode vim-syntax xcomposite xorg zlib" ALSA_CARDS="ali5451 als4000
atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371
es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident
usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw
asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug
ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route
share shm softvol" APACHE2_MODULES="actions alias auth_basic
authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user
autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires
ext_filter file_cache filter headers include info log_config logio
mem_cache mime mime_magic negotiation rewrite setenvif speling status
unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text" LINGUAS="cs en" USERLAND="GNU" VIDEO_CARDS="ati fbdev
fglrx radeonhd vesa vga"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I have also tried to build it without ccache and with MAKEOPTS="-j1"
but no luck, with -j1 the error only appears earlier

Scanning dependencies of target ksysguard
[ 73%] Building CXX object
ksysguard/gui/CMakeFiles/ksysguard.dir/ksysguard_dummy.o
Linking CXX executable ksysguard
/usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
`QByteArray::indexOf(char const*, int) const'
/usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
`QPainter::drawPixmap(QPointF const&, QPixmap const&)'
collect2: ld returned 1 exit status
make[2]: *** [ksysguard/gui/ksysguard] Error 1
make[1]: *** [ksysguard/gui/CMakeFiles/ksysguard.dir/all] Error 2
make: *** [all] Error 2

> It looks like its failing on something to do with webkit maybe, so try
> rebuilding webkit first?

I have rebuilt qt-webkit (among other qt-* packages as I mentioned in
my previous post)

>
> Just some ideas to get you started

Thank you for your ideas, however I still have not got it working :-(
Another suggestions are welcome :-)

Tomas

> - Nick
>
 
Old 01-29-2009, 06:37 AM
Volker Armin Hemmann
 
Default KDE 4.2: Emerge of ksysguard and ksmserver failed

On Mittwoch 28 Januar 2009, Tomas Linhart wrote:
> Hello all,
>
> I've decided to try out KDE 4.2. I unmasked all the packages that I
> needed, but when I was emerging kde-base/ksysguard I got the following
> error:
>
> Linking CXX shared library ../../lib/libkdeinit4_ksysguard.so
> [ 98%] Built target kdeinit_ksysguard
> Scanning dependencies of target ksysguard
> [100%] Building CXX object
> ksysguard/gui/CMakeFiles/ksysguard.dir/ksysguard_dummy.o
> Linking CXX executable ksysguard
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
> `QByteArray::indexOf(char const*, int) const'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to
> `QPainter::drawPixmap(QPointF const&, QPixmap const&)'
> collect2: ld returned 1 exit status
> make[2]: *** [ksysguard/gui/ksysguard] Error 1
> make[1]: *** [ksysguard/gui/CMakeFiles/ksysguard.dir/all] Error 2
> make: *** [all] Error 2
> /usr/libexec/paludis/utils/emake: emake returned error 2
>
> !!! ERROR in kde-base/ksysguard-4.2.0:
> !!! In cmake-utils_src_make at line 1409
> !!! Make failed!
>
> !!! Call stack:
> !!! * cmake-utils_src_make
> (/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:1409)
> !!! * kde4-base_src_make
> (/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:3760)
> !!! * kde4-meta_src_compile
> (/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:3997)
> !!! * src_compile
> (/var/tmp/paludis/kde-base-ksysguard-4.2.0/temp/loadsaveenv:5071)
> !!! * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:54)
> !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:482)
> !!! * main (/usr/libexec/paludis/ebuild.bash:498)
>
> diefunc: making ebuild PID 3618 exit with error
> die trap: exiting with error.
>
>
> I didn't see any other error during the merge.
>
> The same error occurred when emerging kde-base/ksmserver.
>
> I tried to re-emerge qt-* packages but the error remains the same.
>
> Does somebody have a idea what could be wrong?

re-emerge the qt packages in the right order.
then emerge kdelibs again, then the rest. Stuff like this happens when qt is
updated after kdelibs is built against it.
 
Old 01-29-2009, 07:03 AM
Tomas Linhart
 
Default KDE 4.2: Emerge of ksysguard and ksmserver failed

2009/1/29 Volker Armin Hemmann <volkerarmin@googlemail.com>:
>>
>> I tried to re-emerge qt-* packages but the error remains the same.
>>
>> Does somebody have a idea what could be wrong?
>
> re-emerge the qt packages in the right order.
> then emerge kdelibs again, then the rest. Stuff like this happens when qt is
> updated after kdelibs is built against it.
>

Thanks for your answer.

I not at my box just now so I will try that later today. But I have
re-emerge all qt packages and also kdelibs yesterday but I am not sure
in which order...
Before I start again - what is "the right order" for emerging the qt packages?

Tomas
 
Old 01-29-2009, 07:36 AM
Dirk Uys
 
Default KDE 4.2: Emerge of ksysguard and ksmserver failed

On Thu, Jan 29, 2009 at 10:03 AM, Tomas Linhart <tomas.linhart@gmail.com> wrote:
> 2009/1/29 Volker Armin Hemmann <volkerarmin@googlemail.com>:
>>
>> re-emerge the qt packages in the right order.
>> then emerge kdelibs again, then the rest. Stuff like this happens when qt is
>> updated after kdelibs is built against it.
>>
>
> Thanks for your answer.
>
> I not at my box just now so I will try that later today. But I have
> re-emerge all qt packages and also kdelibs yesterday but I am not sure
> in which order...
> Before I start again - what is "the right order" for emerging the qt packages?
>
> Tomas

I would assume that "the right order" is to emerge all the qt
libraries, and then kdelibs?

Regards
Dirk
 
Old 01-29-2009, 01:57 PM
Volker Armin Hemmann
 
Default KDE 4.2: Emerge of ksysguard and ksmserver failed

On Donnerstag 29 Januar 2009, Tomas Linhart wrote:

> Before I start again - what is "the right order" for emerging the qt
> packages?

I am not sure anymore - if you look into the ebuilds you should be able to see
it.
 
Old 01-29-2009, 01:58 PM
Volker Armin Hemmann
 
Default KDE 4.2: Emerge of ksysguard and ksmserver failed

On Donnerstag 29 Januar 2009, Tomas Linhart wrote:

> Before I start again - what is "the right order" for emerging the qt
> packages?

I am not sure anymore - if you look into the ebuilds you should be able to see
it.
 
Old 01-29-2009, 02:21 PM
Tomas Linhart
 
Default KDE 4.2: Emerge of ksysguard and ksmserver failed

Everything is going fine now. The problem was that
/usr/lib64/qt4/libQtWebKit.so.4 was symlinked to QtWebkit 4.5 library
and that was the reason why some symbols could not be found. After
correcting the symlink the problem disappeared.
However, it seems strange to me, because I have tried and later
uninstalled qt 4.5 more than 14 days before and I have not found any
other files that belong to qt 4.5 on my system, only
/usr/lib64/qt4/libQtWebKit.so.4.5 was there.

Thanks everyone who helped me.

Tomas
 
Old 01-29-2009, 02:38 PM
Dale
 
Default KDE 4.2: Emerge of ksysguard and ksmserver failed

Volker Armin Hemmann wrote:
> On Donnerstag 29 Januar 2009, Tomas Linhart wrote:
>
>
>> Before I start again - what is "the right order" for emerging the qt
>> packages?
>>
>
> I am not sure anymore - if you look into the ebuilds you should be able to see
> it.
>
>
>

I would --oneshot with them all on one line and let portage figure out
the order of things. emerge -1va qt-* kdelibs etc etc and then let
portage decide which should be emerged first.

Dale

:-) :-)
 

Thread Tools




All times are GMT. The time now is 12:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org