###
### Sat Jul 10 05:36:16 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for maradns-1.0.18nb1
### Current pkg count:  15 installed packages: digest-20021220 gettext-0.11.5nb4 gettext-lib-0.11.5nb3 gettext-m4-0.11.5 glib-1.2.10nb6 gmake-3.80nb3 gtk+-1.2.10nb7 libiconv-1.9.1nb2 libtool-base-1.5.6nb1 patch-2.5.4nb2 perl-5.8.4 pkg_install-info-4.5nb2 x11-links-0.23 xdg-dirs-1.1 xdg-x11-dirs-1.1
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for maradns-1.0.18nb1
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build maradns-1.0.18nb1
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r x11-links-0.23
BULK> maradns-1.0.18nb1 requires installed package patch-2.5.4nb2 (devel/patch) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libiconv-1.9.1nb2
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r pkg_install-info-4.5nb2
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r xdg-dirs-1.1
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libtool-base-1.5.6nb1
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r perl-5.8.4
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gettext-m4-0.11.5
BULK> Installing packages which are required to build maradns-1.0.18nb1.
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (maradns-1.0.18nb1)
===> Checking for vulnerabilities in maradns-1.0.18nb1
=> maradns-1.0.18.tar.bz2 doesn't seem to exist on this system.
=> Attempting to fetch maradns-1.0.18.tar.bz2 from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [414047 bytes]
=> Checksum OK for maradns-1.0.18.tar.bz2.
work -> /pkgbuild/net/maradns/work
===> Extracting for maradns-1.0.18nb1
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for maradns-1.0.18nb1
===> Applying pkgsrc patches for maradns-1.0.18nb1
/usr/pkg/bin/nbsed -e s,@@PKGSYSCONFDIR@@,/usr/pkg/etc,			 /pkgbuild/net/maradns/work/maradns-1.0.18/parse/ParseMaraRc.c > /pkgbuild/net/maradns/work/maradns-1.0.18/parse/ParseMaraRc.sed
/usr/bin/mv /pkgbuild/net/maradns/work/maradns-1.0.18/parse/ParseMaraRc.sed /pkgbuild/net/maradns/work/maradns-1.0.18/parse/ParseMaraRc.c
===> Overriding tools for maradns-1.0.18nb1
===> Buildlinking for maradns-1.0.18nb1
===> Configuring for maradns-1.0.18nb1
Disclaimer:

THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS 
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE 
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 

-----

It looks like you are using Solaris; typing in 'make'
should work
===> Building for maradns-1.0.18nb1
cd libs ; make VERSION=1.0.18 "CC=gcc -lxnet -DSOLARIS -DNO_FLOCK" ; cd ../dns ; make VERSION=1.0.18 "CC=gcc -lxnet -DSOLARIS -DNO_FLOCK" ; cd ../rng ; make VERSION=1.0.18 "CC=gcc -lxnet -DSOLARIS -DNO_FLOCK" ; cd ../parse ; make VERSION=1.0.18 "CC=gcc -lxnet -DSOLARIS -DNO_FLOCK" ; cd ../server ; make VERSION=1.0.18 "CC=gcc -lxnet -DSOLARIS -DNO_FLOCK" COMPILED=\""SunOS system at Sat Jul 10 05:36:46 CEST 2004"\" ; cd ../tools ; make VERSION=1.0.18 "CC=gcc -lxnet -DSOLARIS -DNO_FLOCK" ; cd ../tuzona ; make VERSION=1.0.18 "CC=gcc -lxnet -DSOLARIS -DNO_FLOCK" ; cat ../00README.FIRST
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -o JsStr.o JsStr.c
"JsStr.c", line 109: warning: statement not reached
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -o JsStrOS.o JsStrOS.c
"JsStrOS.c", line 748: warning: implicit function declaration: js_strnlen
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -o JsStrCP.o JsStrCP.c
"JsStrCP.c", line 107: warning: statement not reached
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -o MaraHash.o MaraHash.c
gcc -lxnet -DSOLARIS -DNO_FLOCK -O2 -Wall  -o tests tests.c JsStr.o JsStrOS.o JsStrCP.o MaraHash.o
"tests.c", line 84: warning: implicit function declaration: js_strnlen
gcc -lxnet -DSOLARIS -DNO_FLOCK -O2 -Wall  -o mtest mtest.c JsStr.o JsStrOS.o JsStrCP.o MaraHash.o
"mtest.c", line 31: warning: implicit function declaration: js_strnlen
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -o Queries.o Queries.c
"Queries.c", line 212: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"Queries.c", line 241: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"Queries.c", line 285: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"Queries.c", line 315: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"Queries.c", line 360: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"Queries.c", line 448: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -o Compress.o Compress.c
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -o bobbit.o bobbit.c
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -o Decompress.o Decompress.c
"Decompress.c", line 1044: warning: statement not reached
gcc -lxnet -DSOLARIS -DNO_FLOCK -o make_32bit_tables make_32bit_tables.c
"make_32bit_tables.c", line 92: warning: implicit function declaration: printf
"make_32bit_tables.c", line 100: warning: old-style declaration or incorrect type for: main
"make_32bit_tables.c", line 114: warning: implicit function declaration: exit
./make_32bit_tables > rng-32bit-tables.h
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall -o rng-alg-fst.o rng-alg-fst.c
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall -o rng-api-fst.o rng-api-fst.c
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -o ParseMaraRc.o ParseMaraRc.c
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -o ParseCsv1.o ParseCsv1.c
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -o ParseIpAcl.o ParseIpAcl.c
"ParseIpAcl.c", line 220: warning: statement not reached
gcc -lxnet -DSOLARIS -DNO_FLOCK -O2 -Wall  -o parsetest parsetest.c ../libs/JsStr.o ../libs/JsStrOS.o ../libs/JsStrCP.o ../libs/MaraHash.o ParseMaraRc.o ParseCsv1.o ParseIpAcl.o ../dns/Queries.o ../dns/Compress.o ../dns/bobbit.o
gcc -lxnet -DSOLARIS -DNO_FLOCK -O2 -Wall  -o parsetest2 parsetest2.c ../libs/JsStr.o ../libs/JsStrOS.o ../libs/JsStrCP.o ../libs/MaraHash.o ParseMaraRc.o ParseCsv1.o ParseIpAcl.o ../dns/Queries.o ../dns/Compress.o ../dns/bobbit.o
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -O -o MaraBigHash.o MaraBigHash.c
"MaraBigHash.c", line 315: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 72
	argument : pointer to unsigned char
"MaraBigHash.c", line 874: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "../libs/JsStr.h", line 77
	argument : pointer to unsigned char
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -O -o recursive.o recursive.c
"recursive.c", line 1994: warning: implicit function declaration: mhash_add_ptr
"recursive.c", line 3307: warning: argument #3 is incompatible with prototype:
	prototype: pointer to function(pointer to void) returning pointer to void : "/usr/include/pthread.h", line 173
	argument : pointer to void
"recursive.c", line 3929: warning: implicit function declaration: js_strnlen
"recursive.c", line 4251: warning: argument #4 is incompatible with prototype:
	prototype: pointer to char : "../rng/rng-api-fst.h", line 91
	argument : pointer to unsigned char
gcc -lxnet -DSOLARIS -DNO_FLOCK -c -O2 -Wall  -O -o timestamp.o timestamp.c
gcc -lxnet -DSOLARIS -DNO_FLOCK -O2 -Wall  -O -DVERSION=\"1.0.18\" -DCOMPILED=\""SunOS system at Sat Jul 10 05:36:46 CEST 2004"\" -o maradns MaraDNS.c ../libs/JsStr.o ../libs/JsStrOS.o ../libs/JsStrCP.o ../libs/MaraHash.o MaraBigHash.o recursive.o timestamp.o ../dns/Queries.o ../dns/Compress.o ../dns/bobbit.o ../dns/Decompress.o ../parse/ParseMaraRc.o ../parse/ParseCsv1.o ../parse/ParseIpAcl.o ../rng/rng-api-fst.o ../rng/rng-alg-fst.o   -lpthread -R/usr/pkg/lib
"MaraDNS.c", line 3160: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "../libs/JsStr.h", line 78
	argument : pointer to unsigned char
"MaraDNS.c", line 3162: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/unistd.h", line 181
	argument : pointer to unsigned char
"MaraDNS.c", line 3164: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/unistd.h", line 185
	argument : pointer to unsigned char
gcc -lxnet -DSOLARIS -DNO_FLOCK -O2  -o askmara askmara.c ../libs/JsStr.o ../libs/JsStrOS.o ../libs/JsStrCP.o ../libs/MaraHash.o ../dns/Queries.o ../dns/Compress.o ../dns/bobbit.o ../dns/Decompress.o ../server/timestamp.o ../rng/rng-alg-fst.o ../rng/rng-api-fst.o ../parse/ParseCsv1.o ../parse/ParseMaraRc.o
"askmara.c", line 93: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 73
	argument : pointer to unsigned char
"askmara.c", line 105: warning: implicit function declaration: js_strnlen
"askmara.c", line 106: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 73
	argument : pointer to unsigned char
"askmara.c", line 108: warning: argument #4 is incompatible with prototype:
	prototype: pointer to char : "../rng/rng-api-fst.h", line 91
	argument : pointer to unsigned char
"askmara.c", line 127: warning: old-style declaration or incorrect type for: main
"askmara.c", line 233: warning: implicit function declaration: hname_2rfc1035
"askmara.c", line 239: warning: implicit function declaration: make_hdr
"askmara.c", line 240: warning: implicit function declaration: make_question
"askmara.c", line 279: warning: implicit function declaration: decompress_data
"askmara.c", line 288: warning: implicit function declaration: verbose_output
"askmara.c", line 290: warning: implicit function declaration: csv1_compatible_output
"askmara.c", line 310: warning: implicit function declaration: read_hdr
"askmara.c", line 332: warning: implicit function declaration: read_question
"askmara.c", line 337: warning: implicit function declaration: hname_translate
"askmara.c", line 347: warning: implicit function declaration: out_answer
"askmara.c", line 387: warning: implicit function declaration: read_rr_h
"askmara.c", line 400: warning: implicit function declaration: read_soa
"askmara.c", line 419: warning: implicit function declaration: read_ns
"askmara.c", line 445: warning: implicit function declaration: read_txt
"askmara.c", line 485: warning: implicit function declaration: show_esc_stdout
"askmara.c", line 494: warning: implicit function declaration: csv1_answer
"askmara.c", line 551: warning: implicit function declaration: js_tolower
gcc -lxnet -DSOLARIS -DNO_FLOCK -O2  -o strip.control strip.control.c
"strip.control.c", line 5: warning: old-style declaration or incorrect type for: main
gcc -lxnet -DSOLARIS -DNO_FLOCK -O2  -o benchmark benchmark.c ../libs/JsStr.o ../libs/JsStrOS.o ../libs/JsStrCP.o ../libs/MaraHash.o ../dns/Queries.o ../dns/Compress.o ../dns/bobbit.o ../dns/Decompress.o ../server/timestamp.o ../parse/ParseCsv1.o ../parse/ParseMaraRc.o
"benchmark.c", line 35: warning: old-style declaration or incorrect type for: main
"benchmark.c", line 102: warning: implicit function declaration: hname_2rfc1035
"benchmark.c", line 108: warning: implicit function declaration: make_hdr
"benchmark.c", line 109: warning: implicit function declaration: make_question
"benchmark.c", line 112: warning: argument #2 is incompatible with prototype:
	prototype: pointer to function(int) returning void : "/usr/include/iso/signal_iso.h", line 48
	argument : pointer to function() returning void
gcc -lxnet -DSOLARIS -DNO_FLOCK -O2 -Wall  -o getzone getzone.c ../libs/JsStr.o ../libs/JsStrOS.o ../libs/JsStrCP.o ../libs/MaraHash.o ../dns/Queries.o ../dns/Compress.o ../dns/bobbit.o ../dns/Decompress.o ../parse/ParseCsv1.o ../parse/ParseMaraRc.o ../parse/ParseIpAcl.o ../server/timestamp.o
"getzone.c", line 62: warning: argument #2 is incompatible with prototype:
	prototype: pointer to function(int) returning void : "/usr/include/iso/signal_iso.h", line 48
	argument : pointer to function() returning void
gcc -lxnet -DSOLARIS -DNO_FLOCK -O2 -Wall  -DVERSION=\"1.0.18\" -o zoneserver zoneserver.c ../libs/JsStr.o ../libs/JsStrOS.o ../libs/JsStrCP.o ../libs/MaraHash.o ../dns/Queries.o ../dns/Compress.o ../dns/bobbit.o ../dns/Decompress.o ../parse/ParseCsv1.o ../parse/ParseMaraRc.o ../parse/ParseIpAcl.o ../server/timestamp.o
"zoneserver.c", line 655: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "../libs/JsStr.h", line 78
	argument : pointer to unsigned char
"zoneserver.c", line 657: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/unistd.h", line 181
	argument : pointer to unsigned char
"zoneserver.c", line 659: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/unistd.h", line 185
	argument : pointer to unsigned char
"zoneserver.c", line 736: warning: argument #2 is incompatible with prototype:
	prototype: pointer to function(int) returning void : "/usr/include/iso/signal_iso.h", line 48
	argument : pointer to function() returning void
Disclaimer:

THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS 
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE 
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 

=> Fixing buildlink references in files-to-be-installed.
===> Installing for maradns-1.0.18nb1
cd build ; TOPLEVEL=`pwd`/.. VERSION=1.0.18 PREFIX=/usr ./install.sh ; gcc -lxnet -DSOLARIS -DNO_FLOCK copy.devs.c ; ./a.out ; rm ./a.out ; cd ..
mkdir: Failed to make directory "/usr/man/man1"; No such file or directory
The directory /usr/man/man1/ does not exist. Please edit the file
install.locations by hand.
*** Error code 4

Stop.
bmake: stopped in /pkgbuild/net/maradns/work/maradns-1.0.18
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/maradns
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/maradns
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/maradns
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/maradns
BULK> maradns-1.0.18nb1 was marked as broken:
-rw-r--r--   1 root     other      15466 Jul 10 05:37 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for maradns
BULK> Marking all packages which depend upon maradns-1.0.18nb1 as broken:
BULK> Build for maradns-1.0.18nb1 was not successful, aborting.