###
### Sat Feb 7 06:16:49 EST 2004:
### bmake bulk-package for snns-4.2
### Current pkg count:  3 installed packages: digest-20021220 patch-2.5.4nb2 xpkgwedge-1.9
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
NOTE: Couldn't lock the package database.
===> Cleaning for snns-4.2
===> Cleaning for x11-links-0.20
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build snns-4.2
BULK> Keeping BULK_PREREQ: xpkgwedge-1.9 (pkgtools/xpkgwedge)
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> snns-4.2 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> Installing packages which are required to build snns-4.2.
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/x11-links-0.20.tgz
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> Required package xpkgwedge-1.9 (pkgtools/xpkgwedge) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
bmake package (snns-4.2)
NOTE: Couldn't lock the package database.
NOTE: Couldn't lock the package database.
===> Checking for vulnerabilities in snns-4.2
NOTE: Couldn't lock the package database.
=> Checksum OK for SNNSv4.2.tar.gz.
work.sol9 -> /work/pkgbuild/math/snns/work.sol9
NOTE: Couldn't lock the package database.
===> Extracting for snns-4.2
===> Required installed package x11-links>=0.20: x11-links-0.20 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
NOTE: Couldn't lock the package database.
===> Patching for snns-4.2
===> Applying pkgsrc patches for snns-4.2
NOTE: Couldn't lock the package database.
===> Overriding tools for snns-4.2
NOTE: Couldn't lock the package database.
===> Buildlinking for snns-4.2
NOTE: Couldn't lock the package database.
===> 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 bmake 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 bmake 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!
***********************************************************************
NOTE: Couldn't lock the package database.
===> Building for snns-4.2
cd kernel/sources && bmake
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kr_pat_scan.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kernel.c
"kernel.c", line 2797: warning: implicit function declaration: strcpy
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kr_io.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kr_mem.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kr_ui.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kr_inversion.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c art_ui.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kr_art.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kr_art1.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kr_art2.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kr_amap.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kr_pat_parse.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kr_newpattern.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/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 -I/usr/openwin/include -c func_tbl.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c init_f.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kr_td.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c kr_funcs.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c learn_f.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c prun_f.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c tbl_func.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c trans_f.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c update_f.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c remap_f.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c matrix.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c arttr_f.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c cc_learn.c
"cc_learn.c", line 96: warning: implicit function declaration: strcmp
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c cc_prune.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c cc_modify.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c cc_glob.c
"cc_glob.c", line 63: warning: implicit function declaration: strlen
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c cc_display.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/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 -I/usr/openwin/include -c dlvq_learn.c
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/include -c stochastic_learn_f.c
"stochastic_learn_f.c", line 368: warning: statement not reached
cc -I../..   -O -I/usr/pkg/include -I/usr/openwin/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 && bmake
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c analyze.c
cc analyze.o -lm -o analyze
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/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 -I/usr/openwin/include -c mkhead.c
cc mkhead.o -lm -o mkhead
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c mkout.c
cc mkout.o -lm -o mkout
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c mkpat.c
cc mkpat.o -lm -o mkpat
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c snns2c.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/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 -I/usr/openwin/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 -I/usr/openwin/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 -I/usr/openwin/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 -I/usr/openwin/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 -I/usr/openwin/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 -I/usr/openwin/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 -I/usr/openwin/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 -I/usr/openwin/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 -I/usr/openwin/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 -I/usr/openwin/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 -I/usr/openwin/include -c batchman.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/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 -I/usr/openwin/include -c lex.yyz.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c icopjmp.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c ictab.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c symtab.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c backpatch.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c memory.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c ic_snns.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c error.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c arglist.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c snns_intfce.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/include -c special_jacket.c
cc -I../..  -I../../kernel/sources   -O -I/usr/pkg/include -I/usr/openwin/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 /work/pkgbuild/math/snns/work.sol9/SNNSv4.2/tools/sources
*** Error code 1

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

Stop.
bmake: stopped in /usr/pkgsrc/math/snns
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/math/snns
BULK> snns-4.2 was marked as broken:
-rw-r--r--   1 root     other      15085 Feb  7 06:21 .broken.html
bmake deinstall
NOTE: Couldn't lock the package database.
===> Deinstalling for snns
NOTE: Couldn't lock the package database.
BULK> Marking all packages which depend upon snns-4.2 as broken:
BULK> Build for snns-4.2 was not successful, aborting.