Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109391 - pango 1.10.1 build fails with symbol lookup error
Summary: pango 1.10.1 build fails with symbol lookup error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-15 13:21 UTC by Michael Hill
Modified: 2006-01-09 06:35 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 Michael Hill 2005-10-15 13:21:59 UTC
Here's the last part of the output:

Making all in docs
make[2]: Entering directory `/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/docs'
gtk-doc: Scanning header files
if grep -l '^..*$' ./pango.types > /dev/null 2>&1 ; then \
    CC="/bin/sh ../libtool --mode=compile gcc -DPANGO_ENABLE_BACKEND
-DPANGO_ENABLE_ENGINE -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   -O2
-march=athlon-xp -pipe -fomit-frame-pointer -Wall" LD="/bin/sh ../libtool
--mode=link gcc  -O2 -march=athlon-xp -pipe -fomit-frame-pointer -Wall "
CFLAGS="" LDFLAGS="../pango/libpangoxft-1.0.la ../pango/libpangocairo-1.0.la"
gtkdoc-scangobj  --module=pango --output-dir=. ; \
else \
    cd . ; \
    for i in pango.args pango.hierarchy pango.interfaces pango.prerequisites
pango.signals ; do \
               test -f $i || touch $i ; \
    done \
fi
mkdir .libs
 gcc -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -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 -O2 -march=athlon-xp -pipe -fomit-frame-pointer -Wall
-c pango-scan.c  -fPIC -DPIC -o .libs/pango-scan.o
gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -Wall -o .libs/pango-scan
.libs/pango-scan.o  ../pango/.libs/libpangoxft-1.0.so -lXft
../pango/.libs/libpangocairo-1.0.so /usr/lib/libcairo.so -lXrender -lX11 -lXext
-lpng12
/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/pango/.libs/libpangoft2-1.0.so
/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/pango/.libs/libpango-1.0.so
/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libglib-2.0.so -lm /usr/lib/libfontconfig.so /usr/lib/libexpat.so
/usr/lib/libfreetype.so -lz
creating pango-scan
/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/docs/.libs/lt-pango-scan: symbol
lookup error:
/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/pango/.libs/libpangocairo-1.0.so.0:
undefined symbol: pango_font_get_font_map
Scan failed
make[2]: *** [scan-build.stamp] Error 127
make[2]: Leaving directory `/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/docs'
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.


$ emerge info
Portage 2.0.53_rc5 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     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="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache digest distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo/"
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="x86 3dnow X acpi alsa apm audiofile avi bcmath berkdb bitmap-fonts bzlib
calendar caps cdb cdr crypt cscope ctype cups curl dba dbase dbx dedicated dga
dlloader doc dvd dvdr eds emboss encode esd exif fbcon fftw flac flatfile
font-server foomaticdb freetds ftp gd gif ginac gmp gnutls gpm gtk gtk2 hardened
hardenedphp imagemagick imlib inifile jack jpeg kde libwww logrotate logwatch
mbox memlimit mhash mikmod milter mime mmap mmx mng mozilla mp3 mpeg mpi mysql
ncurses nocardbus nocd nomotif odbc ogg oggvorbis opengl oss pam pcntl pcre pda
pdflib perl php pic pie plotutils png posix ppds python qt quicktime readline
real samba sdl shared sharedmem simplexml sndfile sockets speex spell spl sse
ssl svg sysvipc tcltk tcpd tidy tiff tokenizer truetype truetype-fonts
type1-fonts usb userlocales vhosts videos vorbis wmf xine xml xml2 xmlrpc xmms
xpm xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


I've tried with gcc-3.4.4 and gcc-3.3.5 .  Unfortunately, this is holding up
gtk+ and thus just about every Gnome-related package on my system.  :^(
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2005-10-15 14:10:05 UTC
does using -doc allow it to emerge fine?
Comment 2 Michael Hill 2005-10-15 16:12:29 UTC
John, it does indeed.  Thanks!
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2006-01-09 06:35:47 UTC
just tested pango-1.10.2 with doc flag set, and it went fine, closing.