<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>19576</bug_id>
          
          <creation_ts>2003-04-18 16:47 0000</creation_ts>
          <short_desc>fontconfig 2.1.94-r1 fails to build, undeclared defines, BDF_*</short_desc>
          <delta_ts>2003-04-19 09:04:00 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>1.4_rc4</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>david+gentoo.org@blue-labs.org</reporter>
          <assigned_to>foser@gentoo.org</assigned_to>
          <cc>erichey2@attbi.com</cc>

      

      
          <long_desc isprivate="0">
            <who>david+gentoo.org@blue-labs.org</who>
            <bug_when>2003-04-18 16:47:35 0000</bug_when>
            <thetext># emerge media-libs/fontconfig
Calculating dependencies ...done!
&gt;&gt;&gt; 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&apos;:
fcfreetype.c:783: `BDF_PropertyRec&apos; 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 &quot;prop&quot;
fcfreetype.c:784: `prop&apos; undeclared (first use in this function)
fcfreetype.c:785: `BDF_PROPERTY_TYPE_ATOM&apos; undeclared (first use in this function)
fcfreetype.c:791: parse error before &quot;prop&quot;
fcfreetype.c:793: `BDF_PROPERTY_TYPE_INTEGER&apos; undeclared (first use in this
function)
fcfreetype.c:794: `BDF_PROPERTY_TYPE_CARDINAL&apos; 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 &gt;/dev/null 2&gt;&amp;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&apos;
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&apos;
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)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bmm80@free.fr</who>
            <bug_when>2003-04-18 18:01:20 0000</bug_when>
            <thetext>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&apos;:
fcfreetype.c:783: `BDF_PropertyRec&apos; 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 &quot;prop&quot;
fcfreetype.c:784: `prop&apos; undeclared (first use in this function)
fcfreetype.c:785: `BDF_PROPERTY_TYPE_ATOM&apos; undeclared (first use in this function)
fcfreetype.c:791: parse error before &quot;prop&quot;
fcfreetype.c:793: `BDF_PROPERTY_TYPE_INTEGER&apos; undeclared (first use in this function)
fcfreetype.c:794: `BDF_PROPERTY_TYPE_CARDINAL&apos; 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 &gt;/dev/null 2&gt;&amp;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&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/fontconfig-2.1.94-r1/work/fontconfig-2.1.94&apos;
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)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugs@digital-trauma.de</who>
            <bug_when>2003-04-18 18:30:35 0000</bug_when>
            <thetext>metoo.

fcfreetype.c: In function `FcFreeTypeQuery&apos;:
fcfreetype.c:783: `BDF_PropertyRec&apos; 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 &quot;prop&quot;
fcfreetype.c:784: `prop&apos; undeclared (first use in this function)
fcfreetype.c:785: `BDF_PROPERTY_TYPE_ATOM&apos; undeclared (first use in this function)
fcfreetype.c:791: parse error before &quot;prop&quot;
fcfreetype.c:793: `BDF_PROPERTY_TYPE_INTEGER&apos; undeclared (first use in this function)
fcfreetype.c:794: `BDF_PROPERTY_TYPE_CARDINAL&apos; 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&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/fontconfig-2.1.94-r1/work/fontconfig-2.1.94&apos;
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=&quot;http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://gentoo.linux.no/
http://mirrors.sunsite.dk/gentoo/&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/usr/portage&quot;
DISTDIR=&quot;/mnt/neu2/distfiles&quot;
PKGDIR=&quot;/mnt/neu2/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
USE=&quot;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&quot;
COMPILER=&quot;gcc3&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4&quot;
CXXFLAGS=&quot;-march=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4&quot;
ACCEPT_KEYWORDS=&quot;x86&quot;
MAKEOPTS=&quot;-j2&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://rsync.de.gentoo.org/gentoo-portage/&quot;
FEATURES=&quot;sandbox ccache&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>develop@ohlmeier.org</who>
            <bug_when>2003-04-19 08:24:08 0000</bug_when>
            <thetext>fontconfig depends on &gt;=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 :-) </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>erichey2@attbi.com</who>
            <bug_when>2003-04-19 08:50:48 0000</bug_when>
            <thetext>OK, emerging &gt;=freetype-2.1.4. works like a champ; now fix it permanently.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-04-19 09:04:00 0000</bug_when>
            <thetext>yep my wrong, thnx for notification, fixed now.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>