Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115590 - ERROR: kde-base/superkaramba-3.5.0 failed cant compile
Summary: ERROR: kde-base/superkaramba-3.5.0 failed cant compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 142355 223915 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-14 14:22 UTC by Richie Hawtin
Modified: 2008-05-28 23:48 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richie Hawtin 2005-12-14 14:22:25 UTC
meter_python.o: In function `PyString2QString(_object*)':
meter_python.cpp:(.text+0x1b5): undefined reference to `PyUnicodeUCS2_AsUnicode'
meter_python.o: In function `QString2PyString(QString)':
meter_python.cpp:(.text+0x221): undefined reference to `PyUnicodeUCS2_FromUnicode'
collect2: ld returned 1 exit status
make[3]: *** [superkaramba] Error 1
make[3]: Leaving directory
`/var/tmp/portage/superkaramba-3.5.0/work/superkaramba-3.5.0/superkaramba/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/superkaramba-3.5.0/work/superkaramba-3.5.0/superkaramba'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/superkaramba-3.5.0/work/superkaramba-3.5.0'
make: *** [all] Error 2

!!! ERROR: kde-base/superkaramba-3.5.0 failed.
!!! Function kde_src_compile, Line 173, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1.emerge kdeutils
2.
3.

Actual Results:  
kdeutils errors out durring compile

Expected Results:  
kdeutils compiles

I have tried to rebuild python and pyQt both compile fine i have also ran
fix_libtool_files.sh 3.4.4 none have fixed the issue.


Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre10
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa audiofile avi berkdb bitmap-fonts bzip2 cdparanoia cdr
cdrw crypt cups curl directfb dts dvd dvdr dvdread emboss encode esd exif expat
fam ffmpeg firefox flac foomaticdb fortran gif glut gmp gnome gpm gstreamer gtk
gtk2 hal idn imagemagick imlib ipv6 ithreads java jpeg lcms lzw lzw-tiff mad mng
mp3 mpeg ncurses nls nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png
python qt quicktime readline real samba sdl spell sqlite ssl tcpd tiff truetype
truetype-fonts type1-fonts udev unicode usb userlocales vorbis wxGTK xinerama
xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-14 14:26:37 UTC
NOT a bugzilla product bug...

http://bugs.gentoo.org/enter_bug.cgi?format=guided

<snip>
Gentoo Linux: The Gentoo Linux Distribution - Ebuilds and System related issues.
If you're unsure where your bugs go, then file them here.
</snip>
Comment 2 Richie Hawtin 2005-12-14 14:50:11 UTC
Sorry...thanks for moving it
Comment 3 Richie Hawtin 2005-12-14 17:49:26 UTC
Looks like this is an issue with python not being built with UCS2 i have done

USE=ucs2 emerge python

then i went into the
var/tmp/portage/superkaramba-3.5.0/work/superkaramba-3.5.0/superkaramba
and did a make and i didnt get the error.

I will post if i resolved this issue after kdeutils builds.
Comment 4 Richie Hawtin 2005-12-14 18:51:33 UTC
This resolved the issue.  Why doesnt the KDEutils ebuld tell me that i need that
option enabled?
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2005-12-15 06:07:57 UTC
We'll look into getting a proper fix in portage, but can you notify the 
superkaramba devs at bugs.kde.org about this.  Perhaps they don't know that 
people build python without UCS2. 
Comment 6 Richie Hawtin 2005-12-15 10:52:16 UTC
Thanks I created a bug with the KDE team.

http://bugs.kde.org/show_bug.cgi?id=118398
Comment 7 Tom Hosiawa 2006-02-14 21:33:15 UTC
Does this problem still occur with superkaramba 3.5.1. 

I have python build without uc2 and have no problems here.
Comment 8 Chuck Wegrzyn 2006-04-04 10:54:05 UTC
It still happens in 3.5.2
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-22 14:42:32 UTC
Do all who have this problem run 64 bit arch by chance? :)
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-22 15:01:00 UTC
Please post the output of 

grep UNICODE /usr/include/python2.4/pyconfig.h

having python installed without uc2 use flag enabled.
Comment 11 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-06 17:04:07 UTC
*** Bug 142355 has been marked as a duplicate of this bug. ***
Comment 12 Charlie Shepherd (RETIRED) gentoo-dev 2007-02-09 12:42:56 UTC
Please answer comment 10 if this is still an issue with superkaramba-3.5.6
Comment 13 Howard B. Golden 2007-10-21 16:16:47 UTC
Re: Comment 10: This problem still exists in kdeutils-3.5.8, when compiled against a python-2.5 built with UCS4:

Here is the pyconfig.h:

#define PY_UNICODE_TYPE unsigned long
#define Py_UNICODE_SIZE 4
#define Py_USING_UNICODE 1
Comment 14 Howard B. Golden 2007-12-31 00:29:36 UTC
(In reply to comment #13)
Re: Comment 10: This problem still exists in kdeutils-3.5.8-r1, when compiled
against a python-2.5 built with UCS4.

Please reopen this bug.
Comment 15 Howard B. Golden 2007-12-31 02:44:27 UTC
(In reply to comment #14)

Oops! My mistake. I had an old version of /usr/local/include/python2.5 with UCS2 set. Removing this fixed the problem I was having. No need to reopen bug. Sorry!
Comment 16 Carsten Lohrke (RETIRED) gentoo-dev 2007-12-31 18:46:05 UTC
.
Comment 17 Carsten Lohrke (RETIRED) gentoo-dev 2007-12-31 18:46:49 UTC
Hm, mixing ucs2 and and ucs4 is a local problem.
Comment 18 Carsten Lohrke (RETIRED) gentoo-dev 2008-05-28 23:48:11 UTC
*** Bug 223915 has been marked as a duplicate of this bug. ***