###
### Tue Jul 5 22:14:56 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for snns-4.2
### Current pkg count:  4 installed packages: digest-20050323 f2c-20001205nb8 libtool-base-1.5.18nb3 slatec-4.1nb2
###
BULK> Full rebuild in progress...
BULK> Cleaning package snns-4.2 and pre-requisite packages
===> Cleaning for snns-4.2
===> Cleaning for xpm-3.4knb4
===> Cleaning for x11-links-0.25
===> Cleaning for xpkgwedge-1.14
BULK> Removing installed packages which are not needed to build snns-4.2
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r f2c-20001205nb8
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libtool-base-1.5.18nb3
BULK> Installing packages which are required to build snns-4.2.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/xpm-3.4knb4.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/x11-links-0.25.tgz
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (snns-4.2)
===> Checking for vulnerabilities in snns-4.2
=> Checksum SHA1 OK for SNNSv4.2.tar.gz.
=> Checksum RMD160 OK for SNNSv4.2.tar.gz.
work -> /pkgobj/math/snns/work
===> Extracting for snns-4.2
===> Required installed package xpm>=3.4knb4: xpm-3.4knb4 found
===> Required installed package x11-links>=0.25: x11-links-0.25 found
===> Patching for snns-4.2
===> Applying pkgsrc patches for snns-4.2
===> Overriding tools for snns-4.2
===> Creating toolchain wrappers for snns-4.2
===> Configuring for snns-4.2
creating cache ./config.cache
***********************************************************************
    This is SNNS Version 4.2
    Copyright (c) 1990-1995  SNNS Group, IPVR, Univ. Stuttgart, FRG
    Copyright (c) 1996-1998  SNNS Group, WSI, Univ. Tuebingen, FRG

    Running the automated system configuration
    To get help:  read the file Readme.install
                  run 'configure --help'
***********************************************************************
checking whether make sets ${MAKE}... yes
checking host system type... sparc-sun-solaris2
checking for gcc... cc
checking whether we are using GNU C... no
checking for c++... CC
checking whether we are using GNU C++... no
checking how to run the C preprocessor... cc -E
checking for POSIXized ISC... no
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking for -lICE... yes
checking for -ldnet... no
checking for -ldnet_stub... no
checking for -lnsl... yes
checking for -lsocket... yes
checking for a BSD compatible install... /usr/ucb/install -c -o root -g root
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... ranlib
checking for makedepend... makedepend
checking for bison... :
configure: warning: 'bison' is not installed on your system.
configure: warning: 'yacc' will not work.
configure: warning: You don't need to install 'bison' now to compile SNNS but
configure: warning: you need 'bison' after any changes to any grammar file
configure: warning: or after 'make maintainer-clean' in any sources directory.
checking for xgrabsc... :
checking for flex... lex
checking for -ll... yes
configure: warning: 'flex' is not installed on your system. 'lex' won't work.
configure: warning: You don't need to install 'flex' now to compile SNNS
configure: warning: but you definately need 'flex' after changes to any
configure: warning: scanner file or after 'make maintainer-clean'.
configure: warning: Please refer to Readme.install first.
configure: warning: Since we couldn't find any -lfl library we plan to link
configure: warning: with -ll instead. The provided SNNS scanners are based on
configure: warning: flex output. So we do not guarantee that this will work.
configure: warning: Hope the best!
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for -ldir... no
checking for fcntl.h... yes
checking for limits.h... yes
checking for sys/file.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for values.h... yes
checking for working const... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking return type of signal handlers... void
checking for 8-bit clean memcmp... yes
checking for getcwd... yes
checking for strdup... yes
checking for lrand48... yes
updating cache ./config.cache
creating ./config.status
creating Makefile.def
creating config.h
***********************************************************************
SNNSv4.2 is now ready to be compiled. Please read carefully all
warning and error messages above if there are any of them. Please
refer to the file Readme.install if you see any problems.

You can now

make compile      to compile all parts of SNNS
make install      to compile, strip, and install all parts of SNNS
make clean        to cleanup all source directories after installation
make uninstall    to remove all installed parts of SNNS

For your convenience the following sub targets exist for the top level:

make install-tools    (implies compiling the kernel)
make install-xgui     (implies compiling the kernel)
make install-man

make clean-kernel
make clean-tools
make clean-xgui

make uninstall-kernel
make uninstall-tools
make uninstall-xgui
make uninstall-man

After installation the programs can be found in
    /usr/pkg/bin    (xgui)
    /usr/pkg/bin   (tools)

And now: Good luck and have fun!
***********************************************************************
===> Building for snns-4.2
cd kernel/sources && /usr/pkg/bin/bmake
cc -I../..   -O -I/usr/pkg/include -c kr_pat_scan.c
cc -I../..   -O -I/usr/pkg/include -c kernel.c
"kernel.c", line 2797: warning: implicit function declaration: strcpy
cc -I../..   -O -I/usr/pkg/include -c kr_io.c
cc -I../..   -O -I/usr/pkg/include -c kr_mem.c
cc -I../..   -O -I/usr/pkg/include -c kr_ui.c
cc -I../..   -O -I/usr/pkg/include -c kr_inversion.c
cc -I../..   -O -I/usr/pkg/include -c art_ui.c
cc -I../..   -O -I/usr/pkg/include -c kr_art.c
cc -I../..   -O -I/usr/pkg/include -c kr_art1.c
cc -I../..   -O -I/usr/pkg/include -c kr_art2.c
cc -I../..   -O -I/usr/pkg/include -c kr_amap.c
cc -I../..   -O -I/usr/pkg/include -c kr_pat_parse.c
cc -I../..   -O -I/usr/pkg/include -c kr_newpattern.c
cc -I../..   -O -I/usr/pkg/include -c kr_JordElm.c
ar rc libkernel.a kr_pat_scan.o  kernel.o kr_io.o kr_mem.o kr_ui.o kr_inversion.o art_ui.o kr_art.o kr_art1.o kr_art2.o kr_amap.o kr_pat_parse.o kr_newpattern.o kr_JordElm.o

Ignore possible error messages for the following command:
ranlib libkernel.a
END OF COMMANDS THAT MAY FAIL

cc -I../..   -O -I/usr/pkg/include -c func_tbl.c
cc -I../..   -O -I/usr/pkg/include -c init_f.c
cc -I../..   -O -I/usr/pkg/include -c kr_td.c
cc -I../..   -O -I/usr/pkg/include -c kr_funcs.c
cc -I../..   -O -I/usr/pkg/include -c learn_f.c
cc -I../..   -O -I/usr/pkg/include -c prun_f.c
cc -I../..   -O -I/usr/pkg/include -c tbl_func.c
cc -I../..   -O -I/usr/pkg/include -c trans_f.c
cc -I../..   -O -I/usr/pkg/include -c update_f.c
cc -I../..   -O -I/usr/pkg/include -c remap_f.c
cc -I../..   -O -I/usr/pkg/include -c matrix.c
cc -I../..   -O -I/usr/pkg/include -c arttr_f.c
cc -I../..   -O -I/usr/pkg/include -c cc_learn.c
"cc_learn.c", line 96: warning: implicit function declaration: strcmp
cc -I../..   -O -I/usr/pkg/include -c cc_prune.c
cc -I../..   -O -I/usr/pkg/include -c cc_modify.c
cc -I../..   -O -I/usr/pkg/include -c cc_glob.c
"cc_glob.c", line 63: warning: implicit function declaration: strlen
cc -I../..   -O -I/usr/pkg/include -c cc_display.c
cc -I../..   -O -I/usr/pkg/include -c tacoma_learn.c
"tacoma_learn.c", line 476: warning: no explicit type given for parameter: StartPattern
"tacoma_learn.c", line 476: warning: no explicit type given for parameter: EndPattern
cc -I../..   -O -I/usr/pkg/include -c dlvq_learn.c
cc -I../..   -O -I/usr/pkg/include -c stochastic_learn_f.c
"stochastic_learn_f.c", line 368: warning: statement not reached
cc -I../..   -O -I/usr/pkg/include -c scaled_conj_grad.c
ar rc libfunc.a func_tbl.o init_f.o kr_td.o kr_funcs.o learn_f.o prun_f.o tbl_func.o trans_f.o update_f.o remap_f.o matrix.o arttr_f.o cc_learn.o cc_prune.o cc_modify.o cc_glob.o cc_display.o tacoma_learn.o dlvq_learn.o stochastic_learn_f.o scaled_conj_grad.o 

Ignore possible error messages for the following command:
ranlib libfunc.a
END OF COMMANDS THAT MAY FAIL

cd tools/sources && /usr/pkg/bin/bmake
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c analyze.c
cc analyze.o -lm -o analyze
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c pat_sel_simple.c
cc pat_sel_simple.o -lm -o pat_sel_simple
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c mkhead.c
cc mkhead.o -lm -o mkhead
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c mkout.c
cc mkout.o -lm -o mkout
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c mkpat.c
cc mkpat.o -lm -o mkpat
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c snns2c.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c snns2clib.c
cc snns2c.o snns2clib.o ../../kernel/sources/libkernel.a  ../../kernel/sources/libfunc.a -lm -ll -o snns2c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c pat_sel.c
cc pat_sel.o ../../kernel/sources/libkernel.a  ../../kernel/sources/libfunc.a -lm -ll -o pat_sel
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c netlearn.c
cc netlearn.o ../../kernel/sources/libkernel.a  ../../kernel/sources/libfunc.a -lm -ll -o netlearn
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c td_bignet.c
cc td_bignet.o ../../kernel/sources/libkernel.a  ../../kernel/sources/libfunc.a -lm -ll -o td_bignet
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c ff_bignet.c
cc ff_bignet.o ../../kernel/sources/libkernel.a  ../../kernel/sources/libfunc.a -lm -ll -o ff_bignet
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c netperf.c
cc netperf.o ../../kernel/sources/libkernel.a  ../../kernel/sources/libfunc.a -lm -ll -o netperf
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c snnsbat.c
cc snnsbat.o ../../kernel/sources/libkernel.a  ../../kernel/sources/libfunc.a -lm -ll -o snnsbat
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c feedback-gennet.c
cc feedback-gennet.o ../../kernel/sources/libkernel.a  ../../kernel/sources/libfunc.a -lm -ll -o feedback-gennet
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c convert2snns.c
cc convert2snns.o ../../kernel/sources/libkernel.a  ../../kernel/sources/libfunc.a -lm -ll -o convert2snns
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c isnns.c
cc isnns.o ../../kernel/sources/libkernel.a  ../../kernel/sources/libfunc.a -lm -ll -o isnns
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c linknets.c
cc linknets.o snns2clib.o ../../kernel/sources/libkernel.a  ../../kernel/sources/libfunc.a -lm -ll -o linknets
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c batchman.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c gram1.tab.c
"/usr/local/share/bison.simple", line 333: warning: implicit function declaration: alloca
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c lex.yyz.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c icopjmp.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c ictab.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c symtab.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c backpatch.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c memory.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c ic_snns.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c error.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c arglist.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c snns_intfce.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c special_jacket.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -c lex.yyy.c
"scan2.l", line 52: warning: implicit function declaration: atoi
"lex.yyy.c", line 1501: warning: implicit function declaration: exit
"lex.yyy.c", line 1564: warning: implicit function declaration: malloc
"lex.yyy.c", line 1582: warning: implicit function declaration: realloc
"lex.yyy.c", line 1592: warning: implicit function declaration: free
cc batchman.o gram1.tab.o lex.yyz.o icopjmp.o ictab.o symtab.o backpatch.o memory.o ic_snns.o error.o arglist.o snns_intfce.o special_jacket.o lex.yyy.o ../../kernel/sources/libkernel.a  ../../kernel/sources/libfunc.a -lm -ll -o batchman
Undefined			first referenced
 symbol  			    in file
alloca                              gram1.tab.o
ld: fatal: Symbol referencing errors. No output written to batchman
*** Error code 1

Stop.
bmake: stopped in /pkgobj/math/snns/work/SNNSv4.2/tools/sources
*** Error code 1

Stop.
bmake: stopped in /pkgobj/math/snns/work/SNNSv4.2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/math/snns
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /pkgobj/math/snns/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/math/snns

Please view the work log for snns-4.2


BULK> snns-4.2 was marked as broken:
-rw-r--r--   1 root     other      13521 Jul  5 22:19 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for snns
BULK> Marking all packages which depend upon snns-4.2 as broken:
BULK> Build for snns-4.2 was not successful, aborting.