###
### Tue Jan 27 09:18:11 EST 2004:
### bmake bulk-package for screen-4.0.2
### Current pkg count:  3 installed packages: digest-20021220 patch-2.5.4nb2 xpkgwedge-1.9
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for screen-4.0.2
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build screen-4.0.2
BULK> Keeping BULK_PREREQ: xpkgwedge-1.9 (pkgtools/xpkgwedge)
BULK> screen-4.0.2 requires installed package digest-20021220 (pkgtools/digest
pkgtools/rdigest) to build.
BULK> screen-4.0.2 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> Installing packages which are required to build screen-4.0.2.
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/pkg_install-info-4.5nb2.tgz
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 (screen-4.0.2)
===> Checking for vulnerabilities in screen-4.0.2
=> Checksum OK for screen-4.0.2.tar.gz.
work.sol9 -> /work/pkgbuild/misc/screen/work.sol9
===> Extracting for screen-4.0.2
===> Required installed package pkg_install-info-[0-9]*: pkg_install-info-4.5nb2 found
===> Patching for screen-4.0.2
===> Applying pkgsrc patches for screen-4.0.2
===> Overriding tools for screen-4.0.2
===> Buildlinking for screen-4.0.2
===> Configuring for screen-4.0.2
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
this is screen version 4.0.2
checking for sparc-sun-solaris2-gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for library containing strerror... none required
checking for gawk... /usr/bin/nawk
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
configure: checking for buggy tools...
checking if a system-wide socket dir should be used... yes
checking for the socket dir... (eff_uid ? "/tmp/uscreens" : "/tmp/screens")
configure: checking for MIPS...
configure: checking for Ultrix...
configure: checking for butterfly...
configure: checking for POSIX.1...
- you have a POSIX system
configure: checking for System V...
configure: checking for sequent/ptx...
configure: checking SVR4...
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dwarf.h usability... no
checking dwarf.h presence... no
checking for dwarf.h... no
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
configure: checking for Solaris 2.x...
configure: checking BSD job jontrol...
- you have jobcontrol
configure: checking setreuid...
configure: checking seteuid...
configure: checking select...
configure: checking fifos...
- your fifos are usable
configure: checking for broken fifo implementation...
- your implementation is ok
configure: checking sockets...
- your sockets are usable
configure: checking socket implementation...
- you are normal
- both sockets and fifos usable. let's take fifos.
configure: checking select return value...
- select is ok
configure: checking for tgetent...
configure: checking libcurses...
- you use the terminfo database
configure: checking ospeed...
configure: checking for /dev/ptc...
configure: checking for SVR4 ptys...
checking for getpt... no
configure: checking for ptyranges...
configure: checking default tty permissions/group...
checking for write... /usr/bin/write
checking for xterm... /usr/openwin/bin/xterm
- pty mode: 0620, group: 7
configure: checking getutent...
configure: checking ut_host...
checking utempter.h usability... no
checking utempter.h presence... no
checking for utempter.h... no
configure: checking for libutil(s)...
configure: checking getloadavg...
assuming posix signal definition
configure: checking for crypt and sec libraries...
configure: checking crypt...
configure: checking IRIX sun library...
configure: checking syslog...
configure: checking wait union...
configure: checking for termio or termios...
configure: checking getspnam...
configure: checking getttyent...
configure: checking fdwalk...
configure: checking whether memcpy/memmove/bcopy handles overlapping arguments...
checking long file names... yes
checking for vsprintf... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for setenv... no
checking for putenv... no
checking for nl_langinfo(CODESET)... yes
checking for library containing gethostname... none required
checking for rename... yes
checking for fchmod... yes
checking for fchown... yes
checking for strerror... yes
checking for lstat... yes
checking for _exit... yes
checking for utimes... yes
checking for vsnprintf... yes
checking for getcwd... yes
checking for setlocale... yes
checking for strftime... yes
checking for the global screenrc file... "/usr/pkg/etc/screenrc"
checking for the utf8-encodings location... "/usr/pkg/share/screen/utf8encodings"
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing default commands

Now please check the pathnames in the Makefile and in the user
configuration section in config.h.
Then type 'make' to make screen. Good luck.

===> Building for screen-4.0.2
CPP="cc -E " srcdir=. sh ./osdef.sh
AWK=/usr/bin/nawk CC="cc -O" srcdir=. sh ./comm.sh
AWK=/usr/bin/nawk srcdir=. sh ./term.sh
cc -c -I. -I.    -O screen.c
cc -c -I. -I.    -O ansi.c
cc -c -I. -I.    -O fileio.c
cc -c -I. -I.    -O mark.c
cc -c -I. -I.    -O misc.c
cc -c -I. -I.    -O resize.c
cc -c -I. -I.    -O socket.c
cc -c -I. -I.    -O search.c
sh ./tty.sh tty.c
cc -c -I. -I.    -O tty.c
cc -c -I. -I.    -O term.c
cc -c -I. -I.    -O window.c
cc -c -I. -I.    -O utmp.c
cc -c -I. -I.    -O loadav.c
cc -c -I. -I.    -O putenv.c
"putenv.c", line 128: warning: implicit function declaration: strlen
"putenv.c", line 186: warning: implicit function declaration: strcpy
cc -c -I. -I.    -O help.c
cc -c -I. -I.    -O termcap.c
cc -c -I. -I.    -O input.c
cc -c -I. -I.    -O attacher.c
cc -c -I. -I.    -O pty.c
cc -c -I. -I.    -O process.c
cc -c -I. -I.    -O display.c
cc -c -I. -I.    -O comm.c
cc -c -I. -I.    -O kmapdef.c
cc -c -I. -I.    -O acls.c
cc -c -I. -I.    -O braille.c
cc -c -I. -I.    -O braille_tsi.c
cc -c -I. -I.    -O logfile.c
cc -c -I. -I.    -O layer.c
"layer.c", line 465: warning: no explicit type given for parameter: y
cc -c -I. -I.    -O sched.c
cc -c -I. -I.    -O teln.c
cc -c -I. -I.    -O nethack.c
cc -c -I. -I.    -O encoding.c
cc -c -I. -I.    -O utmp-netbsd.c
cc  -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o  search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o  termcap.o input.o attacher.o pty.o process.o display.o comm.o  kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o  sched.o teln.o nethack.o encoding.o utmp-netbsd.o -lcurses  -lelf -lsocket -lnsl -lkstat -lcrypt -lsec
=> Fixing buildlink references in files-to-be-installed.
===> Installing for screen-4.0.2
./etc/mkinstalldirs /usr/pkg/bin `sed < config.h -n -e '/define SCREENENCODINGS/s/^.*"\([^"]*\)"/\1/p'`
mkdir /usr/pkg/share/screen
mkdir /usr/pkg/share/screen/utf8encodings
cd doc ; bmake installdirs
./../etc/mkinstalldirs /usr/pkg/man/man1 /usr/pkg/info
if [ -f /usr/pkg/bin/screen-4.0.2 ] && [ ! -f /usr/pkg/bin/screen-4.0.2.old ];  then mv /usr/pkg/bin/screen-4.0.2 /usr/pkg/bin/screen-4.0.2.old; fi
/usr/ucb/install -c -s -o root -g root -m 555 screen /usr/pkg/bin/screen-4.0.2
chown root /usr/pkg/bin/screen-4.0.2 && chmod 4755 /usr/pkg/bin/screen-4.0.2
if [ -f /usr/pkg/bin/screen ] && [ ! -f /usr/pkg/bin/screen.old ]; then mv /usr/pkg/bin/screen /usr/pkg/bin/screen.old; fi
rm -f /usr/pkg/bin/screen
(cd /usr/pkg/bin && ln -s -f screen-4.0.2 screen)
cp ./utf8encodings/?? `sed < config.h -n -e '/define SCREENENCODINGS/s/^.*"\([^"]*\)"/\1/p'`
cd doc ; bmake install
./../etc/mkinstalldirs /usr/pkg/man/man1 /usr/pkg/info
/usr/ucb/install -c -o root -g root -m 444 ./screen.1 /usr/pkg/man/man1/screen.1
bmake screen.info
`screen.info' is up to date.
if test -f screen.info; then d=.; else d=.; fi;  if test -f $d/screen.info; then  for f in $d/screen.info*; do /usr/ucb/install -c -o root -g root -m 444 $f /usr/pkg/info;done;  if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then  install-info --info-dir=/usr/pkg/info $d/screen.info;  else true; fi;  fi
if [ -d /usr/lib/terminfo ]; then  PATH="$PATH:/usr/5bin" tic ./terminfo/screeninfo.src;  chmod 644 /usr/lib/terminfo/s/screen*;  fi
termcap entry (./terminfo/screencap) should be installed manually.
You may also want to install ./etc/etcscreenrc in /usr/pkg/etc/screenrc
/usr/ucb/install -d -o root -g root -m 755 /usr/pkg/share/examples/screen
/usr/ucb/install -c -o root -g root -m 444 /work/pkgbuild/misc/screen/work.sol9/screen-4.0.2/etc/etcscreenrc			 /usr/pkg/share/examples/screen/screenrc
cd /work/pkgbuild/misc/screen/work.sol9/screen-4.0.2/terminfo &&					 /usr/bin/env TERMINFO=/usr/pkg/share/lib/terminfo			 /usr/5bin/tic screeninfo.src
/usr/bin/env: No such file or directory
*** Error code 127

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

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

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

Stop.
bmake: stopped in /usr/pkgsrc/misc/screen
BULK> screen-4.0.2 was marked as broken:
-rw-r--r--   1 root     other      10240 Jan 27 09:25 .broken.html
bmake deinstall
===> Deinstalling for screen
BULK> Marking all packages which depend upon screen-4.0.2 as broken:
BULK> Build for screen-4.0.2 was not successful, aborting.