###
### Sat Feb 7 08:52:25 EST 2004:
### bmake bulk-package for dync-1.1
### Current pkg count:  9 installed packages: digest-20021220 gawk-3.1.3 gettext-lib-0.11.5nb2 libiconv-1.9.1nb1 libtool-base-1.4.20010614nb19 ncurses-5.3nb2 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 dync-1.1
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build dync-1.1
BULK> Keeping BULK_PREREQ: xpkgwedge-1.9 (pkgtools/xpkgwedge)
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> dync-1.1 requires installed package patch-2.5.4nb2 (devel/patch) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r ncurses-5.3nb2
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libtool-base-1.4.20010614nb19
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libiconv-1.9.1nb1
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r pkg_install-info-4.5nb2
BULK> Installing packages which are required to build dync-1.1.
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 (dync-1.1)
===> Checking for vulnerabilities in dync-1.1
=> Checksum OK for dync-1.1.tar.gz.
work.sol9 -> /work/pkgbuild/misc/dync/work.sol9
===> Extracting for dync-1.1
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for dync-1.1
===> Applying pkgsrc patches for dync-1.1
===> Overriding tools for dync-1.1
===> Configuring for dync-1.1
creating cache ./config.cache
checking for a BSD compatible install... /usr/ucb/install -c -o root -g root
checking for gcc... /opt/SUNWspro/bin/cc
checking whether the C compiler (/opt/SUNWspro/bin/cc -O  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... yes
checking whether the C compiler (/opt/SUNWspro/bin/cc -O  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... no
checking for cc... /opt/SUNWspro/bin/cc
checking for ld... /usr/ccs/bin/ld
checking for file... /usr/bin/file
checking for grep... /work/pkgbuild/misc/dync/work.sol9/.tools/bin/grep
checking for ldconfig... no
checking for dlopen in -ldl... yes
checking how to run the C preprocessor... /opt/SUNWspro/bin/cc -E
checking for ANSI C header files... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for string.h... yes
checking for stdarg.h... yes
checking for pwd.h... yes
checking for grp.h... yes
checking for fcntl.h... yes
checking for dlfcn.h... yes
checking for snprintf... yes
checking for random... yes
checking for working const... yes
checking for size_t... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
===> Building for dync-1.1
/opt/SUNWspro/bin/cc -O -I. -I. -I/usr/pkg/include  -DCC_CMD=\"/opt/SUNWspro/bin/cc\" -DLDCONFIG_CMD=\"\" -DLD_CMD=\"/usr/ccs/bin/ld\"  -DGREP_CMD=\"/work/pkgbuild/misc/dync/work.sol9/.tools/bin/grep\" -DFILE_CMD=\"/usr/bin/file\"   -c dync.c
"dync.c", line 280: warning: assignment type mismatch:
	pointer to function(int, pointer to pointer to char) returning int "=" pointer to void
/opt/SUNWspro/bin/cc  dync.o -Wl,-R. -ldl -o dync
No news is good news...
1. Testing simple getpwnam(3)
cc: Warning: illegal option -fPIC
"tests/1.c", line 43: warning: implicit function declaration: exit
/usr/ccs/bin/ld: illegal option -- x
/usr/ccs/bin/ld: illegal option -- -
/usr/ccs/bin/ld: illegal option -- w
ld: warning: option -h appears more than once, first setting taken
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
dync: `/usr/ccs/bin/ld -x -shared --whole-archive 1.o -o lib1.so.1.0' failed
*** Error code 1

Stop.
bmake: stopped in /work/pkgbuild/misc/dync/work.sol9/dync-1.1
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/misc/dync
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/misc/dync
BULK> dync-1.1 was marked as broken:
-rw-r--r--   1 root     other       8496 Feb  7 08:52 .broken.html
bmake deinstall
===> Deinstalling for dync
BULK> Marking all packages which depend upon dync-1.1 as broken:
BULK> Build for dync-1.1 was not successful, aborting.