Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108896 - pango-1.10.1 failed to compile with a missing file
Summary: pango-1.10.1 failed to compile with a missing file
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-11 10:13 UTC by Manuel Sabban
Modified: 2011-03-31 14:47 UTC (History)
1 user (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 Manuel Sabban 2005-10-11 10:13:02 UTC
It complains, it lacks "cairo-xlib.h", but cairo is installed.

Reproducible: Always
Steps to Reproduce:
1. emerge pango
Actual Results:  
It fails with:
if find ../modules -name '*.so' | grep 'so' > /dev/null ; then \
          echo "Writing a pango.modules file to use when running examples before
installing Pango."; \
  (cd ../modules && \
           ../pango/pango-querymodules `find . -name '*.la' | grep -v \.libs` >
../examples/pango.modules ) ;\
else \
          echo "No dynamic modules found; will use only static modules for
uninstalled example programs."; \
  touch pango.modules; \
fi
cairoview.c:35:24: cairo-xlib.h : Aucun fichier ou r
Comment 1 Manuel Sabban 2005-10-11 10:13:02 UTC
It complains, it lacks "cairo-xlib.h", but cairo is installed.

Reproducible: Always
Steps to Reproduce:
1. emerge pango
Actual Results:  
It fails with:
if find ../modules -name '*.so' | grep 'so' > /dev/null ; then \
          echo "Writing a pango.modules file to use when running examples before
installing Pango."; \
  (cd ../modules && \
           ../pango/pango-querymodules `find . -name '*.la' | grep -v \.libs` >
../examples/pango.modules ) ;\
else \
          echo "No dynamic modules found; will use only static modules for
uninstalled example programs."; \
  touch pango.modules; \
fi
cairoview.c:35:24: cairo-xlib.h : Aucun fichier ou répertoire de ce type
cairoview.c: In function `update':
cairoview.c:145: attention : déclaration implicite de la fonction «
cairo_xlib_surface_create »
cairoview.c:147: attention : affectation transforme un entier en pointeur sans
transtypage
make[2]: *** [cairoview.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
Writing a pango.modules file to use when running examples before installing Pango.
make[2]: Leaving directory
`/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/examples'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/pango-1.10.1/work/pango-1.10.1'
make: *** [all] Erreur 2

!!! ERROR: x11-libs/pango-1.10.1 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.



Expected Results:  
It should have compiled it correctly.

fenring manu # emerge info
Portage 2.0.53_rc5 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r2,
2.6.13-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer -fforce-addr"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /sbin/rc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/linux/gentoo"
LC_ALL="C"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib alsa atm avi bash-completion bdf berkdb
bitmap-fonts bonobo bzlib caca cacheemu ccache cdda cddb cdio cdparanoia cdr cjk
crypt cscope cups dba directfb doc dv dvd dvdr dvdread eds emacs emboss
emul-linux-x86 encode faad fam fame fb fbcon ffmpeg foomaticdb fortran ftp
gd-external gdbm gif gimpprint glitz gnome gnuplot gnustep gnutls gsl gsnd
gstreamer gtk gtk2 hal iconv imagemagick imap imlib imlib2 ipv6 jabber jpeg
kexec libcaca libwww lm_sensors lzo lzw lzw-tiff matroska mbox mozilla mp3 mpeg
mpeg4 mplayer mule multislot mythtv ncurses network nls nptl nptlonly objc ogg
opengl openntpd oscar pam pcre pdflib perl plotutils plugin png pthreads python
quicktime rdesktop readline rplay rrdtool ruby sdk sdl shaper slang spell sqlite
ssl startup-notification sysfs tcpd tetex theora threads tiff truetype
truetype-fonts type1-fonts unicode uptimed usb userland userlocales vdesktop
vorbis wifi wxwindows xine xml2 xosd xpm xv xvid zlib zvbi userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-11 10:19:20 UTC
Post the error messages in English.
Comment 3 Manuel Sabban 2005-10-11 10:45:42 UTC
Sorry, but after a look in the gcc manpage, I can't find which environment
variable control the language of gcc message.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-10-11 10:48:40 UTC
LC_MESSAGES to C (and don't set LC_ALL)
Comment 5 Manuel Sabban 2005-10-11 14:16:29 UTC
It doesn't work:

fenring manu # env
SHELL=/bin/bash
TERM=Eterm
USER=root
SUDO_USER=manu
SUDO_UID=1000
LC_TYPE=C
PATH=/sbin:/bin:/usr/sbin:/usr/bin
LC_MESSAGES=C
PWD=/home/manu
SHLVL=1
HOME=/root
SUDO_COMMAND=/bin/su
LOGNAME=root
LC_CTYPE=C
SUDO_GID=100
_=/bin/env

and the messages are still displayed in French
Comment 6 Meder Bakirov 2005-10-12 01:56:23 UTC
Hi!

Have the same problem with x11-libs/pango-1.10.1

Here is the an error message:

creating pango-tibetan-fc.la
(cd .libs && rm -f pango-tibetan-fc.la && ln -s ../pango-tibetan-fc.la
pango-tibetan-fc.la)
make[3]: Leaving directory
`/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/modules/tibetan'
make[3]: Entering directory
`/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/modules'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/modules'
make[2]: Leaving directory `/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/modules'
Making all in examples
make[2]: Entering directory
`/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/examples'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED
-DPANGO_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I.. -I/usr/include/cairo  
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/include/freetype2 -I/usr/include/freetype2/config  
-I/usr/include/freetype2    -march=athlon-xp -O3 -mfpmath=sse -ftracer
-fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays
-maccumulate-outgoing-args -pipe -Wall -MT pangoft2topgm.o -MD -MP -MF
".deps/pangoft2topgm.Tpo" \
  -c -o pangoft2topgm.o `test -f 'pangoft2topgm.c' || echo './'`pangoft2topgm.c; \
then mv -f ".deps/pangoft2topgm.Tpo" ".deps/pangoft2topgm.Po"; \
else rm -f ".deps/pangoft2topgm.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED
-DPANGO_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I.. -I/usr/include/cairo  
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/include/freetype2 -I/usr/include/freetype2/config  
-I/usr/include/freetype2    -march=athlon-xp -O3 -mfpmath=sse -ftracer
-fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays
-maccumulate-outgoing-args -pipe -Wall -MT renderdemo.o -MD -MP -MF
".deps/renderdemo.Tpo" \
  -c -o renderdemo.o `test -f 'renderdemo.c' || echo './'`renderdemo.c; \
then mv -f ".deps/renderdemo.Tpo" ".deps/renderdemo.Po"; \
else rm -f ".deps/renderdemo.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED
-DPANGO_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I.. -I/usr/include/cairo  
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/include/freetype2 -I/usr/include/freetype2/config  
-I/usr/include/freetype2    -march=athlon-xp -O3 -mfpmath=sse -ftracer
-fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays
-maccumulate-outgoing-args -pipe -Wall -MT argcontext.o -MD -MP -MF
".deps/argcontext.Tpo" \
  -c -o argcontext.o `test -f 'argcontext.c' || echo './'`argcontext.c; \
then mv -f ".deps/argcontext.Tpo" ".deps/argcontext.Po"; \
else rm -f ".deps/argcontext.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED
-DPANGO_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I.. -I/usr/include/cairo  
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/include/freetype2 -I/usr/include/freetype2/config  
-I/usr/include/freetype2    -march=athlon-xp -O3 -mfpmath=sse -ftracer
-fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays
-maccumulate-outgoing-args -pipe -Wall -MT xftview.o -MD -MP -MF
".deps/xftview.Tpo" \
  -c -o xftview.o `test -f 'xftview.c' || echo './'`xftview.c; \
then mv -f ".deps/xftview.Tpo" ".deps/xftview.Po"; \
else rm -f ".deps/xftview.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED
-DPANGO_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I.. -I/usr/include/cairo  
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/include/freetype2 -I/usr/include/freetype2/config  
-I/usr/include/freetype2    -march=athlon-xp -O3 -mfpmath=sse -ftracer
-fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays
-maccumulate-outgoing-args -pipe -Wall -MT cairoview.o -MD -MP -MF
".deps/cairoview.Tpo" \
  -c -o cairoview.o `test -f 'cairoview.c' || echo './'`cairoview.c; \
then mv -f ".deps/cairoview.Tpo" ".deps/cairoview.Po"; \
else rm -f ".deps/cairoview.Tpo"; exit 1; \
fi
cairoview.c:35:24: cairo-xlib.h: No such file or directory
cairoview.c: In function `update':
cairoview.c:145: warning: implicit declaration of function
`cairo_xlib_surface_create'
cairoview.c:147: warning: assignment makes pointer from integer without a cast
make[2]: *** [cairoview.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pango-1.10.1/work/pango-1.10.1'
make: *** [all] Error 2

!!! ERROR: x11-libs/pango-1.10.1 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.

dotcoder ~ # 

An here is my `emerge info`:

Portage 2.0.53_rc5 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r2 i686)
=================================================================
System uname: 2.6.13-gentoo-r2 i686 AMD Sempron(TM) 2500+
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -mfpmath=sse -ftracer -fforce-addr
-fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays
-maccumulate-outgoing-args -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/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 -O3 -mfpmath=sse -ftracer -fforce-addr
-fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays
-maccumulate-outgoing-args -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="ftp://distfiles.transfer.kg ftp://ftp.unix.kg/.0/Linux/Gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org"
LANG="ru_RU.koi8r"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.kyrnet.kg/gentoo-portage"
USE="3dnow 3dnowex aac acpi alsa arts audiofile avi berkdb bitmap-fonts bzlib
cdr crypt cups dbus dga divx4linux dvd dvdr dvdread encode fbcon ffmpeg flac ftp
gd gdbm gif gpm hal iconv icq imap java javascript jpeg jpeg2k kde
kdeenablefinal kdexdeltas ldap lesstif mad maildir mmx mmx2 mmxext mozilla mp3
mpeg ncurses nls nptl nvidia ogg oggvorbis opengl pam png qt quicktime readline
samba sdl shared sharedmem snmp spell sse sse2 ssl svga theora tiff truetype
truetype-fonts type1-fonts unicode userlocales vidix vorbis win32codecs x86 xine
xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 7 Meder Bakirov 2005-10-13 01:39:25 UTC
OK, adding an 'X' USE-flag to x11-libs/cairo and rebuilding it seems to be 
helping - I have successfully compiled pango.
Comment 8 karagee 2011-03-31 14:47:55 UTC
I used this alternate temporary solution :
ln -s /usr/include/cairo/cairo*.h /usr/include/