Subject: ttmkfdir2 does not build
To: None <tech-pkg@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: tech-pkg
Date: 03/31/2004 22:07:40
Looks like freetype2 errors. I'm not sure. Here's the buildlog:

===> Resuming update for ttmkfdir2-20021109nb1
===> Checking for vulnerabilities in ttmkfdir2-20021109nb1
===> Building for ttmkfdir2-20021109nb1
libtool --mode=compile g++ `freetype-config --cflags` -o ttmkfdir.o -c ttmkfdir.cpp
 g++ -c ttmkfdir.cpp  -fPIC -DPIC -o .libs/ttmkfdir.o
In file included from ttmkfdir.cpp:8:
ttf.h:6:31: freetype/freetype.h: No such file or directory
ttf.h:7:31: freetype/tttables.h: No such file or directory
ttf.h:8:31: freetype/ftsnames.h: No such file or directory
ttf.h:9:31: freetype/ttnameid.h: No such file or directory
ttf.h:10:31: freetype/fterrors.h: No such file or directory
ttf.h:11:31: freetype/ftmodule.h: No such file or directory
In file included from ttf.h:14,
                 from ttmkfdir.cpp:8:
encoding.h:9:31: freetype/freetype.h: No such file or directory
In file included from ttf.h:14,
                 from ttmkfdir.cpp:8:
encoding.h:16: error: type specifier omitted for parameter `FT_UShort'
encoding.h:16: error: syntax error before `,' token
encoding.h:21: error: syntax error before `;' token
encoding.h:21: error: syntax error before `++' token
encoding.h:22: error: `n' was not declared in this scope
encoding.h:22: error: syntax error before `;' token
encoding.h:22: error: syntax error before `++' token
encoding.h:25: error: ISO C++ forbids defining types within return type
encoding.h:25: error: syntax error before `(' token
encoding.h:29: error: syntax error before `(' token
encoding.h:33: error: destructors must be member functions
encoding.h:34: error: 'FT_UShort' is used as a type, but is not defined as a
   type.
encoding.h:35: error: 'FT_UShort' is used as a type, but is not defined as a
   type.
encoding.h:36: error: syntax error before `}' token
encoding.h:51: error: `m' was not declared in this scope
encoding.h:51: error: variable declaration is not allowed here
encoding.h:51: error: syntax error before `{' token
encoding.h: In constructor `Encoding::Encoding(unsigned int)':
encoding.h:50: error: class `Encoding' does not have any field named `size'
encoding.h: At global scope:
encoding.h:55: error: syntax error before `>' token
encoding.h:61: error: 'FT_UShort' is used as a type, but is not defined as a
   type.
encoding.h:62: error: 'FT_UShort' is used as a type, but is not defined as a
   type.
encoding.h:67: error: syntax error before `*' token
encoding.h:69: error: 'MappingMap_t' is used as a type, but is not defined as a
   type.
encoding.h:73: error: storage size of `builtin_encodings' isn't known
encoding.h:73: error: storage size of `builtin_encodings' isn't known
encoding.h:74: error: syntax error before `}' token
In file included from ttmkfdir.cpp:8:
ttf.h:37: error: type specifier omitted for parameter `NumericMapping'
ttf.h:37: error: syntax error before `*' token
ttf.h:40: error: `FT_UInt' was not declared in this scope
ttf.h:40: error: syntax error before `,' token
ttf.h:44: error: 'FT_Library' is used as a type, but is not defined as a type.
ttf.h:45: error: 'FT_Face' is used as a type, but is not defined as a type.
ttf.h:46: error: syntax error before `*' token
ttf.h:47: error: syntax error before `*' token
gmake: *** [ttmkfdir.o] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/fonts/ttmkfdir2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/fonts/ttmkfdir2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/fonts/ttmkfdir2

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte