Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157548 - pango is broken for 32-bit apps!
Summary: pango is broken for 32-bit apps!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: emul-tracker
  Show dependency tree
 
Reported: 2006-12-08 17:06 UTC by Elias Faraclas
Modified: 2007-02-04 22:49 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 Elias Faraclas 2006-12-08 17:06:32 UTC
Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 4000+
Gentoo Base System version 1.12.6
Last Sync: Fri, 08 Dec 2006 00:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://gentoo.ccccom.com http://mirrors.acm.cs.rpi.edu/gentoo/"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac alsa alsa_cards_emu10k1 alsa_cards_intel8x0 amd64 arts avi berkdb bidi bitmap-fonts cairo cdda cdio cdparanoia cdr cli cracklib crypt cups dbus dlloader dri dts dvd dvdr eds elibc_glibc emboss encode esd fam ffmpeg firefox flac fortran freetype gdbm gif gnome gnutls gpm gstreamer gtk gtk2 hal httpd iconv input_devices_evdev input_devices_keyboard input_devices_mouse install ipv6 isdnlog jack jack-tmpfs jpeg kde kdeenablefinal kernel_linux ldap libg++ linguas_en live mad matroska mikmod mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pcre pdf pdflib perl png portaudio ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session smb spell spl ssl stream symlink tcpd theora truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nv video_cards_nvidia video_cards_vesa vlc vlm vorbis wxgtk wxwindows xine xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Elias Faraclas 2006-12-08 17:07:47 UTC
faraclas@localhost ~ $ firefox
No running windows found

(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: pango_shape called with bad font, expect ugly output

(firefox-bin:21664): Pango-WARNING **: pango_font_get_glyph_extents called with bad font, expect ugly output

(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:21664): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
Comment 2 Jory A. Pratt 2006-12-08 17:13:48 UTC
emerge app-emulation/emul-linux-x86-gtklibs, then your problem should be resolved.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-08 17:15:33 UTC
You have some stale junk somewhere, fix it.

*** This bug has been marked as a duplicate of 149918 ***

*** This bug has been marked as a duplicate of 149918 ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-08 17:24:57 UTC
...
Comment 5 Elias Faraclas 2006-12-08 20:37:14 UTC
(In reply to comment #4)
> ...
> 

This is not a duplicate bug; it is a new one.  I have already re-emerged emul-linux-x86-gtklibs several times (as other places on the internet indicate to do so).  I have also tried to make a symbolic link to no avail.  One this that I notices was that the error from firefox references libs in the pango/1.4.0 directory 

(firefox-bin:21100): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.4.0/modu
les/pango-basic-fc.so: cannot open shared object file: No such file or director
y

However,
 
faraclas@localhost ~ $ ls /emul/linux/x86/usr/lib/pango/
1.5.0

There is no 1.4.0 version of pango installed.  I tried copying the 1.5.0 directory to a new one named 1.4.0 but it didn't work either.  This is about thie limit of my diagnostic abilities.  Please help!

And again, this is a NEW bug, not the same as the other ones.

Comment 6 Olivier Crete (RETIRED) gentoo-dev 2006-12-09 05:53:43 UTC
Please make sure your /etc/pango/i686-pc-linux-gnu/pango.modules is unmodified from the emul libs package, because it does contain the 1.5.0 files.. 
Comment 7 Elias Faraclas 2006-12-09 07:04:55 UTC
(In reply to comment #6)
> Please make sure your /etc/pango/i686-pc-linux-gnu/pango.modules is unmodified
> from the emul libs package, because it does contain the 1.5.0 files.. 
> 

My /etc/pango/i686-pc-linux-gnu/pango.modules reads as follows:

# Pango Modules file
# Automatically generated file, do not edit
#
# ModulesPath = /emul/linux/x86/usr/lib/pango/1.4.0/modules
#
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-khmer-fc.so KhmerScriptEngineFc PangoEngineShape PangoRenderFc khmer:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-x.so BasicScriptEngineX PangoEngineShape PangoRenderX common:
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-thai-fc.so ThaiScriptEngineFc PangoEngineShape PangoRenderFc thai:* lao:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-arabic-fc.so ArabicScriptEngineFc PangoEngineShape PangoRenderFc arabic:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-indic-fc.so devaScriptEngineFc PangoEngineShape PangoRenderFc devanagari:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-indic-fc.so bengScriptEngineFc PangoEngineShape PangoRenderFc bengali:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-indic-fc.so guruScriptEngineFc PangoEngineShape PangoRenderFc gurmukhi:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-indic-fc.so gujrScriptEngineFc PangoEngineShape PangoRenderFc gujarati:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-indic-fc.so oryaScriptEngineFc PangoEngineShape PangoRenderFc oriya:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-indic-fc.so tamlScriptEngineFc PangoEngineShape PangoRenderFc tamil:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-indic-fc.so teluScriptEngineFc PangoEngineShape PangoRenderFc telugu:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-indic-fc.so kndaScriptEngineFc PangoEngineShape PangoRenderFc kannada:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-indic-fc.so mlymScriptEngineFc PangoEngineShape PangoRenderFc malayalam:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-indic-fc.so sinhScriptEngineFc PangoEngineShape PangoRenderFc sinhala:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-hangul-fc.so HangulScriptEngineFc PangoEngineShape PangoRenderFc hangul:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-syriac-fc.so SyriacScriptEngineFc PangoEngineShape PangoRenderFc syriac:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-basic-fc.so BasicScriptEngineFc PangoEngineShape PangoRenderFc armenian:* bopomofo:* cherokee:* coptic:* cyrillic:* deseret:* ethiopic:* georgian:* gothic:* greek:* han:* hiragana:* katakana:* latin:* ogham:* old-italic:* runic:* canadian-aboriginal:* yi:* braille:* cypriot:* limbu:* osmanya:* shavian:* linear-b:* ugaritic:* common:
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-hebrew-fc.so HebrewScriptEngineFc PangoEngineShape PangoRenderFc hebrew:*
/emul/linux/x86/usr/lib/pango/1.4.0/modules/pango-tibetan-fc.so TibetanScriptEngineFc PangoEngineShape PangoRenderFc tibetan:*


Is this the problem, that it points to 1.4.0 when 1.5.0 was installed??  How can I fix it?
Comment 8 Elias Faraclas 2006-12-09 07:14:13 UTC
I edited /etc/pango/i686-pc-linux-gnu/pango.modules and replaced all of the references to 1.4.0 with 1.5.0.  Now I can see the text.  However, I still have the error

firefox-bin:9437): Gtk-WARNING **: Error loading icon: Unable to load image-loading module: /emul/linux/x86/usr/lib/g       tk-2.0/2.4.0/loaders/libpixbufloader-png.so: /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so: can       not open shared object file: No such file or directory


I have these in my sustem under the

ls /emul/linux/x86/usr/lib/gtk-2.0/2.10.0/loaders/

Is there a similar file I can edit to get this fixed too??

This will be good for a short fix but this bug needs to be fixed.  This was a fresh installation that had no errors until the /emul stuff started pointing in the wrong places.
Comment 9 Elias Faraclas 2006-12-09 07:34:08 UTC
Ok.  I fixed this by editing /etc/gtk-2.0/i686-pc-linux-gnu/gdk-pixbuf.loaders again replacing 2.4.0 with 2.10.0.  I saw that gtk.immodules had the same problem but I will leave it alone for the time being.

Whoever is maintaining these bugs, the real cause for this seems to be the automatic generation of these files pointing to the wrong 32-bit emul libraries.  Once they are pointed properly, everything works fine.
Comment 10 SpanKY gentoo-dev 2007-02-04 22:49:59 UTC
this has been fixed