###
### Wed Jul 6 02:12:48 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for dync-1.1nb1
### Current pkg count:  1 installed packages: digest-20050323
###
BULK> Full rebuild in progress...
BULK> Cleaning package dync-1.1nb1 and pre-requisite packages
===> Cleaning for dync-1.1nb1
BULK> Removing installed packages which are not needed to build dync-1.1nb1
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
BULK> Installing packages which are required to build dync-1.1nb1.
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (dync-1.1nb1)
===> Checking for vulnerabilities in dync-1.1nb1
=> Checksum SHA1 OK for dync-1.1.tar.gz.
=> Checksum RMD160 OK for dync-1.1.tar.gz.
work -> /pkgobj/misc/dync/work
===> Extracting for dync-1.1nb1
===> Patching for dync-1.1nb1
===> Applying pkgsrc patches for dync-1.1nb1
===> Overriding tools for dync-1.1nb1
===> Creating toolchain wrappers for dync-1.1nb1
===> Configuring for dync-1.1nb1
creating cache ./config.cache
checking for a BSD compatible install... /usr/ucb/install -c -o root -g root
checking for gcc... cc
checking whether the C compiler (cc -O -R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O -R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... no
checking for cc... /pkgobj/misc/dync/work/.wrapper/bin/cc
checking for ld... /pkgobj/misc/dync/work/.wrapper/bin/ld
checking for file... /pkgobj/misc/dync/work/.tools/bin/file
checking for grep... (cached) /usr/xpg4/bin/grep
checking for ldconfig... /pkgobj/misc/dync/work/.tools/bin/ldconfig
checking for dlopen in -ldl... yes
checking how to run the C preprocessor... 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.1nb1
cc -O -I. -I. -I/usr/pkg/include  -DCC_CMD=\"/pkgobj/misc/dync/work/.wrapper/bin/cc\" -DLDCONFIG_CMD=\"/pkgobj/misc/dync/work/.tools/bin/ldconfig\" -DLD_CMD=\"/pkgobj/misc/dync/work/.wrapper/bin/ld\"  -DGREP_CMD=\"/usr/xpg4/bin/grep\" -DFILE_CMD=\"/pkgobj/misc/dync/work/.tools/bin/file\"  -c dync.c
"dync.c", line 287: warning: assignment type mismatch:
	pointer to function(int, pointer to pointer to char) returning int "=" pointer to void
cc  dync.o -ldl -o dync
No news is good news...
1. Testing simple getpwnam(3)
"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 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
dync: `/pkgobj/misc/dync/work/.wrapper/bin/ld -x -shared --whole-archive 1.o -o lib1.so.1.0' failed
*** Error code 1

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

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

Stop.
bmake: stopped in /usr/pkgsrc/misc/dync

Please view the work log for dync-1.1nb1


BULK> dync-1.1nb1 was marked as broken:
-rw-r--r--   1 root     other       8260 Jul  6 02:13 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for dync
BULK> Marking all packages which depend upon dync-1.1nb1 as broken:
BULK> Build for dync-1.1nb1 was not successful, aborting.