Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175101 - libpangocairo-1.0.so.0 missing and workarounds don't work
Summary: libpangocairo-1.0.so.0 missing and workarounds don't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-18 14:52 UTC by Matthias Nagl
Modified: 2007-04-20 19:46 UTC (History)
0 users

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


Attachments
revdep-rebuild returns this (libpangocairobug.txt,22.94 KB, text/plain)
2007-04-18 16:58 UTC, Matthias Nagl
Details
output of 'emerge pango' (pango.txt,229.04 KB, text/plain)
2007-04-19 08:07 UTC, Matthias Nagl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Nagl 2007-04-18 14:52:56 UTC
On one machine I am missing libpangocairo-1.0.so.0. I already tried to remerge libpng, cairo and pango several times (also ~x86 libpng) as recommended in similar bugreports. Also removing the svg or glitz use-flag for cairo didn't solve anything. I already tried to unmerge libpng, cairo and pango completely (no libs left in /usr/lib) and reemerged them - with no improvement. I consider the problem major because without libpangocairo gtk+ won't compile and a whloe range of programs don't work.

Reproducible: Always

Steps to Reproduce:
1.compile pango
2.no libpangocairo-1.0.so.0 appears
Actual Results:  
gtk+ won't compile, many programs (gimp, inkscape, firefox) won't work

Expected Results:  
libpangocairo appears and everything compiles fine ;-)

pc13283 elog # emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 18 Apr 2007 09:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4"
CHOST="i686-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/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de en"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 aac acpi alsa arts avi berkdb bitmap-fonts bluetooth browserplugin cairo cdparanoia cdr cli cracklib crypt cups dbus dmi dri dvd dvdr emboss encode fam fftw firefox fortran gdbm gif glitz gpm gstreamer hal iconv imap immqt-bc ipv6 isdnlog java jpeg kde kerberos ldap ldapsam libg++ mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcre perforce perl png ppds pppd python qt3 qt4 quicktime readline real reflection samba sdl session spell spl ssl subversion svg tcltk tcpd tetex truetype truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs x86 xinerama xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


pc13283 elog # cat /etc/portage/package.use
dev-lang/R blas lapack tk
sys-apps/qtparted reiserfs ntfs


pc13283 elog # cat /etc/portage/package.keywords
net-print/hplip
dev-util/kdevelop
dev-util/kdesvn

x11-apps/xlsclients
x11-apps/xvinfo
x11-wm/beryl
x11-wm/beryl-core
x11-wm/emerald
x11-wm/aquamarine
x11-plugins/beryl-plugins
x11-plugins/beryl-plugins-extra
x11-plugins/beryl-plugins-vidcap
x11-misc/beryl-manager
x11-misc/beryl-settings
x11-misc/beryl-settings-bindings
x11-themes/emerald-themes
x11-wm/aquamarine
x11-proto/damageproto
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-04-18 16:46:40 UTC
Have you done a revdep-rebuild yet?
Comment 2 Matthias Nagl 2007-04-18 16:58:02 UTC
Created attachment 116647 [details]
revdep-rebuild returns this

Yes. I think it is better to post the result as an attachment :-S
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2007-04-18 17:19:59 UTC
# qfile /usr/lib/libpangocairo-1.0.la
x11-libs/pango (/usr/lib/libpangocairo-1.0.la)

Rebuild pango then revdep-rebuild
Comment 4 Matthias Nagl 2007-04-18 17:38:34 UTC
pango rebuilds, but without libpangocairo as before and the revdep-rebuild shows exactly the same (I deleted the cache-files in /root).
Comment 5 Matthias Nagl 2007-04-19 08:07:19 UTC
Created attachment 116711 [details]
output of 'emerge pango'

Maybe this helps finding the error. Apparently cairo-libs are used as include but no libpangocairo is bild.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2007-04-20 18:57:11 UTC
from your log in ./configure :

[snip]
checking for cairo_surface_write_to_png in -lcairo... no
checking for cairo_ps_surface_create in -lcairo... no
checking for cairo_pdf_surface_create in -lcairo... no
checking for cairo_xlib_surface_create in -lcairo... no
checking for cairo_win32_scaled_font_select_font in -lcairo... no
checking for cairo_ft_scaled_font_lock_face in -lcairo... no
checking for cairo_atsui_font_face_create_for_atsu_font_id in -lcairo... no

It looks like your cairo is damaged/broken. 

This is what I get on my box :

checking for cairo_surface_write_to_png in -lcairo... yes
checking for cairo_ps_surface_create in -lcairo... yes
checking for cairo_pdf_surface_create in -lcairo... yes
checking for cairo_xlib_surface_create in -lcairo... yes
checking for cairo_win32_scaled_font_select_font in -lcairo... no
checking for cairo_ft_scaled_font_lock_face in -lcairo... yes
checking for cairo_atsui_font_face_create_for_atsu_font_id in -lcairo... no

Make sure cairo is properly installed and that you don't have leftovers somewhere fooling ./configure (/usr/local maybe?)
Comment 7 Matthias Nagl 2007-04-20 19:46:05 UTC
Thank you so much! The reason for the trouble where some freetype-libs that came with a proprietary api that I had installed in /usr/local/lib. Sorry that I made such noise but I think this could also help the other people discussing very similar problems in the forums.

Matthias