Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82381 - proprietary samsung drivers break KDE
Summary: proprietary samsung drivers break KDE
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 82386 113779 115538 145693 183395 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-17 10:35 UTC by Marius Caldas
Modified: 2007-06-27 15:51 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 Marius Caldas 2005-02-17 10:35:22 UTC
Greetings,

When emerging kdelibs-3.3.2-r3 I had the following error:
--------------------
Making all in .
make[3]: Entering directory `/var/tmp/portage/kdelibs-3.3.2-r3/work/kdelibs-3.3.2/kdeui'
/usr/qt/3/bin/uic -o kshortcutdialog_simple.h ./kshortcutdialog_simple.ui
/usr/qt/3/bin/uic: symbol lookup error: /usr/qt/3/bin/uic: undefined symbol: _ZN5QChar4nullE
make[3]: *** [kshortcutdialog_simple.h] Error 127
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r3/work/kdelibs-3.3.2/kdeui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r3/work/kdelibs-3.3.2/kdeui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r3/work/kdelibs-3.3.2'
make: *** [all] Error 2
-----------------------
I package.mask'ed kdelibs, and subsequently all of the newer kde packages are showing the same problem: kdebase-3.3.2-r2 and kdeedu-3.3.2-r1. I tried re-emerging qt but it didn't help.
Apparently this is a very loclized bug since I posted this at the forums for a few days (http://forums.gentoo.org/viewtopic-t-294559-highlight-.html) and nobody else seems to have experienced it.

-----------------------
# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-rc2-mm3 i686)
=================================================================
System uname: 2.6.9-rc2-mm3 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.9
Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 10 2005, 13:08:51)]
dev-lang/python: 2.2.3-r5, 2.3.4-r1
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils: 2.15.92.0.2-r2
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ http://gentoo.ccccom.com http://gentoo.llarian.net/ http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cscope cups directfb encode esd f77 fam flacfont-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 javajpeg junit kde ldap libg++ libwww mad mikmod motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba scanner sdl slang speex spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS 
---------------------------------------------------------------
Steps to reproduce:

1 - emerge -Du world
---------------------------------------------------------------
Thanks.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2005-02-17 10:44:04 UTC
do you have another copy of qt installed on your filesystem somewhere?

what version do you have installed through portage?
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-17 15:01:08 UTC
*** Bug 82386 has been marked as a duplicate of this bug. ***
Comment 3 Marius Caldas 2005-02-17 19:41:52 UTC
Hello Caleb,

Thanks for your time. I don't have any other versions of qt installed, other than the latest from portage, 3.3.4-r2.
Comment 4 Ira Snyder 2005-02-22 13:11:15 UTC
I'm getting the same error here. I'm running an ~x86 system.  I've tried unmerging kdelibs, qt, recompiliing glibc back to an older version, then remerging kdelibs and qt. This didn't fix the problem. I still get the same symbol lookup error.

I'd be happy to try some stuff if anyone has a possible solution.

NOTE: kdelibs did compile for me just fine about a week ago, now it does not. I first had problem when trying to merge krusader, and unmerged qt and kdelibs to try to fix the compile error. Now I cannot even get kdelibs to compile.
Comment 5 Ira Snyder 2005-02-22 14:54:23 UTC
I just tried recompiling qt and kdelibs on gcc-3.3.4 and it still failed with the same missing symbol.

Here is my emerge info:
irasnyd@yuki ~ $ emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-cko3 i686)
=================================================================
System uname: 2.6.10-cko3 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 21:08:42)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -mfpmath=sse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -mfpmath=sse -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://128.213.5.34/gentoo/ http://mirror.cpsc.ucalgary.ca/mirror/gentoo.org http://mirrors.tds.net/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/fluidportage/trunk"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex S3TC X a52 aac acpi aim alsa avi berkdb bigger-fonts bitmap-fonts cdr cups curl dvd dvdr dvdread fbcon flac foomaticdb freetype gdbm gif gimpprint gpm gstreamer gtk gtk2 hal imlib imlib2 jabber java jpeg kdeenablefinal mad matroska mmap mmx mmx2 mozilla moznocompose moznoirc moznomail mp3 mpeg ncurses nptl nptlonly offensive ogg oggvorbis opengl oscar pam pdflib png ppds python radeon readline real rtc sdl slang spell sse ssl truetype truetype-fonts unicode usb userlocales vim-with-x vorbis xanim xine xml xml2 xprint xv xvid zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL

Comment 6 Ira Snyder 2005-02-22 17:38:02 UTC
I found the issue causing this. I turns out the Samsung printer I got this week installed a copy of it's own libqt-mt.so.3.0.4 in /usr/lib. I removed this file, and changed the link to /lib/qt/3/lib/libqt-mt.so.3. I haven't tested if samsung's stuff still works, but now I just got kdelibs and krusader to compile.

So look for a qt lib that was installed by something else, because that fixed it for me.
Comment 7 Marius Caldas 2005-02-23 11:50:14 UTC
Great find Ira! I also have a Samsung printer driver installed. Indeed fixing the links allow me to compile the kde packages, but the link is being re-established periodically. I don't know yet if it's the driver or something else, and I haven't tried printing yet. I will try to find out more later. I can't say that the bug is fixed yet but at least now we have some pointers.
Comment 8 Marius Caldas 2005-02-23 23:57:00 UTC
I can now confirm that the link /usr/lib/libqt-mt.so.3 is being peridically reset to libqt-mt.samsung-mfp.so.3.0.4 instead of /usr/qt/3/lib/libqt-mt.so.3. I haven't had time to look into this yet. I have stopped cups and checked cron but it still is being reset by some process.
Comment 9 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-24 09:02:56 UTC
Does the Samsung stuff come from an ebuild?
Comment 10 Marius Caldas 2005-02-24 23:19:00 UTC
No, the Samsung driver is not in an ebuild. I guess we can close the bug, since it has nothing to do with Gentoo itself. But it's probably a useful resource for people who have the a Samsung driver.
Comment 11 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-25 00:47:48 UTC
Ok. Changing resolution...
Comment 12 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-25 00:48:00 UTC
...
Comment 13 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-06 05:14:45 UTC
change summary
Comment 14 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-06 05:16:00 UTC
*** Bug 115538 has been marked as a duplicate of this bug. ***
Comment 15 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-06 05:16:47 UTC
*** Bug 145693 has been marked as a duplicate of this bug. ***
Comment 16 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-06 05:17:38 UTC
*** Bug 113779 has been marked as a duplicate of this bug. ***
Comment 17 Carsten Lohrke (RETIRED) gentoo-dev 2007-06-27 15:51:03 UTC
*** Bug 183395 has been marked as a duplicate of this bug. ***