Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19576 - fontconfig 2.1.94-r1 fails to build, undeclared defines, BDF_*
Summary: fontconfig 2.1.94-r1 fails to build, undeclared defines, BDF_*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-18 16:47 UTC by Blu3
Modified: 2003-04-19 09:04 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 Blu3 2003-04-18 16:47:35 UTC
# emerge media-libs/fontconfig
Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/fontconfig-2.1.94-r1 to /

[...]

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I.. -I../src
-mcpu=athlon -O3 -pipe -g -g -g -c fcfs.c  -fPIC -DPIC -o .libs/fcfs.lo
fcfreetype.c: In function `FcFreeTypeQuery':
fcfreetype.c:783: `BDF_PropertyRec' undeclared (first use in this function)
fcfreetype.c:783: (Each undeclared identifier is reported only once
fcfreetype.c:783: for each function it appears in.)
fcfreetype.c:783: parse error before "prop"
fcfreetype.c:784: `prop' undeclared (first use in this function)
fcfreetype.c:785: `BDF_PROPERTY_TYPE_ATOM' undeclared (first use in this function)
fcfreetype.c:791: parse error before "prop"
fcfreetype.c:793: `BDF_PROPERTY_TYPE_INTEGER' undeclared (first use in this
function)
fcfreetype.c:794: `BDF_PROPERTY_TYPE_CARDINAL' undeclared (first use in this
function)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I.. -I../src
-mcpu=athlon -O3 -pipe -g -g -g -c fcfs.c -o fcfs.o >/dev/null 2>&1
make[2]: *** [fcfreetype.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .libs/fcfs.lo fcfs.lo
make[2]: Leaving directory
`/mnt/old/var/tmp/portage/fontconfig-2.1.94-r1/work/fontconfig-2.1.94/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/mnt/old/var/tmp/portage/fontconfig-2.1.94-r1/work/fontconfig-2.1.94'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-libs/fontconfig-2.1.94-r1 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! (no error message)
Comment 1 Baptiste Mille-Mathias 2003-04-18 18:01:20 UTC
I got this problem too

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I.. -I../src -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -funroll-loops
-frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -g -g -g -c fcfreetype.c  -fPIC -DPIC
-o .libs/fcfreetype.lo
mv -f .libs/fcdir.lo fcdir.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2                                                                    -I..                                             -I../src    -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr  -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -g -g -g -c fcfs.c
fcfreetype.c: In function `FcFreeTypeQuery':
fcfreetype.c:783: `BDF_PropertyRec' undeclared (first use in this function)
fcfreetype.c:783: (Each undeclared identifier is reported only once
fcfreetype.c:783: for each function it appears in.)
fcfreetype.c:783: parse error before "prop"
fcfreetype.c:784: `prop' undeclared (first use in this function)
fcfreetype.c:785: `BDF_PROPERTY_TYPE_ATOM' undeclared (first use in this function)
fcfreetype.c:791: parse error before "prop"
fcfreetype.c:793: `BDF_PROPERTY_TYPE_INTEGER' undeclared (first use in this function)
fcfreetype.c:794: `BDF_PROPERTY_TYPE_CARDINAL' undeclared (first use in this function)
make[2]: *** [fcfreetype.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
rm -f .libs/fcfs.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I.. -I../src -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -funroll-loops
-frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -g -g -g -c fcfs.c  -fPIC -DPIC -o .libs/fcfs.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I.. -I../src -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -funroll-loops
-frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -g -g -g -c fcfs.c -o fcfs.o >/dev/null 2>&1
mv -f .libs/fcfs.lo fcfs.lo
make[2]: Leaving directory `/var/tmp/portage/fontconfig-2.1.94-r1/work/fontconfig-2.1.94/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/fontconfig-2.1.94-r1/work/fontconfig-2.1.94'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: media-libs/fontconfig-2.1.94-r1 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! (no error message)
Comment 2 Thomas R. (TRauMa) 2003-04-18 18:30:35 UTC
metoo.

fcfreetype.c: In function `FcFreeTypeQuery':
fcfreetype.c:783: `BDF_PropertyRec' undeclared (first use in this function)
fcfreetype.c:783: (Each undeclared identifier is reported only once
fcfreetype.c:783: for each function it appears in.)
fcfreetype.c:783: parse error before "prop"
fcfreetype.c:784: `prop' undeclared (first use in this function)
fcfreetype.c:785: `BDF_PROPERTY_TYPE_ATOM' undeclared (first use in this function)
fcfreetype.c:791: parse error before "prop"
fcfreetype.c:793: `BDF_PROPERTY_TYPE_INTEGER' undeclared (first use in this function)
fcfreetype.c:794: `BDF_PROPERTY_TYPE_CARDINAL' undeclared (first use in this function)
make[2]: *** [fcfreetype.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .libs/fcfs.lo fcfs.lo
make[2]: Leaving directory `/var/tmp/portage/fontconfig-2.1.94-r1/work/fontconfig-2.1.94/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/fontconfig-2.1.94-r1/work/fontconfig-2.1.94'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-libs/fontconfig-2.1.94-r1 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! (no error message)






Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r2,2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 AMD Duron(tm) processor
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://gentoo.linux.no/
http://mirrors.sunsite.dk/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/mnt/neu2/distfiles"
PKGDIR="/mnt/neu2/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 zlib cdr mmx 3dnow -sse -3dfx -matrox -voodoo3 apm -pcmcia nocardbus -pnp -trusted -pda -gphoto2 -cups -slp X dga opengl xv -fbcon -directfb -arts esd alsa -mikmod oss -nas -kde qt -qtmt -gnome gtk gtk2 bonobo -evo -gb gtkhtml -motif tcltk -aalib imlib ncurses -readline sdl -svga lcms gif jpeg png tiff avi mpeg quicktime -ggi dvd xmms oggvorbis flash encode -ipv6 -snmp ggz pam ssl crypt socks5 imap -ldap tcpd -xface mozilla -mozaccess-builtin moznoirc -mozxmlterm mozsvg mozcalendar spell truetype xml xml2 pdflib -plotutils tetex guile java perl python -ruby slang libg++ libwww atlas pic -berkdb mysql postgres -odbc -innodb gd gdbm -acl -afs samba nls -doc gpm -zoe"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
FEATURES="sandbox ccache"
Comment 3 Nils Ohlmeier 2003-04-19 08:24:08 UTC
fontconfig depends on >=freetype-2.1.4. 
In this version the freetype headers include the needed defines. Allthough 
this should be fixed in the source code of fontconfig the easier solution 
would just be to change the DEPEND in the ebuild :-) 
Comment 4 kde123 2003-04-19 08:50:48 UTC
OK, emerging >=freetype-2.1.4. works like a champ; now fix it permanently.
Comment 5 foser (RETIRED) gentoo-dev 2003-04-19 09:04:00 UTC
yep my wrong, thnx for notification, fixed now.