###
### Wed Jul 7 21:10:26 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for smlnj-110.42
### Current pkg count:  10 installed packages: digest-20021220 gettext-lib-0.11.5nb3 gmake-3.80nb3 libiconv-1.9.1nb2 libtool-base-1.5.6nb1 patch-2.5.4nb2 pkg_install-info-4.5nb2 slib-2.4.6 unzip-5.51 zlib-1.2.1nb1
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for smlnj-110.42
===> Cleaning for gmake-3.80nb3
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for gettext-lib-0.11.5nb3
===> Cleaning for libiconv-1.9.1nb2
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build smlnj-110.42
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> smlnj-110.42 requires installed package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r slib-2.4.6
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r zlib-1.2.1nb1
BULK> smlnj-110.42 requires installed package libtool-base-1.5.6nb1 (devel/libtool-base) to build.
BULK> smlnj-110.42 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> smlnj-110.42 requires installed package libiconv-1.9.1nb2 (converters/libiconv) to build.
BULK> smlnj-110.42 requires installed package gettext-lib-0.11.5nb3 (devel/gettext-lib) to build.
BULK> smlnj-110.42 requires installed package gmake-3.80nb3 (devel/gmake) to build.
BULK> Installing packages which are required to build smlnj-110.42.
BULK> Required package gmake-3.80nb3 (devel/gmake) is already installed
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK> Required package gettext-lib-0.11.5nb3 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.1nb2 (converters/libiconv) is already installed
BULK> Required package libtool-base-1.5.6nb1 (devel/libtool-base) is already installed
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (smlnj-110.42)
===> Checking for vulnerabilities in smlnj-110.42
=> MLRISC.tgz doesn't seem to exist on this system.
=> Attempting to fetch MLRISC.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> boot.sparc-unix.tgz doesn't seem to exist on this system.
=> Attempting to fetch boot.sparc-unix.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
boot.sparc-unix.tgz: No such file or directory.
=> Attempting to fetch boot.sparc-unix.tgz from ftp://flint.cs.yale.edu/pub/smlnj/working/110.42/.
=> ckit.tgz doesn't seem to exist on this system.
=> Attempting to fetch ckit.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> cm.tgz doesn't seem to exist on this system.
=> Attempting to fetch cm.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> cml.tgz doesn't seem to exist on this system.
=> Attempting to fetch cml.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> compiler.tgz doesn't seem to exist on this system.
=> Attempting to fetch compiler.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> config.tgz doesn't seem to exist on this system.
=> Attempting to fetch config.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> eXene.tgz doesn't seem to exist on this system.
=> Attempting to fetch eXene.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> ml-burg.tgz doesn't seem to exist on this system.
=> Attempting to fetch ml-burg.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> ml-lex.tgz doesn't seem to exist on this system.
=> Attempting to fetch ml-lex.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> ml-nlffi-lib.tgz doesn't seem to exist on this system.
=> Attempting to fetch ml-nlffi-lib.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> ml-nlffigen.tgz doesn't seem to exist on this system.
=> Attempting to fetch ml-nlffigen.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> ml-yacc.tgz doesn't seem to exist on this system.
=> Attempting to fetch ml-yacc.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> runtime.tgz doesn't seem to exist on this system.
=> Attempting to fetch runtime.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> smlnj-lib.tgz doesn't seem to exist on this system.
=> Attempting to fetch smlnj-lib.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> system.tgz doesn't seem to exist on this system.
=> Attempting to fetch system.tgz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/smlnj-110.42/.
=> Checksum OK for smlnj-110.42/MLRISC.tgz.
=> Checksum OK for smlnj-110.42/boot.sparc-unix.tgz.
=> Checksum OK for smlnj-110.42/ckit.tgz.
=> Checksum OK for smlnj-110.42/cm.tgz.
=> Checksum OK for smlnj-110.42/cml.tgz.
=> Checksum OK for smlnj-110.42/compiler.tgz.
=> Checksum OK for smlnj-110.42/config.tgz.
=> Checksum OK for smlnj-110.42/eXene.tgz.
=> Checksum OK for smlnj-110.42/ml-burg.tgz.
=> Checksum OK for smlnj-110.42/ml-lex.tgz.
=> Checksum OK for smlnj-110.42/ml-nlffi-lib.tgz.
=> Checksum OK for smlnj-110.42/ml-nlffigen.tgz.
=> Checksum OK for smlnj-110.42/ml-yacc.tgz.
=> Checksum OK for smlnj-110.42/runtime.tgz.
=> Checksum OK for smlnj-110.42/smlnj-lib.tgz.
=> Checksum OK for smlnj-110.42/system.tgz.
work -> /pkgbuild/lang/smlnj/work
===> Extracting for smlnj-110.42
===> Required installed package gmake>=3.78: gmake-3.80nb3 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
/usr/bin/mkdir -p /pkgbuild/lang/smlnj/work/src || /usr/bin/true
cd /pkgbuild/lang/smlnj/work && /usr/bin/ln -sf /distfiles/smlnj-110.42/*  .
===> Patching for smlnj-110.42
===> Applying pkgsrc patches for smlnj-110.42
===> Overriding tools for smlnj-110.42
===> Buildlinking for smlnj-110.42
===> Configuring for smlnj-110.42
cpp /usr/pkgsrc/lang/smlnj/files/targets > /pkgbuild/lang/smlnj/work/config/targets.customized
cd /pkgbuild/lang/smlnj/work/config;				 for f in _link-sml _run-sml _ml-build _ml-makedepend; do			 /usr/bin/cp "${f}" "${f}.tmp";		 /usr/pkg/bin/nbsed -e 's|@SML_BASE@|/usr/pkg/lib/smlnj|g'	 < "${f}.tmp" > "${f}";	 done;						 cd /pkgbuild/lang/smlnj/work/src/runtime/objs;			 for f in *; do					 /usr/bin/cp "${f}" "${f}.tmp";		 /usr/pkg/bin/nbsed -e 's|@CFLAGS@|-O|g'	 < "${f}.tmp" > "${f}";	 done
===> Building for smlnj-110.42
cd /pkgbuild/lang/smlnj/work && unset PWD &&  FILESDIR="/usr/pkgsrc/lang/smlnj/files" PATCH="/usr/pkg/bin/gpatch" PATCH_ARGS="-d /pkgbuild/lang/smlnj/work --forward --quiet -E -p0 --batch -b -V simple -z .orig"  SMLNJ_HOME="/pkgbuild/lang/smlnj/work" ./config/install.sh
./config/install.sh: Using shell /bin/sh.
./config/install.sh: SML root is /pkgbuild/lang/smlnj/work.
./config/install.sh: Installation directory is /pkgbuild/lang/smlnj/work.
./config/install.sh: Installing version 110.42.
./config/install.sh: URL of source archive is ftp://ftp.research.bell-labs.com/dist/smlnj/working/110.42/ .
./config/install.sh: Script /pkgbuild/lang/smlnj/work/bin/.arch-n-opsys reports ARCH=sparc; OPSYS=solaris; HEAP_SUFFIX=sparc-solaris.
./config/install.sh: The run-time tree already exists.
./config/install.sh: Compiling the run-time system.
(/usr/ccs/bin/make RUNTIME="run.sparc-solaris" MAKE="/usr/ccs/bin/make" VERSION="v-sparc-solaris" CC="gcc" CFLAGS="-O" CPP="gcc -x c -E -P" AS="/usr/ccs/bin/as" AR="/usr/ccs/bin/ar" RANLIB="/usr/ccs/bin/ar ts" TARGET=SPARC DEFS=" -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN" XOBJS="" XLIBS="../c-libs/dl/libunix-dynload.a" LD_LIBS="-lsocket -lnsl -ldl" run.sparc-solaris)
(/usr/ccs/bin/make MAKE="/usr/ccs/bin/make" clean)
rm -f v-* run.* interactive-run \
	gen-sizes gen-offsets gen-bc-instr-def \
	gen-unix-signals gen-unix-sigtbl \
	ml-sizes.h mlstate-offsets.h bc-instr-def.h \
	system-signals.h unix-sigtbl.c \
	*.o prim.s primops.s
(cd ../memory; /usr/ccs/bin/make MAKE="/usr/ccs/bin/make" clean)
rm -f v-* *.o libmem.a
(cd ../c-libs; /usr/ccs/bin/make MAKE="/usr/ccs/bin/make" clean)
for dir in posix-os  smlnj-runtime  smlnj-signals  smlnj-sockets  smlnj-prof  smlnj-time  smlnj-date  smlnj-math  smlnj-mp  posix-error  posix-filesys  posix-io  posix-procenv  posix-process  posix-signal  posix-sysdb  posix-tty  smlnj-ccalls  dl; do \
  (cd $dir; echo "cleaning $dir"; /usr/ccs/bin/make MAKE="/usr/ccs/bin/make" clean) ; \
done
cleaning posix-os
rm -f v-* *.o libposix-os.a
cleaning smlnj-runtime
rm -f v-* *.o libsmlnj-runt.a
cleaning smlnj-signals
rm -f v-* *.o libsmlnj-sig.a
cleaning smlnj-sockets
rm -f v-* *.o libsmlnj-sock.a
cleaning smlnj-prof
rm -f v-* *.o libsmlnj-prof.a
cleaning smlnj-time
rm -f v-* *.o libsmlnj-time.a
cleaning smlnj-date
rm -f v-* *.o libsmlnj-date.a
cleaning smlnj-math
rm -f v-* *.o libsmlnj-math.a
cleaning smlnj-mp
rm -f v-* *.o libsmlnj-mp.a
cleaning posix-error
rm -f v-* *.o libposix-error.a
cleaning posix-filesys
rm -f v-* *.o ml_pathconf.h libposix-filesys.a
cleaning posix-io
rm -f v-* *.o libposix-io.a
cleaning posix-procenv
rm -f v-* *.o ml_sysconf.h libposix-procenv.a
cleaning posix-process
rm -f v-* *.o libposix-process.a
cleaning posix-signal
rm -f v-* *.o libposix-signal.a
cleaning posix-sysdb
rm -f v-* *.o libposix-sysdb.a
cleaning posix-tty
rm -f v-* *.o libposix-tty.a
cleaning smlnj-ccalls
rm -f v-* *.o *.s libsmlnj-ccalls.a
cleaning dl
rm -f v-* *.o libunix-dynload.a
rm -f v-* *.o
(cd ../gc; /usr/ccs/bin/make MAKE="/usr/ccs/bin/make" clean)
rm -f v-* *.o libgc.a libmp-gc.a
(cd ../mp; /usr/ccs/bin/make MAKE="/usr/ccs/bin/make" clean)
rm -f v-* *.o libmp.a
echo "v-sparc-solaris" > v-sparc-solaris
gcc -c -I../config -I../objs -I../include ../config/gen-common.c
"../config/gen-common.c", line 21: warning: implicit function declaration: exit
gcc -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../config -I../objs -I../include -o gen-sizes ../config/gen-sizes.c gen-common.o
"../config/gen-sizes.c", line 62: warning: implicit function declaration: exit
./gen-sizes
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../kernel/main.c
"../kernel/main.c", line 119: warning: implicit function declaration: strcmp
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include -I../c-libs ../c-libs/c-libraries.c
"../c-libs/c-libraries.c", line 49: warning: implicit function declaration: sprintf
"../c-libs/c-libraries.c", line 53: warning: implicit function declaration: RecordCSymbol
gcc -c -I../config -I../objs -I../include -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN ../config/unix-signals.c
gcc -I../config -I../objs -I../include -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -o gen-unix-signals ../config/gen-unix-signals.c unix-signals.o gen-common.o
"../config/gen-unix-signals.c", line 46: warning: implicit function declaration: exit
./gen-unix-signals
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../c-libs/unix-raise-syserr.c
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../kernel/ml-options.c
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../kernel/boot.c
"../include/cache-flush.h", line 40: warning: no explicit type given
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../kernel/load-ml.c
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../kernel/run-ml.c
"../kernel/run-ml.c", line 290: warning: implicit function declaration: strlen
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../kernel/globals.c
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../kernel/ml-state.c
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../kernel/error.c
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../kernel/timers.c
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../kernel/unix-timers.c
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../kernel/qualify-name.c
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../kernel/swap-bytes.c
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../mach-dep/unix-fault.c
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../mach-dep/signal-util.c
gcc -I../config -I../objs -I../include -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -o gen-unix-sigtbl ../config/gen-unix-sigtbl.c unix-signals.o gen-common.o
"../config/gen-unix-sigtbl.c", line 48: warning: implicit function declaration: exit
./gen-unix-sigtbl
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../mach-dep/unix-signal.c
gcc -c -O -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../objs -I../include ../mach-dep/unix-prof.c
gcc -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../config -I../objs -I../include -o gen-offsets ../config/gen-offsets.c gen-common.o
./gen-offsets
gcc -x c -E -P -D_ASM_ -D__STDC__=0 -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_SOLARIS -DUNBOXEDFLOAT=1 -DDLOPEN -I../bytecode -I../objs -I../include ../mach-dep/SPARC.prim.asm > prim.s
cc: Warning: illegal option -xc
"../mach-dep/SPARC.prim.asm", line 339: invalid input token: 3f
"../mach-dep/SPARC.prim.asm", line 351: invalid input token: 1b
"../mach-dep/SPARC.prim.asm", line 377: invalid input token: 1f
"../mach-dep/SPARC.prim.asm", line 414: invalid input token: 1f
"../mach-dep/SPARC.prim.asm", line 449: invalid input token: 1f
"../mach-dep/SPARC.prim.asm", line 484: invalid input token: 1f
"../mach-dep/SPARC.prim.asm", line 498: invalid input token: 2b
"../mach-dep/SPARC.prim.asm", line 525: invalid input token: 1f
"../mach-dep/SPARC.prim.asm", line 541: invalid input token: 2f
"../mach-dep/SPARC.prim.asm", line 573: invalid input token: 1f
"../mach-dep/SPARC.prim.asm", line 605: invalid input token: 7b
"../mach-dep/SPARC.prim.asm", line 678: invalid input token: 1f
"../mach-dep/SPARC.prim.asm", line 704: invalid input token: 1f
"../mach-dep/SPARC.prim.asm", line 704: fatal: too many errors
cc: acomp failed for ../mach-dep/SPARC.prim.asm
*** Error code 2
make: Fatal error: Command failed for target `prim.o'
Current working directory /pkgbuild/lang/smlnj/work/src/runtime/objs
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /pkgbuild/lang/smlnj/work/src/runtime/objs
./config/install.sh: !!! Run-time system build failed for some reason.
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/smlnj
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/smlnj
BULK> smlnj-110.42 was marked as broken:
-rw-r--r--   1 root     other      16212 Jul  7 21:11 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for smlnj
BULK> Marking all packages which depend upon smlnj-110.42 as broken:
BULK> marking package that requires smlnj-110.42 as broken: twelf-1.4nb1 (lang/twelf)
BULK> Build for smlnj-110.42 was not successful, aborting.