=> Bootstrap dependency digest>=20010302: found digest-20111104
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for openttd-1.0.5nb4
gmake[1]: Entering directory `/scratch/games/openttd/work/openttd-1.0.5/objs/lang'
[LANG] Compiling and Linking endian_check
[LANG] Testing endianness for host
[LANG] Compiling core/alloc_func.cpp
[LANG] Compiling string.cpp
/scratch/games/openttd/work/openttd-1.0.5/src/string.cpp:198:37: warning: array subscript is of type 'char' [-Wchar-subscripts]
        for (; *str != '\0'; str++) *str = tolower(*str);
                                           ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
1 warning generated.
[LANG] Compiling strgen/strgen.cpp
[LANG] Compiling and Linking strgen
[LANG] Generating table/strings.h
[LANG] Compiling language afrikaans
[LANG] Compiling language arabic_egypt
[LANG] Compiling language belarusian
[LANG] Compiling language brazilian_portuguese
[LANG] Compiling language bulgarian
[LANG] Compiling language catalan
[LANG] Compiling language croatian
[LANG] Compiling language czech
[LANG] Compiling language danish
[LANG] Compiling language dutch
[LANG] Compiling language english
[LANG] Compiling language english_US
[LANG] Compiling language esperanto
[LANG] Compiling language estonian
[LANG] Compiling language finnish
[LANG] Compiling language french
[LANG] Compiling language galician
[LANG] Compiling language german
[LANG] Compiling language greek
[LANG] Compiling language hebrew
[LANG] Compiling language hungarian
[LANG] Compiling language icelandic
[LANG] Compiling language indonesian
[LANG] Compiling language irish
[LANG] Compiling language italian
[LANG] Compiling language japanese
[LANG] Compiling language korean
[LANG] Compiling language latvian
[LANG] Compiling language lithuanian
[LANG] Compiling language luxembourgish
[LANG] Compiling language malay
[LANG] Compiling language norwegian_bokmal
[LANG] Compiling language norwegian_nynorsk
[LANG] Compiling language polish
[LANG] Compiling language portuguese
[LANG] Compiling language romanian
[LANG] Compiling language russian
[LANG] Compiling language serbian
[LANG] Compiling language simplified_chinese
[LANG] Compiling language slovak
[LANG] Compiling language slovenian
[LANG] Compiling language spanish
[LANG] Compiling language swedish
[LANG] Compiling language traditional_chinese
[LANG] Compiling language turkish
[LANG] Compiling language ukrainian
[LANG] Compiling language vietnamese
[LANG] Compiling language welsh
gmake[1]: Leaving directory `/scratch/games/openttd/work/openttd-1.0.5/objs/lang'
grfcodec: not found
nforenum: not found
gmake[1]: Entering directory `/scratch/games/openttd/work/openttd-1.0.5/objs/extra_grf'
nforenum: not found
no NFORenum and GRFCodec found, skipping rebuild of openttdd.grf...
nforenum: not found
no NFORenum and GRFCodec found, skipping rebuild of openttdw.grf...
gmake[1]: Leaving directory `/scratch/games/openttd/work/openttd-1.0.5/objs/extra_grf'
gmake[1]: Entering directory `/scratch/games/openttd/work/openttd-1.0.5/objs/release'
[SRC] Compiling and Linking endian_check
[SRC] Testing endianness for target
[SRC] Compiling and linking depend
/scratch/games/openttd/work/openttd-1.0.5/src/depend/depend.cpp:318:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                        if (isalpha(this->current_char) || this->current_char == '_') {
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:53:40: note: expanded from macro 'isalpha'
#define isalpha(c)      ((int)((_ctype_ + 1)[(c)] & (_CTYPE_U|_CTYPE_L)))
                                            ^~~~
/scratch/games/openttd/work/openttd-1.0.5/src/depend/depend.cpp:323:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                        if (isdigit(this->current_char)) {
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
/scratch/games/openttd/work/openttd-1.0.5/src/depend/depend.cpp:327:14: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                while (isdigit(this->current_char) || this->current_char == '.' || (this->current_char >= 'a' && this->current_char <= 'f') || (this->current_char >= 'A' && this->current_char <= 'F')) {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
/scratch/games/openttd/work/openttd-1.0.5/src/depend/depend.cpp:370:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
                } while ((isalpha(this->current_char) || this->current_char == '_' || isdigit(this->current_char)));
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:53:40: note: expanded from macro 'isalpha'
#define isalpha(c)      ((int)((_ctype_ + 1)[(c)] & (_CTYPE_U|_CTYPE_L)))
                                            ^~~~
/scratch/games/openttd/work/openttd-1.0.5/src/depend/depend.cpp:370:73: warning: array subscript is of type 'char' [-Wchar-subscripts]
                } while ((isalpha(this->current_char) || this->current_char == '_' || isdigit(this->current_char)));
                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
5 warnings generated.
[SRC] DEP CHECK (all files)
gmake[1]: Leaving directory `/scratch/games/openttd/work/openttd-1.0.5/objs/release'
gmake[1]: Entering directory `/scratch/games/openttd/work/openttd-1.0.5/objs/release'
[SRC] Compiling 3rdparty/md5/md5.cpp
[SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdaux.cpp
[SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdmath.cpp
[SRC] Compiling 3rdparty/squirrel/squirrel/sqapi.cpp
In file included from /scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/sqapi.cpp:5:
In file included from /scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/sqpcheader.h:16:
In file included from /scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/sqobject.h:5:
/scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/squtils.h:38:4: error: call to function 'sq_vm_free' that is neither visible in the template definition nor found by argument-dependent lookup
                        SQ_FREE(_vals, (_allocated * sizeof(T)));
                        ^
/scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/squtils.h:8:31: note: expanded from macro 'SQ_FREE'
#define SQ_FREE(__ptr,__size) sq_vm_free((__ptr),(__size));
                              ^
/scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/sqclosure.h:83:2: note: in instantiation of member function 'sqvector<long>::~sqvector' requested here
        SQNativeClosure(SQSharedState *ss,SQFUNCTION func){_function=func;INIT_CHAIN();ADD_TO_CHAIN(&_ss(this)->_gc_chain,this);        }
        ^
/scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/sqstate.h:142:6: note: 'sq_vm_free' should be declared prior to the call site
void sq_vm_free(void *p,SQUnsignedInteger size);
     ^
In file included from /scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/sqapi.cpp:5:
In file included from /scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/sqpcheader.h:16:
In file included from /scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/sqobject.h:5:
/scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/squtils.h:97:15: error: call to function 'sq_vm_realloc' that is neither visible in the template definition nor found by argument-dependent lookup
                _vals = (T*)SQ_REALLOC(_vals, _allocated * sizeof(T), newsize * sizeof(T));
                            ^
/scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/squtils.h:9:44: note: expanded from macro 'SQ_REALLOC'
#define SQ_REALLOC(__ptr,__oldsize,__size) sq_vm_realloc((__ptr),(__oldsize),(__size));
                                           ^
/scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/squtils.h:66:4: note: in instantiation of member function 'sqvector<long>::_realloc' requested here
                        _realloc(_size * 2);
                        ^
/scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/sqfuncstate.h:25:55: note: in instantiation of member function 'sqvector<long>::push_back' requested here
        void AddDefaultParam(SQInteger trg) { _defaultparams.push_back(trg); }
                                                             ^
/scratch/games/openttd/work/openttd-1.0.5/src/3rdparty/squirrel/squirrel/sqstate.h:141:7: note: 'sq_vm_realloc' should be declared prior to the call site
void *sq_vm_realloc(void *p,SQUnsignedInteger oldsize,SQUnsignedInteger size);
      ^
2 errors generated.
gmake[1]: *** [3rdparty/squirrel/squirrel/sqapi.o] Error 1
gmake[1]: Leaving directory `/scratch/games/openttd/work/openttd-1.0.5/objs/release'
gmake: *** [all] Error 1
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/games/openttd
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/games/openttd
