###
### Wed Jul 6 14:56:39 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for nasd-1.3
### Current pkg count:  12 installed packages: digest-20050323 gettext-0.11.5nb5 gettext-lib-0.11.5nb4 gettext-m4-0.11.5 glib-1.2.10nb8 gmake-3.80nb4 gtk+-1.2.10nb8 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 perl-5.8.6nb4 pkg_install-info-4.5nb3 x11-links-0.25
###
BULK> Full rebuild in progress...
BULK> Cleaning package nasd-1.3 and pre-requisite packages
===> Cleaning for nasd-1.3
===> Cleaning for perl-5.8.6nb4
===> Cleaning for x11-links-0.25
===> Cleaning for xpkgwedge-1.14
BULK> Removing installed packages which are not needed to build nasd-1.3
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libiconv-1.9.2nb1
Executing `/usr/bin/rmdir /usr/pkg/share/gettext 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir /usr/pkg/share/aclocal 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir /usr/pkg/share/themes/Default 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rm -f /usr/pkg/lib/charset.alias'
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r glib-1.2.10nb8
Executing `/usr/bin/rmdir /usr/pkg/include/glib 2>/dev/null || /usr/bin/true'
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gettext-m4-0.11.5
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r pkg_install-info-4.5nb3
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libtool-base-1.5.18nb3
BULK> nasd-1.3 requires installed package x11-links-0.25 (pkgtools/x11-links) to build.
BULK> nasd-1.3 requires installed package perl-5.8.6nb4 (lang/perl58) to build.
BULK> Installing packages which are required to build nasd-1.3.
BULK> Required package perl-5.8.6nb4 (lang/perl58) is already installed
BULK> Required package x11-links-0.25 (pkgtools/x11-links) is already installed
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (nasd-1.3)
===> Checking for vulnerabilities in nasd-1.3
=> repackaged-nasd-1.3.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch repackaged-nasd-1.3.tar.gz from ftp://netbsd.stevens-tech.edu/pub/NetBSD/packages/distfiles/LOCAL_PORTS/.
=> [1441892 bytes]
=> Checksum SHA1 OK for repackaged-nasd-1.3.tar.gz.
=> Checksum RMD160 OK for repackaged-nasd-1.3.tar.gz.
work -> /pkgobj/net/nasd/work
===> Extracting for nasd-1.3
===> Required package xpkgwedge>=1.14: NOT found
===> Verifying bulk-install for ../../pkgtools/xpkgwedge
BULK> /packages/SunOS-5.8/sparc/All/xpkgwedge-1.14.tgz is up to date.
work -> /pkgobj/pkgtools/xpkgwedge/work
===> Required installed package x11-links>=0.25: x11-links-0.25 found
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg /packages/SunOS-5.8/sparc/All/xpkgwedge-1.14.tgz
Symlinking font programs...done.
Creating /usr/pkg/lib/X11/config/host.def...done.
Patching OpenWindows templates...done.

===========================================================================
$NetBSD: MESSAGE,v 1.3 2003/10/19 07:16:33 grant Exp $

NOTES:

* You MUST set the environment variable XAPPLRESDIR in /etc/profile and
  /etc/csh.login by hand in order to make pkgs built with xpkgwedge run
  properly, e.g.

	XAPPLRESDIR=/usr/pkg/lib/X11/app-defaults
	export XAPPLRESDIR

  and

	setenv XAPPLRESDIR /usr/pkg/lib/X11/app-defaults

  respectively.

  If any users set XAPPLRESDIR in their own environment, these settings
  will not work -- such users need to set XUSERFILESEARCHPATH (syntax
  can be found in XtResolvePathname(3Xt)).

===========================================================================

===> Returning to build of nasd-1.3
===> Required installed package {perl>=5.0,perl-thread>=5.0}: perl-5.8.6nb4 found
===> Required installed package x11-links>=0.25: x11-links-0.25 found
===> Patching for nasd-1.3
/usr/bin/mkdir -p /pkgobj/net/nasd/work/nasd-1.3/include/nasd/netbsd
/usr/bin/mkdir -p /pkgobj/net/nasd/work/nasd-1.3/common/netbsd
===> Applying pkgsrc patches for nasd-1.3
===> Overriding tools for nasd-1.3
===> Creating toolchain wrappers for nasd-1.3
===> Configuring for nasd-1.3
cd /pkgobj/net/nasd/work/nasd-1.3 && /usr/bin/env NASD_DESTDIR=/usr/pkg/nasd ./itomf
Can't exec "whoami": No such file or directory at (eval 1) line 343,  line 557.
Executing: imake -DTOPDIR=. -DSCD_SRCTOP=`pwd` -DNASD_OSMajorVersion=`uname -r | cut -d. -f1` -I./config -I/usr/openwin/lib/config -DUseInstalled -DNASD_ITOMF=1 -DNASD_X11CONFIGDIR=/usr/openwin/lib/config  -DBUILD_CHEOPS=0 -DNASD_MAKEDEPEND=/usr/openwin/bin/makedepend    -DBUILD_NASD_RPC_PACKAGE=2  -DITOMF_NASD_DESTDIR=/usr/pkg/nasd   -DBUILD_NASD_CMU_PDL=0
Executing: make Makefiles
making Makefiles in rpcgen...
making Makefiles in afs...
making Makefiles in config...
making Makefiles in etc...
making Makefiles in include...
making Makefiles in include/nasd...
making Makefiles in include/nasd/dux...
making Makefiles in include/nasd/freebsd...
making Makefiles in include/nasd/generic...
making Makefiles in include/nasd/irix...
making Makefiles in include/nasd/linux...
making Makefiles in include/nasd/netbsd...
making Makefiles in include/nasd/solaris...
making Makefiles in include/nasd/video...
making Makefiles in include/nasd/vxworks...
making Makefiles in include/cryptolib...
making Makefiles in common...
making Makefiles in common/cryptolib...
making Makefiles in common/cryptolib/man...
making Makefiles in common/cryptolib/src...
making Makefiles in common/dux...
making Makefiles in common/freebsd...
making Makefiles in common/generic...
make: Fatal error in reader: Makefile, line 663: Unexpected end of line seen
Current working directory /pkgobj/net/nasd/work/nasd-1.3/common/generic
making Makefiles in common/i386...
making Makefiles in common/irix...
making Makefiles in common/linux...
making Makefiles in common/netbsd...
making Makefiles in common/solaris...
making Makefiles in common/vxworks...
making Makefiles in client...
making Makefiles in edrfs...
making Makefiles in edrfs/common...
making Makefiles in edrfs/client...
making Makefiles in edrfs/client/dux...
making Makefiles in edrfs/client/linux...
making Makefiles in edrfs/etc...
making Makefiles in edrfs/server...
making Makefiles in edrfs/tests...
making Makefiles in edrfs/utils...
making Makefiles in edrfs/utils/dux...
making Makefiles in edrfs/utils/linux...
making Makefiles in tests...
making Makefiles in drive...
making Makefiles in kernel_generate...
making Makefiles in kpdev...
making Makefiles in kpdev/dux...
making Makefiles in video...
making Makefiles in utils...
making Makefiles in utils/babysitter...
making Makefiles in utils/clone...
making Makefiles in utils/cp_nasd...
making Makefiles in utils/dce_err...
making Makefiles in utils/layout...
making Makefiles in utils/misc...
making Makefiles in utils/pmb_s...
making Makefiles in utils/script_client...

Generated Makefile structure
makedepend: /usr/openwin/bin/makedepend
X11CFGDIR: /usr/openwin/lib/config
Security: default
CMU-PDL: off
dtip: default
RPC: srpc(2)
Install directory: /usr/pkg/nasd
===> Building for nasd-1.3
making all in ./rpcgen...
Copy /pkgobj/net/nasd/work/nasd-1.3/common/nasd_getopt.c to nasd_getopt.c
Copied /pkgobj/net/nasd/work/nasd-1.3/common/nasd_getopt.c to nasd_getopt.c
gcc -Wimplicit -Wreturn-type -Wswitch -Wcomment  -Werror -c -g3 -O2     -I/usr/openwin/include  -Dsun -Dsparc -DSVR4 -DSYSV    -D__LANGUAGE_C__   -I/pkgobj/net/nasd/work/nasd-1.3/include -Dsun -DSOLARIS  -I/include -I.    -DNASD_RPC_PACKAGE=2 -DNASD_CMU_PDL=0  -g nasd_getopt.c
cc: Warning: option -3 passed to ld
gcc -Wimplicit -Wreturn-type -Wswitch -Wcomment  -Werror -c -g3 -O2     -I/usr/openwin/include  -Dsun -Dsparc -DSVR4 -DSYSV    -D__LANGUAGE_C__   -I/pkgobj/net/nasd/work/nasd-1.3/include -Dsun -DSOLARIS  -I/include -I.    -DNASD_RPC_PACKAGE=2 -DNASD_CMU_PDL=0  -g nasd_rpcgen.c
cc: Warning: option -3 passed to ld
gcc -Wimplicit -Wreturn-type -Wswitch -Wcomment  -Werror -c -g3 -O2     -I/usr/openwin/include  -Dsun -Dsparc -DSVR4 -DSYSV    -D__LANGUAGE_C__   -I/pkgobj/net/nasd/work/nasd-1.3/include -Dsun -DSOLARIS  -I/include -I.    -DNASD_RPC_PACKAGE=2 -DNASD_CMU_PDL=0  -g nasd_rpcgen_cpp.c
cc: Warning: option -3 passed to ld
gcc -Wimplicit -Wreturn-type -Wswitch -Wcomment  -Werror -c -g3 -O2     -I/usr/openwin/include  -Dsun -Dsparc -DSVR4 -DSYSV    -D__LANGUAGE_C__   -I/pkgobj/net/nasd/work/nasd-1.3/include -Dsun -DSOLARIS  -I/include -I.    -DNASD_RPC_PACKAGE=2 -DNASD_CMU_PDL=0  -g nasd_rpcgen_math.c
cc: Warning: option -3 passed to ld
gcc -Wimplicit -Wreturn-type -Wswitch -Wcomment  -Werror -c -g3 -O2     -I/usr/openwin/include  -Dsun -Dsparc -DSVR4 -DSYSV    -D__LANGUAGE_C__   -I/pkgobj/net/nasd/work/nasd-1.3/include -Dsun -DSOLARIS  -I/include -I.    -DNASD_RPC_PACKAGE=2 -DNASD_CMU_PDL=0  -g nasd_rpcgen_output_c.c
cc: Warning: option -3 passed to ld
gcc -Wimplicit -Wreturn-type -Wswitch -Wcomment  -Werror -c -g3 -O2     -I/usr/openwin/include  -Dsun -Dsparc -DSVR4 -DSYSV    -D__LANGUAGE_C__   -I/pkgobj/net/nasd/work/nasd-1.3/include -Dsun -DSOLARIS  -I/include -I.    -DNASD_RPC_PACKAGE=2 -DNASD_CMU_PDL=0  -g nasd_rpcgen_output_dceidl.c
cc: Warning: option -3 passed to ld
gcc -Wimplicit -Wreturn-type -Wswitch -Wcomment  -Werror -c -g3 -O2     -I/usr/openwin/include  -Dsun -Dsparc -DSVR4 -DSYSV    -D__LANGUAGE_C__   -I/pkgobj/net/nasd/work/nasd-1.3/include -Dsun -DSOLARIS  -I/include -I.    -DNASD_RPC_PACKAGE=2 -DNASD_CMU_PDL=0  -g nasd_rpcgen_output_marshall.c
cc: Warning: option -3 passed to ld
gcc -Wimplicit -Wreturn-type -Wswitch -Wcomment  -Werror -c -g3 -O2     -I/usr/openwin/include  -Dsun -Dsparc -DSVR4 -DSYSV    -D__LANGUAGE_C__   -I/pkgobj/net/nasd/work/nasd-1.3/include -Dsun -DSOLARIS  -I/include -I.    -DNASD_RPC_PACKAGE=2 -DNASD_CMU_PDL=0  -g nasd_rpcgen_output_usc.c
cc: Warning: option -3 passed to ld
gcc -Wimplicit -Wreturn-type -Wswitch -Wcomment  -Werror -c -g3 -O2     -I/usr/openwin/include  -Dsun -Dsparc -DSVR4 -DSYSV    -D__LANGUAGE_C__   -I/pkgobj/net/nasd/work/nasd-1.3/include -Dsun -DSOLARIS  -I/include -I.    -DNASD_RPC_PACKAGE=2 -DNASD_CMU_PDL=0  -g nasd_rpcgen_parse.c
cc: Warning: option -3 passed to ld
gcc -Wimplicit -Wreturn-type -Wswitch -Wcomment  -Werror -c -g3 -O2     -I/usr/openwin/include  -Dsun -Dsparc -DSVR4 -DSYSV    -D__LANGUAGE_C__   -I/pkgobj/net/nasd/work/nasd-1.3/include -Dsun -DSOLARIS  -I/include -I.    -DNASD_RPC_PACKAGE=2 -DNASD_CMU_PDL=0  -g nasd_rpcgen_tab.c
cc: Warning: option -3 passed to ld
/bin/rm -f nasd_rpcgen
/bin/rm -f a.out
gcc -Wimplicit -Wreturn-type -Wswitch -Wcomment  -Werror -o a.out nasd_getopt.o  nasd_rpcgen.o  nasd_rpcgen_cpp.o  nasd_rpcgen_math.o  nasd_rpcgen_output_c.o  nasd_rpcgen_output_dceidl.o  nasd_rpcgen_output_marshall.o  nasd_rpcgen_output_usc.o  nasd_rpcgen_parse.o  nasd_rpcgen_tab.o -g3 -O2      -L/usr/openwin/lib     -lsocket -lnsl  -lpthread -lpthread 
cc: Warning: option -3 passed to ld
/usr/ccs/bin/ld: illegal option -- 3
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 direct | nodirect]
			enable|disable direct binding to shared object
			dependencies
	[-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 object
			dependencies
	[-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
*** Error code 1
make: Fatal error: Command failed for target `nasd_rpcgen'
Current working directory /pkgobj/net/nasd/work/nasd-1.3/rpcgen
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /pkgobj/net/nasd/work/nasd-1.3
*** Error code 1

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

Stop.
bmake: stopped in /usr/pkgsrc/net/nasd

Please view the work log for nasd-1.3


BULK> nasd-1.3 was marked as broken:
-rw-r--r--   1 root     other      16226 Jul  6 15:00 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for nasd
BULK> Marking all packages which depend upon nasd-1.3 as broken:
BULK> Build for nasd-1.3 was not successful, aborting.