###
### Tue Aug 9 18:14:25 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for tsocks-1.7
### Current pkg count:  3 installed packages: digest-20050323 libtool-base-1.5.18nb3 ncurses-5.4nb1
###
BULK> Full rebuild in progress...
BULK> Cleaning package tsocks-1.7 and pre-requisite packages
===> Cleaning for tsocks-1.7
===> Cleaning for gmake-3.80nb4
===> Cleaning for gettext-lib-0.11.5nb4
===> Cleaning for libiconv-1.9.2nb1
===> Cleaning for libtool-base-1.5.18nb3
===> Cleaning for pkg_install-info-4.5nb3
BULK> Removing installed packages which are not needed to build tsocks-1.7
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r ncurses-5.4nb1
Executing `/usr/bin/rmdir /usr/pkg/share/lib/terminfo/s 2>/dev/null || /usr/bin/true'
BULK> tsocks-1.7 requires installed package libtool-base-1.5.18nb3 (devel/libtool-base) to build.
BULK> Installing packages which are required to build tsocks-1.7.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/gmake-3.80nb4.tgz
===========================================================================
Installing files needed by libiconv-1.9.2nb1:

	/usr/pkg/lib/charset.alias
	    [/usr/pkg/share/examples/libiconv/charset.alias]

===========================================================================
BULK> Required package gettext-lib-0.11.5nb4 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.2nb1 (converters/libiconv) is already installed
BULK> Required package libtool-base-1.5.18nb3 (devel/libtool-base) is already installed
BULK> Required package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) is already installed
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (tsocks-1.7)
===> Checking for vulnerabilities in tsocks-1.7
=> Checksum SHA1 OK for tsocks-1.7.tar.gz.
=> Checksum RMD160 OK for tsocks-1.7.tar.gz.
work -> /pkgobj/net/tsocks/work
===> Extracting for tsocks-1.7
===> Required installed package gmake>=3.78: gmake-3.80nb4 found
/usr/bin/rm -f /pkgobj/net/tsocks/work/tsocks-1.7/config.cache
/bin/cp /usr/pkgsrc/net/tsocks/files/tsocks.sh /pkgobj/net/tsocks/work/tsocks-1.7/tsocks
===> Patching for tsocks-1.7
===> Applying pkgsrc patches for tsocks-1.7
===> Overriding tools for tsocks-1.7
===> Creating toolchain wrappers for tsocks-1.7
===> Configuring for tsocks-1.7
creating cache ./config.cache
checking host system type... sparc-sun-solaris2
checking for gcc... cc
checking whether the C compiler (cc -O -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O -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 for a BSD compatible install... /usr/ucb/install -c -o root -g root
checking whether ln -s works... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for dlfcn.h... yes
checking for sys/socket.h... yes
checking for fcntl.h... yes
checking for unistd.h... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strspn... yes
checking for strtol... yes
checking for dlopen... checking for strsep... no
checking for socket... no
checking for socket in -lsocket... yes
checking for inet_aton... no
checking for inet_addr... no
checking for inet_addr in -lnsl... yes
checking for gethostbyname... yes
checking for dlsym in -ldl... yes
checking for RTLD_NEXT from dlfcn.h... yes
checking for correct connect prototype... (int, const struct sockaddr *, socklen_t);
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
=> Generating tsocks wrapper script.
===> Building for tsocks-1.7
cc -fPIC  -O -I. -c  tsocks.c -o tsocks.so
"tsocks.c", line 84: warning: assignment type mismatch:
	pointer to function(int, pointer to const struct sockaddr {unsigned short sa_family, array[14] of char sa_data}, unsigned int) returning int "=" pointer to void
"tsocks.c", line 116: warning: initializer does not fit or is out of range: -1
"tsocks.c", line 177: warning: implicit function declaration: bzero
cc -fPIC  -O -I. -c -o common.o common.c
"common.c", line 21: warning: implicit function declaration: inet_addr
"common.c", line 34: warning: implicit function declaration: inet_ntoa
"common.c", line 54: warning: implicit function declaration: strcmp
"common.c", line 57: warning: implicit function declaration: strlen
"common.c", line 62: warning: implicit function declaration: strcpy
cc -fPIC  -O -I. -c -o parser.o parser.c
"parser.c", line 220: warning: implicit function declaration: malloc
"parser.c", line 221: warning: implicit function declaration: exit
"parser.c", line 255: warning: implicit function declaration: make_netent
"parser.c", line 278: warning: implicit function declaration: inet_ntoa
"parser.c", line 332: warning: implicit function declaration: strtol
"parser.c", line 483: warning: implicit function declaration: inet_addr
"parser.c", line 488: warning: implicit function declaration: free
ld -Wl,-R/usr/pkg/lib -ldl  -lsocket  -lnsl -I. -nostdlib -shared -o libtsocks.so.1.7 tsocks.so common.o parser.o 
/usr/ccs/bin/ld: illegal option -- n
ld: warning: option -o 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
gmake: *** [libtsocks.so.1.7] Error 1
*** Error code 2

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

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

Please view the work log for tsocks-1.7


BULK> tsocks-1.7 was marked as broken:
-rw-r--r--   1 root     other      10474 Aug  9 18:15 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for tsocks
BULK> Marking all packages which depend upon tsocks-1.7 as broken:
BULK> marking package that requires tsocks-1.7 as broken: tor-0.0.9.10 (net/tor)
BULK> Build for tsocks-1.7 was not successful, aborting.