Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 80

Summary: x11-misc/ttmkfdir does not build
Product: Gentoo Linux Reporter: John Stalker <stalker>
Component: Current packagesAssignee: Mikael Hallendal (hallski) (RETIRED) <hallski>
Status: RESOLVED FIXED    
Severity: major    
Priority: Normal    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Stalker 2002-01-08 11:03:05 UTC
"emerge /usr/portage/x11-misc/ttmkfdir/ttmkfdir-0.0.ebuild" dies during make.
I am including the errors I get.  I tried "ln -s 
/usr/include/freetype2/freetype /usr/include/freetype" which gets rid of
the "freetype/freetype.h: No such file or directory" error, but doesn't help
otherwise.

Calculating dependencies.>>> md5 ;-) ttmkfdir.tar.gz
>>> Unpacking source...
>>> Unpacking ttmkfdir.tar.gz
patching file Makefile
patching file ttmkfdir.c
>>> Source unpacked.
rm -f ttmkfdir *.o core *~ ttmkfdir.tar.gz ttmkfdir.linuxbin.glibc2
gcc -mcpu=i686 -march=i686 -O3 -pipe -Wall -pedantic -I/usr/include   -c -o 
ttmkfdir.o ttmkfdir.c
ttmkfdir.c:64: freetype/freetype.h: No such file or directory
ttmkfdir.c:100: warning: type defaults to `int' in declaration of `TT_Char'
ttmkfdir.c:100: parse error before `orig_code'
ttmkfdir.c:101: parse error before `face'
ttmkfdir.c:108: parse error before `TT_Face_Properties'
ttmkfdir.c:112: parse error before `*'
ttmkfdir.c:113: parse error before `TT_Face_Properties'
.
.  [145 lines of errors omitted]
.
ttmkfdir.c:1449: warning: unreachable code at beginning of switch statement
ttmkfdir.c: At top level:
ttmkfdir.c:1464: parse error before `TT_Face_Properties'
ttmkfdir.c: In function `get_width_name':
ttmkfdir.c:1468: `properties' undeclared (first use in this function)
ttmkfdir.c:1475: `name' undeclared (first use in this function)
make: *** [ttmkfdir.o] Error 1

!!! ERROR: the make command did not complete successfully.
!!! ("make OPT=-mcpu=i686 -march=i686 -O3 -pipe")
!!! Since this is a critical task, ebuild will be stopped.

 done!
>>> emerge x11-misc/ttmkfdir-0.0 to /
!!! emerge aborting on  /usr/portage/x11-misc/ttmkfdir/ttmkfdir-0.0.ebuild .
Comment 1 Mikael Hallendal (hallski) (RETIRED) gentoo-dev 2002-01-08 11:12:59 UTC
commited -r1, can you please try that one?
added <freetype-2 to DEPEND.