Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71890 - kdebase 3.3.1 emerge fails with error about XcursorLibraryPath
Summary: kdebase 3.3.1 emerge fails with error about XcursorLibraryPath
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-20 14:37 UTC by Ray Heasman
Modified: 2004-11-30 15:41 UTC (History)
0 users

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 Ray Heasman 2004-11-20 14:37:51 UTC
I need to install rosegarden which has kdebase 3.3.1 as a dependency. When doing the compile, it fails with the message:

xcursor/.libs/libthemepage.a(themepage.o)(.text+0x1755): In function `ThemePage: :getThemeBaseDirs() const':
: undefined reference to `XcursorLibraryPath'

The compile command line looks ok, and I have verified the existence of the Xcursor .so files and everything otherwise looks fine.

I am using X.org 6.8.0-r1. I have tried revdep-rebuild to no avail.



Reproducible: Always
Steps to Reproduce:
1. emerge rosegarden (or emerge kdebase-3.3.1)
2.
3.

Actual Results:  
Compile fails:

/bin/sh ../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wno
n-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -W
cast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strin
gs -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -Wformat-security -Wmissing-form
at-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQ
T_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -o
kcm_input.la -rpath /usr/kde/3.3/lib/kde3 -L/usr/X11R6/lib -L/usr/qt/3/lib -L
/usr/kde/3.3/lib  -module -avoid-version -no-undefined -Wl,--no-undefined -Wl,--
allow-shlib-undefined mouse.lo main.lo kmousedlg.lo xcursor/libthemepage.la -lXt
st -lkio -lXcursor
xcursor/.libs/libthemepage.a(themepage.o)(.text+0x1755): In function `ThemePage:
:getThemeBaseDirs() const':
: undefined reference to `XcursorLibraryPath'
collect2: ld returned 1 exit status
make[4]: *** [kcm_input.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1/kc
ontrol/input'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1/kc
ontrol/input'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1/kc
ontrol'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1'
make: *** [all] Error 2


Expected Results:  
Compiled, damnit. :-)

maze ~ # xdpyinfo
name of display:    :0.0
version number:    11.0
vendor string:    Gentoo Linux (The X.Org Foundation 6.8.0, revision r0-0.1)
vendor release number:    60800000
X.Org version: 6.8.0


maze ~ # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.4.2, glibc-2.3.4.20041021-r0,
2.6.8-gentoo-r2 i686)
=================================================================
System uname: 2.6.8-gentoo-r2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.4
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/NX/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex S3TC X aalib acpi alsa apm atlas autofs avi berkdb
bitmap-fonts bonobo canna cdr cjk crypt cups dga directfb dvd encode esd evms2
f77 fam fbcon flac foomaticdb fortran freewnn gdbm ggi gif gnome gpm gstreamer
gtk gtk2 gtkhtml guile imagemagick imap imlib jabber jack java jpeg junit kde
ladcca lcms libg++ libwww mad maildir mikmod mmx motif mozilla moznoirc
moznomail mozsvg mp3 mpeg nas ncurses nls oggvorbis opengl oss pam pdflib perl
png python qt quicktime radeon readline ruby samba sasl sdl slang speex spell
sqlite sse ssl svga tcltk tcpd tetex tiff transcode truetype usb videos x86
xinerama xml xml2 xmms xosd xv xvid zlib"
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2004-11-30 06:46:25 UTC
still having this problem?
what's the output of
# nm /usr/X11R6/lib/libXcursor.a |grep XcursorLibraryPath
Comment 2 Ray Heasman 2004-11-30 10:27:32 UTC
Yes, still having this problem. Here is the output of the command you wanted:

maze ~ # nm /usr/X11R6/lib/libXcursor.a |grep XcursorLibraryPath
00000000 T XcursorLibraryPath
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2004-11-30 12:12:38 UTC
The output is ok, so the current info does not show anything obvious here, sorry...
Comment 4 Ray Heasman 2004-11-30 12:19:41 UTC
Yeah, I know. It's weird. Do you have any suggestions for what I could try? I am happy to provide more info. Is there some way to disable cursor themes in KDE?

Could it be related to the fact that I am using X.org instead of XFree? I tried recompiling X.org but it didn't seem to help.

I have gone to a lot of trouble to set up a music system around my linux box, and I really really need Rosegarden.

BTW, here is my ld.so.conf:

# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2
/usr/lib/opengl/xorg-x11/lib
/usr/lib/MozillaFirefox
/usr/lib/mozilla
/usr/X11R6/lib
/opt/blackdown-jdk-1.4.2_rc1/jre/lib/i386/
/opt/blackdown-jdk-1.4.2_rc1/jre/lib/i386/native_threads/
/opt/blackdown-jdk-1.4.2_rc1/jre/lib/i386/classic/
/usr/nx/lib
/usr/qt/3/lib
/usr/kde/3.3/lib
/usr/NX/lib
/usr/NX/lib
/usr/qt/2/lib
/usr/games/lib
/usr/lib/fltk-1.1
/usr/lib/libstdc++-v3/

Thanks for your help so far.
Comment 5 Gregorio Guidi (RETIRED) gentoo-dev 2004-11-30 13:17:08 UTC
Well, kdebase is really well-tested with xorg, so you're really hitting a 
corner case or some local corruption...

maybe downgrading binutils to a stable version?
reemerging/upgrading libtool?
some other libXcursor on the system (`locate libXcursor`)

just shoots in the dark...
Comment 6 Ray Heasman 2004-11-30 15:41:48 UTC
Hm. I looked for duplicated Xcursors before, but must have fluffed it somehow. 

I just found a duplicate in /usr/lib that, according to qpkg, wasn't owned by any package.

I have no idea how it got there, but this is a really old Gentoo box, so I guess there were lots of opportunities for corruption.

Many thanks for your help and time. I deleted the duplicate and kdebase compiles now.