Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290751 - app-text/acroread-9.2 fails to load canberra-gtk-module, gnomebreakpad and gdk-pixbuf.loaders
Summary: app-text/acroread-9.2 fails to load canberra-gtk-module, gnomebreakpad and gd...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-27 14:13 UTC by Juergen Rose
Modified: 2009-12-30 14:11 UTC (History)
3 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 Juergen Rose 2009-10-27 14:13:28 UTC
Starting acroread it complains since yesterday about missing modules:

rose@lynx:/home/rose(14)$ acroread  diplomsarbeit.pdf 
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

(acroread.de:32349): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': Datei oder Verzeichnis nicht gefunden

(acroread.de:32349): GdkPixbuf-WARNING **: Error loading XPM image loader: Bildtyp »xpm« wird nicht unterstützt

(acroread.de:32349): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': Datei oder Verzeichnis nicht gefunden

(acroread.de:32349): GdkPixbuf-WARNING **: Error loading XPM image loader: Bildtyp »xpm« wird nicht unterstützt

(acroread.de:32349): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': Datei oder Verzeichnis nicht gefunden

(acroread.de:32349): GdkPixbuf-WARNING **: Error loading XPM image loader: Bildtyp »xpm« wird nicht unterstützt

(acroread.de:32349): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

It happens with all tested pdf files.


Reproducible: Always




root@lynx:/usr/local/portage/media-video(85)# emerge --info
Portage 2.1.7.1 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 27 Oct 2009 09:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/n4g /usr/local/portage/layman/dotnet /usr/local/portage/layman/science /usr/local/portage/layman/java-overlay /usr/local/portage/layman/suka /usr/local/portage/layman/zugaina /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf aspell atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost branding bzip2 c++ cairo cardbus cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc dri ds3490 dts dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra extras fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx fuse galago garmin gd gdal gdbm geolocation geos gif gimp gimpprint ginac glade glib glitz gml gmp gnokii gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hddtemp hdf hdf5 hlapi http httpd hvm iconv icq icu id3 ide imagemagick imap innodb ipod ipv6 irda irmc isdnlog ithreads jabber java java5 java6 jbig john jpeg jpeg2k kde kde4 kerberos kexi keyring kvm ladspa lame lapack laptop latex lcms ldap libffi libgda libnotify libsamplerate lirc lua lzo lzw mad maildir mailwrapper math matroska mikmod mmx mmxext mng mod modules mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numarray numeric nvidia obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp pae pam pcre pda pdf perl pipechan plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio python qhull qt3support qt4 quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl server session slang slp smbclient smp sndfile snmp soup sox speex spell spl sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg sysfs szip t1lib tcl tcpd tex theora thinkpad threads thunar thunderbird tidy tiff tk tntc truetype unicode usb userlocales utempter v4l2 vorbis wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                 synaptics               " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" USERLAND="GNU" VIDEO_CARDS="nv vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Juergen Rose 2009-10-28 18:15:58 UTC
Also the text in the menus is not very good, compare:

http://141.89.194.22/~rose/Bildschirmfoto_acroread.png

Comment 2 Ben 2009-10-29 16:33:51 UTC
I had the same problem. It happens that Pango and gtk-2.0 ebuilds don't create the proper config files in /etc/pango. You need to create them yourself. 

Just copy the file /etc/pango/pango.modules to /etc/pango/i686-pc-linux-gnu and edit the file to replace all occurences of lib64 to lib32. I don't know if this affects pango in any way or why the pango meintainers decided not to create these files anymore. The same has to be done in the /etc/gtk-2.0 directory for the files gdk-pixbuf.loaders and gtk.immodules
Comment 3 Juergen Rose 2009-10-30 09:49:30 UTC
Hello Ben,

that makes sence. I upgraded emul-linux-x86-baselibs, emul-linux-x86-compat, emul-linux-x86-gtklibs etc to 200991004_rc1. After this upgrade I observed the acroread error.
When I started acroread first time after emul-linux upgrade I also get a message:
(acroread_err_log:11943): Pango-CRITICAL **: No modules found:
No builtin or dynamically loaded modules were found.
PangoFc will not work correctly.
This probably means there was an error in the creation of:
  '/etc/pango/pango.modules'
You should create this file by running:
  pango-querymodules > '/etc/pango/pango.modules'

So I did "pango-querymodules > '/etc/pango/pango.modules'" and some error messages disappeared.
Under /etc/gtk-2.0 I find the two subdirectories i686-pc-linux-gnu and x86_64-pc-linux-gnu, both with gdk-pixbuf.loaders and gtk.immodules. The contents of the both gtk.immodules is almost identical with except lib32 <--> lib64 and i686<-->x86_64, while in 86_64-pc-linux-gnu/gdk-pixbuf.loaders are more entries than in i686-pc-linux-gnu/gdk-pixbuf.loaders.
In the header of i686-pc-linux-gnu/gdk-pixbuf.loaders I find the line:
Created by gdk-pixbuf-query-loaders from gtk+-2.16.6
Doing "gdk-pixbuf-query-loaders32 > gdk-pixbuf.loaders_new" the new file does not differ from the old file.
In the header of i686-pc-linux-gnu/gtk.immodules I find the line:
Created by gtk-query-immodules-2.0-32 from gtk+-2.16.6
Doing "gtk-query-immodules-2.0-32 > gtk.immodules.new" the new file again does not differ from the old file.
Should I really overwrite i686-pc-linux-gnu/gdk-pixbuf.loaders with 86_64-pc-linux-gnu/gdk-pixbuf.loaders and substitute lib64 by lib32?

Also everybody can read the /etc/gtk-2.0/i686-pc-linux-gnu directory and the contained files.
Any further idea?
Comment 4 Juergen Rose 2009-10-30 10:01:30 UTC
I just found that I do not have a 32Bit version of libcanberra-gtk-module. It seems, that it is not contained in the emul-linux-x86 packages. So probably this is the real problem.
Comment 5 Pacho Ramos gentoo-dev 2009-12-30 13:42:25 UTC
This bug really contains three different problems:
1. Pango (aka, font problem one) is bug 275833
2. gdk-pixbuf-loaders problem is bug 298518
3. canberra and other module errors is covered in bug 217094

This bug is invalid then since these really are three different problems (and bugs), please subscribe to them if you want to look for their progress
Comment 6 Juergen Rose 2009-12-30 14:11:38 UTC
The first of the three problems seems to be solved with app-emulation/emul-linux-x86-gtklibs-20091226. That means, that it is again possible to read the menu entries of acroread. For me this was the essential issue. Now it is again possible to use acroread.