###
### Sun Jul 3 16:51:19 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for openttd-0.3.6
### Current pkg count:  8 installed packages: digest-20050323 gettext-lib-0.11.5nb4 gmake-3.80nb4 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 pkg_install-info-4.5nb3 x11-links-0.25 xpm-3.4knb4
###
BULK> Full rebuild in progress...
BULK> Cleaning package openttd-0.3.6 and pre-requisite packages
===> Cleaning for openttd-0.3.6
===> Cleaning for SDL-1.2.8nb1
===> 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
===> Cleaning for MesaLib-6.2.1nb2
===> Cleaning for x11-links-0.25
===> Cleaning for aalib-x11-1.4.0.5
===> Cleaning for glu-6.2.1nb1
===> Cleaning for png-1.2.8
===> Cleaning for zlib-1.2.2
BULK> Removing installed packages which are not needed to build openttd-0.3.6
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
BULK> openttd-0.3.6 requires installed package libiconv-1.9.2nb1 (converters/libiconv) to build.
BULK> openttd-0.3.6 requires installed package gettext-lib-0.11.5nb4 (devel/gettext-lib) to build.
BULK> openttd-0.3.6 requires installed package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) to build.
BULK> openttd-0.3.6 requires installed package gmake-3.80nb4 (devel/gmake) to build.
BULK> openttd-0.3.6 requires installed package libtool-base-1.5.18nb3 (devel/libtool-base) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r xpm-3.4knb4
BULK> openttd-0.3.6 requires installed package x11-links-0.25 (pkgtools/x11-links) to build.
BULK> Installing packages which are required to build openttd-0.3.6.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/SDL-1.2.8nb1.tgz
BULK> Required package gmake-3.80nb4 (devel/gmake) is already installed
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 MesaLib-6.2.1nb2 (graphics/MesaLib) is already installed
BULK> Required package x11-links-0.25 (pkgtools/x11-links) is already installed
BULK> Required package aalib-x11-1.4.0.5 (graphics/aalib-x11) is already installed
BULK> Required package glu-6.2.1nb1 (graphics/glu) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/png-1.2.8.tgz
BULK> Required package zlib-1.2.2 (devel/zlib) is already installed
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (openttd-0.3.6)
===> Checking for vulnerabilities in openttd-0.3.6
=> openttd-0.3.6-source.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch openttd-0.3.6-source.tar.gz from ftp://netbsd.stevens-tech.edu/pub/NetBSD/packages/distfiles/.
=> [2511895 bytes]
=> Checksum SHA1 OK for openttd-0.3.6-source.tar.gz.
=> Checksum RMD160 OK for openttd-0.3.6-source.tar.gz.
work -> /pkgobj/games/openttd/work
===> Extracting for openttd-0.3.6
===> Required installed package png>=1.2.6nb1: png-1.2.8 found
===> Required installed package zlib>=1.2.1nb3: zlib-1.2.2 found
===> Required installed package SDL>=1.2.7nb4: SDL-1.2.8nb1 found
===> Required installed package glu>=6.0.1nb2: glu-6.2.1nb1 found
===> Required installed package MesaLib>=6.2.1nb2: MesaLib-6.2.1nb2 found
===> Required installed package aalib-x11>=1.4.0.4nb1: aalib-x11-1.4.0.5 found
===> Required installed package gmake>=3.78: gmake-3.80nb4 found
===> Required installed package x11-links>=0.25: x11-links-0.25 found
===> Patching for openttd-0.3.6
===> Applying pkgsrc patches for openttd-0.3.6
===> Overriding tools for openttd-0.3.6
===> Creating toolchain wrappers for openttd-0.3.6
===> Configuring for openttd-0.3.6
===> Building for openttd-0.3.6
/bin/sh: libpng-config: not found
/usr/local/include: No such file or directory
cc: Warning: illegal option -dumpversion
usage: cc [ options] files.  Use 'cc -flags' for details
/bin/sh: test: argument expected
cc: Warning: illegal option -dumpversion
usage: cc [ options] files.  Use 'cc -flags' for details
/bin/sh: test: argument expected
cc: Warning: illegal option -dumpversion
usage: cc [ options] files.  Use 'cc -flags' for details
/bin/sh: test: argument expected
touch Makefile.config
cc: Warning: illegal option -dumpversion
usage: cc [ options] files.  Use 'cc -flags' for details
cc: Warning: illegal option -dumpversion
usage: cc [ options] files.  Use 'cc -flags' for details
/bin/sh: test: argument expected
cc: Warning: illegal option -dumpversion
usage: cc [ options] files.  Use 'cc -flags' for details
/bin/sh: test: argument expected
cc: Warning: illegal option -dumpversion
usage: cc [ options] files.  Use 'cc -flags' for details
/bin/sh: test: argument expected
cc: Warning: illegal option -dumpversion
usage: cc [ options] files.  Use 'cc -flags' for details
===> Compiling and Linking endian_check
cc: Warning: illegal option -fno-strict-aliasing
cc: Warning: illegal option -fomit-frame-pointer
cc: Warning: illegal option -dumpversion
usage: cc [ options] files.  Use 'cc -flags' for details
===> Testing endianness
cc: Warning: illegal option -dumpversion
usage: cc [ options] files.  Use 'cc -flags' for details
===> Compiling and Linking strgen/strgen
cc: Warning: illegal option -fno-strict-aliasing
cc: Warning: illegal option -fomit-frame-pointer
"strgen/../stdafx.h", line 153: syntax error before or at: int64
"strgen/../stdafx.h", line 153: warning: old-style declaration or incorrect type for: int64
"strgen/../stdafx.h", line 154: identifier redeclared: __int64
	current : unsigned int
	previous: signed int : "strgen/../stdafx.h", line 153
"strgen/../stdafx.h", line 154: syntax error before or at: uint64
"strgen/../stdafx.h", line 154: warning: old-style declaration or incorrect type for: uint64
"strgen/strgen.c", line 90: cannot have void object: NORETURN
"strgen/strgen.c", line 90: syntax error before or at: error
"strgen/strgen.c", line 90: warning: old-style declaration or incorrect type for: error
"strgen/strgen.c", line 747: syntax error before or at: main
"strgen/strgen.c", line 748: warning: old-style declaration or incorrect type for: main
cc: acomp failed for strgen/strgen.c
gmake: *** [strgen/strgen] Error 2
*** Error code 2

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

Stop.
bmake: stopped in /usr/pkgsrc/games/openttd

Please view the work log for openttd-0.3.6


BULK> openttd-0.3.6 was marked as broken:
-rw-r--r--   1 root     other       6982 Jul  3 16:53 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for openttd
BULK> Marking all packages which depend upon openttd-0.3.6 as broken:
BULK> Build for openttd-0.3.6 was not successful, aborting.