###
### Fri Jul 9 01:04:20 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for fd-1.03u
### Current pkg count:  7 installed packages: digest-20021220 gettext-lib-0.11.5nb3 gmake-3.80nb3 libiconv-1.9.1nb2 libtool-base-1.5.6nb1 patch-2.5.4nb2 pkg_install-info-4.5nb2
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for fd-1.03u
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build fd-1.03u
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
/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 libtool-base-1.5.6nb1
BULK> fd-1.03u requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> Installing packages which are required to build fd-1.03u.
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 (fd-1.03u)
===> Checking for vulnerabilities in fd-1.03u
=> FD-1.03u.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch FD-1.03u.tar.gz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [340097 bytes]
=> Checksum OK for FD-1.03u.tar.gz.
work -> /pkgbuild/misc/fd/work
===> Extracting for fd-1.03u
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for fd-1.03u
===> Applying pkgsrc patches for fd-1.03u
===> Overriding tools for fd-1.03u
===> Configuring for fd-1.03u
===> Building for fd-1.03u
cp config.hin config.h
cc -DFD=1 -O -DCCCOMMAND='"cc"' -o mkmfsed mkmfsed.c
couldn't set locale correctly
couldn't set locale correctly
./mkmfsed > mkmf.sed
couldn't set locale correctly
sed -f mkmf.sed Makefile.in > Makefile.tmp || (rm -f Makefile.tmp; exit 1)
couldn't set locale correctly
make SHELL=/bin/sh -f Makefile.tmp
couldn't set locale correctly
cc -DSOLARIS=1 -O  -o kanjicnv kanjicnv.c
couldn't set locale correctly
couldn't set locale correctly
./kanjicnv -e -c -7 kanji.hin kanji.h
cc -DFD=1 -DSOLARIS=1 -O     -c -o main.o -DDEFRUNCOM='"'/etc/fdrc'"' main.c
couldn't set locale correctly
couldn't set locale correctly
"main.c", line 445: warning: implicit function declaration: tputs
cc -DFD=1 -DSOLARIS=1 -O     -c -o term.o term.c
couldn't set locale correctly
couldn't set locale correctly
"term.c", line 385: warning: implicit function declaration: dup
"term.c", line 536: warning: implicit function declaration: close
"term.c", line 592: warning: identifier redeclared: ttymode
	current : function() returning int
	previous: function(int, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, int, int) returning int : "term.c", line 220
"term.c", line 595: warning: Prototype mismatch in arg 2 for function ttymode:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
"term.c", line 595: warning: Prototype mismatch in arg 3 for function ttymode:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
"term.c", line 595: warning: Prototype mismatch in arg 4 for function ttymode:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
"term.c", line 595: warning: Prototype mismatch in arg 5 for function ttymode:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
"term.c", line 595: warning: Prototype mismatch in arg 6 for function ttymode:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
"term.c", line 595: warning: Prototype mismatch in arg 7 for function ttymode:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
"term.c", line 988: warning: implicit function declaration: write
"term.c", line 1873: warning: implicit function declaration: read
"term.c", line 1889: warning: implicit function declaration: getpid
"term.c", line 1937: warning: identifier redeclared: ungetch2
	current : function() returning int
	previous: function(unsigned char) returning int : "term.h", line 188
"term.c", line 1938: warning: Prototype mismatch in arg 1 for function ungetch2:
	function : old style declaration unsigned char promoted to int
	prototype: unsigned char
"term.c", line 1940: warning: implicit function declaration: ioctl
cc -DFD=1 -DSOLARIS=1 -O     -c -o pathname.o pathname.c
couldn't set locale correctly
couldn't set locale correctly
cc -DFD=1 -DSOLARIS=1 -O     -c -o dosdisk.o dosdisk.c
couldn't set locale correctly
couldn't set locale correctly
"dosdisk.c", line 2828: warning: identifier redeclared: lfnencode
	current : function() returning unsigned short
	previous: function(unsigned char, unsigned char) returning unsigned short : "dosdisk.c", line 314
"dosdisk.c", line 2829: warning: Prototype mismatch in arg 1 for function lfnencode:
	function : old style declaration unsigned char promoted to int
	prototype: unsigned char
"dosdisk.c", line 2829: warning: Prototype mismatch in arg 2 for function lfnencode:
	function : old style declaration unsigned char promoted to int
	prototype: unsigned char
"dosdisk.c", line 2839: warning: identifier redeclared: lfndecode
	current : function() returning unsigned short
	previous: function(unsigned char, unsigned char) returning unsigned short : "dosdisk.c", line 315
"dosdisk.c", line 2840: warning: Prototype mismatch in arg 1 for function lfndecode:
	function : old style declaration unsigned char promoted to int
	prototype: unsigned char
"dosdisk.c", line 2840: warning: Prototype mismatch in arg 2 for function lfndecode:
	function : old style declaration unsigned char promoted to int
	prototype: unsigned char
"dosdisk.c", line 3020: warning: identifier redeclared: getdosmode
	current : function() returning unsigned short
	previous: function(unsigned char) returning unsigned short : "dosdisk.c", line 324
"dosdisk.c", line 3021: warning: Prototype mismatch in arg 1 for function getdosmode:
	function : old style declaration unsigned char promoted to int
	prototype: unsigned char
"dosdisk.c", line 3040: warning: identifier redeclared: putdosmode
	current : function() returning unsigned char
	previous: function(unsigned short) returning unsigned char : "dosdisk.c", line 325
"dosdisk.c", line 3041: warning: Prototype mismatch in arg 1 for function putdosmode:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
"dosdisk.c", line 3063: warning: identifier redeclared: getdostime
	current : function() returning long
	previous: function(unsigned short, unsigned short) returning long : "dosdisk.c", line 326
"dosdisk.c", line 3064: warning: Prototype mismatch in arg 1 for function getdostime:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
"dosdisk.c", line 3064: warning: Prototype mismatch in arg 2 for function getdostime:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
"dosdisk.c", line 3323: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "dosdisk.c", line 2906
	argument : pointer to unsigned char
"dosdisk.c", line 3323: warning: argument #3 is incompatible with prototype:
	prototype: pointer to char : "dosdisk.c", line 2906
	argument : pointer to unsigned char
"dosdisk.c", line 3388: warning: identifier redeclared: seekdent
	current : function() returning int
	previous: function(pointer to struct _dosdirdesc {int dd_id, int dd_fd, long dd_loc, long dd_size, long dd_top, long dd_off, pointer to char dd_buf}, pointer to struct _dent_t {array[8] of unsigned char name, array[3] of unsigned char ext, unsigned char attr, unsigned char reserved, unsigned char checksum, array[2] of unsigned char ctime, array[2] of unsigned char cdate, array[2] of unsigned char adate, array[2] of unsigned char clust_h, array[2] of unsigned char time, array[2] of unsigned char date, array[2] of unsigned char clust, array[4] of unsigned char size}, long, unsigned short) returning int : "dosdisk.c", line 330
"dosdisk.c", line 3392: warning: Prototype mismatch in arg 4 for function seekdent:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
"dosdisk.c", line 3401: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "dosdisk.c", line 2124
	argument : pointer to char
"dosdisk.c", line 3425: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "dosdisk.c", line 2124
	argument : pointer to char
"dosdisk.c", line 3511: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "dosdisk.c", line 2816
	argument : pointer to unsigned char
"dosdisk.c", line 3518: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "dosdisk.c", line 2906
	argument : pointer to unsigned char
"dosdisk.c", line 3518: warning: argument #3 is incompatible with prototype:
	prototype: pointer to char : "dosdisk.c", line 2906
	argument : pointer to unsigned char
"dosdisk.c", line 3569: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "dosdisk.c", line 2906
	argument : pointer to unsigned char
"dosdisk.c", line 3569: warning: argument #3 is incompatible with prototype:
	prototype: pointer to char : "dosdisk.c", line 2906
	argument : pointer to unsigned char
"dosdisk.c", line 3764: warning: argument #3 is incompatible with prototype:
	prototype: pointer to unsigned char : "dosdisk.c", line 1739
	argument : pointer to char
"dosdisk.c", line 3766: warning: argument #3 is incompatible with prototype:
	prototype: pointer to unsigned char : "dosdisk.c", line 1749
	argument : pointer to char
"dosdisk.c", line 3982: warning: identifier redeclared: unlinklfn
	current : function() returning int
	previous: function(int, long, unsigned short, int) returning int : "dosdisk.c", line 341
"dosdisk.c", line 3986: warning: Prototype mismatch in arg 3 for function unlinklfn:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
"dosdisk.c", line 4239: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "dosdisk.c", line 2816
	argument : pointer to unsigned char
"dosdisk.c", line 4290: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "dosdisk.c", line 2816
	argument : pointer to unsigned char
"dosdisk.c", line 4453: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "dosdisk.c", line 2124
	argument : pointer to char
"dosdisk.c", line 4494: warning: argument #3 is incompatible with prototype:
	prototype: pointer to unsigned char : "dosdisk.c", line 1749
	argument : pointer to char
"dosdisk.c", line 4705: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "dosdisk.c", line 2816
	argument : pointer to unsigned char
"dosdisk.c", line 4771: warning: integer overflow detected: op "*"
"dosdisk.c", line 4924: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "dosdisk.c", line 4809
	argument : pointer to unsigned char
"dosdisk.c", line 4934: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "dosdisk.c", line 4846
	argument : pointer to unsigned char
cc -DFD=1 -DSOLARIS=1 -O     -c -o dosemu.o dosemu.c
couldn't set locale correctly
couldn't set locale correctly
"dosemu.c", line 541: warning: implicit function declaration: open
cc -DFD=1 -DSOLARIS=1 -O     -c -o libc.o libc.c
couldn't set locale correctly
couldn't set locale correctly
"libc.c", line 730: warning: implicit function declaration: tputs
cc -DFD=1 -DSOLARIS=1 -O     -c -o file.o file.c
couldn't set locale correctly
couldn't set locale correctly
"file.c", line 86: warning: identifier redeclared: logical_access
	current : function() returning int
	previous: function(unsigned short, long, long) returning int : "func.h", line 259
"file.c", line 90: warning: Prototype mismatch in arg 1 for function logical_access:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
cc -DFD=1 -DSOLARIS=1 -O     -c -o apply.o apply.c
couldn't set locale correctly
couldn't set locale correctly
"apply.c", line 275: warning: implicit function declaration: tputs
"apply.c", line 690: warning: identifier redeclared: inputattr
	current : function() returning int
	previous: function(pointer to struct _namelist {pointer to char name, unsigned short ent, unsigned short st_mode, short st_nlink, long st_uid, long st_gid, long st_size, long st_mtim, unsigned char flags, unsigned char tmpflags}, unsigned short) returning int : "func.h", line 293
"apply.c", line 692: warning: Prototype mismatch in arg 2 for function inputattr:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
cc -DFD=1 -DSOLARIS=1 -O     -c -o parse.o parse.c
couldn't set locale correctly
couldn't set locale correctly
cc -DFD=1 -DSOLARIS=1 -O  -o mkfuncno mkfuncno.c
couldn't set locale correctly
couldn't set locale correctly
./mkfuncno funcno.h
cc -DFD=1 -DSOLARIS=1 -O     -c -o builtin.o builtin.c
couldn't set locale correctly
couldn't set locale correctly
"builtin.c", line 1199: warning: implicit function declaration: tputs
cc -DFD=1 -DSOLARIS=1 -O     -c -o shell.o shell.c
couldn't set locale correctly
couldn't set locale correctly
"shell.c", line 65: warning: identifier redeclared: setarg
	current : function() returning int
	previous: function(pointer to char, int, pointer to char, pointer to char, unsigned char) returning int : "shell.c", line 33
"shell.c", line 69: warning: Prototype mismatch in arg 5 for function setarg:
	function : old style declaration unsigned char promoted to int
	prototype: unsigned char
"shell.c", line 113: warning: identifier redeclared: setargs
	current : function() returning int
	previous: function(pointer to char, int, unsigned char) returning int : "shell.c", line 34
"shell.c", line 116: warning: Prototype mismatch in arg 3 for function setargs:
	function : old style declaration unsigned char promoted to int
	prototype: unsigned char
cc -DFD=1 -DSOLARIS=1 -O     -c -o kanji.o kanji.c
couldn't set locale correctly
couldn't set locale correctly
"kanji.c", line 597: warning: identifier redeclared: unifysjis
	current : function() returning unsigned short
	previous: function(unsigned short, int) returning unsigned short : "kanji.c", line 364
"kanji.c", line 599: warning: Prototype mismatch in arg 1 for function unifysjis:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
"kanji.c", line 614: warning: identifier redeclared: cnvunicode
	current : function() returning unsigned short
	previous: function(unsigned short, int) returning unsigned short : "kanji.c", line 365
"kanji.c", line 616: warning: Prototype mismatch in arg 1 for function cnvunicode:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
cc -DFD=1 -DSOLARIS=1 -O     -c -o input.o input.c
couldn't set locale correctly
couldn't set locale correctly
"input.c", line 187: warning: implicit function declaration: tputs
cc -DFD=1 -DSOLARIS=1 -O     -c -o info.o info.c
couldn't set locale correctly
couldn't set locale correctly
"info.c", line 355: warning: implicit function declaration: tputs
cc -DFD=1 -DSOLARIS=1 -O     -c -o rockridg.o rockridg.c
couldn't set locale correctly
couldn't set locale correctly
"rockridg.c", line 38: warning: identifier redeclared: getorgname
	current : function() returning pointer to char
	previous: function(pointer to char, unsigned char) returning pointer to char : "rockridg.c", line 26
"rockridg.c", line 40: warning: Prototype mismatch in arg 2 for function getorgname:
	function : old style declaration unsigned char promoted to int
	prototype: unsigned char
"rockridg.c", line 96: warning: end-of-loop code not reached
cc -DFD=1 -DSOLARIS=1 -O     -c -o archive.o archive.c
couldn't set locale correctly
couldn't set locale correctly
"archive.c", line 476: warning: implicit function declaration: tputs
cc -DFD=1 -DSOLARIS=1 -O     -c -o tree.o tree.c
couldn't set locale correctly
couldn't set locale correctly
"tree.c", line 87: warning: implicit function declaration: tputs
cc -DFD=1 -DSOLARIS=1 -O     -c -o custom.o custom.c
couldn't set locale correctly
couldn't set locale correctly
cc -DFD=1 -DSOLARIS=1 -O     -c -o command.o command.c
couldn't set locale correctly
couldn't set locale correctly
"command.c", line 758: warning: implicit function declaration: tputs
cc -DFD=1 -DSOLARIS=1 -O     -c -o browse.o browse.c
couldn't set locale correctly
couldn't set locale correctly
"browse.c", line 144: warning: implicit function declaration: tputs
"browse.c", line 351: warning: identifier redeclared: putmode
	current : function() returning pointer to char
	previous: function(pointer to char, unsigned short) returning pointer to char : "func.h", line 508
"browse.c", line 353: warning: Prototype mismatch in arg 2 for function putmode:
	function : old style declaration unsigned short promoted to int
	prototype: unsigned short
"browse.c", line 866: warning: identifier redeclared: movepos
	current : function() returning void
	previous: function(int, unsigned char) returning void : "func.h", line 519
"browse.c", line 868: warning: Prototype mismatch in arg 2 for function movepos:
	function : old style declaration unsigned char promoted to int
	prototype: unsigned char
couldn't set locale correctly
couldn't set locale correctly
couldn't set locale correctly
cc -DSOLARIS=1 -O   -o fd main.o term.o pathname.o  dosdisk.o dosemu.o libc.o file.o apply.o  parse.o builtin.o shell.o  kanji.o input.o info.o rockridg.o archive.o tree.o  custom.o command.o browse.o -ltermlib -lgen  
couldn't set locale correctly
couldn't set locale correctly
./kanjicnv -e -c fd.man fd.1
cc -DSOLARIS=1 -O  -o mkunitbl mkunitbl.c
couldn't set locale correctly
couldn't set locale correctly
./mkunitbl fd-unicd.tbl
===> Installing for fd-1.03u
make SHELL=/bin/sh -f Makefile.tmp install
couldn't set locale correctly
cp -p  fd /usr/pkg/bin
chmod a+rx /usr/pkg/bin/fd
cp -p fd.1 /usr/pkg/man/ja/man1/fd.1
cp: cannot create /usr/pkg/man/ja/man1/fd.1: No such file or directory
*** Error code 2

Stop.
make: stopped in /pkgbuild/misc/fd/work/FD-1.03u
*** Error code 1

Stop.
bmake: stopped in /pkgbuild/misc/fd/work/FD-1.03u
*** Error code 1

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

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

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

Stop.
bmake: stopped in /usr/pkgsrc/misc/fd
BULK> fd-1.03u was marked as broken:
-rw-r--r--   1 root     other      18856 Jul  9 01:05 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for fd
BULK> Marking all packages which depend upon fd-1.03u as broken:
BULK> Build for fd-1.03u was not successful, aborting.