###
### Fri Feb 6 20:43:00 EST 2004:
### bmake bulk-package for mercury-0.11.0nb1
### Current pkg count:  16 installed packages: bison-1.875nb1 buddy-2.2 digest-20021220 flex-2.5.4a gettext-0.11.5nb3 gettext-lib-0.11.5nb2 gettext-m4-0.11.5 gmake-3.80nb2 gmp-4.1.2 gtexinfo-4.6nb1 libiconv-1.9.1nb1 libtool-base-1.4.20010614nb19 m4-1.4nb1 patch-2.5.4nb2 pkg_install-info-4.5nb2 xpkgwedge-1.9
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for mercury-0.11.0nb1
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for readline-4.3pl5
===> Cleaning for libtool-base-1.4.20010614nb19
===> Cleaning for patch-2.5.4nb2
===> Cleaning for ncurses-5.3nb2
===> Cleaning for gawk-3.1.3
===> Cleaning for gettext-lib-0.11.5nb2
===> Cleaning for libiconv-1.9.1nb1
===> Cleaning for gmake-3.80nb2
BULK> Removing installed packages which are not needed to build mercury-0.11.0nb1
BULK> Keeping BULK_PREREQ: xpkgwedge-1.9 (pkgtools/xpkgwedge)
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> mercury-0.11.0nb1 requires installed package patch-2.5.4nb2 (devel/patch) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r buddy-2.2
BULK> mercury-0.11.0nb1 requires installed package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gmp-4.1.2
BULK> mercury-0.11.0nb1 requires installed package libtool-base-1.4.20010614nb19 (devel/libtool-base) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r m4-1.4nb1
BULK> mercury-0.11.0nb1 requires installed package libiconv-1.9.1nb1 (converters/libiconv) to build.
BULK> mercury-0.11.0nb1 requires installed package gettext-lib-0.11.5nb2 (devel/gettext-lib) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gtexinfo-4.6nb1
BULK> mercury-0.11.0nb1 requires installed package gmake-3.80nb2 (devel/gmake) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r flex-2.5.4a
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gettext-m4-0.11.5
BULK> Installing packages which are required to build mercury-0.11.0nb1.
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/readline-4.3pl5.tgz
BULK> Required package libtool-base-1.4.20010614nb19 (devel/libtool-base) is already installed
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/ncurses-5.3nb2.tgz
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/gawk-3.1.3.tgz
BULK> Required package gettext-lib-0.11.5nb2 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.1nb1 (converters/libiconv) is already installed
BULK> Required package gmake-3.80nb2 (devel/gmake) 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 (mercury-0.11.0nb1)
===> Checking for vulnerabilities in mercury-0.11.0nb1
=> Checksum OK for mercury-compiler-0.11.0.tar.gz.
work.sol9 -> /work/pkgbuild/lang/mercury/work.sol9
===> Extracting for mercury-0.11.0nb1
===> Required installed package pkg_install-info-[0-9]*: pkg_install-info-4.5nb2 found
===> Required installed package readline>=2.2: readline-4.3pl5 found
===> Required installed package ncurses>=5.3nb1: ncurses-5.3nb2 found
===> Required installed package gmake>=3.78: gmake-3.80nb2 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for mercury-0.11.0nb1
===> Applying pkgsrc patches for mercury-0.11.0nb1
===> Overriding tools for mercury-0.11.0nb1
===> Buildlinking for mercury-0.11.0nb1
===> Configuring for mercury-0.11.0nb1
creating cache ./config.cache
loading cache ./config.cache
checking host system type... sparc-sun-solaris2
looking for an already installed Mercury compiler to bootstrap with...
checking for mmc... no
checking for GCC source directory... not_found
checking whether to enable the GCC back-end interface... no
checking whether to enable the Aditi back-end... looking for GNU Make...
checking for gmake... gmake
found GNU Make: gmake
looking for a way to create named pipes...
checking for mkfifo... /usr/bin/mkfifo
configure: warning: cannot find a working `mktemp'
looking for a way to create temporary files...
checking for mktemp... no
checking for install-info... /work/pkgbuild/lang/mercury/work.sol9/.tools/bin/install-info
checking for texi2dvi... no
checking for dvips... no
checking for makeinfo... /work/pkgbuild/lang/mercury/work.sol9/.tools/bin/makeinfo
checking for info... no
checking for perl... no
checking for hostname... /usr/bin/hostname
checking for gcc... cc
checking whether the C compiler (cc -O -I/usr/pkg/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O -I/usr/pkg/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking whether C compiler need --traditional-cpp... no
checking for gcc... /work/pkgbuild/lang/mercury/work.sol9/.buildlink/bin/gcc
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking whether to pass -I/usr/local/include to C compiler... no
checking whether to pass -L/usr/local/lib to the linker... no
checking how to run the C preprocessor... cc -E
checking for sin in -lm... yes
checking for use of a Microsoft C compiler... no
checking for cygpath... echo
checking for ranlib... ranlib
checking for ilasm... no
checking for gacutil... no
checking for Microsoft.NET Framework SDK... no
checking for cl... no
checking for Microsoft.NET Visual C++... no
checking for csc... no
checking for sysconf... yes
checking for getpagesize... yes
checking for gethostname... yes
checking for mprotect... yes
checking for memalign... yes
checking for memmove... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for setitimer... yes
checking for snprintf... yes
checking for _snprintf... no
checking for vsnprintf... yes
checking for _vsnprintf... no
checking for strerror... yes
checking for open... yes
checking for close... yes
checking for dup... yes
checking for dup2... yes
checking for fdopen... yes
checking for fileno... yes
checking for fstat... yes
checking for stat... yes
checking for isatty... yes
checking for getpid... yes
checking for setpgid... yes
checking for fork... yes
checking for execlp... yes
checking for wait... yes
checking for kill... yes
checking for grantpt... yes
checking for unlockpt... yes
checking for ptsname... yes
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for ioctl... yes
checking for access... yes
checking for sleep... yes
checking for opendir... yes
checking for readdir... yes
checking for closedir... yes
checking for unistd.h... yes
checking for sys/wait.h... yes
checking for sys/siginfo.h... yes
checking for sys/signal.h... yes
checking for ucontext.h... yes
checking for asm/sigcontext.h... no
checking for sys/param.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for fcntl.h... yes
checking for termios.h... yes
checking for sys/ioctl.h... yes
checking for sys/stropts.h... yes
checking for windows.h... no
checking for dirent.h... yes
checking for `sigaction' field name... sa_sigaction
checking for working `sigcontext_struct' in second arg... no
checking for working `sigcontext_struct' in third arg... no
checking for `siginfo_t'... yes
checking for `siginfo' pc access at signals... REG_PC
checking for an integer type with the same size as a pointer... int
checking for an integer type of at least 64 bits... long long
checking for an integer type of at least 32 bits... int
checking for ANSI C header files... yes
checking for pid_t... yes
checking for an integer type of at least 16 bits... short
checking the number of low tag bits available... 2
checking the number of bytes per word... 4
checking the number of words in a synchronization term... 8
checking the number of bits per word... 32
checking whether we can use unboxed floats... no
checking whether float is 64-bit... no
checking whether double is 64-bit... yes
checking whether long double is 64-bit... no
checking whether architecture is big-endian... yes
checking whether architecture is little-endian... no
checking whether we can use files as locks... yes
checking return values of system... yes
checking to see if we can handle contexts blocking on IO... yes
checking whether we can use gcc labels... no
checking whether we can use global registers without gcc labels... no
checking whether we can support profiling on this system... yes
checking if C compiler is egcs... no
checking whether to enable the deep profiler... no
using grade `hlc.gc' as the default grade for applications
configure: warning: Mercury compiler not yet installed
****	cannot use grade `hlc.gc'
****	using grade `none.gc' to compile the compiler
****	after installation is complete you should reinstall
****	from scratch so you can use the more efficient
****	grade `hlc.gc'.
using ` none.gc hlc.gc hlc.gc.prof none.gc.prof hlc.gc.memprof hlc.gc.tr none.gc.tr.debug hlc.par.gc' as the set of library grades to install
checking whether the assembler does not handle .type... no
checking for as... /work/pkgbuild/lang/mercury/work.sol9/.buildlink/bin/as
checking whether the assembler does full preprocessing... no
checking whether structure assignment conflicts with global registers... yes
checking whether Mercury supports shared libraries on this system... no
checking for struct tms and times function... yes
checking for Sleep function... no
checking for socket in -lsocket... yes
checking for inet_addr in -lnsl... yes
checking whether we can use sockets (for Morphine)... yes
checking whether to enable the external debugger... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for dlclose... yes
checking for dlsym... yes
checking for dlerror... yes
checking whether to enable the new MercuryFile struct... no
checking for readline/readline.h... yes
checking for readline/history.h... yes
looking for termcap or curses (needed by readline)...
checking for tgetent in -ltermcap... yes
checking for readline in -lreadline... yes
checking whether any C files need to be rebuilt...
no - they are compatible with autoconfigured settings
updating cache ./config.cache
creating ./config.status
creating Mmake.common
creating scripts/Mmake.vars
creating scripts/mmc
creating scripts/mercury.bat
creating scripts/mprof
creating scripts/mercury_update_interface
creating scripts/mgnuc
creating scripts/parse_ml_options.sh-subr
creating scripts/ml
creating scripts/c2init
creating scripts/mmake
creating scripts/mdb
creating scripts/mdbrc
creating scripts/mdprof
creating scripts/mkfifo_using_mknod
creating bindist/bindist.build_vars
creating runtime/mercury_conf.h
===> Building for mercury-0.11.0nb1
cd /work/pkgbuild/lang/mercury/work.sol9/mercury-compiler-0.11.0 && /usr/bin/env READLINE_PREFIX=/usr/pkg USETOOLS=no MAKECONF=/dev/null USETOOLS="no" OBJECT_FMT="ELF" LDFLAGS=" -L/usr/pkg/lib -Wl,-R/usr/pkg/lib" RPATH_FLAG="-R" WHOLE_ARCHIVE_FLAG="-z allextract" NO_WHOLE_ARCHIVE_FLAG="-z defaultextract" LINK_ALL_LIBGCC_HACK="" PATH=/work/pkgbuild/lang/mercury/work.sol9/.tools/bin:/work/pkgbuild/lang/mercury/work.sol9/.buildlink/bin:/opt/SUNWspro/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/ccs/lib:/usr/pkg/bin:/usr/openwin/bin PREFIX=/usr/pkg LOCALBASE=/usr/pkg X11BASE=/usr/openwin CFLAGS="-O -I/usr/pkg/include" CPPFLAGS="  -I/usr/pkg/include" FFLAGS="-O" X11PREFIX=/usr/pkg CC="/opt/SUNWspro/bin/cc" CXX="/opt/SUNWspro/bin/CC" CPP="/opt/SUNWspro/bin/cc -E" PTHREAD_CFLAGS="" PTHREAD_LDFLAGS="" BSD_INSTALL_PROGRAM="/usr/ucb/install -c -s -o root -g root -m 555"		 BSD_INSTALL_SCRIPT="/usr/ucb/install -c -o root -g root -m 555"			 BSD_INSTALL_DATA="/usr/ucb/install -c -o root -g root -m 444"			 BSD_INSTALL_MAN="/usr/ucb/install -c -o root -g root -m 444"			 BSD_INSTALL="/usr/ucb/install"				 BSD_INSTALL_PROGRAM_DIR="/usr/ucb/install -d -o root -g root -m 755"	 BSD_INSTALL_SCRIPT_DIR="/usr/ucb/install -d -o root -g root -m 755"		 BSD_INSTALL_DATA_DIR="/usr/ucb/install -d -o root -g root -m 755"		 BSD_INSTALL_MAN_DIR="/usr/ucb/install -d -o root -g root -m 755" PKG_SYSCONFDIR="/usr/pkg/etc" BUILDLINK_DIR="/work/pkgbuild/lang/mercury/work.sol9/.buildlink" BUILDLINK_X11_DIR="/work/pkgbuild/lang/mercury/work.sol9/.buildlink-x11" BUILDLINK_CACHE_ALL=yes BUILDLINK_CPPFLAGS="-I/usr/pkg/include" BUILDLINK_LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib"  CC="cc" CXX="CC"  LD="ld"    INSTALL_INFO="/work/pkgbuild/lang/mercury/work.sol9/.tools/bin/install-info" MAKEINFO="/work/pkgbuild/lang/mercury/work.sol9/.tools/bin/makeinfo" VIEWBASE=/usr/pkg  bmake INSTALL_PREFIX=/work/pkgbuild/lang/mercury/work.sol9/mercury-compiler-0.11.0/tmp  MERCURY_COMPILER=/work/pkgbuild/lang/mercury/work.sol9/mercury-compiler-0.11.0/tmp/lib/mercury/bin/sparc-sun-solaris2/mercury_compile  install
MMAKE_DIR=`pwd`/scripts scripts/mmake MMAKEFLAGS= install 2>&1 | tee make_install.log
cd scripts && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/work/pkgbuild/lang/mercury/work.sol9/mercury-compiler-0.11.0/scripts'
gmake[1]: Nothing to be done for `default_target'.
gmake[1]: Leaving directory `/work/pkgbuild/lang/mercury/work.sol9/mercury-compiler-0.11.0/scripts'
cd util && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/work/pkgbuild/lang/mercury/work.sol9/mercury-compiler-0.11.0/util'
../scripts/mgnuc --grade none.gc  --no-mercury-stdlib-dir  --no-ansi -- -I../runtime -O0     -o mkinit mkinit.c ../runtime/GETOPT/getopt.c ../runtime/GETOPT/getopt1.c
cc: Warning: option -0 passed to ld
mkinit.c:
../runtime/GETOPT/getopt.c:
"../runtime/GETOPT/getopt.c", line 577: warning: implicit function declaration: strcmp
"../runtime/GETOPT/getopt.c", line 653: warning: implicit function declaration: strncmp
"../runtime/GETOPT/getopt.c", line 656: warning: implicit function declaration: strlen
../runtime/GETOPT/getopt1.c:
/usr/ccs/bin/ld: illegal option -- 0
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)
	[-64]		enforce a 64-bit link-edit
	[-a]		create an absolute file
	[-b]		do not do special PIC relocations in a.out
	[-B direct]	specify `direct' bindings for executable when run
	[-B dynamic | static]
			search for shared libraries|archives
	[-B eliminate]	eliminate unqualified global symbols from the
			symbol table
	[-B group]	relocate object from within group
	[-B local]	reduce unqualified global symbols to local
	[-B reduce]	process symbol reductions
	[-B symbolic]	bind external references to definitions when creating
			shared objects
	[-c name]	record configuration file `name'
	[-C]		demangle C++ symbol name diagnostics
	[-d y | n]	operate in dynamic|static mode
	[-D token,...]	print diagnostic messages
	[-e epsym]	use `epsym' as entry point address
	[-f name]	specify library for which this file is an auxiliary
			filter
	[-F name]	specify library for which this file is a filter
	[-G]		create a shared object
	[-h name]	use `name' as internal shared object identifier
	[-i]		ignore LD_LIBRARY_PATH setting
	[-I name]	use `name' as path of interpreter
	[-l x]		search for libx.so or libx.a
	[-L path]	search for libraries in directory `path'
	[-m]		print memory map
	[-M mapfile]	use processing directives contained in `mapfile'
	[-N string]	create a dynamic dependency for `string'
	[-o outfile]	name the output file `outfile'
	[-p auditlib]	identify audit library to accompany this object
	[-P auditlib]	identify audit library for processing the dependencies
			of this object
	[-Q y | n]	do|do not place version information in output file
	[-r]		create a relocatable object
	[-R path]	specify a library search path to be used at run time
	[-s]		strip any symbol and debugging information
	[-S supportlib]
			specify a link-edit support library
	[-t]		do not warn of multiply-defined symbols that have
			different sizes or alignments
	[-u symname]	create an undefined symbol `symname'
	[-V]		print version information
	[-Y P,dirlist]	use `dirlist' as a default path when searching for
			libraries
	[-z absexec]	when building an executable absolute symbols
 			referenced in dynamic objects are promoted to
 			the executable
	[-z allextract | defaultextract | weakextract]
			extract all member files, only members that resolve
			undefined tor tentative symbols, or allow extraction of
			archive members to resolvetweak references from 
			archive files
	[-z combreloc]	combine multiple relocation sections
	[-z nocompstrtab]	disable compression of string tables
	[-z defs]	disallow undefined symbol references
	[-z endfiltee]	marks a filtee such that it will terminate a filters
			search
	[-z finiarray=function]
			name of function to be appended to the .finiarray
	[-z groupperm | nogroupperm]
			enable|disable setting of group permissions
			on dynamic dependencies
	[-z ignore | record]
			ignore|record unused dynamic dependencies
	[-z initarray=function]
			name of function to be appended to the .initarray
	[-z initfirst]	mark object to indicate that its .init section should
			be executed before the .init section of any other
			objects
	[-z interpose]	dynamic object is to be an `interposer' on direct
			bindings
	[-z lazyload | nolazyload]
			enable|disable delayed loading of shared objects
	[-z ld32=arg1,arg2,...]
			define arguments applicable to the 32-bit class of ld(1)
	[-z ld64=arg1,arg2,...]
			define arguments applicable to the 64-bit class of ld(1)
	[-z loadfltr]	mark filter as requiring immediate loading of its
			filtees at runtime
	[-z muldefs]	allow multiply-defined symbols
	[-z nodefs]	allow undefined symbol references
	[-z nodefaultlib]
			mark object to ignore any default library search path
	[-z nodelete]	mark object as non-deletable
	[-z nodlopen]	mark object as non-dlopen()'able
	[-z nodump]	mark object as non-dldump()'able
	[-z nopartial]	expand any partially initialized symbols
	[-z noversion]	don't record any version sections
	[-z now]	mark object as requiring non-lazy binding
	[-z origin]	mark object as requiring $ORIGIN processing
	[-z preinitarray=function]
			name of function to be appended to the .preinitarray
	[-z redlocsym]	reduce local syms in .symtab to a minimum
	[-z rescan]	rescan archive list until no further member
			extraction occurs
	[-z text]	disallow output relocations against text
	[-z textoff]	allow output relocations against text
	[-z textwarn]	warn if there are relocations against text
	[-z verbose]	generate warnings for suspicious processings
gmake[1]: *** [mkinit] Error 1
gmake[1]: Leaving directory `/work/pkgbuild/lang/mercury/work.sol9/mercury-compiler-0.11.0/util'
gmake: *** [util] Error 2
=> Fixing buildlink references in files-to-be-installed.
===> Installing for mercury-0.11.0nb1
cd /work/pkgbuild/lang/mercury/work.sol9/mercury-compiler-0.11.0/tmp && /usr/pkg/bin/pax -rw . /usr/pkg
/bin/sh: /work/pkgbuild/lang/mercury/work.sol9/mercury-compiler-0.11.0/tmp: does not exist
*** Error code 1

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

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

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

Stop.
bmake: stopped in /usr/pkgsrc/lang/mercury
BULK> mercury-0.11.0nb1 was marked as broken:
-rw-r--r--   1 root     other      19751 Feb  6 20:47 .broken.html
bmake deinstall
===> Deinstalling for mercury
BULK> Marking all packages which depend upon mercury-0.11.0nb1 as broken:
BULK> Build for mercury-0.11.0nb1 was not successful, aborting.