Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16702 - new xfree (4.3.0) and xft strange behavior
Summary: new xfree (4.3.0) and xft strange behavior
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-02 20:58 UTC by moonlite
Modified: 2003-10-15 09:45 UTC (History)
3 users (show)

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


Attachments
my XF86Config (XF86Config,4.21 KB, text/plain)
2003-03-03 16:36 UTC, moonlite
Details

Note You need to log in before you can comment on or make changes to this bug.
Description moonlite 2003-03-02 20:58:16 UTC
as i installed xfree-4.3.0.ebuild i started to experience problems with xft... 
gkrellm2 crashed for me and idesk wouldnt start with some error messages about
xft (don remember them) i recoompiled idesk, and it worked like a charm... 
however gkrellm won't recompile  :(
Comment 1 moonlite 2003-03-02 21:05:45 UTC
emerge gkrellm
-------------
Calculating dependencies ...done!
>>> emerge (1 of 1) app-admin/gkrellm-2.1.7a to /
>>> md5 ;-) gkrellm-2.1.7a.tar.bz2
>>> Unpacking source...
>>> Unpacking gkrellm-2.1.7a.tar.bz2 to /var/tmp/portage/gkrellm-2.1.7a/work
>>> Source unpacked.
gtk2
(cd po && make all)
make[1]: Entering directory `/var/tmp/portage/gkrellm-2.1.7a/work/gkrellm-2.1.7a/po'
msgfmt -f -v -o cs.mo cs.po
msgfmt -f -v -o de.mo de.po
370 translated messages, 116 untranslated messages.
msgfmt -f -v -o es.mo es.po
486 translated messages.
msgfmt -f -v -o fr.mo fr.po
486 translated messages.
msgfmt -f -v -o it.mo it.po
486 translated messages.
msgfmt -f -v -o ja.mo ja.po
486 translated messages.
msgfmt -f -v -o pl.mo pl.po
483 translated messages.
msgfmt -f -v -o ru.mo ru.po
486 translated messages.
msgfmt -f -v -o sl.mo sl.po
449 translated messages, 37 untranslated messages.
msgfmt -f -v -o sv.mo sv.po
486 translated messages.
472 translated messages, 5 fuzzy translations, 9 untranslated messages.
make[1]: Leaving directory `/var/tmp/portage/gkrellm-2.1.7a/work/gkrellm-2.1.7a/po'
(cd src && make gkrellm)
make[1]: Entering directory `/var/tmp/portage/gkrellm-2.1.7a/work/gkrellm-2.1.7a/src'
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o main.o main.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o alerts.o alerts.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o battery.o battery.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o base64.o base64.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o clock.o clock.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o cpu.o cpu.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o disk.o disk.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o fs.o fs.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o hostname.o hostname.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o inet.o inet.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o mail.o mail.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o mem.o mem.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o net.o net.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o proc.o proc.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o sensors.o sensors.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o uptime.o uptime.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o chart.o chart.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o panel.o panel.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o config.o config.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o gui.o gui.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o krell.o krell.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o plugins.o plugins.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o pixops.o pixops.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o client.o client.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o utils.o utils.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o winops-x11.o winops-x11.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o sysdeps-unix.o sysdeps-unix.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o deprecated.o deprecated.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" -march=i686 -O3 -pipe   -c -o md5c.o md5c.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/l   
ocale\" main.o alerts.o battery.o base64.o clock.o cpu.o disk.o fs.o hostname.o inet.o mail.o mem.o ne   
t.o proc.o sensors.o uptime.o chart.o panel.o config.o gui.o krell.o plugins.o pixops.o client.o utils   
.o winops-x11.o sysdeps-unix.o deprecated.o md5c.o -o gkrellm `pkg-config --libs gtk+-2.0 gthread-2.0`   
  -L/usr/X11R6/lib -lSM -lICE  -Wl,-E
/usr/X11R6/lib/libXft.so.1: undefined reference to `XRenderQuerySubpixelOrder'
collect2: ld returned 1 exit status
make[1]: *** [gkrellm] Error 1
make[1]: Leaving directory `/var/tmp/portage/gkrellm-2.1.7a/work/gkrellm-2.1.7a/src'
make: *** [all] Error 2

!!! ERROR: app-admin/gkrellm-2.1.7a failed.
!!! Function src_compile, Line 14, Exitcode 2
!!! (no error message)



this is the complete output of "emerge gkrellm" which probably contains alot of uninteresting information except for the last part i guess...




emerge info
-----------

Portage 2.0.47-r6 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2)
=================================================================
System uname: 2.4.19 i686 AuthenticAMD
GENTOO_MIRRORS="ftp://sunsite.dk/mirrors/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/                     
kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 apm avi crypt jpeg libg++ mikmod mpeg ncurses pdflib spell xml2 xmms berkdb bonobo cdr esd gdbm gif gnome-libs gpm gtkhtml guile imlib libwww mozilla nls pam png python readline slang tcltk tcpd tiff X alsa mysql mmx 3dnow sse fbcon xface oss ssl svga matrox opengl oggvorbis libmpeg3 sdl dvd encode dvdread xv perl truetype gtk gtk2 quicktime -gnome -aalib -postgres -ggi -qt -kde -arts -motif -java -cups"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 2 SpanKY gentoo-dev 2003-03-02 21:07:10 UTC
please post some of the errors or messages you see from running/compiling 
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-03 07:42:57 UTC
did you upgrade from 4.2.1 ?

If so, you will have to regenerate your XF86Config please.
Comment 4 moonlite 2003-03-03 15:22:25 UTC
i get this when running gkrellm:
gkrellm2: relocation error: /usr/X11R6/lib/libXft.so.1: undefined symbol: XRenderQuerySubpixelOrder

and the same running idesk:
idesk: relocation error: /usr/lib/libXft.so.2: undefined symbol: XRenderQuerySubpixelOrder

the compilation-problems is noted above...

Do i really have to change my XF86Config? hm, sorry but do you know of any place that holds info on what has changed to the XF86Config (like for example new modules that i need to load for XRender etc.)
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-03 16:15:25 UTC
luca?
Comment 6 moonlite 2003-03-03 16:36:34 UTC
Created attachment 8913 [details]
my XF86Config

Well i made a new XF86Config with "X -configure" and the problem remains... the
config-file is attached
Comment 7 Luca Barbato gentoo-dev 2003-03-03 18:44:53 UTC
Just the usual random questions:

xft version?

please rebuild xft and then gkrellm

Comment 8 Manfred Stienstra 2003-03-04 13:12:57 UTC
I've also experienced some problems with Xft and xfree 4.3.0. When I emerged xfree4.3.0 mozilla stopped working. I re-emerge fontconfig Xft and freetype, but that didn't seem to work. After emerging mozilla again with a different USE I found out mozilla won't work with -moznoxft. The setup that worked:

[ebuild   R  ] net-www/mozilla-1.2.1-r5  -java +crypt +ipv6 +gtk2 +ssl +ldap -gnome -mozsvg -mozcalendar -mozaccess -mozinterfaceinfo -mozp3p +mozxmlterm +moznoirc +moznomail +moznocompose +moznoxft

This is my USE from the make.conf:

USE="-esd -gnome -nls python -perl -postgres dvd aalib mpeg sse cups dga -gtk gtk2 opengl bonobo -evo gtkhtml imlib ncurses readline sdl svga gif jpeg png tiff avi quicktime alsa -mikmod -nas -oss xmms oggvorbis flash encode ipv6 ssl crypt imap ldap tcpd mozilla -mozctl -mozaccess-builtin moznoxft moznomail moznocompose moznoirc mozxmlterm spell truetype xml xml2 pdflib -tetex -guile -java -ruby -slang libwww libg++ mysql -odbc gd gdbm -samba -mad"

dwerg@tail] dwerg) epm -q freetype fontconfig xft mozilla xfree 
freetype-2.1.2-r2
freetype-1.3.1-r3
fontconfig-2.1
xft-2.0.1
mozilla-1.2.1-r5
xfree-4.3.0

I also had some problems with fonts in konqueror, but they disappeared after re-emerging qt.
Comment 9 Luca Barbato gentoo-dev 2003-03-05 16:01:31 UTC
setting up -gtk and gtk2 may be the problem:
if you want gtk2 stuff you have to set both gtk and gtk2 useflags.
gtk2 is an useflag that says more or less that you'll use gtk2 over gtk but if you  set -gtk you basically say that you don't want gtk support at all (1 and 2).
(take a look at the useflag descriptions)
Comment 10 moonlite 2003-03-06 05:46:48 UTC
i have x11-libs/xft-2.0.1-r1 installed...

what i basically did when i saw the problems was remerging: freetype, fontconfig and xft 
and then remerged the failing prorams: idesk and gkrellm

and the problem remains... :(
Comment 11 moonlite 2003-03-06 05:47:30 UTC
i would like to dig deeper in to this but i really have no time for other thins than to eat, sleep and study the next 5 days...
Comment 12 moonlite 2003-03-08 19:18:54 UTC
i emerged xfree-4.2.1 (hoping things would go normal) 
and after that did: emerge fretype xft fontconfig idesk gkrellm

they failed to compile with the same old error-message: /usr/X11R6/lib/libXft.so.2: undefined reference to `XRenderQuerySubpixelOrder'

:(

i'm totally lost :/
Comment 13 Luca Barbato gentoo-dev 2003-03-08 21:31:45 UTC
emerge -C xfree xft fontconfig

/usr/bin/ccache/ccache -C

emerge xfree xft

try that
Comment 14 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-09 09:19:47 UTC
the reference to xrandr would be in gtk+-1.2, so please remerge it and you should be all set.
Comment 15 moonlite 2003-03-09 19:38:09 UTC
i think i might have some information of interest here...

moonlite@starbase /usr/X11R6/lib $ ldd libXft.so
        libXrender.so.1 => /usr/lib/mozilla/libXrender.so.1 (0x40021000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40028000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40084000)
        libc.so.6 => /lib/libc.so.6 (0x400ad000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401dd000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401ec000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x402cd000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /lib/libdl.so.2 (0x402f6000)


notice the first row...  it links to libXrender in the mozilla-catalog, which i guess is not really what we want here... 

these two catalogs appeared in given order in /etc/ld.so.conf.
   /usr/lib/mozilla
   /usr/X11R6/lib
And when linking you search in the first catalog right? So /usr/X11R6/lib should preferrably be above, right?  maybe the orders in /etc/env.d/ should be revised or something...  

have fun, moo
Comment 16 moonlite 2003-03-09 20:23:09 UTC
i moved away the libXrender-files in /lib/mozilla to a tempdir, ran env-update and recompiled xft
xft after that loads the Xrender-lib from /usr/X11R6/lib instead and idesk it worked until i moved the libs back and ran env-update again... 

obv. since it then wanted the libs in the mozila-dir
Comment 17 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-09 23:38:36 UTC
What version mozilla ? 1.2.1-r5 should install it as libXrender_moz.so*
Comment 18 moonlite 2003-03-10 05:51:05 UTC
unfortunately i uninstalled yesterday...  however, the library-file WAS called libXrender.so.1 and .so.1.1 so obv. it was an older version...

i installed mozilla because i wanted to test the gtk2-support i think... i use phoenix for my daily surfing...

thx for the help...  

moo
Comment 19 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-11 12:21:42 UTC
no info available -- closing
Comment 20 Martin Holzer (RETIRED) gentoo-dev 2003-10-15 09:45:42 UTC
db issue