Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327895 - kde-base/superkaramba-4.4.4: fails to compile
Summary: kde-base/superkaramba-4.4.4: fails to compile
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 10:06 UTC by Matthias Fechner
Modified: 2010-07-12 13:53 UTC (History)
0 users

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


Attachments
Logfile of the build process (build.log,44.84 KB, text/plain)
2010-07-12 10:07 UTC, Matthias Fechner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Fechner 2010-07-12 10:06:49 UTC
Try to upgrade your system using emerge -avuDN world.
At the step emerge tries to compile superkaramba 4.4.4 compile fails with errormessage:
[ 70%] Building CXX object superkaramba/src/CMakeFiles/superkaramba.dir/python/config.o
[ 71%] Building CXX object superkaramba/src/CMakeFiles/superkaramba.dir/superkarambasettings.o
Linking CXX shared library ../../lib/libsuperkaramba.so
CMakeFiles/superkaramba.dir/python/meter.o: In function `QString2PyString(QString)':
meter.cpp:(.text+0x6e): undefined reference to `PyUnicodeUCS4_FromUnicode'
CMakeFiles/superkaramba.dir/python/meter.o: In function `PyString2QString(_object*)':
meter.cpp:(.text+0x1bf): undefined reference to `PyUnicodeUCS4_AsUnicode'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
collect2: ld returned 1 exit status
make[2]: *** [lib/libsuperkaramba.so.4.4.0] Error 1
make[1]: *** [superkaramba/src/CMakeFiles/superkaramba.dir/all] Error 2
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. emerge -v =kde-base/superkaramba-4.4.4


Actual Results:  
Compile fails with error message:
Building CXX object superkaramba/src/CMakeFiles/superkaramba.dir/python/task.o
[ 70%] Building CXX object superkaramba/src/CMakeFiles/superkaramba.dir/python/config.o
[ 71%] Building CXX object superkaramba/src/CMakeFiles/superkaramba.dir/superkarambasettings.o
Linking CXX shared library ../../lib/libsuperkaramba.so
CMakeFiles/superkaramba.dir/python/meter.o: In function `QString2PyString(QString)':
meter.cpp:(.text+0x6e): undefined reference to `PyUnicodeUCS4_FromUnicode'
CMakeFiles/superkaramba.dir/python/meter.o: In function `PyString2QString(_object*)':
meter.cpp:(.text+0x1bf): undefined reference to `PyUnicodeUCS4_AsUnicode'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
collect2: ld returned 1 exit status
make[2]: *** [lib/libsuperkaramba.so.4.4.0] Error 1
make[1]: *** [superkaramba/src/CMakeFiles/superkaramba.dir/all] Error 2
make: *** [all] Error 2



emerge --info =kde-base/superkaramba-4.4.4:

Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 12 Jul 2010 06:15:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  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.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 "
LINGUAS="de en"
MAKEOPTS="-j6"
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="/var/lib/layman/gnome /var/lib/layman/sunrise /var/lib/layman/oss-overlay /var/lib/layman/idefix /var/lib/layman/vdr-devel /var/lib/layman/vdr-testing /var/lib/layman/flameeyes-overlay /var/lib/layman/vdr-xine"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emacs emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal ipv6 java jpeg kde kpathsea lcms ldap libnotify loop-aes mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap mysql ncurses nptl nptlonly nvidia ogg opengl openmp oss pam pango pcre pdf perl png ppds pppd pulseaudio python qt3support qt4 readline reflection sdl semantic-desktop session spell spl ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb v4l v4l2 vdr vorbis x264 x86 xcb xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pqv =kde-base/superkaramba-4.4.4:
[ebuild  N    ] kde-base/superkaramba-4.4.4  USE="handbook python (-aqua) -debug (-kdeenablefinal) (-kdeprefix)"
Comment 1 Matthias Fechner 2010-07-12 10:07:51 UTC
Created attachment 238419 [details]
Logfile of the build process
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-07-12 10:12:39 UTC
(In reply to comment #1)
> Created an attachment (id=238419) [details]
> Logfile of the build process
> 

-- Found PythonLibs: /usr/lib/python2.6/config/libpython2.6.a

^^ Why do you have libpython2.6.a there? Have you compiled python by hand at some point? That's a _very_ bad idea. Delete the file and things will work again.
Comment 3 Matthias Fechner 2010-07-12 13:53:54 UTC
thanks, that solved the problem.