Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85492 - pango 1.8.1 uses the wrong headers
Summary: pango 1.8.1 uses the wrong headers
Status: RESOLVED DUPLICATE of bug 63189
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-16 04:35 UTC by Michal Suchanek
Modified: 2006-04-12 10:52 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 Michal Suchanek 2005-03-16 04:35:19 UTC
When I try to build pango 1.8.1 it fails and complains about undefined symbols, even after emergeing gentoo freetype and fontconfig.

Which suggests that the dependencies are wrong - it does not build with the headers provided with Apple's X11 although the virtual provided packages satisfy pango dependencies.

Also the include order is wrong and the headers in X11 are included before the gentoo headers or the package is completely broken.

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I.. -O2 -pipe -Wall -MT pangoft2-render.lo -MD -MP -MF .deps/pangoft2-render.Tpo -c pangoft2-render.c  -fno-common -DPIC -o .libs/pangoft2-render.o
pangoft2.c: In function `pango_ft2_font_get_face':
pangoft2.c:202: error: `FC_HINT_STYLE' undeclared (first use in this function)
pangoft2.c:202: error: (Each undeclared identifier is reported only once
pangoft2.c:202: error: for each function it appears in.)
pangoft2.c:203: error: `FC_HINT_FULL' undeclared (first use in this function)
pangoft2.c:205: error: `FC_HINT_NONE' undeclared (first use in this function)
pangoft2.c:209: error: `FC_HINT_SLIGHT' undeclared (first use in this function)
pangoft2.c:210: error: `FC_HINT_MEDIUM' undeclared (first use in this function)
pangoft2.c:211: error: `FT_LOAD_TARGET_LIGHT' undeclared (first use in this function)
pangoft2.c:214: error: `FT_LOAD_TARGET_NORMAL' undeclared (first use in this function)
make[4]: *** [pangoft2.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: x11-libs/pango-1.8.1 failed.


!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51.19 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.8.0 Power Macintosh)
=================================================================
System uname: 7.8.0 Power Macintosh powerpc
macos-20040726
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  2.57
sys-devel/automake:  1.9.4
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /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 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache collision-protect cvs distlocks fixpackages keepwork strict userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X emboss nls opengl png ppc-macos linguas_C linguas_POSIX linguas_en_US linguas_en_US.UTF-8 linguas_cs_CZ linguas_cs_CZ.UTF-8"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Kito (RETIRED) gentoo-dev 2005-07-19 13:14:56 UTC
this should be fixed in pango-1.8.1-r1. Marking as a duplicate of the pango metabug

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