=> Bootstrap dependency digest>=20010302: found digest-20121220
===> 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 spl-1.0pre3nb5
Auto-generating build configuration..
Checking for pcre: found.
Checking for expat: found.
Checking for sqlite: found.
Checking for mysql: not found.
Checking for postgres: not found.
Checking for libxml2: not found.
Checking for libxslt: not found.
Checking for libsdl: not found.
Checking for libcurl: not found.
Checking for libfann: not found.
Checking for libsmoke: not found.
Checking for readline: found.
Checking for gettext_libc: not found.
Checking for gettext_intl: found.
Checking for pthread: found.
uname: unknown option -- -
usage: uname [-amnprsv]
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o spl_modules/mod_prime.o spl_modules/mod_prime.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o state.o state.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o exec.o exec.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o asm.o asm.c
asm.c:190:31: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
                rc = write(fd, SPL_SIGNATURE+i, 16-i);
                               ~~~~~~~~~~~~~^~
asm.c:190:31: note: use array indexing to silence this warning
                rc = write(fd, SPL_SIGNATURE+i, 16-i);
                                            ^
                               &            [ ]
1 warning generated.
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o compiler.o compiler.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o dump.o dump.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o restore.o restore.c
restore.c:304:37: warning: too many arguments in call to 'read_data'
                        code->code = read_data(code->size);
                                     ~~~~~~~~~           ^
1 warning generated.
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o clib.o clib.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o util.o util.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o builtins.o builtins.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o optimizer.o optimizer.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o report.o report.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o treedump.o treedump.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o gc.o gc.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o rccheck.o rccheck.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o debug.o debug.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o string.o string.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o utf8.o utf8.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o hnode.o hnode.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o sha1.o sha1.c
echo 'extern const char *spl_system_modules_dir();\
const char *spl_system_modules_dir() { return "/usr/pkg/lib/spl_modules"; }' > moddir.c.new
mv moddir.c.new moddir.c
awk 'BEGIN{							\
	print "#include \"spl.h\"";				\
	print "const struct spl_asm_op spl_ops[] = {" }		\
    /^#define SPL_OP_/{						\
	gsub("SPL_OP_", "");					\
	optype=0; q="'\''";					\
	if ($5 == "JUMP")      optype="J";			\
	if ($5 == "BRANCH")    optype="B";			\
	if ($5 == "CONDIT")    optype="C";			\
	if ($5 == "ENDBRANCH") optype="E";			\
	if ($5 == "UNARYOP")   optype="1";			\
	if ($5 == "BINARYOP")  optype="2";			\
	if ($5 == "STATICOP")  optype="S";			\
	print "\t{ \"" $2 "\",\t"$3 ",\t" q optype q " }," }	\
    END{							\
	print "{ 0, 0, 0 }";					\
	print "};"; }' spl.h > spl_op.c.new
mv spl_op.c.new spl_op.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o spl_modules/mod_encode_xml.o spl_modules/mod_encode_xml.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o spl_modules/mod_uuidgen.o spl_modules/mod_uuidgen.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o spl_modules/mod_sql.o spl_modules/mod_sql.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o spl_modules/mod_file.o spl_modules/mod_file.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o splrun.o splrun.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o spl_modules/mod_format_xml.o spl_modules/mod_format_xml.c
gcc -std=gnu99 -Wall -I/scratch/lang/spl/work/spl-1.0pre3  -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include  -c -o spl_modules/mod_system.o spl_modules/mod_system.c
spl_modules/mod_format_xml.c:197:19: error: expected ';' at end of declaration
        void stack_push()
                         ^
                         ;
spl_modules/mod_format_xml.c:344:27: error: use of undeclared identifier 'element_start_hdl'
        XML_SetElementHandler(p, element_start_hdl, element_end_hdl);
                                 ^
spl_modules/mod_format_xml.c:345:33: error: use of undeclared identifier 'chardata_hdl'
        XML_SetCharacterDataHandler(p, chardata_hdl);
                                       ^
spl_modules/mod_format_xml.c:351:5: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat]
                                XML_GetCurrentLineNumber(p),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/lang/spl/work/spl-1.0pre3/spl.h:413:52: note: expanded from macro 'SPL_NEW_PRINTF'
        (SPL_NEW_SPL_STRING(spl_string_printf(0, 0, 0, ## __VA_ARGS__)))
                                                          ^
/scratch/lang/spl/work/spl-1.0pre3/spl.h:407:65: note: expanded from macro 'SPL_NEW_SPL_STRING'
#define SPL_NEW_SPL_STRING(__v) spl_set_spl_string(spl_get(0), (__v))
                                                                ^
spl_modules/mod_format_xml.c:357:23: warning: implicit declaration of function 'stack_pop' is invalid in C99 [-Wimplicit-function-declaration]
                while (stack->next) stack_pop();
                                    ^
spl_modules/mod_format_xml.c:391:16: error: expected ';' at end of declaration
        void newtext()
                      ^
                      ;
2 warnings and 4 errors generated.
gmake: *** [spl_modules/mod_format_xml.o] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/lang/spl
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/lang/spl
