Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63081 - can't emerge ttmkfdir: Please always use macros to include FreeType header files.
Summary: can't emerge ttmkfdir: Please always use macros to include FreeType header fi...
Status: RESOLVED DUPLICATE of bug 44119
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-06 20:50 UTC by Norberto Bensa
Modified: 2005-07-17 13:06 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 Norberto Bensa 2004-09-06 20:50:30 UTC
emerge ttmkfdir (3.0.9-r2) gives:

$ sudo emerge ttmkfdir
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-misc/ttmkfdir-3.0.9-r2 to /
!!! No write access to /usr/portage/distfiles/
>>> md5 src_uri ;-) ttmkfdir-3.0.9.tar.bz2
>>> Unpacking source...
>>> Unpacking ttmkfdir-3.0.9.tar.bz2 to /var/tmp/portage/ttmkfdir-3.0.9-r2/work
 * Applying ttmkfdir-3.0.9-cpp.patch...                                             [ ok ]
 * Applying ttmkfdir-3.0.9-zlib.patch...                                            [ ok ]
 * Applying ttmkfdir-3.0.9-gcc34.patch...                                           [ ok ]
 * Applying ttmkfdir-3.0.9-encoding.patch...                                        [ ok ]
>>> Source unpacked.
libtool --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2  -march=pentium3 -Os -pipe -fomit-frame-pointer -ffast-math -ftracer -o ttmkfdir.o -c ttmkfdir.cpp
libtool --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2  -march=pentium3 -Os -pipe -fomit-frame-pointer -ffast-math -ftracer -o directory.o -c directory.cpp
mkdir .libs
 g++ -Wall -pedantic -I/usr/include/freetype2 -march=pentium3 -Os -pipe -fomit-frame-pointer -ffast-math -ftracer -c ttmkfdir.cpp  -fPIC -DPIC -o .libs/ttmkfdir.o
 g++ -Wall -pedantic -I/usr/include/freetype2 -march=pentium3 -Os -pipe -fomit-frame-pointer -ffast-math -ftracer -c directory.cpp  -fPIC -DPIC -o .libs/directory.o
 g++ -Wall -pedantic -I/usr/include/freetype2 -march=pentium3 -Os -pipe -fomit-frame-pointer -ffast-math -ftracer -c directory.cpp -o directory.o >/dev/null 2>&1
In file included from ttf.h:6,
                 from ttmkfdir.cpp:8:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
In file included from ttmkfdir.cpp:8:
ttf.h:11:31: freetype/ftmodule.h: No such file or directory
make: *** [ttmkfdir.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: x11-misc/ttmkfdir-3.0.9-r2 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


$ emerge --info
Portage 2.0.51_pre20 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.9-rc1-mm1 i686 Pentium III (Coppermine))
=================================================================
System uname: 2.6.9-rc1-mm1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.7-r4,sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer -ffast-math -ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer -ffast-math -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="x86 acl acpi alsa cups gif imap jack ldap mmx nls nptl opengl pam pic readline sasl sse ssl tcpd threads unicode usb zlib"




Reproducible: Always
Steps to Reproduce:
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-09-06 23:48:17 UTC
freetype version?
Comment 2 foser (RETIRED) gentoo-dev 2004-09-07 02:20:13 UTC

*** This bug has been marked as a duplicate of 44119 ***
Comment 3 Norberto Bensa 2004-09-07 06:32:29 UTC
FT 2.1.9. I'll CC myself to bug #44119 

Thanks!